Exception as the primary error handling mechanism?

Jonathan Gardner jgardner at jonathangardner.net
Fri Jan 1 05:43:21 EST 2010


On Jan 1, 12:43 am, a... at pythoncraft.com (Aahz) wrote:
> In article <mailman.300.1262323578.28905.python-l... at python.org>,
> Benjamin Kaplan  <benjamin.kap... at case.edu> wrote:
> >In Python, throwing exceptions for expected outcomes is considered
> >very bad form [...]
>
> Who says that?  I certainly don't.

Agreed.

int("asdf") is supposed to return what, exactly? Any language that
tries to return an int is horribly broken.



More information about the Python-list mailing list