21 Dec
2020
21 Dec
'20
8:33 a.m.
On Mon, Dec 21, 2020 at 7:15 PM Paul Bryan
Hmm, I see ints, floats and decimal.Decimal all produce the same hashes for integer values, so they also suffer the same fate in sets and dicts.
Yes, because they compare equal. (The hash is secondary to that.) Since 1 == 1.0, they must be coalesced in a set. ChrisA