Message339642
Tracking objects that do not need this will just add work to the garbage collector. Not all instances of trackable types should be tracked, for example the empty tuple and some dicts are not tracked.
>>> gc.is_tracked(())
False
>>> gc.is_tracked((1, 2))
True
>>> gc.is_tracked({1: None})
False
>>> gc.is_tracked({1: []})
True |
|
Date |
User |
Action |
Args |
2019-04-08 14:19:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, vstinner, christian.heimes, benjamin.peterson, ZackerySpytz |
2019-04-08 14:19:53 | serhiy.storchaka | set | messageid: <1554733193.85.0.576068031529.issue18372@roundup.psfhosted.org> |
2019-04-08 14:19:53 | serhiy.storchaka | link | issue18372 messages |
2019-04-08 14:19:53 | serhiy.storchaka | create | |
|