]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45866: pegen strips directory of "generated from" header (GH-29777)
authorVictor Stinner <vstinner@python.org>
Fri, 26 Nov 2021 10:50:34 +0000 (11:50 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Nov 2021 10:50:34 +0000 (11:50 +0100)
commit253b7a0a9fef1d72a4cb87b837885576e68e917c
treedc5f8a45dcd4830ef1ca6504fb4fb0d4b77f52a5
parentee1e2c604c8a66a407116d9c3e589ab0b9580c54
bpo-45866: pegen strips directory of "generated from" header (GH-29777)

"make regen-all" now produces the same output when run from a
directory other than the source tree: when building Python out of the
source tree.
Misc/NEWS.d/next/Build/2021-11-25-13-53-36.bpo-45866.ZH1W8N.rst [new file with mode: 0644]
Parser/parser.c
Tools/peg_generator/pegen/c_generator.py
Tools/peg_generator/pegen/grammar_parser.py
Tools/peg_generator/pegen/python_generator.py