Unexpected TypeError with type alias+issubclass+ABC

Open
#89,489 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with the linked BPO issue 45326 and its migrated messages to recover the reproduction and intended behavior. The payload names only the Library (Lib) component, so locate the affected implementation and existing tests for type aliases, issubclass(), and ABCs; done means a confirmed fix with regression coverage.

Written by the indexing model from the issue text.

Description

3.10 3.11 3.9 (EOL) stdlib type-bug
BPO 45326
Nosy @gvanrossum, @corona10, @AMDmi3, @Fidget-Spinner, @akulakov, @burritoatspoton

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-09-29.21:14:09.774>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = 'Unexpected TypeError with type alias+issubclass+ABC'
updated_at = <Date 2022-02-28.01:52:34.626>
user = 'https://github.com/AMDmi3'

bugs.python.org fields:

activity = <Date 2022-02-28.01:52:34.626>
actor = 'andrei.avk'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-09-29.21:14:09.774>
creator = 'AMDmi3'
dependencies = []
files = []
hgrepos = []
issue_num = 45326
keywords = []
message_count = 2.0
messages = ['402914', '414170']
nosy_count = 6.0
nosy_names = ['gvanrossum', 'corona10', 'AMDmi3', 'kj', 'andrei.avk', 'burrito']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45326'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

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.

More from python/cpython

All issues in python/cpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.