Message78012
Unfortunately, the check is O(n), so it can get a little expensive. I
suppose that's no worse than traversing the tuple to look for a cycle,
though. Perhaps it could be done at the same time?
Can _PyObject_GC_UNTRACK() be safely called from tp_traverse? |
|
Date |
User |
Action |
Args |
2008-12-18 06:25:22 | stutzbach | set | recipients:
+ stutzbach, loewis, rhettinger, pitrou |
2008-12-18 06:25:22 | stutzbach | set | messageid: <1229581522.0.0.322346179887.issue4688@psf.upfronthosting.co.za> |
2008-12-18 06:25:21 | stutzbach | link | issue4688 messages |
2008-12-18 06:25:20 | stutzbach | create | |
|