inspect.getsourceslines() consider lambda of one line only
Đang mở
Chưa có ai nhận issue này.
3.10
3.9 (EOL)
extension-modules
OS-windows
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 | 44474 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @zooba, @Welgriv |
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-06-21.13:33:42.251>
labels = ['type-bug', '3.9', '3.10', 'extension-modules', 'library', 'OS-windows']
title = 'inspect.getsourceslines() consider lambda of one line only'
updated_at = <Date 2021-06-21.13:33:42.251>
user = 'https://github.com/Welgriv'
bugs.python.org fields:
activity = <Date 2021-06-21.13:33:42.251>
actor = 'Welgriv'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Library (Lib)', 'Windows']
creation = <Date 2021-06-21.13:33:42.251>
creator = 'Welgriv'
dependencies = []
files = []
hgrepos = []
issue_num = 44474
keywords = []
message_count = 1.0
messages = ['396245']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'Welgriv']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44474'
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 bằng cách tái hiện hành vi đã được báo cáo của inspect.getsourcelines() với một lambda một dòng trên Windows. Đọc hành vi trích xuất mã nguồn của mô-đun inspect và so sánh kết quả với cách xử lý mong đợi được mô tả trong issue. Hoàn thành khi hành vi được sửa và được bao phủ bởi một regression test phù hợp.
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
- tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100