mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052)
_PyCoreConfig: Rename _check_hash_pycs_mode field to check_hash_pycs_mode (make it public) and change its type from "const char*" to "wchar_t*".
This commit is contained in:
parent
11e4a941e9
commit
cb9fbd3588
5 changed files with 28 additions and 17 deletions
|
@ -346,7 +346,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'run_filename': None,
|
||||
|
||||
'_install_importlib': 1,
|
||||
'_check_hash_pycs_mode': 'default',
|
||||
'check_hash_pycs_mode': 'default',
|
||||
'_frozen': 0,
|
||||
'_init_main': 1,
|
||||
}
|
||||
|
@ -577,7 +577,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'user_site_directory': 0,
|
||||
'faulthandler': 1,
|
||||
|
||||
'_check_hash_pycs_mode': 'always',
|
||||
'check_hash_pycs_mode': 'always',
|
||||
'_frozen': 1,
|
||||
}
|
||||
self.check_config("init_from_config", config, preconfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue