Nick Coghlan added the comment: Your version looks good to me, Yury (and good idea to add the second flag). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue20684> _______________________________________