[issue44298] 3.10.0b2 traces with-exit before the break that caused the exit
Ned Batchelder
report at bugs.python.org
Thu Jun 3 06:16:36 EDT 2021
Ned Batchelder <ned at nedbatchelder.com> added the comment:
(I'm not sure whether to create other issues for further details)
I'm also seeing a return in a with will trace withexit/return for a plain "return" statement, but return/withexit/return for a return with a value ("return 17").
I would expect that a statement causing an exit from a with block would always be traced before the with-exit.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44298>
_______________________________________
More information about the Python-bugs-list
mailing list