mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-107954, PEP 741: Adjust Python initialization config (#123663)
Setting dev_mode to 1 in an isolated configuration now enables also faulthandler. Moreover, setting "module_search_paths" option with PyInitConfig_SetStrList() now sets "module_search_paths_set" to 1.
This commit is contained in:
parent
7bd964dbbe
commit
b423ae6b08
3 changed files with 43 additions and 16 deletions
|
@ -1766,7 +1766,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
'use_hash_seed': True,
|
||||
}
|
||||
config_dev_mode(preconfig, config)
|
||||
config['faulthandler'] = 0
|
||||
self.check_all_configs("test_initconfig_api", config, preconfig,
|
||||
api=API_ISOLATED)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue