Serhiy Storchaka added the comment: At first sight the patch looks good, but test needed. ---------- stage: patch review -> test needed _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue9644> _______________________________________