[issue23903] Generate PC/python3.def by scraping headers

Steve Dower report at bugs.python.org
Tue Dec 20 20:42:00 EST 2016


Steve Dower added the comment:

I just ran into this because PyModule_AddFunctions() was added to the stable ABI in 3.5, but was not added to python3.dll.

This is blatantly a compilation error. We _need_ python3.def and the stable ABI to be in sync.

I've rerun the script against Python 3.6 and attached it. I'm also going to post to python-dev to attract some attention.

I think at this stage we ought to update python3.dll to include everything that could be used from the headers. Unfortunately, that means extensions could potentially break if built on 3.6.1 and run against 3.6.0, but it's inevitable that there will be some breakage and this way it's only temporary.

----------
versions: +Python 3.5, Python 3.7
Added file: http://bugs.python.org/file45978/python3def.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23903>
_______________________________________


More information about the Python-bugs-list mailing list