Mercurial > cpython-lru_cache-weakref
diff Python/ast.c @ 44442:fa2f7183b1af
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Thu, 03 Jan 2008 23:05:47 +0000 |
| parents | 86a2679dca46 |
| children | f1b50aa5d5af |
line wrap: on
line diff
--- a/Python/ast.c Thu Jan 03 23:01:04 2008 +0000 +++ b/Python/ast.c Thu Jan 03 23:05:47 2008 +0000 @@ -56,7 +56,7 @@ identifier; if so, normalize to NFKC. */ for (; *u; u++) { if (*u >= 128) { - PyObject *m = PyImport_ImportModule("unicodedata"); + PyObject *m = PyImport_ImportModuleNoBlock("unicodedata"); PyObject *id2; if (!m) return NULL;
