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

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


> PyBuiltinInit2(): Don't test PyUseClassExceptionsFlag, just go > ahead and initialize the class-based standard exceptions. If this > fails, we throw a PyFatalError.

Isn't a PyFatalError 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/)