Skip to content

gh-76007: Deprecate __version__ attribute in wsgiref.simple_server - #142675

Merged
hugovk merged 3 commits into
python:mainfrom
hugovk:3.15-deprecate-__version__-wsgiref.simple_server
Dec 16, 2025
Merged

gh-76007: Deprecate __version__ attribute in wsgiref.simple_server#142675
hugovk merged 3 commits into
python:mainfrom
hugovk:3.15-deprecate-__version__-wsgiref.simple_server

Conversation

@hugovk

@hugovk hugovk commented Dec 13, 2025

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

Labels

None yet

3 participants