[Python-Dev] Experiment an opt-in new C API for Python? (leave current API unchanged)

Michael Selik mike at selik.org
Fri Nov 9 19:49:13 EST 2018


On Fri, Nov 9, 2018 at 4:33 PM Victor Stinner <vstinner at redhat.com> wrote:

> It uses an opt-in option (Py_NEWCAPI define -- I'm not sure about the
> name) to get the new API. The current C API is unchanged.
>

While one can hope that this will be the only time the C API will be
revised, it may be better to number it instead of calling it "NEW". 20
years from now, it won't feel new anymore.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20181109/bbfb1cf2/attachment.html>


More information about the Python-Dev mailing list