Repository navigation
move and rename from ctypes._FuncPointer to _ctypes.CFuncPtr - #10140
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._FuncPointerdoesn't exist at runtime and_ctypes.CFuncPtrdoesn't exist in typestub #10132