This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kumaraditya
Recipients eric.snow, gvanrossum, kumaraditya
Date 2022-02-10.14:27:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644503245.44.0.850046305669.issue46712@roundup.psfhosted.org>
In-reply-to
Content
I have refactored generate_global_objects.py, and now instead of hard-coding every identifier manually, it now scans *.c files extracts the identifiers used in it and then generate the header file. This has multiple advantages:

- No need to manually add identifiers, as soon as it is used in a c file it is added to the global identifiers struct.
- It simplifies the codegen a lot.
- Remove the need of special casing certain file for checking now it is just a set of identifiers and auto removes unused global strings.
History
Date User Action Args
2022-02-10 14:27:25kumaradityasetrecipients: + kumaraditya, gvanrossum, eric.snow
2022-02-10 14:27:25kumaradityasetmessageid: <1644503245.44.0.850046305669.issue46712@roundup.psfhosted.org>
2022-02-10 14:27:25kumaradityalinkissue46712 messages
2022-02-10 14:27:25kumaradityacreate