python / python/cpython

Assigning function parameter to class attribute by the same name

Đang mở
#87,546 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.10 3.9 (EOL) interpreter-core 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 43380
Nosy @ericvsmith, @stevendaprano, @jennydaman

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-03.00:36:29.041>
labels = ['interpreter-core', 'type-bug', '3.9', '3.10']
title = 'Assigning function parameter to class attribute by the same name'
updated_at = <Date 2021-03-03.09:19:41.364>
user = 'https://github.com/jennydaman'

bugs.python.org fields:

activity = <Date 2021-03-03.09:19:41.364>
actor = 'steven.daprano'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2021-03-03.00:36:29.041>
creator = 'jennydaman'
dependencies = []
files = []
hgrepos = []
issue_num = 43380
keywords = []
message_count = 6.0
messages = ['387987', '387990', '387991', '387992', '388005', '388008']
nosy_count = 3.0
nosy_names = ['eric.smith', 'steven.daprano', 'jennydaman']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue43380'
versions = ['Python 3.9', 'Python 3.10']

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Issue không xác định tệp nguồn, bài kiểm thử, các bước tái hiện hoặc điểm vào nào. Hãy bắt đầu bằng cách tìm phần xử lý trong Interpreter Core cho việc gán một tham số hàm vào một thuộc tính lớp có cùng tên, sau đó xác định hành vi mong đợi và thêm một bài kiểm thử hồi quy tập trung; issue không định nghĩa điều kiện hoàn thành cụ thể hơn.

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
compilers
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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.