diff options
author | Barry Warsaw <barry@python.org> | 2000-09-01 09:01:32 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-09-01 09:01:32 (GMT) |
commit | 9bfd2bf5ede8e5d58775180d6867d81ddcdd3594 (patch) | |
tree | cd3adf2b98bc2c0b94980df1953ae9709f46cc28 /Modules/fcntlmodule.c | |
parent | 72dacb80262b73a833802c0b0e5941b8cdb1d79c (diff) | |
download | cpython-9bfd2bf5ede8e5d58775180d6867d81ddcdd3594.zip cpython-9bfd2bf5ede8e5d58775180d6867d81ddcdd3594.tar.gz cpython-9bfd2bf5ede8e5d58775180d6867d81ddcdd3594.tar.bz2 |
Do the absolute minimal amount of modifications to eradicate
Py_FatalError() from module initialization functions. The importing
mechanism already checks for PyErr_Occurred() after module importation
and it Does The Right Thing.
Unfortunately, the following either were not compiled or tested by the
regression suite, due to issues with my development platform:
almodule.c
cdmodule.c
mpzmodule.c
puremodule.c
timingmodule.c
Diffstat (limited to 'Modules/fcntlmodule.c')
-rw-r--r-- | Modules/fcntlmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c index 174a904..fd4c3e3 100644 --- a/Modules/fcntlmodule.c +++ b/Modules/fcntlmodule.c @@ -328,8 +328,4 @@ initfcntl(void) /* Add some symbolic constants to the module */ d = PyModule_GetDict(m); all_ins(d); - - /* Check for errors */ - if (PyErr_Occurred()) - Py_FatalError("can't initialize module fcntl"); } |