summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-01 16:18:07 (GMT)
committerGitHub <noreply@github.com>2018-08-01 16:18:07 (GMT)
commit80b762f010097ab8137782e5fbdc89c5c620ed4e (patch)
tree153bd836a83680ade86f0fd00b07f8dfcb71a03e /Programs
parent6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6 (diff)
downloadcpython-80b762f010097ab8137782e5fbdc89c5c620ed4e.zip
cpython-80b762f010097ab8137782e5fbdc89c5c620ed4e.tar.gz
cpython-80b762f010097ab8137782e5fbdc89c5c620ed4e.tar.bz2
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.
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 1c72580..3ed42d6 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -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();