Message256621
| Author |
yselivanov |
| Recipients |
abarry, benjamin.peterson, gvanrossum, vstinner, yselivanov |
| Date |
2015年12月17日.23:07:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1450393658.98.0.191674691996.issue25683@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I now don't think this is a bug.
In the above example, SubError is instantiated outside of `main` generator. It's also thrown *into* `main` from the *outside* scope. And __context__ should be set for exceptions that were originated by the code that was handling other exceptions.
Closing this issue with 'not a bug'. |
|