You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am confident this is a bug in CPython, not a bug in a third-party project
I have searched the CPython 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:
The make regen-all command is not deterministic. Depending in the order in which the target dependencies are executed, the result change.
regen1.sh:
set -e -x
git checkout .
git checkout 79823c103b66030f10e07e04a5462f101674a4fc
# WARNING: it removes all untracked files!
git clean -fdx
./configure --with-pydebug
make regen-cases
make regen-typeslots
make regen-token
make regen-ast
make regen-keyword
make regen-sre
make regen-frozen
make regen-pegen-metaparser
make regen-pegen
make regen-test-frozenmain
make regen-test-levenshtein
make clinic
make regen-global-objects
echo
grep 'ID(traceback)' Python/deepfreeze/deepfreeze.c || true
echo
wc -l Python/deepfreeze/deepfreeze.c
regen2.sh:
set -e -x
git checkout .
git checkout 79823c103b66030f10e07e04a5462f101674a4fc
# WARNING: it removes all untracked files!
git clean -fdx
./configure --with-pydebug
make clinic
make regen-global-objects
make regen-cases
make regen-typeslots
make regen-token
make regen-ast
make regen-keyword
make regen-sre
make regen-frozen
make regen-pegen-metaparser
make regen-pegen
make regen-test-frozenmain
make regen-test-levenshtein
echo
grep 'ID(traceback)' Python/deepfreeze/deepfreeze.c || true
echo
wc -l Python/deepfreeze/deepfreeze.c
Bug report
Checklist
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:
The
make regen-allcommand is not deterministic. Depending in the order in which the target dependencies are executed, the result change.regen1.sh:
regen2.sh:
regen1.sh output:
regen2.sh output:
regen1.sh, there is atracebackidentfier inPython/deepfreeze/deepfreeze.c.regen1.sh, there is notracebackidentfier inPython/deepfreeze/deepfreeze.c.These commands are coming from
regen-allinMakefile.pre.in:Linked PRs