From 97ae4660e1f75f53a3f55b2bc1e96717484f0914 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 29 Oct 2014 10:26:56 +0100 Subject: [PATCH] Fixing broken links in doc, part 3: the rest --- Doc/install/index.rst | 6 ++-- Doc/library/cookielib.rst | 2 +- Doc/library/difflib.rst | 4 +-- Doc/library/gettext.rst | 4 +-- Doc/library/mailbox.rst | 2 +- Doc/library/msilib.rst | 64 +++++++++++++++++----------------- Doc/library/plistlib.rst | 2 +- Doc/license.rst | 2 +- Doc/reference/introduction.rst | 2 +- Doc/tutorial/whatnow.rst | 4 +-- Doc/using/cmdline.rst | 2 +- Doc/using/mac.rst | 8 ++--- Doc/using/unix.rst | 5 ++- Doc/using/windows.rst | 13 ++++--- 14 files changed, 59 insertions(+), 61 deletions(-) diff --git a/Doc/install/index.rst b/Doc/install/index.rst index ad939ab236..3b6ccba71e 100644 --- a/Doc/install/index.rst +++ b/Doc/install/index.rst @@ -1009,7 +1009,7 @@ section :ref:`inst-config-files`.) .. seealso:: - `C++Builder Compiler `_ + `C++Builder Compiler `_ Information about the free C++ compiler from Borland, including links to the download pages. @@ -1081,7 +1081,7 @@ normal libraries do. .. seealso:: - `Building Python modules on MS Windows platform with MinGW `_ + `Building Python modules on MS Windows platform with MinGW `_ Information about building the required libraries for the MinGW environment. @@ -1090,7 +1090,7 @@ normal libraries do. .. [#] This also means you could replace all existing COFF-libraries with OMF-libraries of the same name. -.. [#] Check http://sources.redhat.com/cygwin/ and http://www.mingw.org/ for more +.. [#] Check http://www.sourceware.org/cygwin/ and http://www.mingw.org/ for more information .. [#] Then you have no POSIX emulation available, but you also don't need diff --git a/Doc/library/cookielib.rst b/Doc/library/cookielib.rst index b1baef15a2..e559f829cf 100644 --- a/Doc/library/cookielib.rst +++ b/Doc/library/cookielib.rst @@ -122,7 +122,7 @@ The following classes are provided: HTTP cookie classes, principally useful for server-side code. The :mod:`cookielib` and :mod:`Cookie` modules do not depend on each other. - http://wp.netscape.com/newsref/std/cookie_spec.html + http://curl.haxx.se/rfc/cookie_spec.html The specification of the original Netscape cookie protocol. Though this is still the dominant protocol, the 'Netscape cookie protocol' implemented by all the major browsers (and :mod:`cookielib`) only bears a passing resemblance to diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst index 878d8e67df..89a457c5e5 100644 --- a/Doc/library/difflib.rst +++ b/Doc/library/difflib.rst @@ -331,9 +331,9 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module. .. seealso:: - `Pattern Matching: The Gestalt Approach `_ + `Pattern Matching: The Gestalt Approach `_ Discussion of a similar algorithm by John W. Ratcliff and D. E. Metzener. This - was published in `Dr. Dobb's Journal `_ in July, 1988. + was published in `Dr. Dobb's Journal `_ in July, 1988. .. _sequence-matcher: diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst index 9b4eb0c73b..f885afb5be 100644 --- a/Doc/library/gettext.rst +++ b/Doc/library/gettext.rst @@ -756,8 +756,8 @@ implementations, and valuable experience to the creation of this module: .. [#] See the footnote for :func:`bindtextdomain` above. .. [#] François Pinard has written a program called :program:`xpot` which does a - similar job. It is available as part of his `po-utils package - `_. + similar job. It is available as part of his + `po-utils package `__. .. [#] :program:`msgfmt.py` is binary compatible with GNU :program:`msgfmt` except that it provides a simpler, all-Python implementation. With this and diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst index 94fde14fdd..3154aa49fe 100644 --- a/Doc/library/mailbox.rst +++ b/Doc/library/mailbox.rst @@ -474,7 +474,7 @@ Maildir, mbox, MH, Babyl, and MMDF. `Configuring Netscape Mail on Unix: Why The Content-Length Format is Bad `_ An argument for using the original mbox format rather than a variation. - `"mbox" is a family of several mutually incompatible mailbox formats `_ + `"mbox" is a family of several mutually incompatible mailbox formats `_ A history of mbox variations. diff --git a/Doc/library/msilib.rst b/Doc/library/msilib.rst index 17d71ab094..4aca842869 100644 --- a/Doc/library/msilib.rst +++ b/Doc/library/msilib.rst @@ -123,9 +123,9 @@ structures. .. seealso:: - `FCICreateFile `_ - `UuidCreate `_ - `UuidToString `_ + `FCICreateFile `_ + `UuidCreate `_ + `UuidToString `_ .. _database-objects: @@ -154,9 +154,9 @@ Database Objects .. seealso:: - `MSIDatabaseOpenView `_ - `MSIDatabaseCommit `_ - `MSIGetSummaryInformation `_ + `MSIDatabaseOpenView `_ + `MSIDatabaseCommit `_ + `MSIGetSummaryInformation `_ .. _view-objects: @@ -202,11 +202,11 @@ View Objects .. seealso:: - `MsiViewExecute `_ - `MSIViewGetColumnInfo `_ - `MsiViewFetch `_ - `MsiViewModify `_ - `MsiViewClose `_ + `MsiViewExecute `_ + `MSIViewGetColumnInfo `_ + `MsiViewFetch `_ + `MsiViewModify `_ + `MsiViewClose `_ .. _summary-objects: @@ -246,10 +246,10 @@ Summary Information Objects .. seealso:: - `MsiSummaryInfoGetProperty `_ - `MsiSummaryInfoGetPropertyCount `_ - `MsiSummaryInfoSetProperty `_ - `MsiSummaryInfoPersist `_ + `MsiSummaryInfoGetProperty `_ + `MsiSummaryInfoGetPropertyCount `_ + `MsiSummaryInfoSetProperty `_ + `MsiSummaryInfoPersist `_ .. _record-objects: @@ -300,11 +300,11 @@ Record Objects .. seealso:: - `MsiRecordGetFieldCount `_ - `MsiRecordSetString `_ - `MsiRecordSetStream `_ - `MsiRecordSetInteger `_ - `MsiRecordClear `_ + `MsiRecordGetFieldCount `_ + `MsiRecordSetString `_ + `MsiRecordSetStream `_ + `MsiRecordSetInteger `_ + `MsiRecordClear `_ .. _msi-errors: @@ -396,10 +396,10 @@ Directory Objects .. seealso:: - `Directory Table `_ - `File Table `_ - `Component Table `_ - `FeatureComponents Table `_ + `Directory Table `_ + `File Table `_ + `Component Table `_ + `FeatureComponents Table `_ .. _features: @@ -424,7 +424,7 @@ Features .. seealso:: - `Feature Table `_ + `Feature Table `_ .. _msi-gui: @@ -519,13 +519,13 @@ for installing Python packages. .. seealso:: - `Dialog Table `_ - `Control Table `_ - `Control Types `_ - `ControlCondition Table `_ - `ControlEvent Table `_ - `EventMapping Table `_ - `RadioButton Table `_ + `Dialog Table `_ + `Control Table `_ + `Control Types `_ + `ControlCondition Table `_ + `ControlEvent Table `_ + `EventMapping Table `_ + `RadioButton Table `_ .. _msi-tables: diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst index c6930c6a53..b8aa1e2d4b 100644 --- a/Doc/library/plistlib.rst +++ b/Doc/library/plistlib.rst @@ -37,7 +37,7 @@ contain control characters. .. seealso:: - `PList manual page `_ + `PList manual page `_ Apple's documentation of the file format. diff --git a/Doc/license.rst b/Doc/license.rst index 3663a883c0..f09f96cc2b 100644 --- a/Doc/license.rst +++ b/Doc/license.rst @@ -27,7 +27,7 @@ https://www.python.org/psf/) was formed, a non-profit organization created specifically to own Python-related Intellectual Property. Zope Corporation is a sponsoring member of the PSF. -All Python releases are Open Source (see http://www.opensource.org/ for the Open +All Python releases are Open Source (see http://opensource.org/ for the Open Source Definition). Historically, most, but not all, Python releases have also been GPL-compatible; the table below summarizes the various releases. diff --git a/Doc/reference/introduction.rst b/Doc/reference/introduction.rst index d75d22b494..a84d8e85ec 100644 --- a/Doc/reference/introduction.rst +++ b/Doc/reference/introduction.rst @@ -65,7 +65,7 @@ IronPython An alternate Python for .NET. Unlike Python.NET, this is a complete Python implementation that generates IL, and compiles Python code directly to .NET assemblies. It was created by Jim Hugunin, the original creator of Jython. For - more information, see `the IronPython website `_. + more information, see `the IronPython website `_. PyPy An implementation of Python written completely in Python. It supports several diff --git a/Doc/tutorial/whatnow.rst b/Doc/tutorial/whatnow.rst index 1ff4ae3d2c..be7a5c1c11 100644 --- a/Doc/tutorial/whatnow.rst +++ b/Doc/tutorial/whatnow.rst @@ -38,12 +38,12 @@ More Python resources: * https://docs.python.org: Fast access to Python's documentation. -* https://pypi.python.org: The Python Package Index, previously also nicknamed +* https://pypi.python.org/pypi: The Python Package Index, previously also nicknamed the Cheese Shop, is an index of user-created Python modules that are available for download. Once you begin releasing code, you can register it here so that others can find it. -* http://aspn.activestate.com/ASPN/Python/Cookbook/: The Python Cookbook is a +* http://code.activestate.com/recipes/langs/python/: The Python Cookbook is a sizable collection of code examples, larger modules, and useful scripts. Particularly notable contributions are collected in a book also titled Python Cookbook (O'Reilly & Associates, ISBN 0-596-00797-3.) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 842b266c6e..b657f3f17c 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -410,7 +410,7 @@ Options you shouldn't use Reserved for use by Jython_. -.. _Jython: http://jython.org +.. _Jython: http://www.jython.org/ .. cmdoption:: -U diff --git a/Doc/using/mac.rst b/Doc/using/mac.rst index 3a6b7976e8..9f47fb4db0 100644 --- a/Doc/using/mac.rst +++ b/Doc/using/mac.rst @@ -71,7 +71,7 @@ the Finder you first need an editor to create your script. Mac OS X comes with a number of standard Unix command line editors, :program:`vim` and :program:`emacs` among them. If you want a more Mac-like editor, :program:`BBEdit` or :program:`TextWrangler` from Bare Bones Software (see -http://www.barebones.com/products/bbedit/index.shtml) are good choices, as is +http://www.barebones.com/products/bbedit/index.html) are good choices, as is :program:`TextMate` (see http://macromates.com/). Other editors include :program:`Gvim` (http://macvim.org) and :program:`Aquamacs` (http://aquamacs.org/). @@ -123,7 +123,7 @@ The IDE MacPython ships with the standard IDLE development environment. A good introduction to using IDLE can be found at -http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html. +https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html. .. _mac-package-manager: @@ -137,7 +137,7 @@ There are several methods to install additional Python packages: setup.py install``). * Many packages can also be installed via the :program:`setuptools` extension - or :program:`pip` wrapper, see http://www.pip-installer.org/. + or :program:`pip` wrapper, see https://pip.pypa.io/. GUI Programming on the Mac @@ -147,7 +147,7 @@ There are several options for building GUI applications on the Mac with Python. *PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework, which is the foundation of most modern Mac development. Information on PyObjC is -available from http://pyobjc.sourceforge.net. +available from https://pythonhosted.org/pyobjc/. The standard Python GUI toolkit is :mod:`Tkinter`, based on the cross-platform Tk toolkit (http://www.tcl.tk). An Aqua-native version of Tk is bundled with OS diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst index 010513b931..b3e6ceda61 100644 --- a/Doc/using/unix.rst +++ b/Doc/using/unix.rst @@ -65,7 +65,7 @@ Building Python If you want to compile CPython yourself, first thing you should do is get the `source `_. You can download either the latest release's source or just grab a fresh `clone -`_. (If you want +`_. (If you want to contribute patches, you will need a clone.) The build process consists in the usual :: @@ -147,5 +147,4 @@ Geany is an excellent IDE with support for a lot of languages. For more information, read: http://www.geany.org/ Komodo edit is another extremely good IDE. It also has support for a lot of -languages. For more information, read: -http://www.activestate.com/store/productdetail.aspx?prdGuid=20f4ed15-6684-4118-a78b-d37ff4058c5f +languages. For more information, read http://komodoide.com/. diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 4911288404..03750f5372 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -31,9 +31,8 @@ Check :pep:`11` for details on all unsupported platforms. following releases), this support was dropped and new releases are just expected to work on the Windows NT family. * `Windows CE `_ is still supported. -* The `Cygwin `_ installer offers to install the `Python - interpreter `_ as well; it is located under - "Interpreters." (cf. `Cygwin package source +* The `Cygwin `_ installer offers to install the Python + interpreter as well (cf. `Cygwin package source `_, `Maintainer releases `_) @@ -47,9 +46,9 @@ for detailed information about platforms with precompiled installers. "7 Minutes to "Hello World!"" by Richard Dooling, 2006 - `Installing on Windows `_ + `Installing on Windows `_ in "`Dive into Python: Python from novice to pro - `_" + `_" by Mark Pilgrim, 2004, ISBN 1-59059-356-1 @@ -69,7 +68,7 @@ key features: `ActivePython `_ Installer with multi-platform compatibility, documentation, PyWin32 -`Enthought Python Distribution `_ +`Enthought Python Distribution `_ Popular modules (such as PyWin32) with their respective documentation, tool suite for building extensible Python applications @@ -294,7 +293,7 @@ Compiling Python on Windows If you want to compile CPython yourself, first thing you should do is get the `source `_. You can download either the latest release's source or just grab a fresh `checkout -`_. +`_. For Microsoft Visual C++, which is the compiler with which official Python releases are built, the source tree contains solutions/project files. View the -- 2.50.1