Message393458
PyCode_NewWithPosOnlyArgs is not part of the stable ABI. It is OK to break its ABI in a minor version (i.e. 3.11).
The PyAPI_FUNC makes it part of the public *API*. It needs to be source- compatible; the number of arguments can't change. Could yo u add a new function?
I wouldn't remove PyCode_NewWithPosOnlyArgs from the public C API, which can be CPython-specific and used by projects like Cython that need some low-level access for performance. But PEP 387 applies, so if it is deprecated in 3.11, it can be removed in 3.13. |
|
Date |
User |
Action |
Args |
2021-05-11 14:02:43 | petr.viktorin | set | recipients:
+ petr.viktorin, gvanrossum, rhettinger, chris.jerdonek, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, ammar2, corona10, pablogsal, Dennis Sweeney, erlendaasland, Yonatan Goldschmidt, hauntsaninja |
2021-05-11 14:02:43 | petr.viktorin | set | messageid: <1620741763.34.0.358425049063.issue40222@roundup.psfhosted.org> |
2021-05-11 14:02:43 | petr.viktorin | link | issue40222 messages |
2021-05-11 14:02:43 | petr.viktorin | create | |
|