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

Probably should be backported.
diff --git a/Modules/operator.c b/Modules/operator.c
index ddd0252..4817d33 100644
--- a/Modules/operator.c
+++ b/Modules/operator.c
@@ -578,6 +578,8 @@
 	/* Create the module and add the functions */
         m = Py_InitModule4("operator", operator_methods, operator_doc,
 		       (PyObject*)NULL, PYTHON_API_VERSION);
+	if (m == NULL)
+		return;
 
 	if (PyType_Ready(&itemgetter_type) < 0)
 		return;