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

Skip to content

Commit 77fe77d

Browse files
committed
Fixing broken links in doc, part 1: faq/
1 parent 728e4de commit 77fe77d

9 files changed

Lines changed: 26 additions & 33 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
@@ -244,4 +244,4 @@ without warnings does not guarantee that PyPI will convert the content
244244
successfully.
245245

246246

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

Doc/faq/design.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ Can Python be compiled to machine code, C or some other language?
368368

369369
Practical answer:
370370

371-
`Cython <http://cython.org/>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_
371+
`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://www.scipy.org/Weave>`_ makes it easy to
373+
extensions. `Weave <http://docs.scipy.org/doc/scipy-dev/reference/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.
@@ -392,7 +392,7 @@ approach is feasible, although the speedups reached so far are only modest
392392
Hugunin has demonstrated that in combination with whole-program analysis,
393393
speedups of 1000x are feasible for small demo programs. See the proceedings
394394
from the `1997 Python conference
395-
<https://www.python.org/workshops/1997-10/proceedings/>`_ for more information.)
395+
<http://legacy.python.org/workshops/1997-10/proceedings/>`_ for more information.)
396396

397397

398398
How does Python manage memory?

Doc/faq/extending.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ on what you're trying to do.
4242
.. XXX make sure these all work
4343
4444
`Cython <http://cython.org>`_ and its relative `Pyrex
45-
<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ are compilers
45+
<http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ are compilers
4646
that accept a slightly modified form of Python and generate the corresponding
4747
C code. Cython and Pyrex make it possible to write an extension without having
4848
to learn Python's C API.
@@ -53,8 +53,8 @@ with a tool such as `SWIG <http://www.swig.org>`_. `SIP
5353
<http://www.riverbankcomputing.co.uk/software/sip/>`__, `CXX
5454
<http://cxx.sourceforge.net/>`_ `Boost
5555
<http://www.boost.org/libs/python/doc/index.html>`_, or `Weave
56-
<http://www.scipy.org/Weave>`_ are also alternatives for wrapping
57-
C++ libraries.
56+
<http://docs.scipy.org/doc/scipy-dev/reference/tutorial/weave.html>`_ are also
57+
alternatives for wrapping C++ libraries.
5858

5959

6060
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
@@ -59,13 +59,13 @@ Qt
5959

6060
There are bindings available for the Qt toolkit (using either `PyQt
6161
<http://www.riverbankcomputing.co.uk/software/pyqt/>`_ or `PySide
62-
<http://www.pyside.org/>`_) and for KDE (`PyKDE <http://www.riverbankcomputing.co.uk/software/pykde/intro>`__).
62+
<http://www.pyside.org/>`_) 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
6464
`Riverbank Computing <http://www.riverbankcomputing.co.uk/software/pyqt/license>`_
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 `Nokia <http://qt.nokia.com/>`_.
68+
are available from `The Qt Company <http://www.qt.io/licensing/>`_.
6969

7070
Gtk+
7171
----
@@ -103,7 +103,7 @@ What platform-specific GUI toolkits exist for Python?
103103
========================================================
104104

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

109109
: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?
@@ -1125,7 +1118,7 @@ How do you remove duplicates from a list?
11251118

11261119
See the Python Cookbook for a long discussion of many ways to do this:
11271120

1128-
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52560
1121+
http://code.activestate.com/recipes/52560/
11291122

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

Doc/faq/windows.rst

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

3232
.. |Python Development on XP| image:: python-video-icon.png
3333
.. _`Python Development on XP`:
34-
http://www.showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries
34+
http://showmedo.com/videotutorials/series?name=pythonOzsvaldPyNewbieSeries
3535

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

106106
.. |Adding Python to DOS Path| image:: python-video-icon.png
107107
.. _`Adding Python to DOS Path`:
108-
http://showmedo.com/videos/video?name=960000&fromSeriesID=96
108+
http://showmedo.com/videotutorials/video?name=960000&fromSeriesID=96
109109

110110

111111
or::

0 commit comments

Comments
 (0)