Nikolaus Rath added the comment: patch attached. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17814> _______________________________________