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

2018年11月09日 16:59:29 -0800

Le sam. 10 nov. 2018 à 01:49, Michael Selik <[email protected]> a écrit :
>> 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.
That's exactly why I dislike "New", it's like adding "Ex" or "2" to a
function name :-)
Well, before bikeshedding on the C define name, I would prefer to see
if the overall idea of trying to push code for the new C API in the
master branch is a good idea, or if it's too early and the experiment
must continue in a fork.
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to