Fixing broken links in doc, part 3: the rest · python/cpython@525d355 · GitHub
Skip to content

Commit 525d355

Browse files
committed
Fixing broken links in doc, part 3: the rest
1 parent 9bdcb3b commit 525d355

26 files changed

Lines changed: 75 additions & 80 deletions

Doc/install/index.rst

Lines changed: 3 additions & 3 deletions

Doc/installing/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ into an active virtual environment uses the commands shown above.
104104
.. seealso::
105105

106106
`Python Packaging User Guide: Installing Python Distribution Packages
107-
<https://packaging.python.org/en/latest/installing.html#installing-python-distributions>`__
107+
<https://packaging.python.org/en/latest/installing.html#installing-python-distribution-packages>`__
108108

109109

110110
How do I ...?
@@ -122,7 +122,7 @@ User Guide.
122122
.. seealso::
123123

124124
`Python Packaging User Guide: Setup for Installing Distribution Packages
125-
<https://packaging.python.org/en/latest/installing.html#setup-for-installing-distributions>`__
125+
<https://packaging.python.org/en/latest/installing.html#setup-for-installing-distribution-packages>`__
126126

127127

128128
.. installing-per-user-installation:
@@ -141,13 +141,13 @@ A number of scientific Python packages have complex binary dependencies, and
141141
aren't currently easy to install using ``pip`` directly. At this point in
142142
time, it will often be easier for users to install these packages by
143143
`other means
144-
<https://packaging.python.org/en/latest/platforms.html#installing-scientific-packages>`__
144+
<https://packaging.python.org/en/latest/science.html>`__
145145
rather than attempting to install them with ``pip``.
146146

147147
.. seealso::
148148

149149
`Python Packaging User Guide: Installing Scientific Packages
150-
<https://packaging.python.org/en/latest/platforms.html#installing-scientific-packages>`__
150+
<https://packaging.python.org/en/latest/science.html>`__
151151

152152

153153
... work with multiple versions of Python installed in parallel?
@@ -210,7 +210,7 @@ as users are more regularly able to install pre-built extensions rather
210210
than needing to build them themselves.
211211

212212
Some of the solutions for installing `scientific software
213-
<https://packaging.python.org/en/latest/platforms.html#installing-scientific-packages>`__
213+
<https://packaging.python.org/en/latest/science.html>`__
214214
that is not yet available as pre-built ``wheel`` files may also help with
215215
obtaining other binary extensions without needing to build them locally.
216216

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The class can be used to simulate nested scopes and is useful in templating.
109109
writing to any mapping in the chain.
110110

111111
* Django's `Context class
112-
<http://code.djangoproject.com/browser/django/trunk/django/template/context.py>`_
112+
<https://github.com/django/django/blob/master/django/template/context.py>`_
113113
for templating is a read-only chain of mappings. It also features
114114
pushing and popping of contexts similar to the
115115
:meth:`~collections.ChainMap.new_child` method and the

Doc/library/difflib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
323323

324324
.. seealso::
325325

326-
`Pattern Matching: The Gestalt Approach <http://www.ddj.com/184407970?pgno=5>`_
326+
`Pattern Matching: The Gestalt Approach <http://www.drdobbs.com/database/pattern-matching-the-gestalt-approach/184407970>`_
327327
Discussion of a similar algorithm by John W. Ratcliff and D. E. Metzener. This
328-
was published in `Dr. Dobb's Journal <http://www.ddj.com/>`_ in July, 1988.
328+
was published in `Dr. Dobb's Journal <http://www.drdobbs.com/>`_ in July, 1988.
329329

330330

331331
.. _sequence-matcher:

Doc/library/distribution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Software Packaging and Distribution
44

55
These libraries help you with publishing and installing Python software.
66
While these modules are designed to work in conjunction with the
7-
`Python Package Index <https://pypi.python.org>`__, they can also be used
7+
`Python Package Index <https://pypi.python.org/pypi>`__, they can also be used
88
with a local index server, or without any index server at all.
99

1010
.. toctree::

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The :mod:`functools` module defines the following functions:
7272
bypassing the cache, or for rewrapping the function with a different cache.
7373

7474
An `LRU (least recently used) cache
75-
<http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used>`_ works
75+
<http://en.wikipedia.org/wiki/Cache_algorithms#Examples>`_ works
7676
best when the most recent calls are the best predictors of upcoming calls (for
7777
example, the most popular articles on a news server tend to change each day).
7878
The cache's size limit assures that the cache does not grow without bound on

Doc/library/gettext.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ translatable. `Babel <http://babel.pocoo.org/>`__ is a Python
460460
internationalization library that includes a :file:`pybabel` script to
461461
extract and compile message catalogs. François Pinard's program
462462
called :program:`xpot` does a similar job and is available as part of
463-
his `po-utils package <http://po-utils.progiciels-bpi.ca/>`__.
463+
his `po-utils package <https://github.com/pinard/po-utils>`__.
464464

465465
(Python also includes pure-Python versions of these programs, called
466466
:program:`pygettext.py` and :program:`msgfmt.py`; some Python distributions

Doc/library/http.cookiejar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The following classes are provided:
115115
:mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each
116116
other.
117117

118-
http://wp.netscape.com/newsref/std/cookie_spec.html
118+
http://curl.haxx.se/rfc/cookie_spec.html
119119
The specification of the original Netscape cookie protocol. Though this is
120120
still the dominant protocol, the 'Netscape cookie protocol' implemented by all
121121
the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to

Doc/library/mailbox.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ Supported mailbox formats are Maildir, mbox, MH, Babyl, and MMDF.
487487
`Configuring Netscape Mail on Unix: Why The Content-Length Format is Bad <http://www.jwz.org/doc/content-length.html>`_
488488
An argument for using the original mbox format rather than a variation.
489489

490-
`"mbox" is a family of several mutually incompatible mailbox formats <http://homepages.tesco.net./~J.deBoynePollard/FGA/mail-mbox-formats.html>`_
490+
`"mbox" is a family of several mutually incompatible mailbox formats <http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/mail-mbox-formats.html>`_
491491
A history of mbox variations.
492492

493493

Doc/library/msilib.rst

Lines changed: 32 additions & 32 deletions

0 commit comments

Comments
 (0)