gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) · python/cpython@db39050

GitHub

Original file line numberDiff line numberDiff line change@@ -7,7 +7,7 @@ These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a

77document processor specifically written for the Python documentation.

8899.. _reStructuredText: https://docutils.sourceforge.io/rst.html

10-.. _Sphinx: http://sphinx-doc.org/

10+.. _Sphinx: https://www.sphinx-doc.org/

11111212.. In the online version of these documents, you can submit comments and suggest

1313 changes directly on the documentation pages.

Original file line numberDiff line numberDiff line change@@ -182,7 +182,7 @@ at https://docs.python.org/3/. PDF, plain text, and downloadable HTML versions

182182also available at https://docs.python.org/3/download.html.

183183184184The documentation is written in reStructuredText and processed by `the Sphinx

185-documentation tool <http://sphinx-doc.org/>`__. The reStructuredText source for

185+documentation tool <https://www.sphinx-doc.org/>`__. The reStructuredText source for

186186the documentation is part of the Python source distribution.

187187188188@@ -264,7 +264,7 @@ Where in the world is www.python.org located?

264264---------------------------------------------

265265266266The Python project's infrastructure is located all over the world and is managed

267-by the Python Infrastructure Team. Details `here <http://infra.psf.io>`__.

267+by the Python Infrastructure Team. Details `here <https://infra.psf.io>`__.

268268269269270270Why is it called Python?

Original file line numberDiff line numberDiff line change@@ -181,7 +181,7 @@ How do I create documentation from doc strings?

181181The :mod:`pydoc` module can create HTML from the doc strings in your Python

182182source code. An alternative for creating API documentation purely from

183183docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx

184-<http://sphinx-doc.org>`_ can also include docstring content.

184+<https://www.sphinx-doc.org>`_ can also include docstring content.

185185186186187187How do I get a single keypress at a time?

Original file line numberDiff line numberDiff line change@@ -1270,7 +1270,7 @@ use a list comprehension::

12701270 A = [[None] * w for i in range(h)]

1271127112721272Or, you can use an extension that provides a matrix datatype; `NumPy

1273-<http://www.numpy.org/>`_ is the best known.

1273+<https://numpy.org/>`_ is the best known.

127412741275127512761276How do I apply a method to a sequence of objects?

Original file line numberDiff line numberDiff line change@@ -517,7 +517,7 @@ References

517517518518Some good alternative discussions of Python's Unicode support are:

519519520-* `Processing Text Files in Python 3 <http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html>`_, by Nick Coghlan.

520+* `Processing Text Files in Python 3 <https://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html>`_, by Nick Coghlan.

521521* `Pragmatic Unicode <https://nedbatchelder.com/text/unipain.html>`_, a PyCon 2012 presentation by Ned Batchelder.

522522523523The :class:`str` type is described in the Python library reference at

Original file line numberDiff line numberDiff line change@@ -127,7 +127,7 @@ thoughts in mind:

127127.. seealso::

128128129129 * `Sorted Collections

130-<http://www.grantjenks.com/docs/sortedcollections/>`_ is a high performance

130+<https://grantjenks.com/docs/sortedcollections/>`_ is a high performance

131131 module that uses *bisect* to managed sorted collections of data.

132132133133 * The `SortedCollection recipe

Original file line numberDiff line numberDiff line change@@ -114,7 +114,7 @@ reset them before monitoring a calculation.

114114.. seealso::

115115116116 * IBM's General Decimal Arithmetic Specification, `The General Decimal Arithmetic

117-Specification <http://speleotrove.com/decimal/decarith.html>`_.

117+Specification <https://speleotrove.com/decimal/decarith.html>`_.

118118119119.. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

120120Original file line numberDiff line numberDiff line change@@ -614,7 +614,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.

614614615615.. seealso::

616616617- `nmh - Message Handling System <http://www.nongnu.org/nmh/>`_

617+ `nmh - Message Handling System <https://www.nongnu.org/nmh/>`_

618618 Home page of :program:`nmh`, an updated version of the original :program:`mh`.

619619620620 `MH & nmh: Email for Users & Programmers <https://rand-mh.sourceforge.io/book/>`_

Original file line numberDiff line numberDiff line change@@ -125,7 +125,7 @@ instances::

125125126126127127The following example demonstrates a practical use of the :class:`SharedMemory`

128-class with `NumPy arrays <https://www.numpy.org/>`_, accessing the

128+class with `NumPy arrays <https://numpy.org/>`_, accessing the

129129same ``numpy.ndarray`` from two distinct Python shells:

130130131131.. doctest::

Original file line numberDiff line numberDiff line change@@ -90,7 +90,7 @@ Comparison with ``json``

9090^^^^^^^^^^^^^^^^^^^^^^^^

91919292There are fundamental differences between the pickle protocols and

93-`JSON (JavaScript Object Notation) <http://json.org>`_:

93+`JSON (JavaScript Object Notation) <https://json.org>`_:

94949595* JSON is a text serialization format (it outputs unicode text, although

9696 most of the time it is then encoded to ``utf-8``), while pickle is