Amaury Forgeot d'Arc added the comment: I was thinking of a message similar to the one above. The eventual exception set by PyModule_GetDef(m) is less explicit.
if (def == NULL) { PyErr_Format(PyExc_SystemError, "initialization of %s did not return an extension module", shortname); goto error; } ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18426> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com