gh-107954: Refactor initconfig.c: add CONFIG_SPEC (#110146)

Add a specification of the PyConfig structure to factorize the code.
This commit is contained in:
Victor Stinner 2023-09-30 19:24:06 +02:00 committed by GitHub
parent 89966a694b
commit f3bb00ea12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 262 additions and 320 deletions

View file

@ -455,6 +455,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'code_debug_ranges': 1,
'show_ref_count': 0,
'dump_refs': 0,
'dump_refs_file': None,
'malloc_stats': 0,
'filesystem_encoding': GET_DEFAULT_CONFIG,