Message339732
I wrote PR 12743 to modify _abc: use weakref.WeakSet rather than using directly a set of weak references. With this PR, calling _get_dump() should clear all broken weak references. I'm not sure if it's really useful for this specific issue, since dash_R_cleanup() calls obj._abc_caches_clear() on all abstract base classes (ABC): all caches must be removed before reading the total number of allocated memory blocks (sys.getallocatedblocks()). |
|
Date |
User |
Action |
Args |
2019-04-09 11:22:53 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka |
2019-04-09 11:22:53 | vstinner | set | messageid: <1554808973.92.0.921490252626.issue36560@roundup.psfhosted.org> |
2019-04-09 11:22:53 | vstinner | link | issue36560 messages |
2019-04-09 11:22:53 | vstinner | create | |
|