mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
Issue #22869: Split pythonrun into two modules
- interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags
This commit is contained in:
parent
66fb349d6c
commit
d600951748
16 changed files with 1701 additions and 1587 deletions
|
@ -1681,7 +1681,7 @@ _PySys_Init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* stdin/stdout/stderr are now set by pythonrun.c */
|
||||
/* stdin/stdout/stderr are set in pylifecycle.c */
|
||||
|
||||
SET_SYS_FROM_STRING_BORROW("__displayhook__",
|
||||
PyDict_GetItemString(sysdict, "displayhook"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue