-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
move and rename from ctypes._FuncPointer
to _ctypes.CFuncPtr
#10140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- `_FuncPointer` - TypeVars - update importing stuffs
- `collections.abc` - `Callable` - `Sequence` - `typing` - `overload`
This comment has been minimized.
This comment has been minimized.
Stubtests are failed. Quoting from https://github.com/python/typeshed/actions/runs/4889040813/jobs/8727237786?pr=10140#step:5:19,
However, the return value of I wonder why it occurs. Any opinions would be appreciated. |
Stubtest probably just tries to do something like:
It can only be subclassed if the subclass sets fields like |
This comment has been minimized.
This comment has been minimized.
and remove `_ctypes.CFuncPtr._flags_` from allowlists
e6e78cd
to
caedbda
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@AlexWaygood |
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
ctypes._FuncPointer
doesn't exist at runtime and_ctypes.CFuncPtr
doesn't exist in typestub #10132