mirror of
https://github.com/python/cpython.git
synced 2025-09-02 06:57:58 +00:00
PEP 3147
This commit is contained in:
parent
0e59cc3fc3
commit
28a691b7fd
39 changed files with 1203 additions and 287 deletions
|
@ -1155,6 +1155,8 @@ PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit,
|
|||
Py_DECREF(f);
|
||||
return -1;
|
||||
}
|
||||
if (PyDict_SetItemString(d, "__cached__", Py_None) < 0)
|
||||
return -1;
|
||||
set_file_name = 1;
|
||||
Py_DECREF(f);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue