summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-02 03:07:46 +0000
committerGuido van Rossum <guido@python.org>1997-08-02 03:07:46 +0000
commite781f9bca8db6cb080b8e7f87089ad9c0d7ca08d (patch)
tree302b54fa9b4eddf8ebdab2a1e5edafc2e70a20ec /Python/pythonrun.c
parent767c85156c7beffcd865ac8eac652ccbee07eda4 (diff)
downloadcpython-e781f9bca8db6cb080b8e7f87089ad9c0d7ca08d.tar.gz
Removed fatal errors from Py_Initmodule4() (and thus from
Py_Initmodule(), which is a macro wrapper around it). The return value is now a NULL pointer if the initialization failed. This may make old modules fail with a SEGFAULT, since they don't expect this kind of failure. That's OK, since (a) it "never" happens, and (b) they would fail with a fatal error otherwise, anyway. Tons of extension modules should now check the return value of Py_Initmodule*() -- that's on my TODO list.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions