Author lpd
Recipients
Date 2007-06-08.05:36:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I could probably live with that.  However, there are other kinds of objects being used as keys in the same dictionary, and I can't just repr() them all, because it is not true that a == b implies repr(a) == repr(b).  (E.g., a = 3, b = 3.0.)

Practicalities aside, it just seems silly to me that a simple type like slice should have all the prerequisites for being hashable and yet isn't, especially when much more complex types like methods are both comparable and hashable.
History
Date User Action Args
2007-08-23 14:54:44adminlinkissue1733184 messages
2007-08-23 14:54:44admincreate