[Python-Dev] Source of truth for C-API
Nick Coghlan
ncoghlan at gmail.com
Sun Jan 27 09:04:47 EST 2019
On Thu, 24 Jan 2019 at 02:56, Victor Stinner <vstinner at redhat.com> wrote:
>
> I suggest you to add a new function and leaves the existing function
> unchanged. "Just in case".
>
> You may deprecate the old functions at the same time using Py_DEPRECATED().
And potentially put an underscore in front of the new ones (or even
hide them behind Py_BUILD_CORE).
Some of these older APIs are only public because the modern
conventions we use for hiding implementation details weren't
established yet.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list