[Python-Dev] Put token information in one place (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Wed May 31 14:37:59 EDT 2017
- Previous message (by thread): [Python-Dev] Put token information in one place
- Next message (by thread): [Python-Dev] Put token information in one place
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
31.05.17 20:58, Brett Cannon пише:
I assume there's a build rule for Python/graminit.c and porting pgen to Python would require Python be installed to do a build from scratch. Have we made that a requirement yet? If so then rewriting pgen in Python would make it easier to maintain (although when was the last time anyone touched that file?).
That is why generated C files are added to the repository. There are precedences: Include/Python-ast.h, Python/Python-ast.c, Include/opcode.h, Python/opcode_targets.h, Objects/typeslots.inc, Objects/unicodetype_db.h, Modules/cjkcodecs/mappings_*.h, Modules/sre_constants.h, Modules/_ssl_data.h, and a number of **/clinic/*.h files are generated by Python scripts.
- Previous message (by thread): [Python-Dev] Put token information in one place
- Next message (by thread): [Python-Dev] Put token information in one place
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]