osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Source of truth for C-API


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