Marc-Andre Lemburg added the comment: Nice idea, but why don't you use a dictionary iterator (PyDict_Next()) for the fixup ? __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1071> __________________________________