FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-76007: `pydoc`: Catch `DeprecationWarning` for stdlib module `__version__` attributes by StanFromIreland · Pull Request #139997 · python/cpython · GitHub

Repository navigation

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

Merged
hugovk merged 8 commits into
python:mainfrom
StanFromIreland:pydoc-warnings
Dec 14, 2025
Merged

hugovk merged 8 commits into
python:mainfrom
StanFromIreland:pydoc-warnings

Conversation

StanFromIreland commented Oct 12, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Comment thread Lib/pydoc.py Outdated

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Member Author

Renaming MyModule to TestModule? ;-)

hugovk merged commit 78a50ee into python:main Dec 14, 2025
45 checks passed
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL