Raymond Hettinger added the comment: I don't follow what you mean. Can you post a working version of the code fragment? ---------- nosy: +rhettinger __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1863> __________________________________