[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.154,2.155

Guido van Rossum guido@python.org
Wed, 03 May 2000 08:18:39 -0400


> > _PyBuiltin_Init_2(): Don't test Py_UseClassExceptionsFlag, just go
> > ahead and initialize the class-based standard exceptions.  If this
> > fails, we throw a Py_FatalError.
> 
> Isn't a Py_FatalError overkill? Or will not having the class-based standard 
> exceptions lead to so much havoc later on that it is better than limping on?

There will be *no* exception objects -- they will all be NULL
pointers.  It's not clear that you will be able to limp very far, and
it's better to have a clear diagnostic at the source of the problem.

--Guido van Rossum (home page: http://www.python.org/~guido/)