typing.get_type_hints with TYPE_CHECKING imports / getting hints for single argument
Đang mở
Chưa có ai nhận issue này.
3.10
3.9 (EOL)
stdlib
topic-typing
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| 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']
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với entry point typing.get_type_hints và đọc phần thảo luận về issue BPO 43463. Làm rõ hành vi được mong đợi đối với các import TYPE_CHECKING và các hint cho một đối số duy nhất, sau đó xác định phần triển khai và các bài kiểm thử liên quan; công việc được xem là hoàn tất khi hành vi đã thống nhất được bao phủ mà không gây ra hồi quy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- developer-experience
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100