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 docs@python, mbussonn, pablogsal, petr.viktorin, terry.reedy
Date 2019-05-31.17:43:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Although I completely agree with the decision of figuring out an explicit consensus regarding these APIs, I will explain a bit my +1:

My +1 is not about the usage of PyCode_New, is about the usage of `types.CodeType`. The constructor for the later has never been documented on the Python side, so one could argue that is not a supported feature to manually construct code objects.

The more we expose and call "stable" regarding internals, the less freedom we will have to apply optimizations and add additional data members to internal structures.

With this, I am not saying that we should say that whoever uses this is a "roge" project but marking these APIs as stable will greatly restrict future changes.
History
Date User Action Args
2019-05-31 17:43:40pablogsalsetrecipients: + pablogsal, terry.reedy, petr.viktorin, docs@python, mbussonn
2019-05-31 17:43:40pablogsalsetmessageid: <[email protected]>
2019-05-31 17:43:40pablogsallinkissue36896 messages
2019-05-31 17:43:40pablogsalcreate