Serhiy Storchaka added the comment: LGTM. I don't expect significant performance difference, but the code looks simpler. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28818> _______________________________________