Steve Dower added the comment:

Those macros like PyCFunction_New actually need to become functions again, 
since we need real exports to forward them to the right place. Converting 
stable API functions to macros breaks the ABI, since modules compiled against 
the old one can no longer link to newer versions, and modules compiled against 
newer ones cannot link to older versions.

I'll try and figure out a way we can compile those functions directly into 
python3.dll, since that's going to leave us with the best ability to use macros 
for non-stable API builds. We will, however, need to update the header files to 
define actual functions rather than macros when Py_LIMITED_API is set.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to