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

hai shi report at bugs.python.org
Tue May 5 10:45:19 EDT 2020


New submission from hai shi <shihai1991 at 126.com>:

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/initconfig.c` now.
If I understand clearly, those declarations should moved to `Include/cpython/initconfig.h` and `pydebug.h` could be deleted.

ref: https://github.com/python/cpython/commit/d600951748d7a19cdb3e58a376c51ed804b630e6

----------
components: Interpreter Core
messages: 368158
nosy: ncoghlan, shihai1991, vstinner
priority: normal
severity: normal
status: open
title: port the declartions in pydebug.h to initconfig.h
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40520>
_______________________________________


More information about the Python-bugs-list mailing list