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
commit6f85a127910c42e939efa9ba2d162dc655b0ca04 (patch)
treeba4929077187a4dc5e8ccad1dd1ac296b1f18aed /Python/errors.c
parentcaa2ec8ac4b107ae5395726c2d9f725dcb97fe90 (diff)
downloadcpython-6f85a127910c42e939efa9ba2d162dc655b0ca04.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