mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-29535: Remove promize about hash randomization of datetime objects. (GH-15269)
This commit is contained in:
parent
4101181fd8
commit
e9c90aa431
4 changed files with 7 additions and 7 deletions
|
|
@ -302,7 +302,7 @@ Miscellaneous options
|
|||
randomization is enabled by default.
|
||||
|
||||
On previous versions of Python, this option turns on hash randomization,
|
||||
so that the :meth:`__hash__` values of str, bytes and datetime
|
||||
so that the :meth:`__hash__` values of str and bytes objects
|
||||
are "salted" with an unpredictable random value. Although they remain
|
||||
constant within an individual Python process, they are not predictable
|
||||
between repeated invocations of Python.
|
||||
|
|
@ -625,7 +625,7 @@ conflict.
|
|||
.. envvar:: PYTHONHASHSEED
|
||||
|
||||
If this variable is not set or set to ``random``, a random value is used
|
||||
to seed the hashes of str, bytes and datetime objects.
|
||||
to seed the hashes of str and bytes objects.
|
||||
|
||||
If :envvar:`PYTHONHASHSEED` is set to an integer value, it is used as a fixed
|
||||
seed for generating the hash() of the types covered by the hash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue