Message384018
Even weirder, the old behavior returns if "except:" is replaced by "except BaseException as e:".
============================
def foo():
try:
yield
except BaseException as e:
yield from foo()
for m in foo():
print(i) |
|
Date |
User |
Action |
Args |
2020-12-29 18:05:10 | rhettinger | set | recipients:
+ rhettinger, Mark.Shannon, xxm, stestagg |
2020-12-29 18:05:10 | rhettinger | set | messageid: <1609265110.02.0.399651133934.issue42762@roundup.psfhosted.org> |
2020-12-29 18:05:10 | rhettinger | link | issue42762 messages |
2020-12-29 18:05:09 | rhettinger | create | |
|