typing.get_type_hints with TYPE_CHECKING imports / getting hints for single argument
Open
Nobody has claimed this yet.
3.10
3.9 (EOL)
stdlib
topic-typing
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 43463 |
|---|---|
| Nosy | @gvanrossum, @larryhastings, @ericvsmith, @gvanrossum, @The-Compiler, @ilevkivskyi, @JelleZijlstra, @Fidget-Spinner, @AlexWaygood, @antonagestam |
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-03-10.14:38:41.071>
labels = ['type-bug', 'library', '3.9', '3.10']
title = 'typing.get_type_hints with TYPE_CHECKING imports / getting hints for single argument'
updated_at = <Date 2022-03-20.19:21:43.531>
user = 'https://github.com/The-Compiler'
bugs.python.org fields:
activity = <Date 2022-03-20.19:21:43.531>
actor = 'AlexWaygood'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-03-10.14:38:41.071>
creator = 'The Compiler'
dependencies = []
files = []
hgrepos = []
issue_num = 43463
keywords = []
message_count = 15.0
messages = ['388436', '388444', '388556', '388578', '388749', '388750', '388751', '388756', '391210', '391225', '391229', '391251', '391254', '391257', '415627']
nosy_count = 10.0
nosy_names = ['gvanrossum', 'larry', 'eric.smith', 'Guido.van.Rossum', 'The Compiler', 'levkivskyi', 'JelleZijlstra', 'kj', 'AlexWaygood', 'antonagestam']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue43463'
versions = ['Python 3.9', '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
Start with the typing.get_type_hints entry point and read the discussion for BPO issue 43463. Clarify the expected behavior for TYPE_CHECKING imports and hints for a single argument, then identify the relevant implementation and tests; done means the agreed behavior is covered without regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100