Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

gh-101100: Fix Sphinx warnings from PEP 3108 stdlib re-organisation#114327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedJan 19, 2024
edited
Loading

PEP 3108 "Standard Library Reorganization" lists a number of modules that were removed and renamed in Python 3.

This fixes 124 warnings from those modules, plus some neighbouring warnings in affected paragraphs:

Doc/whatsnew/2.0.rst:1037: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.0.rst:1046: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.0.rst:1046: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.0.rst:1111: WARNING: py:mod reference target not found: robotparserDoc/whatsnew/2.0.rst:1132: WARNING: py:mod reference target not found: _winregDoc/whatsnew/2.0.rst:1132: WARNING: py:mod reference target not found: _winregDoc/whatsnew/2.0.rst:1132: WARNING: py:mod reference target not found: _winregDoc/whatsnew/2.2.rst:52: WARNING: py:mod reference target not found: UserListDoc/whatsnew/2.2.rst:52: WARNING: py:class reference target not found: UserListDoc/whatsnew/2.2.rst:70: WARNING: py:meth reference target not found: __getattr__Doc/whatsnew/2.2.rst:936: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.2.rst:959: WARNING: py:mod reference target not found: SimpleXMLRPCServerDoc/whatsnew/2.2.rst:965: WARNING: py:attr reference target not found: tm_yearDoc/whatsnew/2.2.rst:965: WARNING: py:func reference target not found: fstatDoc/whatsnew/2.2.rst:965: WARNING: py:func reference target not found: statvfsDoc/whatsnew/2.2.rst:965: WARNING: py:func reference target not found: fstatvfsDoc/whatsnew/2.2.rst:965: WARNING: py:func reference target not found: localtimeDoc/whatsnew/2.2.rst:965: WARNING: py:func reference target not found: gmtimeDoc/whatsnew/2.2.rst:965: WARNING: py:func reference target not found: strptimeDoc/whatsnew/2.4.rst:1084: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.4.rst:1221: WARNING: py:mod reference target not found: rfc822Doc/whatsnew/2.4.rst:1221: WARNING: py:func reference target not found: email.Utils.formatdateDoc/whatsnew/2.4.rst:1221: WARNING: py:func reference target not found: rfc822.formatdateDoc/whatsnew/2.4.rst:1311: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.4.rst:1326: WARNING: py:mod reference target not found: cookielibDoc/whatsnew/2.4.rst:1326: WARNING: py:mod reference target not found: CookieDoc/whatsnew/2.4.rst:1338: WARNING: py:mod reference target not found: urllib2Doc/whatsnew/2.4.rst:1338: WARNING: py:mod reference target not found: cookielibDoc/whatsnew/2.5.rst:1481: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/2.5.rst:1481: WARNING: py:meth reference target not found: __reduce__Doc/whatsnew/2.5.rst:1522: WARNING: py:mod reference target not found: SimpleXMLRPCServerDoc/whatsnew/2.5.rst:1522: WARNING: py:mod reference target not found: DocXMLRPCServerDoc/whatsnew/2.5.rst:1653: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.5.rst:1653: WARNING: py:func reference target not found: loadsDoc/whatsnew/2.5.rst:1653: WARNING: py:class reference target not found: UnmarshallerDoc/whatsnew/2.5.rst:2256: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/2.5.rst:2256: WARNING: py:meth reference target not found: __reduce__Doc/whatsnew/2.5.rst:2261: WARNING: py:mod reference target not found: SimpleXMLRPCServerDoc/whatsnew/2.5.rst:2261: WARNING: py:mod reference target not found: DocXMLRPCServerDoc/whatsnew/2.6.rst:1083: WARNING: py:mod reference target not found: StringIODoc/whatsnew/2.6.rst:1083: WARNING: py:mod reference target not found: cStringIODoc/whatsnew/2.6.rst:1809: WARNING: py:mod reference target not found: urlparseDoc/whatsnew/2.6.rst:1898: WARNING: py:mod reference target not found: CookieDoc/whatsnew/2.6.rst:1898: WARNING: py:class reference target not found: MorselDoc/whatsnew/2.6.rst:1898: WARNING: py:attr reference target not found: httponlyDoc/whatsnew/2.6.rst:1989: WARNING: py:class reference target not found: httplib.HTTPConnectionDoc/whatsnew/2.6.rst:1989: WARNING: py:class reference target not found: HTTPSConnectionDoc/whatsnew/2.6.rst:2374: WARNING: py:mod reference target not found: SocketServerDoc/whatsnew/2.6.rst:2374: WARNING: py:meth reference target not found: handle_timeoutDoc/whatsnew/2.6.rst:2374: WARNING: py:attr reference target not found: timeoutDoc/whatsnew/2.6.rst:2374: WARNING: py:meth reference target not found: serve_foreverDoc/whatsnew/2.6.rst:2481: WARNING: py:mod reference target not found: test.test_supportDoc/whatsnew/2.6.rst:2481: WARNING: py:func reference target not found: EnvironmentVarGuardDoc/whatsnew/2.6.rst:2579: WARNING: py:func reference target not found: urllib.urlopenDoc/whatsnew/2.6.rst:2579: WARNING: py:func reference target not found: urllib2.urlopenDoc/whatsnew/2.6.rst:2607: WARNING: py:class reference target not found: SimpleXMLRPCServerDoc/whatsnew/2.6.rst:2607: WARNING: py:class reference target not found: DocXMLRPCServerDoc/whatsnew/2.6.rst:2624: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.6.rst:2624: WARNING: py:class reference target not found: xmlrpclib.DateTimeDoc/whatsnew/2.6.rst:2624: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.6.rst:3277: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.6.rst:3277: WARNING: py:class reference target not found: xmlrpclib.DateTimeDoc/whatsnew/2.6.rst:3277: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.7.rst:917: WARNING: py:mod reference target not found: CookieDoc/whatsnew/2.7.rst:1015: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/2.7.rst:1020: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/2.7.rst:1166: WARNING: py:mod reference target not found: cookielibDoc/whatsnew/2.7.rst:1309: WARNING: py:class reference target not found: httplib.HTTPResponseDoc/whatsnew/2.7.rst:1309: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.7.rst:1313: WARNING: py:class reference target not found: httplib.HTTPConnectionDoc/whatsnew/2.7.rst:1313: WARNING: py:class reference target not found: httplib.HTTPSConnectionDoc/whatsnew/2.7.rst:1521: WARNING: py:mod reference target not found: SocketServerDoc/whatsnew/2.7.rst:1521: WARNING: py:class reference target not found: SocketServer.TCPServerDoc/whatsnew/2.7.rst:1521: WARNING: py:attr reference target not found: SocketServer.TCPServer.disable_nagle_algorithmDoc/whatsnew/2.7.rst:1521: WARNING: py:attr reference target not found: SocketServer.BaseServer.timeoutDoc/whatsnew/2.7.rst:1521: WARNING: py:meth reference target not found: SocketServer.BaseServer.handle_timeoutDoc/whatsnew/2.7.rst:1521: WARNING: py:meth reference target not found: SocketServer.BaseServer.handle_requestDoc/whatsnew/2.7.rst:1651: WARNING: py:mod reference target not found: urlparseDoc/whatsnew/2.7.rst:1651: WARNING: py:func reference target not found: urlparse.urlsplitDoc/whatsnew/2.7.rst:1678: WARNING: py:mod reference target not found: urlparseDoc/whatsnew/2.7.rst:1700: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.7.rst:1700: WARNING: py:mod reference target not found: SimpleXMLRPCServerDoc/whatsnew/2.7.rst:2337: WARNING: py:mod reference target not found: _winregDoc/whatsnew/2.7.rst:2337: WARNING: py:func reference target not found: _winreg.CreateKeyExDoc/whatsnew/2.7.rst:2337: WARNING: py:func reference target not found: _winreg.DeleteKeyExDoc/whatsnew/2.7.rst:2337: WARNING: py:func reference target not found: _winreg.DisableReflectionKeyDoc/whatsnew/2.7.rst:2337: WARNING: py:func reference target not found: _winreg.EnableReflectionKeyDoc/whatsnew/2.7.rst:2337: WARNING: py:func reference target not found: _winreg.QueryReflectionKeyDoc/whatsnew/2.7.rst:2511: WARNING: py:mod reference target not found: urlparseDoc/whatsnew/2.7.rst:2511: WARNING: py:func reference target not found: urlparse.urlsplitDoc/whatsnew/2.7.rst:2714: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.7.rst:2714: WARNING: py:mod reference target not found: urllib2Doc/whatsnew/3.0.rst:340: WARNING: py:mod reference target not found: StringIODoc/whatsnew/3.0.rst:340: WARNING: py:mod reference target not found: cStringIODoc/whatsnew/3.0.rst:566: WARNING: py:mod reference target not found: bsddb3Doc/whatsnew/3.0.rst:588: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/3.0.rst:588: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/3.0.rst:588: WARNING: py:mod reference target not found: StringIODoc/whatsnew/3.0.rst:606: WARNING: py:mod reference target not found: anydbmDoc/whatsnew/3.0.rst:606: WARNING: py:mod reference target not found: dbhashDoc/whatsnew/3.0.rst:606: WARNING: py:mod reference target not found: dumbdbmDoc/whatsnew/3.0.rst:606: WARNING: py:mod reference target not found: gdbmDoc/whatsnew/3.0.rst:606: WARNING: py:mod reference target not found: whichdbDoc/whatsnew/3.0.rst:609: WARNING: py:mod reference target not found: HTMLParserDoc/whatsnew/3.0.rst:609: WARNING: py:mod reference target not found: htmlentitydefsDoc/whatsnew/3.0.rst:611: WARNING: py:mod reference target not found: httplibDoc/whatsnew/3.0.rst:611: WARNING: py:mod reference target not found: BaseHTTPServerDoc/whatsnew/3.0.rst:611: WARNING: py:mod reference target not found: CGIHTTPServerDoc/whatsnew/3.0.rst:611: WARNING: py:mod reference target not found: SimpleHTTPServerDoc/whatsnew/3.0.rst:611: WARNING: py:mod reference target not found: CookieDoc/whatsnew/3.0.rst:611: WARNING: py:mod reference target not found: cookielibDoc/whatsnew/3.0.rst:620: WARNING: py:mod reference target not found: urllib2Doc/whatsnew/3.0.rst:620: WARNING: py:mod reference target not found: urlparseDoc/whatsnew/3.0.rst:620: WARNING: py:mod reference target not found: robotparseDoc/whatsnew/3.0.rst:623: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/3.0.rst:623: WARNING: py:mod reference target not found: DocXMLRPCServerDoc/whatsnew/3.0.rst:623: WARNING: py:mod reference target not found: SimpleXMLRPCServerDoc/whatsnew/3.0.rst:645: WARNING: py:mod reference target not found: threadDoc/whatsnew/3.0.rst:645: WARNING: py:func reference target not found: acquire_lockDoc/whatsnew/3.0.rst:645: WARNING: py:func reference target not found: release_lockDoc/whatsnew/3.0.rst:645: WARNING: py:func reference target not found: acquireDoc/whatsnew/3.0.rst:645: WARNING: py:func reference target not found: releaseDoc/whatsnew/3.5.rst:2420: WARNING: py:meth reference target not found: HTMLParser.errorDoc/whatsnew/3.5.rst:2420: WARNING: py:exc reference target not found: HTMLParserError

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

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news awaiting core review labelsJan 19, 2024
@hugovkhugovk added needs backport to 3.11only security fixes needs backport to 3.12only security fixes labelsJan 19, 2024
@AA-TurnerAA-Turner self-requested a reviewJanuary 23, 2024 00:34
@AlexWaygoodAlexWaygood changed the titlegh-101100: Fix Sphinx warnings from PEP 3108 stdblib re-organisationgh-101100: Fix Sphinx warnings from PEP 3108 stdlib re-organisationFeb 3, 2024
Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

Looks good! Some minor nits below:

hugovkand others added3 commitsFebruary 3, 2024 14:05
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@hugovk
Copy link
MemberAuthor

hugovk commentedFeb 3, 2024
edited
Loading

Thank you for the suggestions!

And resolved the merge conflict. Which was caused by my own changes in another PR! But this PR mostly had better changes (except one bit, which I kept).

AlexWaygood reacted with heart emoji

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

(spotted one more thing, sorry!)

hugovk reacted with thumbs up emoji
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@hugovkhugovkenabled auto-merge (squash)February 4, 2024 09:40
@hugovkhugovk merged commit848c867 intopython:mainFeb 4, 2024
@hugovkhugovk deleted the docs-fix-sphinx-warnings-pep3108 branchFebruary 4, 2024 09:45
@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@hugovk, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 848c86786be588312bff948441929816cdd19e28 3.12

@miss-islington-app
Copy link

Sorry,@hugovk, I could not cleanly backport this to3.11 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 848c86786be588312bff948441929816cdd19e28 3.11

hugovk added a commit to hugovk/cpython that referenced this pull requestFeb 4, 2024
…tion (python#114327)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>(cherry picked from commit848c867)
@bedevere-app
Copy link

GH-114988 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelFeb 4, 2024
@bedevere-app
Copy link

GH-114989 is a backport of this pull request to the3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelFeb 4, 2024
hugovk added a commit to hugovk/cpython that referenced this pull requestFeb 4, 2024
…rganisation (pythonGH-114327)* Fix Sphinx warnings from PEP 3108 stdblib re-organisation* Apply suggestions from code reviewCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>* Update Doc/whatsnew/2.2.rstCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>* Apply suggestions from code reviewCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>---------(cherry picked from commit848c867)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
hugovk added a commit that referenced this pull requestFeb 4, 2024
…ation (GH-114327) (#114988)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>Fix Sphinx warnings from PEP 3108 stdlib re-organisation (#114327)
hugovk added a commit that referenced this pull requestFeb 4, 2024
…ation (GH-114327) (#114989)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
…tion (python#114327)* Fix Sphinx warnings from PEP 3108 stdblib re-organisation* Apply suggestions from code reviewCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>* Update Doc/whatsnew/2.2.rstCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>* Apply suggestions from code reviewCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>---------Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull requestFeb 14, 2024
…tion (python#114327)* Fix Sphinx warnings from PEP 3108 stdblib re-organisation* Apply suggestions from code reviewCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>* Update Doc/whatsnew/2.2.rstCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>* Apply suggestions from code reviewCo-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>---------Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

@AA-TurnerAA-TurnerAwaiting requested review from AA-Turner

Assignees

@hugovkhugovk

Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugovk@AlexWaygood

[8]ページ先頭

©2009-2025 Movatter.jp