Overriding of methods with self types

Đang mở
#2,353 5 bình luận 1 reaction 0 người được giao Xem trên GitHub

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
compilers, devtools

Hướng nghiên cứu

Start by reading the discussion in issue #2193 and the linked pull request comment, then determine the intended rules for overriding methods that use self types such as self: T. The issue is complete when those rules are agreed upon and the override checking behavior is implemented and validated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

priority-2-low topic-self-types

It's unclear how we should check overrides of methods that use self types (e.g. self: T). There is some discussion in #2193.

A relevant comment (but there are others): https://github.com/python/mypy/pull/2193#issuecomment-255558447

Ngôn ngữ chính
Python
Star
20.6k
Fork
3.3k
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
54

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.

Issue khác của python/mypy

Tất cả issue của python/mypy

Issue tương tự

Thêm issue về Python

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.