Uh oh!
There was an error while loading. Please reload this page.
gh-104533: Use @ctypes.util.struct decorator - #154031
Conversation
Use also @ctypes.util.wrap_dll_function() decorator.
vstinner
commented
Jul 18, 2026
Oh, I had to revert changes because I found multiple bugs in |
vstinner
commented
Jul 19, 2026
|
_pyrepl is tested by mypy which doesn't know yet about @ctypes.util.struct.
vstinner
commented
Jul 19, 2026
I converted structures of |
vstinner
commented
Jul 19, 2026
There are many structures defined in:
For _pyrepl, I left it unchanged because of the mypy issue described above. ctypes sub-modules cannot use test_ctypes contains just too many structures, I'm not suret that it's worth it to convert all of them. |
Uh oh!
There was an error while loading. Please reload this page.
Use also @ctypes.util.wrap_dll_function() decorator.