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 pitrou
Recipients draghuram, eric.araujo, ethan.furman, mrabarnett, ncoghlan, pitrou, poke, rhettinger, steven.daprano
Date 2010-12-29.10:40:06
SpamBayes Score 1.49447e-06
Marked as misclassified No
Message-id <1293619203.3709.0.camel@localhost.localdomain>
In-reply-to <1293585326.55.0.268905833222.issue6210@psf.upfronthosting.co.za>
Content
Le mercredi 29 décembre 2010 à 01:15 +0000, Ethan Furman a écrit :
> Ethan Furman <ethan@stoneleaf.us> added the comment:
> 
> > I'm talking about the exception raised from the except block.
> 
> So was I -- why should this:
> 
> try:
>     x = y / z
> except ZeroDivisionError as exc:
>     raise InvalidInput()
> 
> be different from this:
> 
> try:
>     x = divide_and_conquer(y, z)

I said the *except* block, not the *try* block ;)
History
Date User Action Args
2010-12-29 10:40:09pitrousetrecipients: + pitrou, rhettinger, ncoghlan, draghuram, eric.araujo, mrabarnett, steven.daprano, poke, ethan.furman
2010-12-29 10:40:06pitroulinkissue6210 messages
2010-12-29 10:40:06pitroucreate