Guido van Rossum added the comment: Thanks, Fredrik. Fixed in 2.6. Committed revision 58098. Someone else could backport to 2.5. Shouldn't be merged into 3.0. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1140> __________________________________