[Python-ideas] Why aren't slices hashable?

Ed Minnix egregius313 at gmail.com
Sat Jun 18 12:50:54 EDT 2016


Hello,

I was experimenting in the repl and I noticed something odd: slices are not hashable. I was wondering why this would be since, I would think slices are immutable, and most immutable objects are hashable.

Thanks,
Ed


More information about the Python-ideas mailing list