STINNER Victor added the comment: I created a PR to backport bpo-6393 to Python 2.7: https://github.com/python/cpython/pull/1555 ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue30338> _______________________________________