Author yselivanov
Recipients benjamin.peterson, brett.cannon, gvanrossum, larry, ncoghlan, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2015-11-12.23:42:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447371763.42.0.620845494651.issue25612@psf.upfronthosting.co.za>
In-reply-to
Content
Another 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())


SubError will propagate, but won't have MainError in its __context__
History
Date User Action Args
2015-11-12 23:42:43yselivanovsetrecipients: + yselivanov, gvanrossum, brett.cannon, ncoghlan, pitrou, vstinner, larry, benjamin.peterson, serhiy.storchaka
2015-11-12 23:42:43yselivanovsetmessageid: <1447371763.42.0.620845494651.issue25612@psf.upfronthosting.co.za>
2015-11-12 23:42:43yselivanovlinkissue25612 messages
2015-11-12 23:42:43yselivanovcreate