Skip to content
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

Introduce the _CDataType alias. #807

Merged
merged 3 commits into from
Feb 16, 2025
Merged

Conversation

junkmd
Copy link
Collaborator

@junkmd junkmd commented Feb 16, 2025

The changes in python/typeshed#12982 have been incorporated into major type checkers, allowing for type annotations in codebases for metaprogramming with ctypes to more closely reflect actual implementations.

First, I will update parts of the code where using _CDataType, a union of concrete classes, is more appropriate than _CData, the base class.

Additionally, I have moved aliases that are only used for type annotations in _memberspec to hints.

@junkmd junkmd added this to the 1.4.11 milestone Feb 16, 2025
junkmd added a commit to junkmd/pywinauto that referenced this pull request Feb 16, 2025
@junkmd junkmd merged commit 10bc641 into enthought:main Feb 16, 2025
50 checks passed
@junkmd junkmd deleted the typealias_cdatatype branch February 16, 2025 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant