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'.
History
Date User Action Args
2015-12-17 23:07:39yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, benjamin.peterson, abarry
2015-12-17 23:07:38yselivanovsetmessageid: <1450393658.98.0.191674691996.issue25683@psf.upfronthosting.co.za>
2015-12-17 23:07:38yselivanovlinkissue25683 messages
2015-12-17 23:07:38yselivanovcreate