[ctypes] Do we still need _use_broken_old_ctypes_structure_semantics_
?
#99284
Labels
_use_broken_old_ctypes_structure_semantics_
?
#99284
Uh oh!
There was an error while loading. Please reload this page.
While working on #99283 I've noticed this piece of code:
cpython/Modules/_ctypes/stgdict.c
Lines 360 to 364 in 0124b5d
cpython/Modules/_ctypes/stgdict.c
Lines 382 to 383 in 0124b5d
I've never seen this before, so I went and searched for this on the internet: https://cs.github.com/?scopeName=All+repos&scope=&q=_use_broken_old_ctypes_structure_semantics_
Looks like not a single GitHub project uses it.
Where is that used inside?
Basically in only one place (and generate code).
No docs, no tests.
No issues: https://github.com/python/cpython/issues?q=is%3Aissue+is%3Aopen+use_broken_old_ctypes_structure_semantics
And it feels like a python2 era thing.
I think it is time to remove it.
PR is on its way, so we can discuss the changes in more details.
CC @pitrou as the original author.
_use_broken_old_ctypes_structure_semantics_
#99285The text was updated successfully, but these errors were encountered: