◐ Shell
clean mode source ↗

bpo-30455: Generate tokens related C code and docs from token.py. by serhiy-storchaka · Pull Request #1860 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@mention-bot

@matrixise

@serhiy-storchaka if Parser/token.c is auto-generated by the tool, why do you include it in this PR ?

berkerpeksag

@markshannon

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.

@serhiy-storchaka

Created alternate PR #10370 which takes all information from Grammar/Tokens and use a single generating script.

@serhiy-storchaka

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.

@serhiy-storchaka

Labels