Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

Appearance settings

gh-76007: pydoc: Catch DeprecationWarning for stdlib module __version__ attributes#139997

Merged
hugovk merged 8 commits into
python:mainpython/cpython:mainfrom
StanFromIreland:pydoc-warningsStanFromIreland/cpython:pydoc-warningsCopy head branch name to clipboard
Dec 14, 2025
Merged

gh-76007: pydoc: Catch DeprecationWarning for stdlib module __version__ attributes#139997
hugovk merged 8 commits into
python:mainpython/cpython:mainfrom
StanFromIreland:pydoc-warningsStanFromIreland/cpython:pydoc-warningsCopy head branch name to clipboard

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Oct 12, 2025

Copy link
Copy Markdown
Member

Comment thread Lib/pydoc.py Outdated

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

Can we have some tests for that? (to see that we indeed don't catch the warning)

Comment thread Lib/pydoc.py Outdated
Comment thread Lib/pydoc.py Outdated
Comment thread Lib/pydoc.py Outdated
Comment thread Lib/pydoc.py Outdated
Comment thread Lib/test/test_pydoc/test_pydoc.py Outdated
Comment thread Lib/test/test_pydoc/test_pydoc.py Outdated
Comment thread Lib/test/test_pydoc/test_pydoc.py Outdated
Comment thread Lib/test/test_pydoc/test_pydoc.py Outdated
Comment thread Lib/test/test_pydoc/test_pydoc.py Outdated
Comment thread Lib/pydoc.py Outdated

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

Looks good. I'll let Adam have a look to see if he wants something different as well.

@StanFromIreland

Copy link
Copy Markdown
Member Author

Renaming MyModule to TestModule? ;-)

Comment thread Lib/test/test_pydoc/test_pydoc.py
@hugovk hugovk merged commit 78a50ee into python:main Dec 14, 2025
45 checks passed
@StanFromIreland StanFromIreland deleted the pydoc-warnings branch December 14, 2025 13:10
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.