STINNER Victor added the comment: Oh, I missed the issue #12822 which looks to fix similar bugs. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23428> _______________________________________