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

gh-105751: test_ctypes avoids "from ctypes import *" #105768

Merged
merged 3 commits into from
Jun 14, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 14, 2023

Using "import *" prevents linters like pyflakes to detect symbols (variables, functions) used being imported.

Replace c_voidp with c_void_p.

Using "import *" prevents linters like pyflakes to detect symbols
(variables, functions) used being imported.

Replace c_voidp with c_void_p.
@vstinner vstinner disabled auto-merge June 14, 2023 03:09
@vstinner vstinner enabled auto-merge (squash) June 14, 2023 03:10
@vstinner vstinner merged commit b95de96 into python:main Jun 14, 2023
19 checks passed
@vstinner vstinner deleted the test_ctypes_explicit_import branch June 27, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants