Serhiy Storchaka added the comment: Backported to 2.7 for the sake of easier backporting new tests. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18048> _______________________________________