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

@ -88,6 +88,10 @@ Parser/myreadline.c - PyOS_ReadlineFunctionPointer -
Python/initconfig.c - _Py_StandardStreamEncoding -
Python/initconfig.c - _Py_StandardStreamErrors -
# Internal constant list
Python/initconfig.c - PYCONFIG_SPEC -
##-----------------------
## public C-API

Can't render this file because it has a wrong number of fields in line 4.