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 tekknolagi
Recipients Dennis Sweeney, tekknolagi
Date 2022-01-28.22:05:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643407553.26.0.665253902295.issue46561@roundup.psfhosted.org>
In-reply-to
Content
Hi Dennis,

Sorry, let me be more clear. CPython in general ensures that objects passed in as arguments to a function will live for the duration of the function call if they are otherwise untouched. As it is now, this invariant is not maintained when calling the __get__ descriptor. Right now, it is not only borrowed by the callee but also not owned by the caller (!).

Max
History
Date User Action Args
2022-01-28 22:05:53tekknolagisetrecipients: + tekknolagi, Dennis Sweeney
2022-01-28 22:05:53tekknolagisetmessageid: <1643407553.26.0.665253902295.issue46561@roundup.psfhosted.org>
2022-01-28 22:05:53tekknolagilinkissue46561 messages
2022-01-28 22:05:53tekknolagicreate