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

Serhiy Storchaka storchaka at gmail.com
Wed Dec 21 10:47:45 EST 2016


On 21.12.16 17:41, Steve Dower 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).
>
> And ideally, private functions that are deliberately exported would have
> comments, or if they're new, a version check on Py_LIMITED_API.

Seconded.




More information about the Python-Dev mailing list