◐ Shell
clean mode source ↗

gh-105751: test_ctypes avoids "from ctypes import *" by vstinner · Pull Request #105768 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@vstinner

@vstinner vstinner commented

Jun 14, 2023

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

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

@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

Reviewers

@rhettinger rhettinger Awaiting requested review from rhettinger

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner @bedevere-bot