[Python-Dev] Re: PyAPI_FUNC() is needed to private APIs?

2019年6月13日 08:27:03 -0700

On 13Jun2019 0643, Jeroen Demeyer wrote:
On 2019年06月13日 15:36, Victor Stinner wrote:
The main risk is that people start to use it
If people use it, it should be taken as a sign that the function is useful and deserves to be public API.
If it's useful, then someone can write a justification (possibly a PEP) and we can agree to add it. More likely it's just convenient. The cost of that convenience is that we can never optimise internals because they are now public API. Better off never to have leaked the details.
Cheers,
Steve
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/437UCQH3R4ZPGX4S23HQ74RGEKFPX35U/

Reply via email to