I’ve updated the PEP a bit:
-
Be clearer that the PEP 793 API added in 3.15 alpha (
PyModExport,PyModule_FromSlotsAndSpec) will be changed to return the new slots. -
Deprecation of things that were documented to not work, but worked in practice:
- setting a slot value to NULL (except if the slot explicitly allows this)
- repeating a slot ID in a definition (except )
As with all deprecations, happy to hear use cases for un-deprecation.
-
Added “third-party slot ID allocation” and “avoiding anonymous unions” to Rejected Ideas.