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 remi.lapeyre
Recipients belopolsky, josh.r, meador.inge, pitrou, remi.lapeyre, scoder, yselivanov
Date 2019-05-07.08:57:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557219432.41.0.614635148136.issue11107@roundup.psfhosted.org>
In-reply-to
Content
Hi josh.r, this may be dump but is there a reason not to make slices hashable? Couldn't they hash like a tuple (start, stop, step)?

I looked around in the code, bpo and the mailing lists but could not find a reason why not, maybe it was just not useful at the time but could be implemented now?
History
Date User Action Args
2019-05-07 08:57:12remi.lapeyresetrecipients: + remi.lapeyre, belopolsky, pitrou, scoder, meador.inge, yselivanov, josh.r
2019-05-07 08:57:12remi.lapeyresetmessageid: <1557219432.41.0.614635148136.issue11107@roundup.psfhosted.org>
2019-05-07 08:57:12remi.lapeyrelinkissue11107 messages
2019-05-07 08:57:12remi.lapeyrecreate