Reviewer: Georg Brandl, Benjamin Peterson
Core and Builtins
-----------------
+- Issue #3683: Fix compilation when --without-threads is given.
+
- Issue #3668: Fix a memory leak with the "s*" argument parser in
PyArg_ParseTuple and friends, which occurred when the argument for "s*"
was correctly parsed but parsing of subsequent arguments failed.
- Fixed two format strings in the _collections module.
-- #3703 _fileio.FileIO gave unhelpful error message when trying to open a
- directory.
+- Issue #3703: _fileio.FileIO gave unhelpful error message when trying to open a
+ directory.
Extension Modules
-----------------
else {
PyErr_Clear();
}
-
+#ifdef WITH_THREAD
/* check the import lock
* me might be -1 but I ignore the error here, the lock function
* takes care of the problem */
name);
return NULL;
}
+#else
+ return PyImport_ImportModule(name);
+#endif
}
/* Forward declarations for helper routines */