Benjamin Peterson added the comment: The patch seems reason, though it needs a test. ---------- nosy: +benjamin.peterson _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17582> _______________________________________