This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2021年09月17日 09:22 by vstinner, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 28411 | merged | vstinner, 2021年09月17日 09:30 | |
| Messages (3) | |||
|---|---|---|---|
| msg402019 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2021年09月17日 09:22 | |
"make regen-frozen" changes PCbuild/_freeze_module.vcxproj and PCbuild/_freeze_module.vcxproj.filters changes files end of line on Linux. I'm working on a fix. When Python is built out of the source free, "make regen-pegen" changes Parser/parser.c and Tools/peg_generator/pegen/grammar_parser.py: diff --git a/Parser/parser.c b/Parser/parser.c index 3cea370c5a..caf864d86c 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -1,4 +1,4 @@ -// @generated by pegen from ./Grammar/python.gram +// @generated by pegen from ../Grammar/python.gram #include "pegen.h" #if defined(Py_DEBUG) && defined(Py_BUILD_CORE) diff --git a/Tools/peg_generator/pegen/grammar_parser.py b/Tools/peg_generator/pegen/grammar_parser.py index 6e9f7d3d11..6e9885cef7 100644 --- a/Tools/peg_generator/pegen/grammar_parser.py +++ b/Tools/peg_generator/pegen/grammar_parser.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3.8 -# @generated by pegen from ./Tools/peg_generator/pegen/metagrammar.gram +# @generated by pegen from ../Tools/peg_generator/pegen/metagrammar.gram import ast import sys |
|||
| msg402021 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2021年09月17日 09:27 | |
See also my PR 28410 which fix Python built out of the source tree. |
|||
| msg402069 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2021年09月17日 18:12 | |
New changeset c5a677da9e7b2b2aa43b0b6dfb3813c0212379c0 by Victor Stinner in branch 'main': bpo-45231: update_file.py preserves end of line (GH-28411) https://github.com/python/cpython/commit/c5a677da9e7b2b2aa43b0b6dfb3813c0212379c0 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:50 | admin | set | github: 89394 |
| 2021年09月17日 20:20:36 | vstinner | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2021年09月17日 18:12:29 | vstinner | set | messages: + msg402069 |
| 2021年09月17日 09:30:58 | vstinner | set | keywords:
+ patch stage: patch review pull_requests: + pull_request26823 |
| 2021年09月17日 09:27:36 | vstinner | set | messages: + msg402021 |
| 2021年09月17日 09:22:43 | vstinner | create | |