| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Use also @ctypes.util.wrap_dll_function() decorator.
|
Oh, I had to revert changes because I found multiple bugs in @ctypes.util.struct. |
Sorry, something went wrong.
|
Sorry, something went wrong.
_pyrepl is tested by mypy which doesn't know yet about @ctypes.util.struct.
|
I converted structures of Lib/_pyrepl/windows_console.py to @ctypes.util.struct. The problem is that this file is tested by mypy with Python 3.15 which doesn't know about @ctypes.util.struct. So I reverted _pyrepl changes. |
Sorry, something went wrong.
|
There are many structures defined in:
For _pyrepl, I left it unchanged because of the mypy issue described above. ctypes sub-modules cannot use @ctypes.util.struct because they are used by ctypes.util (inter-dependencies). test_ctypes contains just too many structures, I'm not suret that it's worth it to convert all of them. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Use also @ctypes.util.wrap_dll_function() decorator.