Matthieu Gautier added the comment: The bug is also present in Python 2.7. Is it possible to backport this fix ? ---------- versions: +Python 2.7 _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23319> _______________________________________