]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45866: pegen strips directory of "generated from" header (GH-29777) (GH-29792...
authorVictor Stinner <vstinner@python.org>
Fri, 26 Nov 2021 16:23:41 +0000 (17:23 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Nov 2021 16:23:41 +0000 (17:23 +0100)
commit93a540d74c654819ad04d72fcdcf827d0e259999
treeb63a120a0823f5d810aa7362c5c1ad6ec9e220d1
parent92631a4144fba041a5fb6578620db784821dfdc5
bpo-45866: pegen strips directory of "generated from" header (GH-29777) (GH-29792) (GH-29797)

"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.

(cherry picked from commit 253b7a0a9fef1d72a4cb87b837885576e68e917c)
(cherry picked from commit b6defde2afe656db830d6fedf74ca5f6225f5928)
Misc/NEWS.d/next/Build/2021-11-25-13-53-36.bpo-45866.ZH1W8N.rst [new file with mode: 0644]
Parser/pegen/parse.c
Tools/peg_generator/pegen/c_generator.py
Tools/peg_generator/pegen/grammar_parser.py
Tools/peg_generator/pegen/python_generator.py