[Python-Dev] Exception Reorg PEP checked in

Willem Broekema metawilm at gmail.com
Thu Aug 4 15:37:28 CEST 2005

On 8/4/05, Brett Cannon <bcannon at gmail.com> wrote:
> OK, once the cron job comes around and is run,
> http://www.python.org/peps/pep-0348.html will not be a 404 but be the
> latest version of the PEP.

Currently, when the "recursion limit" is reached, a RuntimeError is
raised. RuntimeError is in the PEP renamed to UserError. UserError is
in the new hierarchy located below StandardError, below Exception.

I think that in the new hierarchy this error should be in the same
"critical" category as MemoryError. (MemoryError includes general
stack overflow.)

- Willem

More information about the Python-Dev mailing list