mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Issue #21226: Merge from 3.4.
This commit is contained in:
commit
12c5247be9
1 changed files with 1 additions and 0 deletions
|
@ -904,6 +904,7 @@ PyImport_ExecCodeModuleObject(PyObject *name, PyObject *co, PyObject *pathname,
|
|||
&PyId__fix_up_module,
|
||||
d, name, pathname, cpathname, NULL);
|
||||
if (res != NULL) {
|
||||
Py_DECREF(res);
|
||||
res = exec_code_in_module(name, d, co);
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue