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
This commit is contained in:
Barry Warsaw 2000-09-01 09:01:32 +00:00
parent 72dacb8026
commit 9bfd2bf5ed
15 changed files with 31 additions and 67 deletions

View file

@ -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");
}