Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 338cd83

Browse files
CuriousLearnervstinner
authored andcommitted
bpo-25910: Link redirections in docs (#1933)
Fixes some redirection links in docs.
1 parent 7464e87 commit 338cd83

37 files changed

+61
-63
lines changed

Doc/distributing/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Key terms
6262
locally.
6363

6464
.. _setuptools: https://setuptools.readthedocs.io/en/latest/
65-
.. _wheel: https://wheel.readthedocs.org
65+
.. _wheel: https://wheel.readthedocs.io/
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/#packaging-tool-recommendations
114+
.. _currently recommended tools: https://packaging.python.org/guides/tool-recommendations/#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/
127+
https://packaging.python.org/tutorials/distributing-packages/
128128
.. _Building and packaging the project: \
129-
https://packaging.python.org/en/latest/distributing/#packaging-your-project
129+
https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project
130130
.. _Uploading the project to the Python Packaging Index: \
131-
https://packaging.python.org/en/latest/distributing/#uploading-your-project-to-pypi
131+
https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi
132132

133133

134134
How do I...?
@@ -160,7 +160,7 @@ 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>`__
163+
<https://packaging.python.org/guides/packaging-binary-extensions/>`__
164164

165165
.. other topics:
166166

Doc/distutils/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ very little overhead for build/release/install mechanics.
2222
This guide only covers the basic tools for building and distributing
2323
extensions that are provided as part of this version of Python. Third party
2424
tools offer easier to use and more secure alternatives. Refer to the `quick
25-
recommendations section <https://packaging.python.org/en/latest/current/>`__
25+
recommendations section <https://packaging.python.org/guides/tool-recommendations/>`__
2626
in the Python Packaging User Guide for more information.
2727

2828
.. toctree::

Doc/distutils/setupscript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ Notes:
625625

626626
(7)
627627
The valid classifiers are listed on
628-
`PyPI <http://pypi.python.org/pypi?:action=list_classifiers>`_.
628+
`PyPI <https://pypi.python.org/pypi?:action=list_classifiers>`_.
629629

630630
(8)
631631
To preserve backward compatibility, this field also accepts a string. If

Doc/extending/extending.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ 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-
<https://cffi.readthedocs.org>`_ library rather than writing custom C code.
30+
<https://cffi.readthedocs.io/>`_ library rather than writing
31+
custom C code.
3132
These modules let you write Python code to interface with C code and are more
3233
portable between implementations of Python than writing and compiling a C
3334
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/>`_
35+
`Python Packaging User Guide: Binary Extensions <https://packaging.python.org/guides/packaging-binary-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/general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ The Python project's infrastructure is located all over the world.
272272
`www.python.org <https://www.python.org>`_ is graciously hosted by `Rackspace
273273
<https://www.rackspace.com>`_, with CDN caching provided by `Fastly
274274
<https://www.fastly.com>`_. `Upfront Systems
275-
<http://www.upfrontsystems.co.za/>`_ hosts `bugs.python.org
275+
<http://www.upfrontsoftware.co.za>`_ hosts `bugs.python.org
276276
<https://bugs.python.org>`_. Many other Python services like `the Wiki
277277
<https://wiki.python.org>`_ are hosted by `Oregon State
278278
University Open Source Lab <https://osuosl.org>`_.

Doc/howto/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ favourite beverage and carry on.
314314
If your logging needs are simple, then use the above examples to incorporate
315315
logging into your own scripts, and if you run into problems or don't
316316
understand something, please post a question on the comp.lang.python Usenet
317-
group (available at https://groups.google.com/group/comp.lang.python) and you
317+
group (available at https://groups.google.com/forum/#!forum/comp.lang.python) and you
318318
should receive help before too long.
319319

320320
Still here? You can carry on reading the next few sections, which provide a

Doc/howto/pyporting.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,12 +433,12 @@ to make sure everything functions as expected in both versions of Python.
433433
.. _Futurize: http://python-future.org/automatic_conversion.html
434434
.. _importlib: https://docs.python.org/3/library/importlib.html#module-importlib
435435
.. _importlib2: https://pypi.python.org/pypi/importlib2
436-
.. _Modernize: https://python-modernize.readthedocs.org/en/latest/
436+
.. _Modernize: https://python-modernize.readthedocs.io/
437437
.. _mypy: http://mypy-lang.org/
438438
.. _Porting to Python 3: http://python3porting.com/
439439
.. _Pylint: https://pypi.python.org/pypi/pylint
440440

441-
.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.org/en/latest/python3/questions_and_answers.html
441+
.. _Python 3 Q & A: https://ncoghlan-devs-python-notes.readthedocs.io/en/latest/python3/questions_and_answers.html
442442

443443
.. _pytype: https://github.com/google/pytype
444444
.. _python-future: http://python-future.org/

Doc/howto/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ difficult reading. `A chronology <http://www.unicode.org/history/>`_ of the
214214
origin and development of Unicode is also available on the site.
215215

216216
To help understand the standard, Jukka Korpela has written `an introductory
217-
guide <https://www.cs.tut.fi/~jkorpela/unicode/guide.html>`_ to reading the
217+
guide <http://jkorpela.fi/unicode/guide.html>`_ to reading the
218218
Unicode character tables.
219219

220220
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/>`_

Doc/howto/urllib2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ fetched, particularly the headers sent by the server. It is currently an
403403
:class:`http.client.HTTPMessage` instance.
404404

405405
Typical headers include 'Content-length', 'Content-type', and so on. See the
406-
`Quick Reference to HTTP Headers <https://www.cs.tut.fi/~jkorpela/http.html>`_
406+
`Quick Reference to HTTP Headers <http://jkorpela.fi/http.html>`_
407407
for a useful listing of HTTP headers with brief explanations of their meaning
408408
and use.
409409

0 commit comments

Comments
 (0)