◐ Shell
clean mode source ↗

gh-76007: Deprecate `__version__` attribute in `ctypes` by hugovk · Pull Request #142679 · 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

@hugovk

@hugovk hugovk commented

Dec 13, 2025

edited by github-actions Bot

Loading

Copy link Copy Markdown

Member

@vstinner vstinner left a comment

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm fine with removing the private ctypes._ctypes_version attribute.

hugovk reacted with thumbs up emoji

@hugovk hugovk merged commit 38ad651 into python:main

Dec 15, 2025

53 checks passed

@hugovk hugovk deleted the 3.15-deprecate-__version__ctypes branch

December 15, 2025 11:30

fatelei pushed a commit to fatelei/cpython that referenced this pull request

Dec 16, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner vstinner approved these changes

@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@hugovk @vstinner