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 pablogsal
Recipients Dennis Sweeney, Guido.van.Rossum, Mark.Shannon, Yonatan Goldschmidt, ammar2, chris.jerdonek, corona10, erlendaasland, gvanrossum, hauntsaninja, pablogsal, petr.viktorin, rhettinger, scoder, serhiy.storchaka, vstinner
Date 2021-05-24.23:07:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621897668.87.0.386771833194.issue40222@roundup.psfhosted.org>
In-reply-to
Content
> I think we're waiting here for the release manager to decide, right?

As Petr mentions, the release manager doesn't have authority to decide if the backwards compatibility policy can be ignored, only the Steering Council.

> Should we roll back the change to PyCode_NewWithPosOnlyArgs() or keep it?

I don't think is possible: code objects must be constructed with the new argument, otherwise they are broken. There is not an easy way to have a default for PyCode_New and PyCode_NewWithPosOnlyArgs that somehow creates the field from nothing. 

I *personally* think that this case is one good example of an exception to the backwards compact rule, but I myself cannot grant that exception as a release manager. I also think these APIs should be removed from the public C-API ASAP because they literally conflict everytime we change the code object for optimizations.
History
Date User Action Args
2021-05-24 23:07:48pablogsalsetrecipients: + pablogsal, gvanrossum, rhettinger, scoder, vstinner, petr.viktorin, chris.jerdonek, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, ammar2, corona10, Dennis Sweeney, erlendaasland, Yonatan Goldschmidt, hauntsaninja
2021-05-24 23:07:48pablogsalsetmessageid: <1621897668.87.0.386771833194.issue40222@roundup.psfhosted.org>
2021-05-24 23:07:48pablogsallinkissue40222 messages
2021-05-24 23:07:48pablogsalcreate