[Python-Dev] no tp_traverse for dict iters (original) (raw)
Robert Schuppenies robert.schuppenies at gmail.com
Mon Aug 25 22:49:22 CEST 2008
- Previous message: [Python-Dev] no tp_traverse for dict iters
- Next message: [Python-Dev] no tp_traverse for dict iters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Created bug report at http://bugs.python.org/issue3546.
Amaury Forgeot d'Arc wrote:
Yes, this can lead to some object cycle that are not collected. See the attached script: a cycle involving a list iterator is collected by the garbage collector, but a cycle with a dict iterator is not. This is worth a bug report IMO.
- Previous message: [Python-Dev] no tp_traverse for dict iters
- Next message: [Python-Dev] no tp_traverse for dict iters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]