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 inwhatsnew/3.10.rst#118356

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 commentedApr 27, 2024
edited by github-actionsbot
Loading

Fix 30 Sphinx warnings inDoc/whatsnew/3.10.rst:

whatsnew/3.10.rst:355: WARNING: c:func reference target not found: PyErr_Displaywhatsnew/3.10.rst:369: WARNING: c:func reference target not found: PyErr_Displaywhatsnew/3.10.rst:376: WARNING: c:func reference target not found: PyErr_Displaywhatsnew/3.10.rst:391: WARNING: c:func reference target not found: PyErr_Displaywhatsnew/3.10.rst:693: WARNING: py:class reference target not found: TextIOWrapperwhatsnew/3.10.rst:788: WARNING: py:data reference target not found: TypeAliaswhatsnew/3.10.rst:801: WARNING: py:data reference target not found: TypeGuardwhatsnew/3.10.rst:801: WARNING: py:data reference target not found: TypeGuardwhatsnew/3.10.rst:975: WARNING: py:class reference target not found: AsyncContextDecoratorwhatsnew/3.10.rst:1092: WARNING: py:class reference target not found: Enumwhatsnew/3.10.rst:1092: WARNING: py:func reference target not found: __repr__whatsnew/3.10.rst:1092: WARNING: py:func reference target not found: __str__whatsnew/3.10.rst:1107: WARNING: py:class reference target not found: TextIOWrapperwhatsnew/3.10.rst:1202: WARNING: py:class reference target not found: importlib.metadata.EntryPointswhatsnew/3.10.rst:1208: WARNING: py:func reference target not found: importlib.metadata.packages_distributionswhatsnew/3.10.rst:1208: WARNING: py:class reference target not found: importlib.metadata.Distributionwhatsnew/3.10.rst:1218: WARNING: py:func reference target not found: inspect.Signature.from_functionwhatsnew/3.10.rst:1485: WARNING: py:func reference target not found: runtime_checkablewhatsnew/3.10.rst:1485: WARNING: py:func reference target not found: runtime_checkablewhatsnew/3.10.rst:1598: WARNING: py:class reference target not found: BZ2Filewhatsnew/3.10.rst:1598: WARNING: py:class reference target not found: BZ2Filewhatsnew/3.10.rst:1619: WARNING: py:meth reference target not found: importlib.abc.Finder.find_specwhatsnew/3.10.rst:1650: WARNING: py:meth reference target not found: zimport.zipimporter.load_modulewhatsnew/3.10.rst:1762: WARNING: py:attr reference target not found: sslSSLContext.minimum_versionwhatsnew/3.10.rst:1762: WARNING: py:attr reference target not found: sslSSLContext.maximum_versionwhatsnew/3.10.rst:1768: WARNING: py:data reference target not found: ssl.PROTOCOL_SSLv2whatsnew/3.10.rst:1774: WARNING: py:func reference target not found: ssl.wrap_socketwhatsnew/3.10.rst:1776: WARNING: py:func reference target not found: ssl.match_hostnamewhatsnew/3.10.rst:1778: WARNING: py:func reference target not found: ssl.RAND_pseudo_byteswhatsnew/3.10.rst:1778: WARNING: py:func reference target not found: ssl.RAND_egd

I wasn't sure what to do about the remaining four so left them:

whatsnew/3.10.rst:903: WARNING: py:meth reference target not found: asyncio.events.AbstractEventLoop.connect_accepted_socketwhatsnew/3.10.rst:935: WARNING: py:meth reference target not found: bdb.Breakpoint.clearBreakpointswhatsnew/3.10.rst:1086: WARNING: py:func reference target not found: encodings.normalize_encodingwhatsnew/3.10.rst:1400: WARNING: py:func reference target not found: sqlite3.connect/handle

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

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news awaiting core review labelsApr 27, 2024
@hugovkhugovk changed the titlegh-101100: Fix Sphinx warnings in whatsnew/3.10.rstgh-101100: Fix Sphinx warnings inwhatsnew/3.10.rstApr 27, 2024
:data:`!PROTOCOL_SSLv23`, :data:`!PROTOCOL_TLSv1`,
:data:`!PROTOCOL_TLSv1_1`, :data:`!PROTOCOL_TLSv1_2`, and
:const:`!PROTOCOL_TLS` are deprecated in favor of
:const:`!PROTOCOL_TLS_CLIENT` and :const:`!PROTOCOL_TLS_SERVER`
Copy link
Member

Choose a reason for hiding this comment

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

Huh, it looks likePROTOCOL_TLS_CLIENT is documented -- was the link not working correctly?https://docs.python.org/3/library/ssl.html#ssl.PROTOCOL_TLS_CLIENT

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Ah yes, just need~ssl.

Updated, thanks!

AlexWaygood reacted with hooray 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!

@hugovk
Copy link
MemberAuthor

And thanks for the reviews!

AlexWaygood reacted with rocket emoji

@hugovkhugovk added the needs backport to 3.12only security fixes labelApr 28, 2024
@hugovkhugovk merged commitf5b7e39 intopython:mainApr 28, 2024
@hugovkhugovk deleted the docs-fix-sphinx-warnings-whatsnew-3.10 branchApril 28, 2024 18:12
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestApr 28, 2024
…-118356)(cherry picked from commitf5b7e39)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelApr 28, 2024
hugovk added a commit that referenced this pull requestApr 28, 2024
…) (#118367)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@LamentXU123
Copy link
Contributor

LamentXU123 commentedJul 8, 2025
edited
Loading

IMO the first one is referringasyncio.loop.connect_accepted_socket not asyncio.events.connect_accepted_socket

whatsnew/3.10.rst:903: WARNING: py:meth reference target not found: asyncio.events.AbstractEventLoop.connect_accepted_socket

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

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

Successfully merging this pull request may close these issues.

3 participants
@hugovk@LamentXU123@AlexWaygood

[8]ページ先頭

©2009-2025 Movatter.jp