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

Commit0a32c69

Browse files
authored
pythonGH-103484: Fix permanently redirects reported by linkcheck (pythonGH-124144)
Fix redirects reported by linkcheck, update docs conf.py checks.
1 parent10de360 commit0a32c69

File tree

17 files changed

+30
-26
lines changed

17 files changed

+30
-26
lines changed

‎Doc/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@
553553
# Language redirects
554554
r'https://toml.io':'https://toml.io/en/',
555555
r'https://www.redhat.com':'https://www.redhat.com/en',
556+
# pypi.org project name normalization (upper to lowercase, underscore to hyphen)
557+
r'https://pypi.org/project/[A-Za-z\d_\-\.]+/':r'https://pypi.org/project/[a-z\d\-\.]+/',
558+
# Discourse title name expansion (text changes when title is edited)
559+
r'https://discuss\.python\.org/t/\d+':r'https://discuss\.python\.org/t/.*/\d+',
556560
# Other redirects
557561
r'https://www.boost.org/libs/.+':r'https://www.boost.org/doc/libs/\d_\d+_\d/.+',
558562
r'https://support.microsoft.com/en-us/help/\d+':'https://support.microsoft.com/en-us/topic/.+',

‎Doc/faq/design.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Can Python be compiled to machine code, C or some other language?
328328
-----------------------------------------------------------------
329329

330330
`Cython<https://cython.org/>`_ compiles a modified version of Python with
331-
optional annotations into C extensions. `Nuitka<https://www.nuitka.net/>`_ is
331+
optional annotations into C extensions. `Nuitka<https://nuitka.net/>`_ is
332332
an up-and-coming compiler of Python into C++ code, aiming to support the full
333333
Python language.
334334

@@ -345,7 +345,7 @@ to perform a garbage collection, obtain debugging statistics, and tune the
345345
collector's parameters.
346346

347347
Other implementations (such as `Jython<https://www.jython.org>`_ or
348-
`PyPy<https://www.pypy.org>`_), however, can rely on a different mechanism
348+
`PyPy<https://pypy.org>`_), however, can rely on a different mechanism
349349
such as a full-blown garbage collector. This difference can cause some
350350
subtle porting problems if your Python code depends on the behavior of the
351351
reference counting implementation.

‎Doc/library/hashlib.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ on the hash function used in digital signatures.
655655
by the signer.
656656

657657
(`NIST SP-800-106 "Randomized Hashing for Digital Signatures"
658-
<https://csrc.nist.gov/publications/detail/sp/800-106/archive/2009-02-25>`_)
658+
<https://csrc.nist.gov/pubs/sp/800/106/final>`_)
659659

660660
In BLAKE2 the salt is processed as a one-time input to the hash function during
661661
initialization, rather than as an input to each compression function.
@@ -809,8 +809,8 @@ Domain Dedication 1.0 Universal:
809809
.. _NIST-SP-800-132:https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
810810
.. _stackexchange pbkdf2 iterations question:https://security.stackexchange.com/questions/3959/recommended-of-iterations-when-using-pbkdf2-sha256/
811811
.. _Attacks on cryptographic hash algorithms:https://en.wikipedia.org/wiki/Cryptographic_hash_function#Attacks_on_cryptographic_hash_algorithms
812-
.. _the FIPS 180-4 standard:https://csrc.nist.gov/publications/detail/fips/180/4/final
813-
.. _the FIPS 202 standard:https://csrc.nist.gov/publications/detail/fips/202/final
812+
.. _the FIPS 180-4 standard:https://csrc.nist.gov/pubs/fips/180-4/upd1/final
813+
.. _the FIPS 202 standard:https://csrc.nist.gov/pubs/fips/202/final
814814
.. _HACL\* project:https://github.com/hacl-star/hacl-star
815815

816816

@@ -827,7 +827,7 @@ Domain Dedication 1.0 Universal:
827827
https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.180-4.pdf
828828
The FIPS 180-4 publication on Secure Hash Algorithms.
829829

830-
https://csrc.nist.gov/publications/detail/fips/202/final
830+
https://csrc.nist.gov/pubs/fips/202/final
831831
The FIPS 202 publication on the SHA-3 Standard.
832832

833833
https://www.blake2.net/

‎Doc/library/http.cookiejar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The following classes are provided:
137137
The Netscape protocol with the bugs fixed. Uses:mailheader:`Set-Cookie2` in
138138
place of:mailheader:`Set-Cookie`. Not widely used.
139139

140-
http://kristol.org/cookie/errata.html
140+
https://kristol.org/cookie/errata.html
141141
Unfinished errata to:rfc:`2965`.
142142

143143
:rfc:`2964` - Use of HTTP State Management

‎Doc/library/json.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
`JSON (JavaScript Object Notation)<https://json.org>`_, specified by
1515
:rfc:`7159` (which obsoletes:rfc:`4627`) and by
16-
`ECMA-404<https://www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_,
16+
`ECMA-404<https://ecma-international.org/publications-and-standards/standards/ecma-404/>`_,
1717
is a lightweight data interchange format inspired by
1818
`JavaScript<https://en.wikipedia.org/wiki/JavaScript>`_ object literal syntax
1919
(although it is not a strict subset of JavaScript [#rfc-errata]_ ).
@@ -557,7 +557,7 @@ Standard Compliance and Interoperability
557557
----------------------------------------
558558

559559
The JSON format is specified by:rfc:`7159` and by
560-
`ECMA-404<https://www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_.
560+
`ECMA-404<https://ecma-international.org/publications-and-standards/standards/ecma-404/>`_.
561561
This section details this module's level of compliance with the RFC.
562562
For simplicity,:class:`JSONEncoder` and:class:`JSONDecoder` subclasses, and
563563
parameters other than those explicitly mentioned, are not considered.

‎Doc/library/ssl.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ to speed up repeated connections from the same clients.
15661566
The *capath* string, if present, is
15671567
the path to a directory containing several CA certificates in PEM format,
15681568
following an `OpenSSL specific layout
1569-
<https://www.openssl.org/docs/manmaster/man3/SSL_CTX_load_verify_locations.html>`_.
1569+
<https://docs.openssl.org/master/man3/SSL_CTX_load_verify_locations/>`_.
15701570

15711571
The *cadata* object, if present, is either an ASCII string of one or more
15721572
PEM-encoded certificates or a:term:`bytes-like object` of DER-encoded
@@ -1641,7 +1641,7 @@ to speed up repeated connections from the same clients.
16411641

16421642
Set the available ciphers for sockets created with this context.
16431643
It should be a string in the `OpenSSL cipher list format
1644-
<https://www.openssl.org/docs/manmaster/man1/ciphers.html>`_.
1644+
<https://docs.openssl.org/master/man1/ciphers/>`_.
16451645
If no cipher can be selected (because compile-time options or other
16461646
configuration forbids use of all the specified ciphers), an
16471647
:class:`SSLError` will be raised.
@@ -1874,7 +1874,7 @@ to speed up repeated connections from the same clients.
18741874
..method::SSLContext.session_stats()
18751875

18761876
Get statistics about the SSL sessions created or managed by this context.
1877-
A dictionary is returned which maps the names of each `piece of information<https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_sess_number.html>`_ to their
1877+
A dictionary is returned which maps the names of each `piece of information<https://docs.openssl.org/1.1.1/man3/SSL_CTX_sess_number/>`_ to their
18781878
numeric values. For example, here is the total number of hits and misses
18791879
in the session cache since the context was created::
18801880

@@ -2017,7 +2017,7 @@ to speed up repeated connections from the same clients.
20172017
..attribute::SSLContext.security_level
20182018

20192019
An integer representing the `security level
2020-
<https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html>`_
2020+
<https://docs.openssl.org/master/man3/SSL_CTX_get_security_level/>`_
20212021
for the context. This attribute is read-only.
20222022

20232023
..versionadded::3.10

‎Doc/library/tkinter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ details that are unchanged.
5858
* `Modern Tkinter for Busy Python Developers<https://tkdocs.com/book.html>`_
5959
By Mark Roseman. (ISBN 978-1999149567)
6060

61-
* `Python GUI programming with Tkinter<https://www.packtpub.com/product/python-gui-programming-with-tkinter/9781788835886>`_
61+
* `Python GUI programming with Tkinter<https://www.packtpub.com/en-us/product/python-gui-programming-with-tkinter-9781788835886>`_
6262
By Alan D. Moore. (ISBN 978-1788835886)
6363

6464
* `Programming Python<https://learning-python.com/about-pp4e.html>`_

‎Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2866,7 +2866,7 @@ Functions and decorators
28662866

28672867
..seealso::
28682868
`Unreachable Code and Exhaustiveness Checking
2869-
<https://typing.readthedocs.io/en/latest/source/unreachable.html>`__ has more
2869+
<https://typing.readthedocs.io/en/latest/guides/unreachable.html>`__ has more
28702870
information about exhaustiveness checking with static typing.
28712871

28722872
..versionadded::3.11

‎Doc/library/xmlrpc.client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ between conformable Python objects and XML on the wire.
165165
A good description of XML-RPC operation and client software in several languages.
166166
Contains pretty much everything an XML-RPC client developer needs to know.
167167

168-
`XML-RPC Introspection<https://xmlrpc-c.sourceforge.net/introspection.html>`_
168+
`XML-RPC Introspection<https://xmlrpc-c.sourceforge.io/introspection.html>`_
169169
Describes the XML-RPC protocol extension for introspection.
170170

171171
`XML-RPC Specification<http://xmlrpc.scripting.com/spec.html>`_

‎Doc/reference/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ PyPy
7474
and a Just in Time compiler. One of the goals of the project is to encourage
7575
experimentation with the language itself by making it easier to modify the
7676
interpreter (since it is written in Python). Additional information is
77-
available on `the PyPy project's home page<https://www.pypy.org/>`_.
77+
available on `the PyPy project's home page<https://pypy.org/>`_.
7878

7979
Each of these implementations varies in some way from the language as documented
8080
in this manual, or introduces specific information beyond what's covered in the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp