Exception as the primary error handling mechanism?
jgardner at jonathangardner.net
Fri Jan 1 11:43:21 CET 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.
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