mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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 d0d0154443
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
54d4b4d992
commit
be30a6dc4d
13 changed files with 16 additions and 16 deletions
|
@ -6,7 +6,7 @@ About these documents
|
||||||
These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a
|
These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a
|
||||||
document processor specifically written for the Python documentation.
|
document processor specifically written for the Python documentation.
|
||||||
|
|
||||||
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
|
.. _reStructuredText: https://docutils.sourceforge.io/rst.html
|
||||||
.. _Sphinx: http://sphinx-doc.org/
|
.. _Sphinx: http://sphinx-doc.org/
|
||||||
|
|
||||||
.. In the online version of these documents, you can submit comments and suggest
|
.. In the online version of these documents, you can submit comments and suggest
|
||||||
|
@ -21,7 +21,7 @@ Many thanks go to:
|
||||||
|
|
||||||
* Fred L. Drake, Jr., the creator of the original Python documentation toolset
|
* Fred L. Drake, Jr., the creator of the original Python documentation toolset
|
||||||
and writer of much of the content;
|
and writer of much of the content;
|
||||||
* the `Docutils <http://docutils.sourceforge.net/>`_ project for creating
|
* the `Docutils <https://docutils.sourceforge.io/>`_ project for creating
|
||||||
reStructuredText and the Docutils suite;
|
reStructuredText and the Docutils suite;
|
||||||
* Fredrik Lundh for his Alternative Python Reference project from which Sphinx
|
* Fredrik Lundh for his Alternative Python Reference project from which Sphinx
|
||||||
got many good ideas.
|
got many good ideas.
|
||||||
|
|
|
@ -336,7 +336,7 @@ different companies and organizations.
|
||||||
|
|
||||||
High-profile Python projects include `the Mailman mailing list manager
|
High-profile Python projects include `the Mailman mailing list manager
|
||||||
<http://www.list.org>`_ and `the Zope application server
|
<http://www.list.org>`_ and `the Zope application server
|
||||||
<http://www.zope.org>`_. Several Linux distributions, most notably `Red Hat
|
<https://www.zope.dev>`_. Several Linux distributions, most notably `Red Hat
|
||||||
<https://www.redhat.com>`_, have written part or all of their installer and
|
<https://www.redhat.com>`_, have written part or all of their installer and
|
||||||
system administration software in Python. Companies that use Python internally
|
system administration software in Python. Companies that use Python internally
|
||||||
include Google, Yahoo, and Lucasfilm Ltd.
|
include Google, Yahoo, and Lucasfilm Ltd.
|
||||||
|
|
|
@ -95,7 +95,7 @@ The following packages can help with the creation of console and GUI
|
||||||
executables:
|
executables:
|
||||||
|
|
||||||
* `Nuitka <https://nuitka.net/>`_ (Cross-platform)
|
* `Nuitka <https://nuitka.net/>`_ (Cross-platform)
|
||||||
* `PyInstaller <http://www.pyinstaller.org/>`_ (Cross-platform)
|
* `PyInstaller <https://pyinstaller.org/>`_ (Cross-platform)
|
||||||
* `PyOxidizer <https://pyoxidizer.readthedocs.io/en/stable/>`_ (Cross-platform)
|
* `PyOxidizer <https://pyoxidizer.readthedocs.io/en/stable/>`_ (Cross-platform)
|
||||||
* `cx_Freeze <https://marcelotduarte.github.io/cx_Freeze/>`_ (Cross-platform)
|
* `cx_Freeze <https://marcelotduarte.github.io/cx_Freeze/>`_ (Cross-platform)
|
||||||
* `py2app <https://github.com/ronaldoussoren/py2app>`_ (macOS only)
|
* `py2app <https://github.com/ronaldoussoren/py2app>`_ (macOS only)
|
||||||
|
|
|
@ -543,6 +543,6 @@ learn more about submitting patches to Python.
|
||||||
* `The ncurses FAQ <https://invisible-island.net/ncurses/ncurses.faq.html>`_
|
* `The ncurses FAQ <https://invisible-island.net/ncurses/ncurses.faq.html>`_
|
||||||
* `"Use curses... don't swear" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_:
|
* `"Use curses... don't swear" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_:
|
||||||
video of a PyCon 2013 talk on controlling terminals using curses or Urwid.
|
video of a PyCon 2013 talk on controlling terminals using curses or Urwid.
|
||||||
* `"Console Applications with Urwid" <http://www.pyvideo.org/video/1568/console-applications-with-urwid>`_:
|
* `"Console Applications with Urwid" <https://pyvideo.org/video/1568/console-applications-with-urwid>`_:
|
||||||
video of a PyCon CA 2012 talk demonstrating some applications written using
|
video of a PyCon CA 2012 talk demonstrating some applications written using
|
||||||
Urwid.
|
Urwid.
|
||||||
|
|
|
@ -1062,7 +1062,7 @@ normal libraries do.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
`Building Python modules on MS Windows platform with MinGW <http://old.zope.org/Members/als/tips/win32_mingw_modules>`_
|
`Building Python modules on MS Windows platform with MinGW <https://old.zope.dev/Members/als/tips/win32_mingw_modules>`_
|
||||||
Information about building the required libraries for the MinGW environment.
|
Information about building the required libraries for the MinGW environment.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -474,7 +474,7 @@ Example of `statistical bootstrapping
|
||||||
<https://en.wikipedia.org/wiki/Bootstrapping_(statistics)>`_ using resampling
|
<https://en.wikipedia.org/wiki/Bootstrapping_(statistics)>`_ using resampling
|
||||||
with replacement to estimate a confidence interval for the mean of a sample::
|
with replacement to estimate a confidence interval for the mean of a sample::
|
||||||
|
|
||||||
# http://statistics.about.com/od/Applications/a/Example-Of-Bootstrapping.htm
|
# https://www.thoughtco.com/example-of-bootstrapping-3126155
|
||||||
from statistics import fmean as mean
|
from statistics import fmean as mean
|
||||||
from random import choices
|
from random import choices
|
||||||
|
|
||||||
|
|
|
@ -1415,7 +1415,7 @@ objects that compare equal might have different :attr:`~range.start`,
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
* The `linspace recipe <http://code.activestate.com/recipes/579000/>`_
|
* The `linspace recipe <https://code.activestate.com/recipes/579000/>`_
|
||||||
shows how to implement a lazy version of range suitable for floating
|
shows how to implement a lazy version of range suitable for floating
|
||||||
point applications.
|
point applications.
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ Tcl
|
||||||
(see `Threading model`_ for details).
|
(see `Threading model`_ for details).
|
||||||
|
|
||||||
Tk
|
Tk
|
||||||
Tk is a `Tcl package <http://wiki.tcl.tk/37432>`_ implemented in C
|
Tk is a `Tcl package <https://wiki.tcl-lang.org/37432>`_ implemented in C
|
||||||
that adds custom commands to create and manipulate GUI widgets. Each
|
that adds custom commands to create and manipulate GUI widgets. Each
|
||||||
:class:`Tk` object embeds its own Tcl interpreter instance with Tk loaded into
|
:class:`Tk` object embeds its own Tcl interpreter instance with Tk loaded into
|
||||||
it. Tk's widgets are very customizable, though at the cost of a dated appearance.
|
it. Tk's widgets are very customizable, though at the cost of a dated appearance.
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ Here are all of the changes that Python 2.3 makes to the core Python language.
|
||||||
hierarchy. Classic classes are unaffected by this change. Python 2.2
|
hierarchy. Classic classes are unaffected by this change. Python 2.2
|
||||||
originally used a topological sort of a class's ancestors, but 2.3 now uses the
|
originally used a topological sort of a class's ancestors, but 2.3 now uses the
|
||||||
C3 algorithm as described in the paper `"A Monotonic Superclass Linearization
|
C3 algorithm as described in the paper `"A Monotonic Superclass Linearization
|
||||||
for Dylan" <http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.3910>`_. To
|
for Dylan" <https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.3910>`_. To
|
||||||
understand the motivation for this change, read Michele Simionato's article
|
understand the motivation for this change, read Michele Simionato's article
|
||||||
`"Python 2.3 Method Resolution Order" <http://www.phyast.pitt.edu/~micheles/mro.html>`_, or
|
`"Python 2.3 Method Resolution Order" <http://www.phyast.pitt.edu/~micheles/mro.html>`_, or
|
||||||
read the thread on python-dev starting with the message at
|
read the thread on python-dev starting with the message at
|
||||||
|
|
|
@ -882,7 +882,7 @@ in an :c:type:`int`. The C compilers for most 64-bit platforms still define
|
||||||
:c:type:`int` as a 32-bit type, so that meant that lists could only hold up to
|
:c:type:`int` as a 32-bit type, so that meant that lists could only hold up to
|
||||||
``2**31 - 1`` = 2147483647 items. (There are actually a few different
|
``2**31 - 1`` = 2147483647 items. (There are actually a few different
|
||||||
programming models that 64-bit C compilers can use -- see
|
programming models that 64-bit C compilers can use -- see
|
||||||
http://www.unix.org/version2/whatsnew/lp64_wp.html for a discussion -- but the
|
https://unix.org/version2/whatsnew/lp64_wp.html for a discussion -- but the
|
||||||
most commonly available model leaves :c:type:`int` as 32 bits.)
|
most commonly available model leaves :c:type:`int` as 32 bits.)
|
||||||
|
|
||||||
A limit of 2147483647 items doesn't really matter on a 32-bit platform because
|
A limit of 2147483647 items doesn't really matter on a 32-bit platform because
|
||||||
|
|
|
@ -155,7 +155,7 @@ up different products and import some of the bugs and patches from
|
||||||
SourceForge. Four different trackers were examined: `Jira
|
SourceForge. Four different trackers were examined: `Jira
|
||||||
<https://www.atlassian.com/software/jira/>`__,
|
<https://www.atlassian.com/software/jira/>`__,
|
||||||
`Launchpad <https://launchpad.net/>`__,
|
`Launchpad <https://launchpad.net/>`__,
|
||||||
`Roundup <http://roundup.sourceforge.net/>`__, and
|
`Roundup <https://roundup.sourceforge.io/>`__, and
|
||||||
`Trac <https://trac.edgewall.org/>`__.
|
`Trac <https://trac.edgewall.org/>`__.
|
||||||
The committee eventually settled on Jira
|
The committee eventually settled on Jira
|
||||||
and Roundup as the two candidates. Jira is a commercial product that
|
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.
|
||||||
https://bugs.jython.org:
|
https://bugs.jython.org:
|
||||||
The Jython bug tracker.
|
The Jython bug tracker.
|
||||||
|
|
||||||
http://roundup.sourceforge.net/
|
https://roundup.sourceforge.io/
|
||||||
Roundup downloads and documentation.
|
Roundup downloads and documentation.
|
||||||
|
|
||||||
https://svn.python.org/view/tracker/importer/
|
https://svn.python.org/view/tracker/importer/
|
||||||
|
@ -238,7 +238,7 @@ have adopted Sphinx as their documentation tool.
|
||||||
`Sphinx <http://sphinx-doc.org/>`__
|
`Sphinx <http://sphinx-doc.org/>`__
|
||||||
Documentation and code for the Sphinx toolchain.
|
Documentation and code for the Sphinx toolchain.
|
||||||
|
|
||||||
`Docutils <http://docutils.sourceforge.net>`__
|
`Docutils <https://docutils.sourceforge.io>`__
|
||||||
The underlying reStructuredText parser and toolset.
|
The underlying reStructuredText parser and toolset.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Test date/time type.
|
"""Test date/time type.
|
||||||
|
|
||||||
See http://www.zope.org/Members/fdrake/DateTimeWiki/TestCases
|
See https://www.zope.dev/Members/fdrake/DateTimeWiki/TestCases
|
||||||
"""
|
"""
|
||||||
import io
|
import io
|
||||||
import itertools
|
import itertools
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* C implementation for the date/time type documented at
|
/* C implementation for the date/time type documented at
|
||||||
* http://www.zope.org/Members/fdrake/DateTimeWiki/FrontPage
|
* https://www.zope.dev/Members/fdrake/DateTimeWiki/FrontPage
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* bpo-35081: Defining this prevents including the C API capsule;
|
/* bpo-35081: Defining this prevents including the C API capsule;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue