This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | ddvoinikov |
|---|---|
| Recipients | ddvoinikov |
| Date | 2008年05月12日.07:06:52 |
| SpamBayes Score | 0.19378416 |
| Marked as misclassified | No |
| Message-id | <1210576013.94.0.462684443177.issue2833@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
If a context manager is used within exception handling block, the active
exception is silenced after the context block completes and __exit__ exits.
try:
raise Exception("foo")
except:
with SomeContextManager():
pass
raise # in Py2.5 throws 'foo', in Py3.0 fails with RuntimeError |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年05月12日 07:06:54 | ddvoinikov | set | spambayes_score: 0.193784 -> 0.19378416 recipients: + ddvoinikov |
| 2008年05月12日 07:06:54 | ddvoinikov | set | spambayes_score: 0.193784 -> 0.193784 messageid: <1210576013.94.0.462684443177.issue2833@psf.upfronthosting.co.za> |
| 2008年05月12日 07:06:52 | ddvoinikov | link | issue2833 messages |
| 2008年05月12日 07:06:52 | ddvoinikov | create | |