Message347820
I encounter another case that leads to non-deterministic bytecode. For example, with commit e6b46aafad3427463d6264a68824df4797e682f1 + PR 9472, I got:
$ cat foobar.py
_m = None
$ PYTHONHASHSEED=0 ./python -m compileall --invalidation-mode=unchecked-hash foobar.py
Compiling 'foobar.py'...
$ sha256sum __pycache__/foobar.cpython-39.pyc
7f84b08d5536390d6ce4ccb2d65e259449c56549ee9cc67560f61771824f20ea __pycache__/foobar.cpython-39.pyc
$ rm __pycache__/foobar.cpython-39.pyc
$ PYTHONHASHSEED=1 ./python -m compileall --invalidation-mode=unchecked-hash foobar.py
Compiling 'foobar.py'...
$ sha256sum __pycache__/foobar.cpython-39.pyc
46dadbb92ad6e1e5b5f8abe9f107086cd231b2b80c15fe84f86e2081a6b8c428 __pycache__/foobar.cpython-39.pyc
In this case there are no sets. I guess the cause is different. Should I open a new issue? |
|
Date |
User |
Action |
Args |
2019-07-13 13:52:34 | yan12125 | set | recipients:
+ yan12125, rhettinger, benjamin.peterson, serhiy.storchaka, Peter Ebden, pablogsal |
2019-07-13 13:52:34 | yan12125 | set | messageid: <1563025954.08.0.153083318748.issue34722@roundup.psfhosted.org> |
2019-07-13 13:52:34 | yan12125 | link | issue34722 messages |
2019-07-13 13:52:33 | yan12125 | create | |
|