Nick> Jeffrey Yasskin wrote:

    >> To decrease the annoyance of having to change source code, we could
    >> have Py_INCREF(x) expand to Py_IncRef(x) in ABI-compatibility mode.

    Nick> Forcing developers to choose between the speed of the
    Nick> INCREF/DECREF macros and the proposed ABI compatibility mode for
    Nick> the benefit of an as yet hypothetical GIL-less CPython API
    Nick> implementation seems more like a way to kill adoption of the ABI
    Nick> compatibility mode rather than a way to encourage the use of the
    Nick> IncRef/Decref functions.

I suspect it's not really germane to this discussion but if the
incref/decref functions were defined as inline would that effectively be
like using the macro versions vis a vis ABI compatibility?

Skip
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to