python / python/cpython

Standardise more behaviours for zero-argument super() __class__ and __classcell__

Open
#73,077 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

BPO 28891
Nosy @arigo, @ncoghlan

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 2016-12-07.01:24:28.059>
labels = ['type-bug']
title = 'Standardise more behaviours for zero-argument super() __class__ and __classcell__'
updated_at = <Date 2016-12-07.01:36:23.643>
user = 'https://github.com/ncoghlan'

bugs.python.org fields:

activity = <Date 2016-12-07.01:36:23.643>
actor = 'ncoghlan'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2016-12-07.01:24:28.059>
creator = 'ncoghlan'
dependencies = []
files = []
hgrepos = []
issue_num = 28891
keywords = []
message_count = 2.0
messages = ['282585', '282587']
nosy_count = 2.0
nosy_names = ['arigo', 'ncoghlan']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue28891'
versions = []

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.

Research direction

Start with the linked BPO issue 28891 and its two messages, then identify the affected zero-argument super(), class, and classcell behavior in the CPython implementation. The issue provides no files, tests, or entry point; completion would require defining the standardized behavior and adding the needed tests, as indicated by the “test needed” stage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.