◐ Shell
clean mode source ↗

bpo-42908: Mark cleanup code at end of try-except and with artificial by markshannon · Pull Request #24202 · python/cpython

added 4 commits

January 12, 2021 10:41
… line-number propagation logic so that implicit returns after try-except or with have the correct line numbers.

@markshannon

@markshannon markshannon deleted the make-jumps-at-end-try-except-artificial branch

January 13, 2021 12:05

adorilson pushed a commit to adorilson/cpython that referenced this pull request

Mar 13, 2021
…python#24202)

* Mark bytecodes at end of try-except as artificial.

* Make sure that the CFG is consistent throughout optimiization. 

* Extend line-number propagation logic so that implicit returns after 'try-except' or 'with' have the correct line numbers.

* Update importlib