Skip to content

gh-103092: Port some _ctypes data types to heap types (alt) - #113774

Closed
neonene wants to merge 1 commit into
python:mainfrom
neonene:ctypes_alt
Closed

gh-103092: Port some _ctypes data types to heap types (alt)#113774
neonene wants to merge 1 commit into
python:mainfrom
neonene:ctypes_alt

Conversation

@neonene

@neoneneneonene commented Jan 6, 2024

Copy link
Copy Markdown
Contributor

An alternative PR to #113630. This version will keep the behavior unchanged by making the MOD_ADD_TYPE() macro hack the metatype's tp_new slot.

@encukou

Copy link
Copy Markdown
Member

If we don't have API to solve this without the hack, I think it's better to keep _ctypes unported.
Let's keep discussion in #113630.

@encukouencukou closed this Jan 8, 2024
@neonene
neonene deleted the ctypes_alt branch January 9, 2024 18:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@neonene@encukou