summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2000-05-02 19:24:06 +0000
committerBarry Warsaw <barry@python.org>2000-05-02 19:24:06 +0000
commit47eeb9bdadbddb9d0d83c33415164eff10756bc4 (patch)
treefb9a0a6dc571d109a4d33ba5b52647da5df8a543 /Python/errors.c
parent57e11ae8472df1dd20c74ce9f37840896d96205d (diff)
downloadcpython-git-47eeb9bdadbddb9d0d83c33415164eff10756bc4.tar.gz
initerrors(): Remove this function. String-based standard exceptions
are no longer supported (i.e. -X option is removed). _PyBuiltin_Init_1(): Don't call initerrors(). This does mean that it is possible to raise an ImportError before that exception has been initialized, say because exceptions.py can't be found, or contains bogosity. See changes to errors.c for how this is handled. _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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions