Antoine Pitrou added the comment: Updated patch with the suggested changes, apart from a couple stylistic ones (waiting for your answer on these ones). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18112> _______________________________________