WeakKeyDictionary should support lookup by id instead of hash
Open
Nobody has claimed this yet.
stdlib
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 44140 |
|---|---|
| Nosy | @MojoVampire, @youtux, @brandtbucher, @conchylicultor, @akulakov |
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:
assignee = None
closed_at = None
created_at = <Date 2021-05-15.08:42:51.954>
labels = ['3.7', '3.8', '3.9', '3.10', '3.11', 'type-feature', 'library']
title = 'WeakKeyDictionary should support lookup by id instead of hash'
updated_at = <Date 2021-08-26.22:27:51.360>
user = 'https://github.com/conchylicultor'
bugs.python.org fields:
activity = <Date 2021-08-26.22:27:51.360>
actor = 'youtux'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-05-15.08:42:51.954>
creator = 'conchylicultor'
dependencies = []
files = []
hgrepos = []
issue_num = 44140
keywords = []
message_count = 4.0
messages = ['393707', '396362', '396451', '396452']
nosy_count = 5.0
nosy_names = ['josh.r', 'youtux', 'brandtbucher', 'conchylicultor', 'andrei.avk']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue44140'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the WeakKeyDictionary implementation and its existing tests in the CPython standard library. Read the current hash-based behavior and determine how the requested id-based lookup should behave, then add focused coverage and run the relevant tests to verify the new lookup semantics without regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100