Ramchandra Apte added the comment: Will attach patch when I get free (10 hours from now) ---------- nosy: +ramchandra.apte _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17100> _______________________________________