Should typing.get_type_hints change None annotations?
Open
Nobody has claimed this yet.
3.10
stdlib
topic-typing
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 42881 |
|---|---|
| Nosy | @gvanrossum, @larryhastings, @ericvsmith |
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-01-10.11:29:52.122>
labels = ['type-bug', 'library', '3.10']
title = 'Should typing.get_type_hints change None annotations?'
updated_at = <Date 2021-01-11.00:00:58.806>
user = 'https://github.com/larryhastings'
bugs.python.org fields:
activity = <Date 2021-01-11.00:00:58.806>
actor = 'gvanrossum'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-01-10.11:29:52.122>
creator = 'larry'
dependencies = []
files = []
hgrepos = []
issue_num = 42881
keywords = []
message_count = 4.0
messages = ['384760', '384768', '384769', '384789']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'larry', 'eric.smith']
pr_nums = []
priority = 'low'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42881'
versions = ['Python 3.10']
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
Read the migrated discussion for issue 42881 and inspect the current typing.get_type_hints behavior around None annotations. Determine the intended behavior from the discussion, then add or update focused tests; done means the behavior is specified and the test-needed status is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100