Repository navigation
slice not hashable #84783
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
WillBradshaw commented
on May 12, 2020 WillBradshawmannequinMannequinAuthorMore actionsslice cannot be hashed which make some operations significantly more annoying. see https://groups.google.com/forum/#!topic/comp.lang.python/SvhkWwSDeIw
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error3.9 (EOL)end of lifeend of life
on May 12, 2020 Please re-upload the patch file as an uncompressed text file, as it is quite difficult for many people to view zip files in their browser.
- addedinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancementand removedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on May 12, 2020 20 remaining items
- added a commit that references this issue
on Feb 22, 2023 GH-102548 adds the missing What's New entry.
What's New was merged, so I think this can be closed
- moved this from Todo to Done in Release and Deferred blockers 🚫
on Mar 13, 2023 Thank you for fixing this.
For anyone who was wanting hashable slices, my library ndindex may be of interest. It has a hashable
Sliceobject but it also does a lot more like slice arithmetic which may be useful for a lot of the use cases described here.
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-featureA feature request or enhancementA feature request or enhancement
Projects
- StatusShow more project fieldsDone
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs