Raymond Hettinger added the comment: This patch looks correct. Nice catch. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue27443> _______________________________________