> On 4 Jun 2020, at 16:34, Victor Stinner <[email protected]> wrote: > > Le jeu. 4 juin 2020 à 00:14, Nathaniel Smith <[email protected]> a écrit : >> On Wed, Jun 3, 2020 at 2:10 PM Victor Stinner <[email protected]> wrote: >>> For the short term, my plan is to make structure opaque in the limited >>> C API, before breaking more stuff in the public C API :-) >> >> But you're also breaking the public C API: >> https://github.com/MagicStack/immutables/issues/46 >> https://github.com/pycurl/pycurl/pull/636 >> >> I'm not saying you're wrong to do so, I'm just confused about whether >> your plan is to break stuff or not and on which timescale. > > Yes, my plan includes backward incompatible changes on purpose: > https://github.com/vstinner/misc/blob/master/cpython/pep-opaque-c-api.rst#api-and-abi-incompatible-changes > > The practical issue is to estimate how many C extension modules are > broken by a specific C API change. I plan to help out to port C > extensions to the updated C API. If the number of broken extensions is > fine and updating them is easy/short: fine! If the number is too high, > we have until "3.10.0 final: Monday, 2021-10-04" to revert > incompatible changes which caused most troubles. >
snip My experience with keeping PyCXX up to date with these changes is that its not hard to be compatible. I support python 3.4 to 3.9 for limited and unlimited API. (I also support python 2.7 with the same unlimited API) Barry > > Victor > -- > Night gathers, and now my watch begins. It shall not end until my death. > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/23LYPNHSSIWIZKMTUYXPRHQQRH5TKPGC/ > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KLNOMA5UBPBGJNANA6YK7EWSI6LNAR7R/ Code of Conduct: http://python.org/psf/codeofconduct/
