]> 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 15:38:50 +0000 (16:38 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Nov 2021 15:38:50 +0000 (16:38 +0100)
commitb6defde2afe656db830d6fedf74ca5f6225f5928
tree08959c6ba471d717b707eba3d5de150b6ac95f4f
parent3f024e27c29a57dd4f805aa2431d713ed0fe57b2
bpo-45866: pegen strips directory of "generated from" header (GH-29777) (GH-29792)

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