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.

Author FFY00
Recipients FFY00
Date 2021-08-05.18:28:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628188133.12.0.736934579893.issue44843@roundup.psfhosted.org>
In-reply-to
Content
There are select use-cases where hash randomization is undesirable, having a CLI option to switch it off would be very helpful.
One example would be packaging, where hash randomization will make the bytecode unreproducible.

Currently, we have to set PYTHONHASHSEED to a constant value. Having a CLI option (lets say -Z) would allow use to do

  python -Zm install artifact.whl

instead of

  PYTHONHASHSEED=0 python -m install artifact.whl

Which is something that I have to do lots of places.
History
Date User Action Args
2021-08-05 18:28:53FFY00setrecipients: + FFY00
2021-08-05 18:28:53FFY00setmessageid: <1628188133.12.0.736934579893.issue44843@roundup.psfhosted.org>
2021-08-05 18:28:53FFY00linkissue44843 messages
2021-08-05 18:28:52FFY00create