Add __parameters__ and __getitem__ in TypeVar and ParamSpec
Open
Nobody has claimed this yet.
3.11
stdlib
topic-typing
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 44796 |
|---|---|
| Nosy | @gvanrossum, @serhiy-storchaka, @JelleZijlstra, @sobolevn, @Fidget-Spinner, @AlexWaygood |
| PRs | |
| Dependencies |
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-07-31.13:31:29.771>
labels = ['type-feature', 'library', '3.11']
title = 'Add __parameters__ and __getitem__ in TypeVar and ParamSpec'
updated_at = <Date 2022-03-12.13:54:12.028>
user = 'https://github.com/serhiy-storchaka'
bugs.python.org fields:
activity = <Date 2022-03-12.13:54:12.028>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-07-31.13:31:29.771>
creator = 'serhiy.storchaka'
dependencies = ['44794']
files = []
hgrepos = []
issue_num = 44796
keywords = ['patch']
message_count = 9.0
messages = ['398640', '411555', '412464', '412483', '412484', '412575', '412704', '414895', '414992']
nosy_count = 6.0
nosy_names = ['gvanrossum', 'serhiy.storchaka', 'JelleZijlstra', 'sobolevn', 'kj', 'AlexWaygood']
pr_nums = ['27511', '31143']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue44796'
versions = ['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
Start by reviewing the linked PRs 27511 and 31143 and the dependency on bpo-44794, since the issue names no files or tests. Trace the existing TypeVar and ParamSpec implementation and related typing tests. Done means the requested parameters and getitem behavior is implemented consistently and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100