python / python/cpython

`_py_abc` breaks pattern matching

Open
#89,646 10 comments 0 reactions 1 assignee View on GitHub

@brandtbucher is already working on this.

Since May 5, 2022.

3.11 3.12 3.13 interpreter-core type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

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']

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.