Antoine Pitrou added the comment: The patch's approach looks reasonable to me. ---------- nosy: +pitrou _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13918> _______________________________________