Message124848
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 ;) |
|
Date |
User |
Action |
Args |
2010-12-29 10:40:09 | pitrou | set | recipients:
+ pitrou, rhettinger, ncoghlan, draghuram, eric.araujo, mrabarnett, steven.daprano, poke, ethan.furman |
2010-12-29 10:40:06 | pitrou | link | issue6210 messages |
2010-12-29 10:40:06 | pitrou | create | |
|