[Python-Dev] Issue #23903 - stable API is incomplete

Nathaniel Smith njs at pobox.com
Wed Dec 21 11:21:20 EST 2016


On Dec 21, 2016 7:43 AM, "Steve Dower" <steve.dower at python.org> wrote:

"Ok, now why should _Py_PrintReferences() function be exported?"

It probably shouldn't, but it needs an #ifndef Py_LIMITED_API check so it
is excluded from the headers (my list was automatically generated).


It sounds like the opt-out approach isn't working very well, and maybe an
opt-in approach should be considered instead? I recognize that the way C
headers work makes this difficult, but it seems like something needs to
change.

Or maybe the test suite should error out if any unexpected symbols appear
in the stable ABI?

-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20161221/bddae72e/attachment.html>


More information about the Python-Dev mailing list