Many method parameters in the datetime module are positional-only in the C implementation but positional-or-keyword in the Python implementation
Đang mở
Chưa có ai nhận issue này.
extension-modules
stdlib
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 | 45821 |
|---|---|
| Nosy | @abalkin, @pganssle, @AlexWaygood |
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-11-16.19:21:08.113>
labels = ['type-bug', '3.9', '3.10', '3.11', 'extension-modules', 'library']
title = 'Many method parameters in the datetime module are positional-only in the C implementation but positional-or-keyword in the Python implementation'
updated_at = <Date 2021-11-21.13:45:40.155>
user = 'https://github.com/AlexWaygood'
bugs.python.org fields:
activity = <Date 2021-11-21.13:45:40.155>
actor = 'AlexWaygood'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Library (Lib)']
creation = <Date 2021-11-16.19:21:08.113>
creator = 'AlexWaygood'
dependencies = []
files = []
hgrepos = []
issue_num = 45821
keywords = []
message_count = 3.0
messages = ['406423', '406592', '406715']
nosy_count = 3.0
nosy_names = ['belopolsky', 'p-ganssle', 'AlexWaygood']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45821'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
Linked PRs
- gh-136366
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 bằng việc xem xét PR được liên kết gh-136366 và các triển khai Python và C của mô-đun datetime; issue xác định sự không nhất quán về việc tham số phương thức nào chấp nhận từ khóa. So sánh chữ ký của các phương thức bị ảnh hưởng và xác minh rằng hành vi chỉ nhận đối số vị trí là nhất quán giữa các triển khai trước khi kiểm tra các bài kiểm thử datetime liên quan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- c, python
- Lĩnh vực
- backend
- 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