This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients Dennis Sweeney, Guido.van.Rossum, Mark.Shannon, Yonatan Goldschmidt, ammar2, chris.jerdonek, corona10, erlendaasland, gvanrossum, hauntsaninja, pablogsal, petr.viktorin, rhettinger, serhiy.storchaka
Date 2021-05-11.14:02:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620741763.34.0.358425049063.issue40222@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-05-11 14:02:43petr.viktorinsetrecipients: + 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:43petr.viktorinsetmessageid: <1620741763.34.0.358425049063.issue40222@roundup.psfhosted.org>
2021-05-11 14:02:43petr.viktorinlinkissue40222 messages
2021-05-11 14:02:43petr.viktorincreate