Hello,
I've merged the main part of PEP-652 implementation. The Limited C API (introduced in PEP 384 and used for extension modules that work across Python versions without recompilation) is now explicitly defined and better tested.

When changing/extending the limited API:
- Stop and think! This API will need to be suppported forever (or until Python 3 reaches end of life, if that comes sooner). A checklist of what to think about is being added to the devguide [0].
- Add/change an entry in `Misc/stable_abi.txt`.
- Run `make regen-limited-abi` [sic].

You can run related checks with `make check-limited-abi`. If that or the "Check if generated files are up to date" CI test gives you errors, please let me know!

More tests & docs are coming up.

[0]: https://cpython-devguide--682.org.readthedocs.build/c-api/
_______________________________________________
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/W5QG2I2IQXQDPMCFMRDUMGCEX5MX6PHA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to