Skip to content

Commit c521c5c

Browse files
gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)
It updates links which redirect to HTTPS with different authority or path. (cherry picked from commit d0d0154) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 312dab2 commit c521c5c

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

Doc/about.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ About these documents
66
These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a
77
document processor specifically written for the Python documentation.
88

9-
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
9+
.. _reStructuredText: https://docutils.sourceforge.io/rst.html
1010
.. _Sphinx: http://sphinx-doc.org/
1111

1212
.. In the online version of these documents, you can submit comments and suggest
@@ -21,7 +21,7 @@ Many thanks go to:
2121

2222
* Fred L. Drake, Jr., the creator of the original Python documentation toolset
2323
and writer of much of the content;
24-
* the `Docutils <http://docutils.sourceforge.net/>`_ project for creating
24+
* the `Docutils <https://docutils.sourceforge.io/>`_ project for creating
2525
reStructuredText and the Docutils suite;
2626
* Fredrik Lundh for his Alternative Python Reference project from which Sphinx
2727
got many good ideas.

Doc/faq/general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ different companies and organizations.
330330

331331
High-profile Python projects include `the Mailman mailing list manager
332332
<http://www.list.org>`_ and `the Zope application server
333-
<http://www.zope.org>`_. Several Linux distributions, most notably `Red Hat
333+
<https://www.zope.dev>`_. Several Linux distributions, most notably `Red Hat
334334
<https://www.redhat.com>`_, have written part or all of their installer and
335335
system administration software in Python. Companies that use Python internally
336336
include Google, Yahoo, and Lucasfilm Ltd.

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The following packages can help with the creation of console and GUI
9595
executables:
9696

9797
* `Nuitka <https://nuitka.net/>`_ (Cross-platform)
98-
* `PyInstaller <http://www.pyinstaller.org/>`_ (Cross-platform)
98+
* `PyInstaller <https://pyinstaller.org/>`_ (Cross-platform)
9999
* `PyOxidizer <https://pyoxidizer.readthedocs.io/en/stable/>`_ (Cross-platform)
100100
* `cx_Freeze <https://marcelotduarte.github.io/cx_Freeze/>`_ (Cross-platform)
101101
* `py2app <https://github.com/ronaldoussoren/py2app>`_ (macOS only)

Doc/howto/curses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,6 @@ learn more about submitting patches to Python.
542542
* `The ncurses FAQ <https://invisible-island.net/ncurses/ncurses.faq.html>`_
543543
* `"Use curses... don't swear" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_:
544544
video of a PyCon 2013 talk on controlling terminals using curses or Urwid.
545-
* `"Console Applications with Urwid" <http://www.pyvideo.org/video/1568/console-applications-with-urwid>`_:
545+
* `"Console Applications with Urwid" <https://pyvideo.org/video/1568/console-applications-with-urwid>`_:
546546
video of a PyCon CA 2012 talk demonstrating some applications written using
547547
Urwid.

Doc/install/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ normal libraries do.
10621062

10631063
.. seealso::
10641064

1065-
`Building Python modules on MS Windows platform with MinGW <http://old.zope.org/Members/als/tips/win32_mingw_modules>`_
1065+
`Building Python modules on MS Windows platform with MinGW <https://old.zope.dev/Members/als/tips/win32_mingw_modules>`_
10661066
Information about building the required libraries for the MinGW environment.
10671067

10681068

Doc/library/random.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ Example of `statistical bootstrapping
476476
<https://en.wikipedia.org/wiki/Bootstrapping_(statistics)>`_ using resampling
477477
with replacement to estimate a confidence interval for the mean of a sample::
478478

479-
# http://statistics.about.com/od/Applications/a/Example-Of-Bootstrapping.htm
479+
# https://www.thoughtco.com/example-of-bootstrapping-3126155
480480
from statistics import fmean as mean
481481
from random import choices
482482

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ objects that compare equal might have different :attr:`~range.start`,
14531453

14541454
.. seealso::
14551455

1456-
* The `linspace recipe <http://code.activestate.com/recipes/579000/>`_
1456+
* The `linspace recipe <https://code.activestate.com/recipes/579000/>`_
14571457
shows how to implement a lazy version of range suitable for floating
14581458
point applications.
14591459

Doc/library/tkinter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Tcl
9090
(see `Threading model`_ for details).
9191

9292
Tk
93-
Tk is a `Tcl package <http://wiki.tcl.tk/37432>`_ implemented in C
93+
Tk is a `Tcl package <https://wiki.tcl-lang.org/37432>`_ implemented in C
9494
that adds custom commands to create and manipulate GUI widgets. Each
9595
:class:`Tk` object embeds its own Tcl interpreter instance with Tk loaded into
9696
it. Tk's widgets are very customizable, though at the cost of a dated appearance.

Doc/whatsnew/2.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ Here are all of the changes that Python 2.3 makes to the core Python language.
10821082
hierarchy. Classic classes are unaffected by this change. Python 2.2
10831083
originally used a topological sort of a class's ancestors, but 2.3 now uses the
10841084
C3 algorithm as described in the paper `"A Monotonic Superclass Linearization
1085-
for Dylan" <http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.3910>`_. To
1085+
for Dylan" <https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.3910>`_. To
10861086
understand the motivation for this change, read Michele Simionato's article
10871087
`"Python 2.3 Method Resolution Order" <http://www.phyast.pitt.edu/~micheles/mro.html>`_, or
10881088
read the thread on python-dev starting with the message at

Doc/whatsnew/2.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ in an :c:type:`int`. The C compilers for most 64-bit platforms still define
882882
:c:type:`int` as a 32-bit type, so that meant that lists could only hold up to
883883
``2**31 - 1`` = 2147483647 items. (There are actually a few different
884884
programming models that 64-bit C compilers can use -- see
885-
http://www.unix.org/version2/whatsnew/lp64_wp.html for a discussion -- but the
885+
https://unix.org/version2/whatsnew/lp64_wp.html for a discussion -- but the
886886
most commonly available model leaves :c:type:`int` as 32 bits.)
887887

888888
A limit of 2147483647 items doesn't really matter on a 32-bit platform because

Doc/whatsnew/2.6.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ up different products and import some of the bugs and patches from
155155
SourceForge. Four different trackers were examined: `Jira
156156
<https://www.atlassian.com/software/jira/>`__,
157157
`Launchpad <https://launchpad.net/>`__,
158-
`Roundup <http://roundup.sourceforge.net/>`__, and
158+
`Roundup <https://roundup.sourceforge.io/>`__, and
159159
`Trac <https://trac.edgewall.org/>`__.
160160
The committee eventually settled on Jira
161161
and Roundup as the two candidates. Jira is a commercial product that
@@ -187,7 +187,7 @@ other projects wishing to move from SourceForge to Roundup.
187187
https://bugs.jython.org:
188188
The Jython bug tracker.
189189

190-
http://roundup.sourceforge.net/
190+
https://roundup.sourceforge.io/
191191
Roundup downloads and documentation.
192192

193193
https://svn.python.org/view/tracker/importer/
@@ -238,7 +238,7 @@ have adopted Sphinx as their documentation tool.
238238
`Sphinx <http://sphinx-doc.org/>`__
239239
Documentation and code for the Sphinx toolchain.
240240

241-
`Docutils <http://docutils.sourceforge.net>`__
241+
`Docutils <https://docutils.sourceforge.io>`__
242242
The underlying reStructuredText parser and toolset.
243243

244244

Lib/test/datetimetester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test date/time type.
22
3-
See http://www.zope.org/Members/fdrake/DateTimeWiki/TestCases
3+
See https://www.zope.dev/Members/fdrake/DateTimeWiki/TestCases
44
"""
55
import io
66
import itertools

Modules/_datetimemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* C implementation for the date/time type documented at
2-
* http://www.zope.org/Members/fdrake/DateTimeWiki/FrontPage
2+
* https://www.zope.dev/Members/fdrake/DateTimeWiki/FrontPage
33
*/
44

55
/* bpo-35081: Defining this prevents including the C API capsule;

0 commit comments

Comments
 (0)