Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment: I do not like how much code is needed for such minor optimization. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue30040> _______________________________________