Message366750
Offhand I'm surprised because of this: if a weakref W refers to object O, and W and O are _both_ in cyclic trash, gc does not want to invoke W's callback (if any). In fact, it works hard not to call it. So I'm surprised that the callback is invoked at all, not by whether it's called before or after __del__ is called. |
|
Date |
User |
Action |
Args |
2020-04-19 02:31:43 | tim.peters | set | recipients:
+ tim.peters, a-feld, deekay |
2020-04-19 02:31:43 | tim.peters | set | messageid: <1587263503.67.0.180687501389.issue40312@roundup.psfhosted.org> |
2020-04-19 02:31:43 | tim.peters | link | issue40312 messages |
2020-04-19 02:31:43 | tim.peters | create | |
|