Message397963
In docstring of Set._hash in _collections_abc.py is written:
"We match the algorithm used by the built-in frozenset type."
But
>>> s = frozenset({i for i in range(10)})
>>> hash(s)
3895031357313128696
>>> Set._hash(s)
3914343279946282847
Looks like Set._hash is different. |
|
Date |
User |
Action |
Args |
2021-07-21 21:32:14 | Prometheus3375 | set | recipients:
+ Prometheus3375 |
2021-07-21 21:32:14 | Prometheus3375 | set | messageid: <1626903134.43.0.638660457215.issue44704@roundup.psfhosted.org> |
2021-07-21 21:32:14 | Prometheus3375 | link | issue44704 messages |
2021-07-21 21:32:14 | Prometheus3375 | create | |
|