Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Checklist
- I am confident this is a bug in CPython, not a bug in a third-party project
- I have searched theCPython issue tracker,
and am confident this bug has not been reported before
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
No response
A clear and concise description of the bug:
Themake regen-all command is not deterministic. Depending in the order in which the target dependencies are executed, the result change.
regen1.sh:
set -e -xgit checkout .git checkout 79823c103b66030f10e07e04a5462f101674a4fc# WARNING: it removes all untracked files!git clean -fdx./configure --with-pydebugmake regen-casesmake regen-typeslotsmake regen-tokenmake regen-astmake regen-keywordmake regen-sremake regen-frozenmake regen-pegen-metaparsermake regen-pegenmake regen-test-frozenmainmake regen-test-levenshteinmake clinicmake regen-global-objectsechogrep 'ID(traceback)' Python/deepfreeze/deepfreeze.c || trueechowc -l Python/deepfreeze/deepfreeze.cregen2.sh:
set -e -xgit checkout .git checkout 79823c103b66030f10e07e04a5462f101674a4fc# WARNING: it removes all untracked files!git clean -fdx./configure --with-pydebugmake clinicmake regen-global-objectsmake regen-casesmake regen-typeslotsmake regen-tokenmake regen-astmake regen-keywordmake regen-sremake regen-frozenmake regen-pegen-metaparsermake regen-pegenmake regen-test-frozenmainmake regen-test-levenshteinechogrep 'ID(traceback)' Python/deepfreeze/deepfreeze.c || trueechowc -l Python/deepfreeze/deepfreeze.cregen1.sh output:
(...) &_Py_ID(traceback), &_Py_ID(traceback),146433 Python/deepfreeze/deepfreeze.cregen2.sh output:
(...)146543 Python/deepfreeze/deepfreeze.c- Using
regen1.sh, there is atracebackidentfier inPython/deepfreeze/deepfreeze.c. - Using
regen1.sh, thereis notracebackidentfier inPython/deepfreeze/deepfreeze.c.
These commands are coming fromregen-all inMakefile.pre.in:
regen-all: regen-cases regen-typeslots \ regen-token regen-ast regen-keyword regen-sre regen-frozen clinic \ regen-pegen-metaparser regen-pegen regen-test-frozenmain \ regen-test-levenshtein regen-global-objects