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

Changed the import of ctypes.wintypes from __import__ to a regular import statement #4534

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Aug 1, 2024

Summary of changes

The issue python/cpython#61140 referenced in 1fab75a, has been resolved in Python 3.8.7 https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-7-release-candidate-1

Even then, the decoractor added in 81b4d92 ensures that this wouldn't be run on non-windows machines anyway.

Resolves a few mypy attr-defined and pyright reportAttributeAccessIssue for #2345

Pull Request Checklist

@Avasam Avasam force-pushed the regular-import-ctypes.wintypes branch from 2a76142 to 80d391c Compare August 1, 2024 00:19
@abravalheri abravalheri merged commit d782093 into pypa:main Aug 8, 2024
19 of 21 checks passed
@abravalheri
Copy link
Contributor

Thank you @Avasam.

@Avasam Avasam deleted the regular-import-ctypes.wintypes branch August 8, 2024 12:55
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.

2 participants