Serhiy Storchaka added the comment: Actually I tested on 3.5 and 3.6. I can't reproduce on master. ---------- versions: -Python 3.7 _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue30123> _______________________________________