Brandt Bucher <brandtbuc...@gmail.com> added the comment:
I have created a new patch (PR 17114) that performs this optimization directly in the compiler, rather than the peephole optimizer. I think I like the new one better. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38328> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com