◐ Shell
clean mode source ↗

gh-76007: Deprecate `__version__` attribute in `wsgiref.simple_server` by hugovk · Pull Request #142675 · python/cpython

Conversation

@hugovk

@hugovk hugovk commented

Dec 13, 2025

edited by github-actions Bot

Loading

Copy link Copy Markdown

Member

This PR is similar to #142658 for http.server.

This module's WSGIRequestHandler is a subclass of that http.server's BaseHTTPRequestHandler so we can use the same approach.


📚 Documentation preview 📚: https://cpython-previews--142675.org.readthedocs.build/

@StanFromIreland StanFromIreland 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

@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

@hugovk hugovk merged commit c10ec48 into python:main

Dec 16, 2025

50 checks passed

@hugovk hugovk deleted the 3.15-deprecate-__version__-wsgiref.simple_server branch

December 16, 2025 12:08

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

@StanFromIreland StanFromIreland StanFromIreland 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.

3 participants

@hugovk @vstinner @StanFromIreland