Harald Husum added the comment:
Serhiy, thanks for responding.
I agree on this being "third-party" when looking at the original post I made,
and I've reported the issue to the relevant party
(https://github.com/pandas-dev/pandas/issues/44504). But really, the bigger
is
Change by Harald Husum :
--
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue45832>
___
___
Python-bugs-list mailing list
Unsub
Harald Husum added the comment:
I am realising that me not knowing about the hash invariance is likely a
symptom of something I have in common with most Python users, but not with
Python maintainers: Having access to a powerful ecosystem, we mostly get our
classes from 3rd parties, rather
Harald Husum added the comment:
Might i then suggest mentioning in the docs that this assumes the invariance,
combined with a backlink to the definition, instead of a full repeat?
I'm sure the hash invariant is well known to you guys, working on python, but I
was genuinely surprised by
New submission from Harald Husum :
https://docs.python.org/3/reference/expressions.html#membership-test-operations
> For container types such as list, tuple, set, frozenset, dict, or
> collections.deque, the expression `x in y` is equivalent to `any(x is e or x
> == e for e in