mkleehammer / pyodbc

Python ODBC bridge
https://github.com/mkleehammer/pyodbc/wiki
MIT No Attribution
2.95k stars 563 forks source link

A few improvements to the header files. #1222

Open AraHaan opened 1 year ago

AraHaan commented 1 year ago

I noticed a few things that can be impoved upon on the C header files:

mkleehammer commented 9 months ago

I was not aware of the need for the second bullet. It sounds like we should split the headers into two - one with the very basics that can ship with the product and one with the rest. I'll look into that.

Another option we are looking at is refactoring pydobc to have a private C core that is just functions and a public Python layer with all of the classes like Cursor and Row. That would eliminate the need for the header.