Message412035
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 |
|
Date |
User |
Action |
Args |
2022-01-28 22:05:53 | tekknolagi | set | recipients:
+ tekknolagi, Dennis Sweeney |
2022-01-28 22:05:53 | tekknolagi | set | messageid: <1643407553.26.0.665253902295.issue46561@roundup.psfhosted.org> |
2022-01-28 22:05:53 | tekknolagi | link | issue46561 messages |
2022-01-28 22:05:53 | tekknolagi | create | |
|