Message242692
The behavior may not be surprising from a technical perspective, but it is unintuitive.
I think exceptions inside a with statement should trigger a traceback, unless you are saying that it is the responsibility of the author to catch and raise the exception inside __exit__, which feels to me like a workaround that is specific to parse_args. |
|
Date |
User |
Action |
Args |
2015-05-06 17:39:00 | invisibleroads | set | recipients:
+ invisibleroads, benjamin.peterson |
2015-05-06 17:39:00 | invisibleroads | set | messageid: <1430933940.26.0.918920419058.issue24070@psf.upfronthosting.co.za> |
2015-05-06 17:39:00 | invisibleroads | link | issue24070 messages |
2015-05-06 17:39:00 | invisibleroads | create | |
|