This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hagen
Recipients amaury.forgeotdarc, eric.smith, gpolo, hagen, ncoghlan, rhettinger
Date 2008-12-20.08:15:35
SpamBayes Score 1.14119e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
> I don't believe there is any driving reason for them not to be hashable.

On the other hand, what is the use case for hashing objects whose
equality is defined as object identity?

Python 3.0 (r30:67503, Dec  4 2008, 06:47:38)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> range(10).__hash__
<method-wrapper '__hash__' of range object at 0x7f2d61dbd210>
>>> {range(10), range(10)}
{range(0, 10), range(0, 10)}

I can see only confusion arising from that.
Date User Action Args
2008-12-20 08:15:39hagensetrecipients: + hagen, rhettinger, amaury.forgeotdarc, ncoghlan, eric.smith, gpolo
2008-12-20 08:15:38hagenlinkissue4701 messages
2008-12-20 08:15:35hagencreate