bpo-30455: Generate tokens related C code and docs from token.py. by serhiy-storchaka · Pull Request #1860 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
@serhiy-storchaka if Parser/token.c is auto-generated by the tool, why do you include it in this PR ?
Nice cleaning up of the code. Generally LGTM.
Tools/scripts/generate_token_h.py and Tools/scripts/generate_token_rst.py are very similar, it would be neater to merge them.
Created alternate PR #10370 which takes all information from Grammar/Tokens and use a single generating script.
Tools/scripts/generate_token_h.py, Tools/scripts/generate_token_rst.py and Tools/scripts/generate_token_c.py have been merged into Tools/scripts/generate_token.py. See also #10370.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters