summaryrefslogtreecommitdiffstats
path: root/Doc/libcode.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-02 03:07:46 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-02 03:07:46 (GMT)
commit40b33c648a2d777636603356c12b644dd4c92876 (patch)
treee06c0c02c8aa0bb25be3ba8269d99d63180dd743 /Doc/libcode.tex
parentaee094cc60b4b05e28cfd9e1a2add1b97ededbb6 (diff)
downloadcpython-40b33c648a2d777636603356c12b644dd4c92876.zip
cpython-40b33c648a2d777636603356c12b644dd4c92876.tar.gz
cpython-40b33c648a2d777636603356c12b644dd4c92876.tar.bz2
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 'Doc/libcode.tex')
0 files changed, 0 insertions, 0 deletions