More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
diff --git a/Python/codecs.c b/Python/codecs.c
index 5a0e488..86941b1 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -850,7 +850,7 @@
interp->codec_error_registry == NULL)
Py_FatalError("can't initialize codec registry");
- mod = PyImport_ImportModuleLevel("encodings", NULL, NULL, NULL, 0);
+ mod = PyImport_ImportModuleNoBlock("encodings");
if (mod == NULL) {
if (PyErr_ExceptionMatches(PyExc_ImportError)) {
/* Ignore ImportErrors... this is done so that