Hi Ronald, Le mar. 14 avr. 2020 à 18:25, Ronald Oussoren <ronaldousso...@mac.com> a écrit : > Making “PyObject” opaque will also affect the stable ABI because even types > defined using the PyTypeSpec API embed a “PyObject” value in the structure > defining the instance layout. It is easy enough to change this in a way that > preserves source-code compatibility, but I’m not sure it is possible to > avoid breaking the stable ABI.
Oh, that's a good point. I tracked this issue at: https://bugs.python.org/issue39573#msg366473 > BTW. This will require growing the PyTypeSpec ABI a little, there are > features you cannot implement using that API for example the buffer protocol. I tracked this feature request at: https://bugs.python.org/issue40170#msg366474 Victor -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IG3SU3RTOSO24OHWT6PQIZJP4WMGKADA/ Code of Conduct: http://python.org/psf/codeofconduct/