Serhiy Storchaka added the comment: LGTM. There is a little related but more complex issue1524639. ---------- assignee: -> pitrou stage: needs patch -> commit review _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue20743> _______________________________________