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 poke
Recipients aronacher, draghuram, eric.araujo, ethan.furman, ezio.melotti, mrabarnett, ncoghlan, pitrou, poke, rhettinger, steven.daprano
Date 2012-01-12.22:39:54
SpamBayes Score 0.00021464554
Marked as misclassified No
Message-id <1326407995.38.0.860930973923.issue6210@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, I would really like that solution, especially as it separates from the `from X` syntax that sets the exception’s cause.

Also I would prefer a syntax solution over a class method simply because the exception context is something that is implicitely set by Python with the `raise` statement. So it would make sense to overwrite that behaviour with a syntax construct as well.
History
Date User Action Args
2012-01-12 22:39:55pokesetrecipients: + poke, rhettinger, ncoghlan, pitrou, draghuram, aronacher, ezio.melotti, eric.araujo, mrabarnett, steven.daprano, ethan.furman
2012-01-12 22:39:55pokesetmessageid: <1326407995.38.0.860930973923.issue6210@psf.upfronthosting.co.za>
2012-01-12 22:39:54pokelinkissue6210 messages
2012-01-12 22:39:54pokecreate