Georg Brandl added the comment: Python-ast.c can't be changed; it is auto-generated. But the whole thing can be handled in compile.c I think -- see attached patch. Test suite passes (except for test_dis, which checks compilation result against a given list of bytecodes).
---------- nosy: +georg.brandl, pitrou, rhettinger Added file: http://bugs.python.org/file32117/if_else_nojump.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11471> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com