Post #11905 146 Jan 12, 2025, 08:29 UTC Why is hash(-1) == hash(-2) in Python?https://omairmajid.com/posts/2021-07-16-why-is-hash-in-python/https://redd.it/1hzbue9@programmingreddit Omairmajid Why is hash(-1) == hash(-2) in Python? While browsing Reddit the other day waiting for my code to compile , I ran across this question on r/Python: is hash(-1) == hash(-2) an easter egg? Wait, is that really true? $ python Python 3.9.6 (default, Jun 29 2021, 00:00:00) [GCC 11.1.1 20210531 (Red…