ctypes: fail to create a _ctypes._SimpleCData subclass using a closure like calling super() without arguments
Open
Nobody has claimed this yet.
3.11
3.12
3.13
topic-ctypes
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 29270 |
|---|---|
| Nosy | @ncoghlan, @vstinner, @serhiy-storchaka, @eryksun, @https://github.com/hakril, @waveform80 |
| Files |
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 2017-01-13.22:10:22.119>
labels = ['ctypes', 'type-bug', '3.9', '3.10', '3.11']
title = 'ctypes: fail to create a _ctypes._SimpleCData subclass using a closure like calling super() without arguments'
updated_at = <Date 2022-03-28.22:12:40.498>
user = 'https://github.com/waveform80'
bugs.python.org fields:
activity = <Date 2022-03-28.22:12:40.498>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['ctypes']
creation = <Date 2017-01-13.22:10:22.119>
creator = 'Dave Jones'
dependencies = []
files = ['46285']
hgrepos = []
issue_num = 29270
keywords = ['patch']
message_count = 14.0
messages = ['285444', '285450', '285454', '285469', '285473', '285474', '285475', '285480', '286287', '286310', '313985', '355368', '360252', '416219']
nosy_count = 7.0
nosy_names = ['ncoghlan', 'vstinner', 'serhiy.storchaka', 'eryksun', 'hakril', 'Dave Jones', 'Asdger Gdsfe']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue29270'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
Linked PRs
- gh-104576
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked issue_29270_01.patch and PR gh-104576, then inspect the ctypes implementation and existing tests around _ctypes._SimpleCData subclass creation. Done means the reported closure and argument-less super() case behaves correctly and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100