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 ronaldoussoren
Recipients ronaldoussoren, shihai1991, vstinner
Date 2020-12-01.12:01:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606824096.25.0.362525199025.issue42522@roundup.psfhosted.org>
In-reply-to
Content
I'm -1 on adding this API as it is inherently unsafe and is bound to be used in locations where its contract is not honoured (especially outside of the core). 

Note that the pre-condition on the argument is that you now only own a reference to the object, but that there's also someone else that owns a reference.

It is better to bite the bullet and go for correct reference count updates when converting to the new PyFrame_GetCode API.
History
Date User Action Args
2020-12-01 12:01:36ronaldoussorensetrecipients: + ronaldoussoren, vstinner, shihai1991
2020-12-01 12:01:36ronaldoussorensetmessageid: <1606824096.25.0.362525199025.issue42522@roundup.psfhosted.org>
2020-12-01 12:01:36ronaldoussorenlinkissue42522 messages
2020-12-01 12:01:36ronaldoussorencreate