[issue40520] port the declartions in pydebug.h to initconfig.h

2020-05-05 Thread miss-islington
miss-islington added the comment: New changeset 6351d9e4400a77fe1fcbe4f03e5fb6620cca236d by Hai Shi in branch 'master': bpo-40520: Remove redundant comment in pydebug.h (GH-19931) https://github.com/python/cpython/commit/6351d9e4400a77fe1fcbe4f03e5fb6620cca236d -- nosy: +miss-isling

[issue40520] port the declartions in pydebug.h to initconfig.h

2020-05-05 Thread hai shi
hai shi added the comment: Got it, thanks for your explanation, victor ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue40520] port the declartions in pydebug.h to initconfig.h

2020-05-05 Thread hai shi
Change by hai shi : -- pull_requests: +19246 pull_request: https://github.com/python/cpython/pull/19931 ___ Python tracker ___ ___ P

[issue40520] port the declartions in pydebug.h to initconfig.h

2020-05-05 Thread STINNER Victor
STINNER Victor added the comment: Global configuration variables are part of the C API. They are now documented: https://docs.python.org/dev/c-api/init.html#global-configuration-variables They are used to populate PyConfig (PEP 587). At startup, the PyConfig is copied into these global config

[issue40520] port the declartions in pydebug.h to initconfig.h

2020-05-05 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +19245 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19930 ___ Python tracker ___

[issue40520] port the declartions in pydebug.h to initconfig.h

2020-05-05 Thread hai shi
New submission from hai shi : Nick left a comment in `pydebug.h` /* These global variable are defined in pylifecycle.c */ /* XXX (ncoghlan): move these declarations to pylifecycle.h? */ I have checked those global variables are not only debug variables and they are defined in `Python/initconfi