Check return result from Py_InitModule*().  This API can fail.

Probably should be backported.
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c
index 241c1c2..c6d4f77 100644
--- a/Modules/fpectlmodule.c
+++ b/Modules/fpectlmodule.c
@@ -265,6 +265,8 @@
 {
     PyObject *m, *d;
     m = Py_InitModule("fpectl", fpectl_methods);
+    if (m == NULL)
+    	return;
     d = PyModule_GetDict(m);
     fpe_error = PyErr_NewException("fpectl.error", NULL, NULL);
     if (fpe_error != NULL)