Skip to content

Commit 5d94134

Browse files
committed
Closes #25910: fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
1 parent 06871ef commit 5d94134

Some content is hidden

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

69 files changed

+253
-256
lines changed

Doc/distributing/index.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Key terms
3535
repository of open source licensed packages made available for use by
3636
other Python users
3737
* the `Python Packaging Authority
38-
<https://packaging.python.org/en/latest/future.html>`__ are the group of
38+
<https://www.pypa.io/>`__ are the group of
3939
developers and documentation authors responsible for the maintenance and
4040
evolution of the standard packaging tools and the associated metadata and
4141
file format standards. They maintain a variety of tools, documentation
@@ -62,7 +62,7 @@ Key terms
6262
locally.
6363

6464
.. _setuptools: https://setuptools.pypa.io/en/latest/setuptools.html
65-
.. _wheel: http://wheel.readthedocs.org
65+
.. _wheel: https://wheel.readthedocs.org
6666

6767
Open source licensing and collaboration
6868
=======================================
@@ -111,7 +111,7 @@ by invoking the ``pip`` module at the command line::
111111
The Python Packaging User Guide includes more details on the `currently
112112
recommended tools`_.
113113

114-
.. _currently recommended tools: https://packaging.python.org/en/latest/current.html#packaging-tool-recommendations
114+
.. _currently recommended tools: https://packaging.python.org/en/latest/current/#packaging-tool-recommendations
115115

116116
Reading the guide
117117
=================
@@ -124,11 +124,11 @@ involved in creating a project:
124124
* `Uploading the project to the Python Packaging Index`_
125125

126126
.. _Project structure: \
127-
https://packaging.python.org/en/latest/distributing.html#creating-your-own-project
127+
https://packaging.python.org/en/latest/distributing/
128128
.. _Building and packaging the project: \
129-
https://packaging.python.org/en/latest/distributing.html#packaging-your-project
129+
https://packaging.python.org/en/latest/distributing/#packaging-your-project
130130
.. _Uploading the project to the Python Packaging Index: \
131-
https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi
131+
https://packaging.python.org/en/latest/distributing/#uploading-your-project-to-pypi
132132

133133

134134
How do I...?
@@ -160,11 +160,11 @@ Python Packaging User Guide for more information and recommendations.
160160
.. seealso::
161161

162162
`Python Packaging User Guide: Binary Extensions
163-
<https://packaging.python.org/en/latest/extensions.html>`__
163+
<https://packaging.python.org/en/latest/extensions>`__
164164

165165
.. other topics:
166166
167167
Once the Development & Deployment part of PPUG is fleshed out, some of
168168
those sections should be linked from new questions here (most notably,
169169
we should have a question about avoiding depending on PyPI that links to
170-
https://packaging.python.org/en/latest/deployment.html#pypi-mirrors-and-caches)
170+
https://packaging.python.org/en/latest/mirrors/)

Doc/distutils/apiref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ Subclasses of :class:`Command` must define the following methods.
18221822

18231823
Builds a `Windows Installer`_ (.msi) binary package.
18241824

1825-
.. _Windows Installer: http://msdn.microsoft.com/en-us/library/cc185688(VS.85).aspx
1825+
.. _Windows Installer: https://msdn.microsoft.com/en-us/library/cc185688(VS.85).aspx
18261826

18271827
In most cases, the ``bdist_msi`` installer is a better choice than the
18281828
``bdist_wininst`` installer, because it provides better support for

Doc/extending/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ your system setup; details are given in later chapters.
2727
avoid writing C extensions and preserve portability to other implementations.
2828
For example, if your use case is calling C library functions or system calls,
2929
you should consider using the :mod:`ctypes` module or the `cffi
30-
<http://cffi.readthedocs.org>`_ library rather than writing custom C code.
30+
<https://cffi.readthedocs.org>`_ library rather than writing custom C code.
3131
These modules let you write Python code to interface with C code and are more
3232
portable between implementations of Python than writing and compiling a C
3333
extension module.

Doc/extending/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ approaches to creating C and C++ extensions for Python.
3232

3333
.. seealso::
3434

35-
`Python Packaging User Guide: Binary Extensions <https://packaging.python.org/en/latest/extensions.html>`_
35+
`Python Packaging User Guide: Binary Extensions <https://packaging.python.org/en/latest/extensions/>`_
3636
The Python Packaging User Guide not only covers several available
3737
tools that simplify the creation of binary extensions, but also
3838
discusses the various reasons why creating an extension module may be

Doc/faq/design.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ Practical answer:
370370

371371
`Cython <http://cython.org/>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_
372372
compile a modified version of Python with optional annotations into C
373-
extensions. `Weave <http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_ makes it easy to
373+
extensions. `Weave <https://scipy.github.io/devdocs/tutorial/weave.html>`_ makes it easy to
374374
intermingle Python and C code in various ways to increase performance.
375375
`Nuitka <http://www.nuitka.net/>`_ is an up-and-coming compiler of Python
376376
into C++ code, aiming to support the full Python language.

Doc/faq/extending.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ to learn Python's C API.
5050
If you need to interface to some C or C++ library for which no Python extension
5151
currently exists, you can try wrapping the library's data types and functions
5252
with a tool such as `SWIG <http://www.swig.org>`_. `SIP
53-
<http://www.riverbankcomputing.co.uk/software/sip/intro>`__, `CXX
53+
<https://riverbankcomputing.com/software/sip/intro>`__, `CXX
5454
<http://cxx.sourceforge.net/>`_ `Boost
5555
<http://www.boost.org/libs/python/doc/index.html>`_, or `Weave
56-
<http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_ are also
56+
<https://scipy.github.io/devdocs/tutorial/weave.html>`_ are also
5757
alternatives for wrapping C++ libraries.
5858

5959

Doc/faq/general.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ How do I obtain a copy of the Python source?
159159
--------------------------------------------
160160

161161
The latest Python source distribution is always available from python.org, at
162-
https://www.python.org/download/. The latest development sources can be obtained
162+
https://www.python.org/downloads/. The latest development sources can be obtained
163163
via anonymous Mercurial access at https://hg.python.org/cpython.
164164

165165
The source distribution is a gzipped tar file containing the complete C source,
@@ -218,7 +218,7 @@ can be found at https://www.python.org/community/lists/.
218218
How do I get a beta test version of Python?
219219
-------------------------------------------
220220

221-
Alpha and beta releases are available from https://www.python.org/download/. All
221+
Alpha and beta releases are available from https://www.python.org/downloads/. All
222222
releases are announced on the comp.lang.python and comp.lang.python.announce
223223
newsgroups and on the Python home page at https://www.python.org/; an RSS feed of
224224
news is available.
@@ -273,7 +273,7 @@ The Python project's infrastructure is located all over the world.
273273
`www.python.org <https://www.python.org>`_ is graciously hosted by `Rackspace
274274
<http://www.rackspace.com>`_, with CDN caching provided by `Fastly
275275
<https://www.fastly.com>`_. `Upfront Systems
276-
<http://www.upfrontsystems.co.za>`_ hosts `bugs.python.org
276+
<http://www.upfrontsystems.co.za/>`_ hosts `bugs.python.org
277277
<https://bugs.python.org>`_. Many other Python services like `the Wiki
278278
<https://wiki.python.org>`_ are hosted by `Oregon State
279279
University Open Source Lab <https://osuosl.org>`_.
@@ -284,7 +284,7 @@ Why is it called Python?
284284

285285
When he began implementing Python, Guido van Rossum was also reading the
286286
published scripts from `"Monty Python's Flying Circus"
287-
<http://en.wikipedia.org/wiki/Monty_Python>`__, a BBC comedy series from the 1970s. Van Rossum
287+
<https://en.wikipedia.org/wiki/Monty_Python>`__, a BBC comedy series from the 1970s. Van Rossum
288288
thought he needed a name that was short, unique, and slightly mysterious, so he
289289
decided to call the language Python.
290290

@@ -313,7 +313,7 @@ guaranteed that interfaces will remain the same throughout a series of bugfix
313313
releases.
314314

315315
The latest stable releases can always be found on the `Python download page
316-
<https://www.python.org/download/>`_. There are two recommended production-ready
316+
<https://www.python.org/downloads/>`_. There are two recommended production-ready
317317
versions at this point in time, because at the moment there are two branches of
318318
stable releases: 2.x and 3.x. Python 3.x may be less useful than 2.x, since
319319
currently there is more third party software available for Python 2 than for
@@ -345,7 +345,7 @@ different companies and organizations.
345345
High-profile Python projects include `the Mailman mailing list manager
346346
<http://www.list.org>`_ and `the Zope application server
347347
<http://www.zope.org>`_. Several Linux distributions, most notably `Red Hat
348-
<http://www.redhat.com>`_, have written part or all of their installer and
348+
<https://www.redhat.com>`_, have written part or all of their installer and
349349
system administration software in Python. Companies that use Python internally
350350
include Google, Yahoo, and Lucasfilm Ltd.
351351

Doc/faq/gui.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Tkinter
2929
Standard builds of Python include an object-oriented interface to the Tcl/Tk
3030
widget set, called :ref:`tkinter <Tkinter>`. This is probably the easiest to
3131
install (since it comes included with most
32-
`binary distributions <https://www.python.org/download/>`_ of Python) and use.
32+
`binary distributions <https://www.python.org/downloads/>`_ of Python) and use.
3333
For more info about Tk, including pointers to the source, see the
3434
`Tcl/Tk home page <http://www.tcl.tk>`_. Tcl/Tk is fully portable to the
3535
Mac OS X, Windows, and Unix platforms.
@@ -58,19 +58,19 @@ Qt
5858
---
5959

6060
There are bindings available for the Qt toolkit (using either `PyQt
61-
<http://www.riverbankcomputing.co.uk/software/pyqt/intro>`_ or `PySide
62-
<http://www.pyside.org/>`_) and for KDE (`PyKDE <https://techbase.kde.org/Development/Languages/Python>`__).
61+
<https://riverbankcomputing.com/software/pyqt/intro>`_ or `PySide
62+
<https://wiki.qt.io/PySide>`_) and for KDE (`PyKDE <https://techbase.kde.org/Development/Languages/Python>`__).
6363
PyQt is currently more mature than PySide, but you must buy a PyQt license from
64-
`Riverbank Computing <http://www.riverbankcomputing.co.uk/software/pyqt/license>`_
64+
`Riverbank Computing <https://www.riverbankcomputing.com/commercial/license-faq>`_
6565
if you want to write proprietary applications. PySide is free for all applications.
6666

6767
Qt 4.5 upwards is licensed under the LGPL license; also, commercial licenses
68-
are available from `The Qt Company <http://www.qt.io/licensing/>`_.
68+
are available from `The Qt Company <https://www.qt.io/licensing/>`_.
6969

7070
Gtk+
7171
----
7272

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

Doc/faq/library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ For Win32, POSIX (Linux, BSD, etc.), Jython:
619619

620620
For Unix, see a Usenet post by Mitch Chapman:
621621

622-
http://groups.google.com/[email protected]
622+
https://groups.google.com/[email protected]
623623

624624

625625
Why doesn't closing sys.stdout (stdin, stderr) really close it?

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ PyChecker is a static analysis tool that finds bugs in Python source code and
6363
warns about code complexity and style. You can get PyChecker from
6464
http://pychecker.sourceforge.net/.
6565

66-
`Pylint <http://www.logilab.org/projects/pylint>`_ is another tool that checks
66+
`Pylint <http://www.pylint.org/>`_ is another tool that checks
6767
if a module satisfies a coding standard, and also makes it possible to write
6868
plug-ins to add a custom feature. In addition to the bug checking that
6969
PyChecker performs, Pylint offers some additional features such as checking line

0 commit comments

Comments
 (0)