A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-May/157323.html below:

[Python-Dev] Stable ABI or not for PyTypeObject?

[Python-Dev] Stable ABI or not for PyTypeObject? [Python-Dev] Stable ABI or not for PyTypeObject?Victor Stinner vstinner at redhat.com
Mon May 6 12:12:51 EDT 2019
PyType_FromSpec() looks like a better approach for ABI compatibility.
My notes on types and ABI:
https://pythoncapi.readthedocs.io/type_object.html

Victor

Le lun. 6 mai 2019 à 09:57, Jeroen Demeyer <J.Demeyer at ugent.be> a écrit :
>
> Hello,
>
> I have a simple question for which there doesn't seem to be a good
> answer: is the layout of PyTypeObject considered to be part of the
> stable ABI?
>
> Officially, the answer is certainly "no" (see PEP 384).
>
> However, unofficially the answer might be "yes". At least, the last time
> that an incompatible change was made to PyTypeObject (adding tp_finalize
> in Python 3.4, PEP 442), care was taken not to break the ABI by using
> the Py_TPFLAGS_HAVE_FINALIZE flag.
>
> There is some discussion about this on https://bugs.python.org/issue32388
>
> The implementation of PEP 590 is going to make another ABI-breaking
> change. So should we add a new Py_TFLAGS_HAVE_... flag for that or not?
>
>
> Jeroen.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com



-- 
Night gathers, and now my watch begins. It shall not end until my death.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4