Message254994
In the below snippet, SubError will propagate with __context__ set to None, instead of MainError. Maybe this isn't a bug?
class MainError(Exception): pass
class SubError(Exception): pass
def main():
try:
raise MainError()
except MainError:
yield
coro = main()
coro.send(None)
coro.throw(SubError()) |
|
Date |
User |
Action |
Args |
2015-11-20 16:29:46 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, benjamin.peterson |
2015-11-20 16:29:46 | yselivanov | set | messageid: <1448036986.79.0.682793402944.issue25683@psf.upfronthosting.co.za> |
2015-11-20 16:29:46 | yselivanov | link | issue25683 messages |
2015-11-20 16:29:46 | yselivanov | create | |
|