Skip to content

Commit 5e76305

Browse files
rffontenellehugovkarhadthedev
authored
[3.11] GH-103484: Fix redirected permanently URLs (GH-104001) (#104088)
Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Oleg Iarygin <[email protected]> Fix redirected permanently URLs (#104001)
1 parent 61f1fbd commit 5e76305

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+79
-61
lines changed

Doc/conf.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,29 @@
260260

261261
linkcheck_allowed_redirects = {
262262
# bpo-NNNN -> BPO -> GH Issues
263-
r'https://bugs.python.org/issue\?@action=redirect&bpo=\d+': 'https://github.com/python/cpython/issues/\d+',
263+
r'https://bugs.python.org/issue\?@action=redirect&bpo=\d+': r'https://github.com/python/cpython/issues/\d+',
264264
# GH-NNNN used to refer to pull requests
265-
r'https://github.com/python/cpython/issues/\d+': 'https://github.com/python/cpython/pull/\d+',
265+
r'https://github.com/python/cpython/issues/\d+': r'https://github.com/python/cpython/pull/\d+',
266266
# :source:`something` linking files in the repository
267-
r'https://github.com/python/cpython/tree/.*': 'https://github.com/python/cpython/blob/.*'
267+
r'https://github.com/python/cpython/tree/.*': 'https://github.com/python/cpython/blob/.*',
268+
# Intentional HTTP use at Misc/NEWS.d/3.5.0a1.rst
269+
r'http://www.python.org/$': 'https://www.python.org/$',
270+
# Used in license page, keep as is
271+
r'https://www.zope.org/': r'https://www.zope.dev/',
272+
# Microsoft's redirects to learn.microsoft.com
273+
r'https://msdn.microsoft.com/.*': 'https://learn.microsoft.com/.*',
274+
r'https://docs.microsoft.com/.*': 'https://learn.microsoft.com/.*',
275+
r'https://go.microsoft.com/fwlink/\?LinkID=\d+': 'https://learn.microsoft.com/.*',
276+
# Language redirects
277+
r'https://toml.io': 'https://toml.io/en/',
278+
r'https://www.redhat.com': 'https://www.redhat.com/en',
279+
# Other redirects
280+
r'https://www.boost.org/libs/.+': r'https://www.boost.org/doc/libs/\d_\d+_\d/.+',
281+
r'https://support.microsoft.com/en-us/help/\d+': 'https://support.microsoft.com/en-us/topic/.+',
282+
r'https://perf.wiki.kernel.org$': 'https://perf.wiki.kernel.org/index.php/Main_Page',
283+
r'https://www.sqlite.org': 'https://www.sqlite.org/index.html',
284+
r'https://mitpress.mit.edu/sicp$': 'https://mitpress.mit.edu/9780262510875/structure-and-interpretation-of-computer-programs/',
285+
r'https://www.python.org/psf/': 'https://www.python.org/psf-landing/',
268286
}
269287

270288
linkcheck_anchors_ignore = [

Doc/distutils/apiref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ directories.
10211021

10221022
Files in *src* that begin with :file:`.nfs` are skipped (more information on
10231023
these files is available in answer D2 of the `NFS FAQ page
1024-
<http://nfs.sourceforge.net/#section_d>`_).
1024+
<https://nfs.sourceforge.net/#section_d>`_).
10251025

10261026
.. versionchanged:: 3.3.1
10271027
NFS files are ignored.

Doc/distutils/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,4 +337,4 @@ loads its values::
337337
.. % \section{Putting it all together}
338338
339339
340-
.. _docutils: http://docutils.sourceforge.net
340+
.. _docutils: https://docutils.sourceforge.io

Doc/distutils/setupscript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ Notes:
642642

643643
'long string'
644644
Multiple lines of plain text in reStructuredText format (see
645-
http://docutils.sourceforge.net/).
645+
https://docutils.sourceforge.io/).
646646

647647
'list of strings'
648648
See below.

Doc/faq/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ on what you're trying to do.
4242
.. XXX make sure these all work
4343
4444
`Cython <https://cython.org>`_ and its relative `Pyrex
45-
<https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers
45+
<https://www.csse.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers
4646
that accept a slightly modified form of Python and generate the corresponding
4747
C code. Cython and Pyrex make it possible to write an extension without having
4848
to learn Python's C API.

Doc/faq/general.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ commercial use, to sell copies of Python in source or binary form (modified or
5454
unmodified), or to sell products that incorporate Python in some form. We would
5555
still like to know about all commercial use of Python, of course.
5656

57-
See `the PSF license page <https://www.python.org/psf/license/>`_ to find further
58-
explanations and a link to the full text of the license.
57+
See `the license page <https://docs.python.org/3/license.html>`_ to find further
58+
explanations and the full text of the PSF License.
5959

6060
The Python logo is trademarked, and in certain cases permission is required to
6161
use it. Consult `the Trademark Usage Policy
@@ -215,7 +215,7 @@ every day, and Usenet readers are often more able to cope with this volume.
215215
Announcements of new software releases and events can be found in
216216
comp.lang.python.announce, a low-traffic moderated list that receives about five
217217
postings per day. It's available as `the python-announce mailing list
218-
<https://mail.python.org/mailman/listinfo/python-announce-list>`_.
218+
<https://mail.python.org/mailman3/lists/python-announce-list.python.org/>`_.
219219

220220
More info about other mailing lists and newsgroups
221221
can be found at https://www.python.org/community/lists/.
@@ -352,7 +352,7 @@ titled "Python X.Y Release Schedule", where X.Y is a version that hasn't been
352352
publicly released yet.
353353

354354
New development is discussed on `the python-dev mailing list
355-
<https://mail.python.org/mailman/listinfo/python-dev/>`_.
355+
<https://mail.python.org/mailman3/lists/python-dev.python.org/>`_.
356356

357357

358358
Is it reasonable to propose incompatible changes to Python?

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Yes.
6161
`Pyflakes <https://github.com/PyCQA/pyflakes>`_ do basic checking that will
6262
help you catch bugs sooner.
6363

64-
Static type checkers such as `Mypy <http://mypy-lang.org/>`_,
64+
Static type checkers such as `Mypy <https://mypy-lang.org/>`_,
6565
`Pyre <https://pyre-check.org/>`_, and
6666
`Pytype <https://github.com/google/pytype>`_ can check type hints in Python
6767
source code.

Doc/howto/pyporting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ to make sure everything functions as expected in both versions of Python.
438438
.. _Futurize: https://python-future.org/automatic_conversion.html
439439
.. _importlib2: https://pypi.org/project/importlib2
440440
.. _Modernize: https://python-modernize.readthedocs.io/
441-
.. _mypy: http://mypy-lang.org/
441+
.. _mypy: https://mypy-lang.org/
442442
.. _Porting to Python 3: http://python3porting.com/
443443
.. _Pylint: https://pypi.org/project/pylint
444444

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Opening network connections
515515
specifies requirements for algorithms that reduce this user-visible
516516
delay and provides an algorithm.
517517

518-
For more information: https://tools.ietf.org/html/rfc6555
518+
For more information: https://datatracker.ietf.org/doc/html/rfc6555
519519

520520
.. versionchanged:: 3.11
521521

Doc/library/hashlib.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Constructor functions also accept the following tree hashing parameters:
438438
:alt: Explanation of tree mode parameters.
439439

440440
See section 2.10 in `BLAKE2 specification
441-
<https://blake2.net/blake2_20130129.pdf>`_ for comprehensive review of tree
441+
<https://www.blake2.net/blake2_20130129.pdf>`_ for comprehensive review of tree
442442
hashing.
443443

444444

@@ -624,7 +624,7 @@ on the hash function used in digital signatures.
624624
by the signer.
625625

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

629629
In BLAKE2 the salt is processed as a one-time input to the hash function during
630630
initialization, rather than as an input to each compression function.
@@ -633,7 +633,7 @@ initialization, rather than as an input to each compression function.
633633

634634
*Salted hashing* (or just hashing) with BLAKE2 or any other general-purpose
635635
cryptographic hash function, such as SHA-256, is not suitable for hashing
636-
passwords. See `BLAKE2 FAQ <https://blake2.net/#qa>`_ for more
636+
passwords. See `BLAKE2 FAQ <https://www.blake2.net/#qa>`_ for more
637637
information.
638638
..
639639
@@ -769,9 +769,9 @@ Domain Dedication 1.0 Universal:
769769

770770
* *Alexandr Sokolovskiy*
771771

772-
.. _BLAKE2: https://blake2.net
772+
.. _BLAKE2: https://www.blake2.net
773773
.. _HMAC: https://en.wikipedia.org/wiki/Hash-based_message_authentication_code
774-
.. _BLAKE: https://131002.net/blake/
774+
.. _BLAKE: https://web.archive.org/web/20200918190133/https://131002.net/blake/
775775
.. _SHA-3: https://en.wikipedia.org/wiki/NIST_hash_function_competition
776776
.. _ChaCha: https://cr.yp.to/chacha.html
777777
.. _pyblake2: https://pythonhosted.org/pyblake2/
@@ -787,7 +787,7 @@ Domain Dedication 1.0 Universal:
787787
Module :mod:`base64`
788788
Another way to encode binary hashes for non-binary environments.
789789

790-
https://blake2.net
790+
https://www.blake2.net
791791
Official BLAKE2 website.
792792

793793
https://csrc.nist.gov/csrc/media/publications/fips/180/2/archive/2002-08-01/documents/fips180-2.pdf

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4364,7 +4364,7 @@ written in Python, such as a mail server's external command delivery program.
43644364
:attr:`!children_system`, and :attr:`!elapsed` in that order.
43654365

43664366
See the Unix manual page
4367-
:manpage:`times(2)` and `times(3) <https://www.freebsd.org/cgi/man.cgi?time(3)>`_ manual page on Unix or `the GetProcessTimes MSDN
4367+
:manpage:`times(2)` and `times(3) <https://man.freebsd.org/cgi/man.cgi?time(3)>`_ manual page on Unix or `the GetProcessTimes MSDN
43684368
<https://docs.microsoft.com/windows/win32/api/processthreadsapi/nf-processthreadsapi-getprocesstimes>`_
43694369
on Windows. On Windows, only :attr:`!user` and :attr:`!system` are known; the other attributes are zero.
43704370

Doc/library/plistlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ or :class:`datetime.datetime` objects.
4646

4747
.. seealso::
4848

49-
`PList manual page <https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PropertyLists/>`_
49+
`PList manual page <https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/PropertyLists/>`_
5050
Apple's documentation of the file format.
5151

5252

Doc/library/resource.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ platform.
244244
used by all of this user id's processes.
245245
This limit is enforced only if bit 1 of the vm.overcommit sysctl is set.
246246
Please see
247-
`tuning(7) <https://www.freebsd.org/cgi/man.cgi?query=tuning&sektion=7>`__
247+
`tuning(7) <https://man.freebsd.org/cgi/man.cgi?query=tuning&sektion=7>`__
248248
for a complete description of this sysctl.
249249

250250
.. availability:: FreeBSD.

Doc/library/select.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ Kqueue Objects
505505
Kevent Objects
506506
--------------
507507

508-
https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
508+
https://man.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
509509

510510
.. attribute:: kevent.ident
511511

Doc/library/ssl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ to speed up repeated connections from the same clients.
18141814
.. versionadded:: 3.3
18151815

18161816
.. seealso::
1817-
`SSL/TLS & Perfect Forward Secrecy <https://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy>`_
1817+
`SSL/TLS & Perfect Forward Secrecy <https://vincent.bernat.ch/en/blog/2011-ssl-perfect-forward-secrecy>`_
18181818
Vincent Bernat.
18191819

18201820
.. method:: SSLContext.wrap_socket(sock, server_side=False, \

Doc/library/statistics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This module provides functions for calculating mathematical statistics of
2222
numeric (:class:`~numbers.Real`-valued) data.
2323

2424
The module is not intended to be a competitor to third-party libraries such
25-
as `NumPy <https://numpy.org>`_, `SciPy <https://www.scipy.org/>`_, or
25+
as `NumPy <https://numpy.org>`_, `SciPy <https://scipy.org/>`_, or
2626
proprietary full-featured statistics packages aimed at professional
2727
statisticians such as Minitab, SAS and Matlab. It is aimed at the level of
2828
graphing and scientific calculators.

Doc/library/struct.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,4 +602,4 @@ The :mod:`struct` module also defines the following type:
602602

603603
.. _ieee 754 standard: https://en.wikipedia.org/wiki/IEEE_754-2008_revision
604604

605-
.. _IETF RFC 1700: https://tools.ietf.org/html/rfc1700
605+
.. _IETF RFC 1700: https://datatracker.ietf.org/doc/html/rfc1700

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ always available.
781781
additional garbage collector overhead if the object is managed by the garbage
782782
collector.
783783

784-
See `recursive sizeof recipe <https://code.activestate.com/recipes/577504>`_
784+
See `recursive sizeof recipe <https://code.activestate.com/recipes/577504/>`_
785785
for an example of using :func:`getsizeof` recursively to find the size of
786786
containers and all their contents.
787787

Doc/library/unittest.mock-examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ subclass.
10741074
Sometimes this is inconvenient. For example, `one user
10751075
<https://code.google.com/archive/p/mock/issues/105>`_ is subclassing mock to
10761076
created a `Twisted adaptor
1077-
<https://twistedmatrix.com/documents/11.0.0/api/twisted.python.components.html>`_.
1077+
<https://twisted.org/documents/11.0.0/api/twisted.python.components.html>`_.
10781078
Having this applied to attributes too actually causes errors.
10791079

10801080
``Mock`` (in all its flavours) uses a method called ``_get_child_mock`` to create

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ test runner
7272
a GUI tool for test discovery and execution. This is intended largely for ease of use
7373
for those new to unit testing. For production environments it is
7474
recommended that tests be driven by a continuous integration system such as
75-
`Buildbot <https://buildbot.net/>`_, `Jenkins <https://jenkins.io/>`_,
75+
`Buildbot <https://buildbot.net/>`_, `Jenkins <https://www.jenkins.io/>`_,
7676
`GitHub Actions <https://github.com/features/actions>`_, or
7777
`AppVeyor <https://www.appveyor.com/>`_.
7878

Doc/library/xmlrpc.client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ between conformable Python objects and XML on the wire.
161161

162162
.. seealso::
163163

164-
`XML-RPC HOWTO <https://www.tldp.org/HOWTO/XML-RPC-HOWTO/index.html>`_
164+
`XML-RPC HOWTO <https://tldp.org/HOWTO/XML-RPC-HOWTO/index.html>`_
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

Doc/library/zipfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The module defines the following items:
128128
Documentation on the ZIP file format by Phil Katz, the creator of the format and
129129
algorithms used.
130130

131-
`Info-ZIP Home Page <http://www.info-zip.org/>`_
131+
`Info-ZIP Home Page <https://infozip.sourceforge.net/>`_
132132
Information about the Info-ZIP project's ZIP archive programs and development
133133
libraries.
134134

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ Basic customization
15631563
This is intended to provide protection against a denial-of-service caused
15641564
by carefully chosen inputs that exploit the worst case performance of a
15651565
dict insertion, O(n\ :sup:`2`) complexity. See
1566-
http://www.ocert.org/advisories/ocert-2011-003.html for details.
1566+
http://ocert.org/advisories/ocert-2011-003.html for details.
15671567

15681568
Changing hash values affects the iteration order of sets.
15691569
Python has never made guarantees about this ordering

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://pypy.org/>`_.
77+
available on `the PyPy project's home page <https://www.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

Doc/using/cmdline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ Miscellaneous options
367367
Hash randomization is intended to provide protection against a
368368
denial-of-service caused by carefully chosen inputs that exploit the worst
369369
case performance of a dict construction, O(n\ :sup:`2`) complexity. See
370-
http://www.ocert.org/advisories/ocert-2011-003.html for details.
370+
http://ocert.org/advisories/ocert-2011-003.html for details.
371371

372372
:envvar:`PYTHONHASHSEED` allows you to set a fixed value for the hash
373373
seed secret.

Doc/using/mac.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ number of standard Unix command line editors, :program:`vim` and
6666
:program:`BBEdit` or :program:`TextWrangler` from Bare Bones Software (see
6767
http://www.barebones.com/products/bbedit/index.html) are good choices, as is
6868
:program:`TextMate` (see https://macromates.com/). Other editors include
69-
:program:`Gvim` (https://macvim-dev.github.io/macvim/) and :program:`Aquamacs`
69+
:program:`Gvim` (https://macvim.org/macvim/) and :program:`Aquamacs`
7070
(http://aquamacs.org/).
7171

7272
To run your script from the Terminal window you must make sure that

Doc/using/windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Besides the standard CPython distribution, there are modified packages including
528528
additional functionality. The following is a list of popular versions and their
529529
key features:
530530

531-
`ActivePython <https://www.activestate.com/activepython/>`_
531+
`ActivePython <https://www.activestate.com/products/python/>`_
532532
Installer with multi-platform compatibility, documentation, PyWin32
533533

534534
`Anaconda <https://www.anaconda.com/download/>`_

Doc/whatsnew/2.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ using it::
933933
parser.parse( 'hamlet.xml' )
934934

935935
For more information, consult the Python documentation, or the XML HOWTO at
936-
http://pyxml.sourceforge.net/topics/howto/xml-howto.html.
936+
https://pyxml.sourceforge.net/topics/howto/xml-howto.html.
937937

938938

939939
DOM Support

Doc/whatsnew/2.1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ New and Improved Modules
613613
framework based on running embedded examples in docstrings and comparing the
614614
results against the expected output. PyUnit, contributed by Steve Purcell, is a
615615
unit testing framework inspired by JUnit, which was in turn an adaptation of
616-
Kent Beck's Smalltalk testing framework. See http://pyunit.sourceforge.net/ for
616+
Kent Beck's Smalltalk testing framework. See https://pyunit.sourceforge.net/ for
617617
more information about PyUnit.
618618

619619
* The :mod:`difflib` module contains a class, :class:`SequenceMatcher`, which

Doc/whatsnew/2.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,10 @@ queen threatens another) and the Knight's Tour (a route that takes a knight to
632632
every square of an $NxN$ chessboard without visiting any square twice).
633633

634634
The idea of generators comes from other programming languages, especially Icon
635-
(https://www.cs.arizona.edu/icon/), where the idea of generators is central. In
635+
(https://www2.cs.arizona.edu/icon/), where the idea of generators is central. In
636636
Icon, every expression and function call behaves like a generator. One example
637637
from "An Overview of the Icon Programming Language" at
638-
https://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks
638+
https://www2.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks
639639
like::
640640

641641
sentence := "Store it in the neighboring harbor"

Doc/whatsnew/2.3.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ queen threatens another) and the Knight's Tour (a route that takes a knight to
218218
every square of an $NxN$ chessboard without visiting any square twice).
219219

220220
The idea of generators comes from other programming languages, especially Icon
221-
(https://www.cs.arizona.edu/icon/), where the idea of generators is central. In
221+
(https://www2.cs.arizona.edu/icon/), where the idea of generators is central. In
222222
Icon, every expression and function call behaves like a generator. One example
223223
from "An Overview of the Icon Programming Language" at
224-
https://www.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks
224+
https://www2.cs.arizona.edu/icon/docs/ipd266.htm gives an idea of what this looks
225225
like::
226226

227227
sentence := "Store it in the neighboring harbor"
@@ -1332,7 +1332,7 @@ complete list of changes, or look through the CVS logs for all the details.
13321332
(Contributed by Kevin O'Connor.)
13331333

13341334
* The IDLE integrated development environment has been updated using the code
1335-
from the IDLEfork project (http://idlefork.sourceforge.net). The most notable feature is
1335+
from the IDLEfork project (https://idlefork.sourceforge.net). The most notable feature is
13361336
that the code being developed is now executed in a subprocess, meaning that
13371337
there's no longer any need for manual ``reload()`` operations. IDLE's core code
13381338
has been incorporated into the standard library as the :mod:`idlelib` package.

Doc/whatsnew/2.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ API that perform ASCII-only conversions, ignoring the locale setting:
756756
:c:expr:`double` to an ASCII string.
757757

758758
The code for these functions came from the GLib library
759-
(https://developer.gnome.org/glib/stable/), whose developers kindly
759+
(https://developer-old.gnome.org/glib/2.26/), whose developers kindly
760760
relicensed the relevant functions and donated them to the Python Software
761761
Foundation. The :mod:`locale` module can now change the numeric locale,
762762
letting extensions such as GTK+ produce the correct results.

0 commit comments

Comments
 (0)