[Python-Dev] PEP 348: Exception Reorganization for Python 3.0

Raymond Hettinger raymond.hettinger at verizon.net
Sun Aug 7 05:06:45 CEST 2005


> The remainder of my message then goes on to describe a hierarchy just
as
> you
> suggest - SystemError, MemoryError, StopIteration and GeneratorExit
are
> all
> still caught by "except Exception:". The only two exceptions which are
no
> longer caught by "except Exception:" are KeyboardInterrupt and
SystemExit.

Ah, I was too quick on the draw.  It now appears that you were already
converted :-)  Now, if only the PEP would get updated ...

BTW, why did you exclude MemoryError?


Raymond



More information about the Python-Dev mailing list