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 ethan.furman
Recipients aronacher, draghuram, eric.araujo, ethan.furman, ezio.melotti, mrabarnett, ncoghlan, pitrou, poke, rhettinger, steven.daprano
Date 2012-01-12.22:18:21
SpamBayes Score 0.01772678
Marked as misclassified No
Message-id <1326406702.21.0.349004764605.issue6210@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, I like Matthew Barnett's idea of 

    except SomeError [as e]:
        raise as SomeOtherError('...')

This would require a change to the grammer as well, yes?  From:

    raise_stmt: 'raise' [test ['from' test]]

to

    raise_stmt: 'raise' [test ['from' test]] | 'raise' 'as' [test ['from' test]]
History
Date User Action Args
2012-01-12 22:18:22ethan.furmansetrecipients: + ethan.furman, rhettinger, ncoghlan, pitrou, draghuram, aronacher, ezio.melotti, eric.araujo, mrabarnett, steven.daprano, poke
2012-01-12 22:18:22ethan.furmansetmessageid: <1326406702.21.0.349004764605.issue6210@psf.upfronthosting.co.za>
2012-01-12 22:18:21ethan.furmanlinkissue6210 messages
2012-01-12 22:18:21ethan.furmancreate