Skip to content

Commit 1b4587a

Browse files
CuriousLearnervstinner
authored andcommitted
bpo-25910: Fixes redirection from http to https (#4674)
1 parent 6bf992a commit 1b4587a

24 files changed

+39
-39
lines changed

Doc/bugs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ taken on the bug.
6868

6969
.. seealso::
7070

71-
`How to Report Bugs Effectively <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_
71+
`How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_
7272
Article which goes into some detail about how to create a useful bug report.
7373
This describes what kind of information is useful and why it is useful.
7474

Doc/faq/design.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ each Python stack frame. Also, extensions can call back into Python at almost
343343
random moments. Therefore, a complete threads implementation requires thread
344344
support for C.
345345

346-
Answer 2: Fortunately, there is `Stackless Python <http://www.stackless.com>`_,
346+
Answer 2: Fortunately, there is `Stackless Python <https://bitbucket.org/stackless-dev/stackless/wiki/Home>`_,
347347
which has a completely redesigned interpreter loop that avoids the C stack.
348348

349349

Doc/faq/gui.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ number of platforms, with Windows, Mac OS X, GTK, X11, all listed as
4343
current stable targets. Language bindings are available for a number
4444
of languages including Python, Perl, Ruby, etc.
4545

46-
wxPython (http://www.wxpython.org) is the Python binding for
46+
`wxPython <https://www.wxpython.org>`_ is the Python binding for
4747
wxwidgets. While it often lags slightly behind the official wxWidgets
4848
releases, it also offers a number of features via pure Python
4949
extensions that are not available in other language bindings. There
@@ -72,9 +72,9 @@ Gtk+
7272

7373
The `GObject introspection bindings <https://wiki.gnome.org/Projects/PyGObject>`_
7474
for Python allow you to write GTK+ 3 applications. There is also a
75-
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_.
75+
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io>`_.
7676

77-
The older PyGtk bindings for the `Gtk+ 2 toolkit <http://www.gtk.org>`_ have
77+
The older PyGtk bindings for the `Gtk+ 2 toolkit <https://www.gtk.org>`_ have
7878
been implemented by James Henstridge; see <http://www.pygtk.org>.
7979

8080
Kivy

Doc/faq/library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ Python program effectively only uses one CPU, due to the insistence that
419419
Back in the days of Python 1.5, Greg Stein actually implemented a comprehensive
420420
patch set (the "free threading" patches) that removed the GIL and replaced it
421421
with fine-grained locking. Adam Olsen recently did a similar experiment
422-
in his `python-safethread <http://code.google.com/p/python-safethread/>`_
422+
in his `python-safethread <https://code.google.com/archive/p/python-safethread>`_
423423
project. Unfortunately, both experiments exhibited a sharp drop in single-thread
424424
performance (at least 30% slower), due to the amount of fine-grained locking
425425
necessary to compensate for the removal of the GIL.

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ which don't. One is Thomas Heller's py2exe (Windows only) at
100100

101101
http://www.py2exe.org/
102102

103-
Another tool is Anthony Tuininga's `cx_Freeze <http://cx-freeze.sourceforge.net/>`_.
103+
Another tool is Anthony Tuininga's `cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_.
104104

105105

106106
Are there coding standards or a style guide for Python programs?

Doc/faq/windows.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ offender.
170170
How do I make an executable from a Python script?
171171
-------------------------------------------------
172172

173-
See http://cx-freeze.sourceforge.net/ for a distutils extension that allows you
174-
to create console and GUI executables from Python code.
173+
See `cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_ for a distutils extension
174+
that allows you to create console and GUI executables from Python code.
175175
`py2exe <http://www.py2exe.org/>`_, the most popular extension for building
176176
Python 2.x-based executables, does not yet support Python 3 but a version that
177177
does is in development.

Doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Glossary
126126

127127
BDFL
128128
Benevolent Dictator For Life, a.k.a. `Guido van Rossum
129-
<https://www.python.org/~guido/>`_, Python's creator.
129+
<https://gvanrossum.github.io/>`_, Python's creator.
130130

131131
binary file
132132
A :term:`file object` able to read and write

Doc/howto/curses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ learn more about submitting patches to Python.
543543

544544
* `Writing Programs with NCURSES <http://invisible-island.net/ncurses/ncurses-intro.html>`_:
545545
a lengthy tutorial for C programmers.
546-
* `The ncurses man page <http://linux.die.net/man/3/ncurses>`_
546+
* `The ncurses man page <https://linux.die.net/man/3/ncurses>`_
547547
* `The ncurses FAQ <http://invisible-island.net/ncurses/ncurses.faq.html>`_
548548
* `"Use curses... don't swear" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_:
549549
video of a PyCon 2013 talk on controlling terminals using curses or Urwid.

Doc/howto/pyporting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,4 +449,4 @@ to make sure everything functions as expected in both versions of Python.
449449

450450
.. _"What's New": https://docs.python.org/3/whatsnew/index.html
451451

452-
.. _Why Python 3 exists: http://www.snarky.ca/why-python-3-exists
452+
.. _Why Python 3 exists: https://snarky.ca/why-python-3-exists

Doc/howto/unicode.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ To help understand the standard, Jukka Korpela has written `an introductory
217217
guide <https://www.cs.tut.fi/~jkorpela/unicode/guide.html>`_ to reading the
218218
Unicode character tables.
219219

220-
Another `good introductory article <http://www.joelonsoftware.com/articles/Unicode.html>`_
220+
Another `good introductory article <https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/>`_
221221
was written by Joel Spolsky.
222222
If this introduction didn't make things clear to you, you should try
223223
reading this alternate article before continuing.
@@ -487,7 +487,7 @@ References
487487
Some good alternative discussions of Python's Unicode support are:
488488

489489
* `Processing Text Files in Python 3 <http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html>`_, by Nick Coghlan.
490-
* `Pragmatic Unicode <http://nedbatchelder.com/text/unipain.html>`_, a PyCon 2012 presentation by Ned Batchelder.
490+
* `Pragmatic Unicode <https://nedbatchelder.com/text/unipain.html>`_, a PyCon 2012 presentation by Ned Batchelder.
491491

492492
The :class:`str` type is described in the Python library reference at
493493
:ref:`textseq`.

Doc/library/email.generator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ over channels that are not "8 bit clean".
5353
:data:`~email.policy.compat32` policy and ``False`` for all others).
5454
*mangle_from_* is intended for use when messages are stored in unix mbox
5555
format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD
56-
<http://www.jwz.org/doc/content-length.html>`_).
56+
<https://www.jwz.org/doc/content-length.html>`_).
5757

5858
If *maxheaderlen* is not ``None``, refold any header lines that are longer
5959
than *maxheaderlen*, or if ``0``, do not rewrap any headers. If
@@ -154,7 +154,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`.
154154
:data:`~email.policy.compat32` policy and ``False`` for all others).
155155
*mangle_from_* is intended for use when messages are stored in unix mbox
156156
format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD
157-
<http://www.jwz.org/doc/content-length.html>`_).
157+
<https://www.jwz.org/doc/content-length.html>`_).
158158

159159
If *maxheaderlen* is not ``None``, refold any header lines that are longer
160160
than *maxheaderlen*, or if ``0``, do not rewrap any headers. If

Doc/library/hashlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ Keyed hashing
482482

483483
Keyed hashing can be used for authentication as a faster and simpler
484484
replacement for `Hash-based message authentication code
485-
<http://en.wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC).
485+
<https://en.wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC).
486486
BLAKE2 can be securely used in prefix-MAC mode thanks to the
487487
indifferentiability property inherited from BLAKE.
488488

@@ -699,7 +699,7 @@ implementation, extension code, and this documentation:
699699

700700
You should have received a copy of the CC0 Public Domain Dedication along
701701
with this software. If not, see
702-
http://creativecommons.org/publicdomain/zero/1.0/.
702+
https://creativecommons.org/publicdomain/zero/1.0/.
703703

704704
The following people have helped with development or contributed their changes
705705
to the project and the public domain according to the Creative Commons Public

Doc/library/othergui.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ available for Python:
1111
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_
1212
PyGObject provides introspection bindings for C libraries using
1313
`GObject <https://developer.gnome.org/gobject/stable/>`_. One of
14-
these libraries is the `GTK+ 3 <http://www.gtk.org/>`_ widget set.
14+
these libraries is the `GTK+ 3 <https://www.gtk.org/>`_ widget set.
1515
GTK+ comes with many more widgets than Tkinter provides. An online
16-
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_
16+
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io/>`_
1717
is available.
1818

1919
`PyGTK <http://www.pygtk.org/>`_
@@ -35,7 +35,7 @@ available for Python:
3535
Compared to PyQt, its licensing scheme is friendlier to non-open source
3636
applications.
3737

38-
`wxPython <http://www.wxpython.org>`_
38+
`wxPython <https://www.wxpython.org>`_
3939
wxPython is a cross-platform GUI toolkit for Python that is built around
4040
the popular `wxWidgets <https://www.wxwidgets.org/>`_ (formerly wxWindows)
4141
C++ toolkit. It provides a native look and feel for applications on

Doc/library/secrets.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Other functions
130130

131131
Return ``True`` if strings *a* and *b* are equal, otherwise ``False``,
132132
in such a way as to reduce the risk of
133-
`timing attacks <http://codahale.com/a-lesson-in-timing-attacks/>`_.
133+
`timing attacks <https://codahale.com/a-lesson-in-timing-attacks/>`_.
134134
See :func:`hmac.compare_digest` for additional details.
135135

136136

@@ -173,7 +173,7 @@ three digits:
173173
break
174174

175175

176-
Generate an `XKCD-style passphrase <http://xkcd.com/936/>`_:
176+
Generate an `XKCD-style passphrase <https://xkcd.com/936/>`_:
177177

178178
.. testcode::
179179

Doc/library/select.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ object.
264264
Edge and Level Trigger Polling (epoll) Objects
265265
----------------------------------------------
266266

267-
http://linux.die.net/man/4/epoll
267+
https://linux.die.net/man/4/epoll
268268

269269
*eventmask*
270270

Doc/library/sqlite3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ This example uses the iterator form::
107107
The SQLite web page; the documentation describes the syntax and the
108108
available data types for the supported SQL dialect.
109109

110-
http://www.w3schools.com/sql/
110+
https://www.w3schools.com/sql/
111111
Tutorial, reference and examples for learning SQL syntax.
112112

113113
:pep:`249` - Database API Specification 2.0

Doc/library/ssl.rst

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

15921592
.. seealso::
1593-
`SSL/TLS & Perfect Forward Secrecy <http://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy.html>`_
1593+
`SSL/TLS & Perfect Forward Secrecy <https://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy>`_
15941594
Vincent Bernat.
15951595

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

Doc/library/tkinter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ this should open a window demonstrating a simple Tk interface.
3838
`Programming Python <http://learning-python.com/books/about-pp4e.html>`_
3939
Book by Mark Lutz, has excellent coverage of Tkinter.
4040

41-
`Modern Tkinter for Busy Python Developers <http://www.amazon.com/Modern-Tkinter-Python-Developers-ebook/dp/B0071QDNLO/>`_
41+
`Modern Tkinter for Busy Python Developers <https://www.amazon.com/Modern-Tkinter-Python-Developers-ebook/dp/B0071QDNLO/>`_
4242
Book by Mark Rozerman about building attractive and modern graphical user interfaces with Python and Tkinter.
4343

4444
`Python and Tkinter Programming <https://www.manning.com/books/python-and-tkinter-programming>`_
@@ -183,7 +183,7 @@ documentation that exists. Here are some hints:
183183
`ActiveState Tcl Home Page <http://tcl.activestate.com/>`_
184184
The Tk/Tcl development is largely taking place at ActiveState.
185185

186-
`Tcl and the Tk Toolkit <http://www.amazon.com/exec/obidos/ASIN/020163337X>`_
186+
`Tcl and the Tk Toolkit <https://www.amazon.com/exec/obidos/ASIN/020163337X>`_
187187
The book by John Ousterhout, the inventor of Tcl.
188188

189189
`Practical Programming in Tcl and Tk <http://www.beedub.com/book/>`_

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test runner
5656
Kent Beck's original paper on testing frameworks using the pattern shared
5757
by :mod:`unittest`.
5858

59-
`Nose <https://nose.readthedocs.org/en/latest/>`_ and `py.test <http://pytest.org>`_
59+
`Nose <https://nose.readthedocs.io/>`_ and `py.test <https://docs.pytest.org/>`_
6060
Third-party unittest frameworks with a lighter-weight syntax for writing
6161
tests. For example, ``assert func(10) == 42``.
6262

Doc/tutorial/interactive.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ bpython_.
5151

5252
.. _GNU Readline: https://tiswww.case.edu/php/chet/readline/rltop.html
5353
.. _IPython: https://ipython.org/
54-
.. _bpython: http://www.bpython-interpreter.org/
54+
.. _bpython: https://www.bpython-interpreter.org/

Doc/using/mac.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ X by Apple, and the latest version can be downloaded and installed from
149149
https://www.activestate.com; it can also be built from source.
150150

151151
*wxPython* is another popular cross-platform GUI toolkit that runs natively on
152-
Mac OS X. Packages and documentation are available from http://www.wxpython.org.
152+
Mac OS X. Packages and documentation are available from https://www.wxpython.org.
153153

154154
*PyQt* is another popular cross-platform GUI toolkit that runs natively on Mac
155155
OS X. More information can be found at

Doc/using/windows.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ for detailed information about platforms with pre-compiled installers.
291291
by Mark Pilgrim, 2004,
292292
ISBN 1-59059-356-1
293293

294-
`For Windows users <http://python.swaroopch.com/installation.html#installation-on-windows>`_
294+
`For Windows users <https://python.swaroopch.com/installation.html#installation-on-windows>`_
295295
in "Installing Python"
296-
in "`A Byte of Python <http://python.swaroopch.com/>`_"
296+
in "`A Byte of Python <https://python.swaroopch.com/>`_"
297297
by Swaroop C H, 2003
298298

299299

@@ -871,7 +871,7 @@ shipped with PyWin32. It is an embeddable IDE with a built-in debugger.
871871
cx_Freeze
872872
---------
873873

874-
`cx_Freeze <http://cx-freeze.sourceforge.net/>`_ is a :mod:`distutils`
874+
`cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_ is a :mod:`distutils`
875875
extension (see :ref:`extending-distutils`) which wraps Python scripts into
876876
executable Windows programs (:file:`{*}.exe` files). When you have done this,
877877
you can distribute your application without requiring your users to install

Doc/whatsnew/2.7.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@ wish to read the Tcl/Tk manual page describing the
18091809
Ttk theme engine, available at
18101810
https://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some
18111811
screenshots of the Python/Ttk code in use are at
1812-
http://code.google.com/p/python-ttk/wiki/Screenshots.
1812+
https://code.google.com/archive/p/python-ttk/wikis/Screenshots.wiki.
18131813

18141814
The :mod:`ttk` module was written by Guilherme Polo and added in
18151815
:issue:`2983`. An alternate version called ``Tile.py``, written by
@@ -1832,8 +1832,8 @@ https://pypi.python.org/pypi/unittest2.
18321832

18331833
When used from the command line, the module can automatically discover
18341834
tests. It's not as fancy as `py.test <http://pytest.org>`__ or
1835-
`nose <http://code.google.com/p/python-nose/>`__, but provides a simple way
1836-
to run tests kept within a set of package directories. For example,
1835+
`nose <https://nose.readthedocs.io/>`__, but provides a
1836+
simple way to run tests kept within a set of package directories. For example,
18371837
the following command will search the :file:`test/` subdirectory for
18381838
any importable test files named ``test*.py``::
18391839

Doc/whatsnew/3.6.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ and the ``__annotations__`` attribute.
238238
and Guido van Rossum. Implemented by Ivan Levkivskyi.
239239

240240
Tools that use or will use the new syntax:
241-
`mypy <http://github.com/python/mypy>`_,
242-
`pytype <http://github.com/google/pytype>`_, PyCharm, etc.
241+
`mypy <http://www.mypy-lang.org/>`_,
242+
`pytype <https://github.com/google/pytype>`_, PyCharm, etc.
243243

244244

245245
.. _whatsnew36-pep515:

0 commit comments

Comments
 (0)