Antoine Pitrou added the comment: I won't examine the patch in detail, but the cleanup is welcome and I trust you (and the test suite :-)) that it works fine. ---------- nosy: +pitrou _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16191> _______________________________________