python / python/cpython

`_py_abc` breaks pattern matching

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

@brandtbucher đang làm issue này rồi.

Từ ngày 5/5/2022.

3.11 3.12 3.13 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 45483
Nosy @rhettinger, @GalaxySnail

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-10-15.12:59:43.754>
labels = ['type-bug', '3.10', '3.11']
title = "pure Python class that has been registered as a `collections.abc.Sequence` can't be recgnized by the match statement without the `_abc` module"
updated_at = <Date 2021-10-15.15:30:45.212>
user = 'https://github.com/GalaxySnail'

bugs.python.org fields:

activity = <Date 2021-10-15.15:30:45.212>
actor = 'rhettinger'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2021-10-15.12:59:43.754>
creator = 'GalaxySnail'
dependencies = []
files = []
hgrepos = []
issue_num = 45483
keywords = []
message_count = 1.0
messages = ['404011']
nosy_count = 2.0
nosy_names = ['rhettinger', 'GalaxySnail']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45483'
versions = ['Python 3.10', 'Python 3.11']

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.

Đánh giá

Issue này chưa được đánh giá.

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.