Open
Description
Bug report
Bug description:
The set of generated objects in the various /Include/internal/pycore_ ... generated.h
header files depends on configuration flags.
This causes unnecessary churn and defeats some PR checks.
It also makes it hard to understand what is going on.
Currently we scan the C source code looking for specific patterns, but this is evidently a somewhat flaky way of doing things.
The set of objects should be defined in a checked-in file, to avoid the above issues.
I would suggest a Python file defining the list of strings, possibly with aliases:
name
alias = "not an identifier"
would define the two strings: "name"
referenced the symbol _PyPrefix_name
and "not an identifier"
referenced the symbol _PyPrefix_alias
. PyPrefix
is a placeholder for the actual prefix.
Metadata
Metadata
Assignees
Projects
Status
Todo