• Serhiy Storchaka's avatar
    bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) · 8ac65811
    Serhiy Storchaka yazdı
    "Include/token.h", "Lib/token.py" (containing now some data moved from
    "Lib/tokenize.py") and new files "Parser/token.c" (containing the code
    moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included
    in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by
    "Tools/scripts/generate_token.py". The script overwrites files only if
    needed and can be used on the read-only sources tree.
    
    "Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py"
    instead of been executable itself.
    
    Added new make targets "regen-token" and "regen-symbol" which are now
    dependencies of "regen-all".
    
    The documentation contains now strings for operators and punctuation tokens.
    8ac65811
Adı
Son kayıt (commit)
Son güncelleme
..
2to3 Loading commit data...
README Loading commit data...
abitype.py Loading commit data...
analyze_dxp.py Loading commit data...
byext.py Loading commit data...
byteyears.py Loading commit data...
checkpip.py Loading commit data...
checkpyc.py Loading commit data...
cleanfuture.py Loading commit data...
combinerefs.py Loading commit data...
copytime.py Loading commit data...
crlf.py Loading commit data...
db2pickle.py Loading commit data...
diff.py Loading commit data...
dutree.doc Loading commit data...
dutree.py Loading commit data...
eptags.py Loading commit data...
find-uname.py Loading commit data...
find_recursionlimit.py Loading commit data...
finddiv.py Loading commit data...
findlinksto.py Loading commit data...
findnocoding.py Loading commit data...
fixcid.py Loading commit data...
fixdiv.py Loading commit data...
fixheader.py Loading commit data...
fixnotice.py Loading commit data...
fixps.py Loading commit data...
generate_opcode_h.py Loading commit data...
generate_symbol_py.py Loading commit data...
generate_token.py Loading commit data...
get-remote-certificate.py Loading commit data...
google.py Loading commit data...
gprof2html.py Loading commit data...
h2py.py Loading commit data...
highlight.py Loading commit data...
idle3 Loading commit data...
ifdef.py Loading commit data...
import_diagnostics.py Loading commit data...
lfcr.py Loading commit data...
linktree.py Loading commit data...
lll.py Loading commit data...
mailerdaemon.py Loading commit data...
make_ctype.py Loading commit data...
md5sum.py Loading commit data...
mkreal.py Loading commit data...
ndiff.py Loading commit data...
nm2def.py Loading commit data...
objgraph.py Loading commit data...
parse_html5_entities.py Loading commit data...
parseentities.py Loading commit data...
patchcheck.py Loading commit data...
pathfix.py Loading commit data...
pdeps.py Loading commit data...
pep384_macrocheck.py Loading commit data...
pickle2db.py Loading commit data...
pindent.py Loading commit data...
ptags.py Loading commit data...
pydoc3 Loading commit data...
pysource.py Loading commit data...
reindent-rst.py Loading commit data...
reindent.py Loading commit data...
rgrep.py Loading commit data...
run_tests.py Loading commit data...
serve.py Loading commit data...
smelly.py Loading commit data...
suff.py Loading commit data...
texi2html.py Loading commit data...
untabify.py Loading commit data...
update_file.py Loading commit data...
which.py Loading commit data...
win_add2path.py Loading commit data...