Add suggestion about keyword arguments to this error message: "builtins.TypeError: my_func() takes 1 positional argument but 2 were given"
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reviewing the linked issue22652.patch and the original issue22652 discussion to understand the proposed wording and the interpreter behavior it targets. Done means adding a useful keyword-argument suggestion to this TypeError message while preserving the existing error behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
| BPO | 22652 |
|---|---|
| Nosy | @terryjreedy, @bitdancer, @cool-RR, @serhiy-storchaka, @ztane, @ajdavis |
| Files |
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 2014-10-16.10:33:37.182>
labels = ['interpreter-core', 'type-feature', '3.9']
title = 'Add suggestion about keyword arguments to this error message: "builtins.TypeError: my_func() takes 1 positional argument but 2 were given"'
updated_at = <Date 2020-05-15.15:07:20.596>
user = 'https://github.com/cool-RR'
bugs.python.org fields:
activity = <Date 2020-05-15.15:07:20.596>
actor = 'emptysquare'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2014-10-16.10:33:37.182>
creator = 'cool-RR'
dependencies = []
files = ['38929']
hgrepos = []
issue_num = 22652
keywords = ['patch']
message_count = 10.0
messages = ['229521', '229522', '240541', '240553', '240558', '240655', '368878', '368880', '368940', '368951']
nosy_count = 6.0
nosy_names = ['terry.reedy', 'r.david.murray', 'cool-RR', 'serhiy.storchaka', 'ztane', 'emptysquare']
pr_nums = []
priority = 'low'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue22652'
versions = ['Python 3.9']
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 558
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.
Issue khác của python/cpython
-
docs pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
build type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
stdlib topic-email type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Tất cả issue của python/cpython
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
Change observation tooltip text Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CSCfi/sd-search-api#39 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
please add to porn list Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
StevenBlack/hosts#3255 ·