Skip to content

Commit fa55a31

Browse files
committed
Fixing broken links in doc, part 1: faq/
1 parent ea64fb7 commit fa55a31

9 files changed

Lines changed: 29 additions & 35 deletions

File tree

‎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
Article which goes into some detail about how to create a useful bug report.
6969
This describes what kind of information is useful and why it is useful.
7070

71-
`Bug Writing Guidelines <http://developer.mozilla.org/en/docs/Bug_writing_guidelines>`_
71+
`Bug Writing Guidelines <https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines>`_
7272
Information about writing a good bug report. Some of this is specific to the
7373
Mozilla project, but describes general good practices.
7474

‎Doc/distutils/packageindex.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,4 @@ without warnings does not guarantee that PyPI will convert the content
246246
successfully.
247247

248248

249-
.. _Python Package Index (PyPI): https://pypi.python.org/
249+
.. _Python Package Index (PyPI): https://pypi.python.org/pypi

‎Doc/faq/design.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ approach is feasible, although the speedups reached so far are only modest
404404
Hugunin has demonstrated that in combination with whole-program analysis,
405405
speedups of 1000x are feasible for small demo programs. See the proceedings
406406
from the `1997 Python conference
407-
<https://www.python.org/workshops/1997-10/proceedings/>`_ for more information.)
407+
<http://legacy.python.org/workshops/1997-10/proceedings/>`_ for more information.)
408408

409409
Internally, Python source code is always translated into a bytecode
410410
representation, and this bytecode is then executed by the Python virtual
@@ -429,12 +429,12 @@ much speed.
429429
.. XXX check which of these projects are still alive
430430
431431
There are also several programs which make it easier to intermingle Python and C
432-
code in various ways to increase performance. See, for example, `Psyco
432+
code in various ways to increase performance. See, for example, `Cython <http://cython.org/>`_ , `Psyco
433433
<http://psyco.sourceforge.net/>`_, `Pyrex
434434
<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_, `PyInline
435435
<http://pyinline.sourceforge.net/>`_, `Py2Cmod
436-
<http://sourceforge.net/projects/py2cmod/>`_, and `Weave
437-
<http://www.scipy.org/Weave>`_.
436+
<http://sourceforge.net/projects/py2cmod/>`_, and
437+
`Weave <http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_.
438438

439439

440440
How does Python manage memory?

‎Doc/faq/extending.rst‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ time-critical functions in your code, and gain a significant improvement with
4444
very little effort, as long as you're running on a machine with an
4545
x86-compatible processor.
4646

47-
`Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ is a compiler
48-
that accepts a slightly modified form of Python and generates the corresponding
47+
`Cython <http://cython.org>`_ and its relative `Pyrex
48+
<http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers
49+
that accept a slightly modified form of Python and generate the corresponding
4950
C code. Pyrex makes it possible to write an extension without having to learn
5051
Python's C API.
5152

@@ -55,8 +56,8 @@ with a tool such as `SWIG <http://www.swig.org>`_. `SIP
5556
<http://www.riverbankcomputing.co.uk/software/sip/>`__, `CXX
5657
<http://cxx.sourceforge.net/>`_ `Boost
5758
<http://www.boost.org/libs/python/doc/index.html>`_, or `Weave
58-
<http://www.scipy.org/Weave>`_ are also alternatives for wrapping
59-
C++ libraries.
59+
<http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_ are also
60+
alternatives for wrapping C++ libraries.
6061

6162

6263
How can I execute arbitrary Python statements from C?

‎Doc/faq/general.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ 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.
225225

226-
You can also access the development version of Python through Subversion. See
227-
https://docs.python.org/devguide/faq for details.
226+
You can also access the development version of Python through Mercurial. See
227+
https://docs.python.org/devguide/faq.html for details.
228228

229229

230230
How do I submit bug reports and patches for Python?
@@ -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://pythonline.com/>`__, a BBC comedy series from the 1970s. Van Rossum
287+
<http://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://python.org/download/>`_. There are two recommended production-ready
316+
<https://www.python.org/download/>`_. 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
@@ -337,9 +337,9 @@ the group or even read it.
337337
Have any significant projects been done in Python?
338338
--------------------------------------------------
339339

340-
See https://python.org/about/success for a list of projects that use Python.
340+
See https://www.python.org/about/success for a list of projects that use Python.
341341
Consulting the proceedings for `past Python conferences
342-
<https://python.org/community/workshops/>`_ will reveal contributions from many
342+
<https://www.python.org/community/workshops/>`_ will reveal contributions from many
343343
different companies and organizations.
344344

345345
High-profile Python projects include `the Mailman mailing list manager

‎Doc/faq/gui.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ Qt
4949

5050
There are bindings available for the Qt toolkit (using either `PyQt
5151
<http://www.riverbankcomputing.co.uk/software/pyqt/>`_ or `PySide
52-
<http://www.pyside.org/>`_) and for KDE (`PyKDE <http://www.riverbankcomputing.co.uk/software/pykde/intro>`_).
52+
<http://www.pyside.org/>`_) and for KDE (`PyKDE <https://techbase.kde.org/Development/Languages/Python>`__).
5353
PyQt is currently more mature than PySide, but you must buy a PyQt license from
5454
`Riverbank Computing <http://www.riverbankcomputing.co.uk/software/pyqt/license>`_
5555
if you want to write proprietary applications. PySide is free for all applications.
5656

5757
Qt 4.5 upwards is licensed under the LGPL license; also, commercial licenses
58-
are available from `Nokia <http://qt.nokia.com/>`_.
58+
are available from `The Qt Company <http://www.qt.io/licensing/>`_.
5959

6060
Gtk+
6161
----
@@ -89,7 +89,7 @@ What platform-specific GUI toolkits exist for Python?
8989
========================================================
9090

9191
By installing the `PyObjc Objective-C bridge
92-
<http://pyobjc.sourceforge.net>`_, Python programs can use Mac OS X's
92+
<https://pythonhosted.org/pyobjc/>`_, Python programs can use Mac OS X's
9393
Cocoa libraries.
9494

9595
:ref:`Pythonwin <windows-faq>` by Mark Hammond includes an interface to the

‎Doc/faq/library.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ How do I create documentation from doc strings?
182182
The :mod:`pydoc` module can create HTML from the doc strings in your Python
183183
source code. An alternative for creating API documentation purely from
184184
docstrings is `epydoc <http://epydoc.sf.net/>`_. `Sphinx
185-
<http://sphinx.pocoo.org>`_ can also include docstring content.
185+
<http://sphinx-doc.org>`_ can also include docstring content.
186186

187187

188188
How do I get a single keypress at a time?

‎Doc/faq/programming.rst‎

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ Pythonwin debugger colors breakpoints and has quite a few cool features such as
3030
debugging non-Pythonwin programs. Pythonwin is available as part of the `Python
3131
for Windows Extensions <http://sourceforge.net/projects/pywin32/>`__ project and
3232
as a part of the ActivePython distribution (see
33-
http://www.activestate.com/Products/ActivePython/index.html).
33+
http://www.activestate.com/activepython\ ).
3434

3535
`Boa Constructor <http://boa-constructor.sourceforge.net/>`_ is an IDE and GUI
3636
builder that uses wxWidgets. It offers visual frame creation and manipulation,
3737
an object inspector, many views on the source like object browsers, inheritance
3838
hierarchies, doc string generated html documentation, an advanced debugger,
3939
integrated help, and Zope support.
4040

41-
`Eric <http://www.die-offenbachs.de/eric/index.html>`_ is an IDE built on PyQt
41+
`Eric <http://eric-ide.python-projects.org/>`_ is an IDE built on PyQt
4242
and the Scintilla editing component.
4343

4444
Pydb is a version of the standard Python debugger pdb, modified for use with DDD
@@ -50,7 +50,7 @@ There are a number of commercial Python IDEs that include graphical debuggers.
5050
They include:
5151

5252
* Wing IDE (http://wingware.com/)
53-
* Komodo IDE (http://www.activestate.com/Products/Komodo)
53+
* Komodo IDE (http://komodoide.com/)
5454
* PyCharm (https://www.jetbrains.com/pycharm/)
5555

5656

@@ -69,8 +69,7 @@ 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
7070
length, whether variable names are well-formed according to your coding
7171
standard, whether declared interfaces are fully implemented, and more.
72-
http://www.logilab.org/card/pylint_manual provides a full list of Pylint's
73-
features.
72+
http://docs.pylint.org/ provides a full list of Pylint's features.
7473

7574

7675
How can I create a stand-alone binary from a Python script?
@@ -101,13 +100,7 @@ which don't. One is Thomas Heller's py2exe (Windows only) at
101100

102101
http://www.py2exe.org/
103102

104-
Another is Christian Tismer's `SQFREEZE <http://starship.python.net/crew/pirx>`_
105-
which appends the byte code to a specially-prepared Python interpreter that can
106-
find the byte code in the executable.
107-
108-
Other tools include Fredrik Lundh's `Squeeze
109-
<http://www.pythonware.com/products/python/squeeze>`_ and Anthony Tuininga's
110-
`cx_Freeze <http://starship.python.net/crew/atuining/cx_Freeze/index.html>`_.
103+
Another tool is Anthony Tuininga's `cx_Freeze <http://cx-freeze.sourceforge.net/>`_.
111104

112105

113106
Are there coding standards or a style guide for Python programs?
@@ -1234,7 +1227,7 @@ How do you remove duplicates from a list?
12341227

12351228
See the Python Cookbook for a long discussion of many ways to do this:
12361229

1237-
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52560
1230+
http://code.activestate.com/recipes/52560/
12381231

12391232
If you don't mind reordering the list, sort it and then scan from the end of the
12401233
list, deleting duplicates as you go::

‎Doc/faq/windows.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ obvious; otherwise, you might need a little more guidance.
2727

2828
.. |Python Development on XP| image:: python-video-icon.png
2929
.. _`Python Development on XP`:
30-
http://www.showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries
30+
http://showmedo.com/videotutorials/series?name=pythonOzsvaldPyNewbieSeries
3131

3232
Unless you use some sort of integrated development environment, you will end up
3333
*typing* Windows commands into what is variously referred to as a "DOS window"
@@ -101,7 +101,7 @@ gives you a message like::
101101

102102
.. |Adding Python to DOS Path| image:: python-video-icon.png
103103
.. _`Adding Python to DOS Path`:
104-
http://showmedo.com/videos/video?name=960000&fromSeriesID=96
104+
http://showmedo.com/videotutorials/video?name=960000&fromSeriesID=96
105105

106106

107107
or::

0 commit comments

Comments
 (0)