| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These functions were undocumented and excluded from the limited C
API.
Most names defined by these header files were not prefixed by "Py"
and so could create names conflicts. For example, Python-ast.h
defined a "Yield" macro which was conflict with the "Yield" name used
by the Windows <winbase.h> header.
Use the Python ast module instead.
* Move Include/asdl.h to Include/internal/pycore_asdl.h.
* Move Include/Python-ast.h to Include/internal/pycore_ast.h.
* Remove ast.h header file.
* pycore_symtable.h no longer includes Python-ast.h.
|
| |
|
|
|
| |
Remove some remaining files and Makefile targets for the old parser
|
|
|
|
|
|
|
|
|
|
|
|
| |
This causes them to be collapsed by default in diffs shown on GitHub.
https://bugs.python.org/issue37760
Automerge-Triggered-By: @benjaminp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-10370)
"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.
|
|
|
| |
Also adds the PC/layout script for generating layouts on Windows.
|
|
|
| |
This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad.
|
| |
|
|
|
|
| |
Marked files are collapsed by default in Github pull request.
https://github.com/github/linguist#generated-code
|
|
|
|
| |
bpo-32248: Make sure that Git checks out data files with Unix line
ending on Windows as well.
|
|
|
| |
Also enable building externals by default on Windows, use PCbuild\build.bat's -E option to disable it.
|
|
|
| |
Updates checked-in line endings on several files.
|
|
|
|
|
|
| |
Github doesn't support it (ref. isaacs/github#487). So it can't ease
conflict on Github.
Additionally, it can make trouble when cherry-pick. (ref. GH-212)
|
| |
|
|
|