Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PR 14116 is based on the part of PR 5077. It serves three functions: * Finally fixes issue1875. * Simplifies the code. Removes special cases for "if 0" and "while 1". 31 insertions, 80 deletions in Python/compile.c + Python/peephole.c. * However such optimization is now applied in more general cases, not just for "if" and "while". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32477> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com