Mark Dickinson added the comment: Updated patch (thanks Serhiy for reviewing). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17149> _______________________________________