[Python-Dev] Call for clarity ( clarification ;-) )
Guido van Rossum
guido@python.org
Fri, 06 Sep 2002 11:13:22 -0400
> It would, however, be extremely useful if the documentation spelled out
> *which* exceptions can be raised! Kind of hard to write a decent
> try/except clause if you don't know what to expect.
Yes, *this* is a deficiency in the Python docs that ought to be
fixed. It's a lot of work though, and it's not always clear what to
document (e.g. *everything* can raise MemoryError -- so it's not
useful to mention that everywhere).
--Guido van Rossum (home page: http://www.python.org/~guido/)