mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-31650: Remove _Py_CheckHashBasedPycsMode global config var (GH-8608)
bpo-31650, bpo-34170: Replace _Py_CheckHashBasedPycsMode with _PyCoreConfig._check_hash_pycs_mode. Modify PyInit__imp() and zipimport to get the parameter from the current interpreter core configuration. Remove Include/internal/import.h file.
This commit is contained in:
parent
6c785c0ebd
commit
80b762f010
6 changed files with 7 additions and 24 deletions
|
@ -436,8 +436,6 @@ static int test_init_global_config(void)
|
|||
/* FIXME: test Py_LegacyWindowsFSEncodingFlag */
|
||||
/* FIXME: test Py_LegacyWindowsStdioFlag */
|
||||
|
||||
/* _Py_CheckHashBasedPycsMode is not public, and so not tested */
|
||||
|
||||
Py_Initialize();
|
||||
dump_config();
|
||||
Py_Finalize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue