Commit a4314c2b authored by Georg Brandl's avatar Georg Brandl

Fix broken links found by "make linkcheck". scipy.org seems to be done right...

Fix broken links found by "make linkcheck".  scipy.org seems to be done right now, so I could not verify links going there.
parent 6728c5a7
...@@ -396,12 +396,13 @@ calls into the Python run-time system, even for seemingly simple operations like ...@@ -396,12 +396,13 @@ calls into the Python run-time system, even for seemingly simple operations like
``x+1``. ``x+1``.
Several projects described in the Python newsgroup or at past `Python Several projects described in the Python newsgroup or at past `Python
conferences <http://python.org/community/workshops/>`_ have shown that this approach is feasible, conferences <http://python.org/community/workshops/>`_ have shown that this
although the speedups reached so far are only modest (e.g. 2x). Jython uses the approach is feasible, although the speedups reached so far are only modest
same strategy for compiling to Java bytecode. (Jim Hugunin has demonstrated (e.g. 2x). Jython uses the same strategy for compiling to Java bytecode. (Jim
that in combination with whole-program analysis, speedups of 1000x are feasible Hugunin has demonstrated that in combination with whole-program analysis,
for small demo programs. See the proceedings from the `1997 Python conference speedups of 1000x are feasible for small demo programs. See the proceedings
<http://python.org/community/workshops/1997-10/proceedings/>`_ for more information.) from the `1997 Python conference
<http://python.org/workshops/1997-10/proceedings/>`_ for more information.)
Internally, Python source code is always translated into a bytecode Internally, Python source code is always translated into a bytecode
representation, and this bytecode is then executed by the Python virtual representation, and this bytecode is then executed by the Python virtual
......
...@@ -48,7 +48,7 @@ Python's C API. ...@@ -48,7 +48,7 @@ Python's C API.
If you need to interface to some C or C++ library for which no Python extension If you need to interface to some C or C++ library for which no Python extension
currently exists, you can try wrapping the library's data types and functions currently exists, you can try wrapping the library's data types and functions
with a tool such as `SWIG <http://www.swig.org>`_. `SIP with a tool such as `SWIG <http://www.swig.org>`_. `SIP
<http://www.riverbankcomputing.co.uk/sip/>`_, `CXX <http://www.riverbankcomputing.co.uk/software/sip/>`_, `CXX
<http://cxx.sourceforge.net/>`_ `Boost <http://cxx.sourceforge.net/>`_ `Boost
<http://www.boost.org/libs/python/doc/index.html>`_, or `Weave <http://www.boost.org/libs/python/doc/index.html>`_, or `Weave
<http://www.scipy.org/site_content/weave>`_ are also alternatives for wrapping <http://www.scipy.org/site_content/weave>`_ are also alternatives for wrapping
......
...@@ -164,9 +164,10 @@ Sphinx-formatted documentation, Python library modules, example programs, and ...@@ -164,9 +164,10 @@ Sphinx-formatted documentation, Python library modules, example programs, and
several useful pieces of freely distributable software. The source will compile several useful pieces of freely distributable software. The source will compile
and run out of the box on most UNIX platforms. and run out of the box on most UNIX platforms.
Consult the `Developer FAQ .. XXX update link once the dev faq is relocated
<http://www.python.org/dev/devfaq.html#subversion-svn>`__ for more information
on getting the source code and compiling it. Consult the `Developer FAQ <http://www.python.org/dev/faq/>`__ for more
information on getting the source code and compiling it.
How do I get documentation on Python? How do I get documentation on Python?
...@@ -176,7 +177,7 @@ How do I get documentation on Python? ...@@ -176,7 +177,7 @@ How do I get documentation on Python?
The standard documentation for the current stable version of Python is available The standard documentation for the current stable version of Python is available
at http://docs.python.org/. PDF, plain text, and downloadable HTML versions are at http://docs.python.org/. PDF, plain text, and downloadable HTML versions are
also available at http://docs.python.org/download/. also available at http://docs.python.org/download.html.
The documentation is written in reStructuredText and processed by `the Sphinx The documentation is written in reStructuredText and processed by `the Sphinx
documentation tool <http://sphinx.pocoo.org/>`__. The reStructuredText source documentation tool <http://sphinx.pocoo.org/>`__. The reStructuredText source
...@@ -220,8 +221,10 @@ releases are announced on the comp.lang.python and comp.lang.python.announce ...@@ -220,8 +221,10 @@ releases are announced on the comp.lang.python and comp.lang.python.announce
newsgroups and on the Python home page at http://www.python.org/; an RSS feed of newsgroups and on the Python home page at http://www.python.org/; an RSS feed of
news is available. news is available.
.. XXX update link once the dev faq is relocated
You can also access the development version of Python through Subversion. See You can also access the development version of Python through Subversion. See
http://www.python.org/dev/devfaq.html#subversion-svn for details. http://www.python.org/dev/faq/ for details.
How do I submit bug reports and patches for Python? How do I submit bug reports and patches for Python?
......
...@@ -45,11 +45,12 @@ Qt ...@@ -45,11 +45,12 @@ Qt
''' '''
There are bindings available for the Qt toolkit (`PyQt There are bindings available for the Qt toolkit (`PyQt
<http://www.riverbankcomputing.co.uk/pyqt/>`_) and for KDE (PyKDE). If you're <http://www.riverbankcomputing.co.uk/software/pyqt/>`_) and for KDE (PyKDE). If
writing open source software, you don't need to pay for PyQt, but if you want to you're writing open source software, you don't need to pay for PyQt, but if you
write proprietary applications, you must buy a PyQt license from `Riverbank want to write proprietary applications, you must buy a PyQt license from
Computing <http://www.riverbankcomputing.co.uk>`_ and a Qt license from `Riverbank Computing <http://www.riverbankcomputing.co.uk>`_ and (up to Qt 4.4;
`Trolltech <http://www.trolltech.com>`_. Qt 4.5 upwards is licensed under the LGPL license) a Qt license from `Trolltech
<http://www.trolltech.com>`_.
Gtk+ Gtk+
'''' ''''
......
...@@ -16,14 +16,10 @@ Check :ref:`the Library Reference <library-index>` to see if there's a relevant ...@@ -16,14 +16,10 @@ Check :ref:`the Library Reference <library-index>` to see if there's a relevant
standard library module. (Eventually you'll learn what's in the standard standard library module. (Eventually you'll learn what's in the standard
library and will able to skip this step.) library and will able to skip this step.)
Search the `Python Package Index <http://pypi.python.org/pypi>`_. For third-party packages, search the `Python Package Index
<http://pypi.python.org/pypi>`_ or try `Google <http://www.google.com>`_ or
Next, check the `Vaults of Parnassus <http://www.vex.net/parnassus/>`_, an older another Web search engine. Searching for "Python" plus a keyword or two for
index of packages. your topic of interest will usually find something helpful.
Finally, try `Google <http://www.google.com>`_ or other Web search engine.
Searching for "Python" plus a keyword or two for your topic of interest will
usually find something helpful.
Where is the math.py (socket.py, regex.py, etc.) source file? Where is the math.py (socket.py, regex.py, etc.) source file?
...@@ -181,11 +177,10 @@ in Python. ...@@ -181,11 +177,10 @@ in Python.
How do I create documentation from doc strings? How do I create documentation from doc strings?
----------------------------------------------- -----------------------------------------------
.. XXX mention Sphinx/epydoc
The :mod:`pydoc` module can create HTML from the doc strings in your Python The :mod:`pydoc` module can create HTML from the doc strings in your Python
source code. An alternative is `pythondoc source code. An alternative for creating API documentation purely from
<http://starship.python.net/crew/danilo/pythondoc/>`_. docstrings is `epydoc <http://epydoc.sf.net/>`_. `Sphinx
<http://sphinx.pocoo.org>`_ can also include docstring content.
How do I get a single keypress at a time? How do I get a single keypress at a time?
...@@ -239,7 +234,7 @@ The :mod:`threading` module builds convenient abstractions on top of the ...@@ -239,7 +234,7 @@ The :mod:`threading` module builds convenient abstractions on top of the
low-level primitives provided by the :mod:`thread` module. low-level primitives provided by the :mod:`thread` module.
Aahz has a set of slides from his threading tutorial that are helpful; see Aahz has a set of slides from his threading tutorial that are helpful; see
http://starship.python.net/crew/aahz/OSCON2001/. http://www.pythoncraft.com/OSCON2001/.
None of my threads seem to run: why? None of my threads seem to run: why?
...@@ -399,6 +394,7 @@ Can't we get rid of the Global Interpreter Lock? ...@@ -399,6 +394,7 @@ Can't we get rid of the Global Interpreter Lock?
------------------------------------------------ ------------------------------------------------
.. XXX mention multiprocessing .. XXX mention multiprocessing
.. XXX link to dbeazley's talk about GIL?
The Global Interpreter Lock (GIL) is often seen as a hindrance to Python's The Global Interpreter Lock (GIL) is often seen as a hindrance to Python's
deployment on high-end multiprocessor server machines, because a multi-threaded deployment on high-end multiprocessor server machines, because a multi-threaded
...@@ -585,7 +581,7 @@ substituted for standard input and output. You will have to use pseudo ttys ...@@ -585,7 +581,7 @@ substituted for standard input and output. You will have to use pseudo ttys
("ptys") instead of pipes. Or you can use a Python interface to Don Libes' ("ptys") instead of pipes. Or you can use a Python interface to Don Libes'
"expect" library. A Python extension that interfaces to expect is called "expy" "expect" library. A Python extension that interfaces to expect is called "expy"
and available from http://expectpy.sourceforge.net. A pure Python solution that and available from http://expectpy.sourceforge.net. A pure Python solution that
works like expect is ` pexpect <http://pexpect.sourceforge.net>`_. works like expect is `pexpect <http://pypi.python.org/pypi/pexpect/>`_.
How do I access the serial (RS232) port? How do I access the serial (RS232) port?
......
...@@ -67,8 +67,8 @@ plug-ins to add a custom feature. In addition to the bug checking that ...@@ -67,8 +67,8 @@ plug-ins to add a custom feature. In addition to the bug checking that
PyChecker performs, Pylint offers some additional features such as checking line PyChecker performs, Pylint offers some additional features such as checking line
length, whether variable names are well-formed according to your coding length, whether variable names are well-formed according to your coding
standard, whether declared interfaces are fully implemented, and more. standard, whether declared interfaces are fully implemented, and more.
http://www.logilab.org/projects/pylint/documentation provides a full list of http://www.logilab.org/card/pylint_manual provides a full list of Pylint's
Pylint's features. features.
How can I create a stand-alone binary from a Python script? How can I create a stand-alone binary from a Python script?
...@@ -1141,7 +1141,7 @@ use a list comprehension:: ...@@ -1141,7 +1141,7 @@ use a list comprehension::
A = [[None] * w for i in range(h)] A = [[None] * w for i in range(h)]
Or, you can use an extension that provides a matrix datatype; `Numeric Python Or, you can use an extension that provides a matrix datatype; `Numeric Python
<http://www.pfdubois.com/numpy/>`_ is the best known. <http://numpy.scipy.org/>`_ is the best known.
How do I apply a method to a sequence of objects? How do I apply a method to a sequence of objects?
......
...@@ -389,10 +389,10 @@ need):: ...@@ -389,10 +389,10 @@ need)::
.py :REG_SZ: c:\<path to python>\python.exe -u %s %s .py :REG_SZ: c:\<path to python>\python.exe -u %s %s
This line will allow you to call your script with a simple reference like: This line will allow you to call your script with a simple reference like:
http://yourserver/scripts/yourscript.py provided "scripts" is an "executable" ``http://yourserver/scripts/yourscript.py`` provided "scripts" is an
directory for your server (which it usually is by default). The "-u" flag "executable" directory for your server (which it usually is by default). The
specifies unbuffered and binary mode for stdin - needed when working with binary :option:`-u` flag specifies unbuffered and binary mode for stdin - needed when
data. working with binary data.
In addition, it is recommended that using ".py" may not be a good idea for the In addition, it is recommended that using ".py" may not be a good idea for the
file extensions when used in this context (you might want to reserve ``*.py`` file extensions when used in this context (you might want to reserve ``*.py``
...@@ -517,7 +517,7 @@ Why doesn't os.popen()/win32pipe.popen() work on Win9x? ...@@ -517,7 +517,7 @@ Why doesn't os.popen()/win32pipe.popen() work on Win9x?
There is a bug in Win9x that prevents os.popen/win32pipe.popen* from There is a bug in Win9x that prevents os.popen/win32pipe.popen* from
working. The good news is there is a way to work around this problem. The working. The good news is there is a way to work around this problem. The
Microsoft Knowledge Base article that you need to lookup is: Q150956. You will Microsoft Knowledge Base article that you need to lookup is: Q150956. You will
find links to the knowledge base at: http://www.microsoft.com/kb. find links to the knowledge base at: http://support.microsoft.com/.
PyRun_SimpleFile() crashes on Windows but not on Unix; why? PyRun_SimpleFile() crashes on Windows but not on Unix; why?
...@@ -604,4 +604,4 @@ Tim Peters: ...@@ -604,4 +604,4 @@ Tim Peters:
we can't fix it). we can't fix it).
David A Burton has written a little program to fix this. Go to David A Burton has written a little program to fix this. Go to
http://www.burtonsys.com/download.html and click on "ctl3dfix.zip". http://www.burtonsys.com/downloads.html and click on "ctl3dfix.zip".
...@@ -472,7 +472,7 @@ These are grouped into categories such as "Letter", "Number", "Punctuation", or ...@@ -472,7 +472,7 @@ These are grouped into categories such as "Letter", "Number", "Punctuation", or
from the above output, ``'Ll'`` means 'Letter, lowercase', ``'No'`` means from the above output, ``'Ll'`` means 'Letter, lowercase', ``'No'`` means
"Number, other", ``'Mn'`` is "Mark, nonspacing", and ``'So'`` is "Symbol, "Number, other", ``'Mn'`` is "Mark, nonspacing", and ``'So'`` is "Symbol,
other". See other". See
<http://www.unicode.org/Public/UNIDATA/UCD.html#General_Category_Values> for a <http://unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values> for a
list of category codes. list of category codes.
References References
......
...@@ -270,8 +270,7 @@ Depending on the web server you need to have a special module. ...@@ -270,8 +270,7 @@ Depending on the web server you need to have a special module.
* lighttpd ships its own `FastCGI module * lighttpd ships its own `FastCGI module
<http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI>`_ as well as an `SCGI <http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI>`_ as well as an `SCGI
module <http://trac.lighttpd.net/trac/wiki/Docs%3AModSCGI>`_. module <http://trac.lighttpd.net/trac/wiki/Docs%3AModSCGI>`_.
* nginx also supports `FastCGI * nginx also supports `FastCGI <http://wiki.nginx.org/NginxSimplePythonFCGI>`_.
<http://wiki.codemongers.com/NginxSimplePythonFCGI>`_.
Once you have installed and configured the module, you can test it with the Once you have installed and configured the module, you can test it with the
following WSGI-application:: following WSGI-application::
...@@ -524,7 +523,7 @@ the text of a wiki page. As always, there are different ways to store ...@@ -524,7 +523,7 @@ the text of a wiki page. As always, there are different ways to store
informations on a web server. informations on a web server.
Often relational database engines like `MySQL <http://www.mysql.com/>`_ or Often relational database engines like `MySQL <http://www.mysql.com/>`_ or
`PostgreSQL <http://http://www.postgresql.org/>`_ are used due to their good `PostgreSQL <http://www.postgresql.org/>`_ are used due to their good
performance handling very large databases consisting of up to millions of performance handling very large databases consisting of up to millions of
entries. These are *queried* using a language called `SQL entries. These are *queried* using a language called `SQL
<http://en.wikipedia.org/wiki/SQL>`_. Python programmers in general do not like <http://en.wikipedia.org/wiki/SQL>`_. Python programmers in general do not like
...@@ -628,7 +627,7 @@ which make it possible to write web sites nearly without any Python code. ...@@ -628,7 +627,7 @@ which make it possible to write web sites nearly without any Python code.
It has a big, international community which has created many sites using Django. It has a big, international community which has created many sites using Django.
There are also quite a lot of add-on projects which extend Django's normal There are also quite a lot of add-on projects which extend Django's normal
functionality. This is partly due to Django's well written `online functionality. This is partly due to Django's well written `online
documentation <http://doc.djangoproject.com/>`_ and the `Django book documentation <http://docs.djangoproject.com/>`_ and the `Django book
<http://www.djangobook.com/>`_. <http://www.djangobook.com/>`_.
......
...@@ -940,7 +940,8 @@ following steps. ...@@ -940,7 +940,8 @@ following steps.
These compilers require some special libraries. This task is more complex than These compilers require some special libraries. This task is more complex than
for Borland's C++, because there is no program to convert the library. First for Borland's C++, because there is no program to convert the library. First
you have to create a list of symbols which the Python DLL exports. (You can find you have to create a list of symbols which the Python DLL exports. (You can find
a good program for this task at http://www.emmestech.com/software/cygwin/pexports-0.43/download_pexports.html) a good program for this task at
http://www.emmestech.com/software/pexports-0.43/download_pexports.html).
.. I don't understand what the next line means. --amk .. I don't understand what the next line means. --amk
.. (inclusive the references on data structures.) .. (inclusive the references on data structures.)
......
...@@ -602,7 +602,7 @@ Maildir, mbox, MH, Babyl, and MMDF. ...@@ -602,7 +602,7 @@ Maildir, mbox, MH, Babyl, and MMDF.
`nmh - Message Handling System <http://www.nongnu.org/nmh/>`_ `nmh - Message Handling System <http://www.nongnu.org/nmh/>`_
Home page of :program:`nmh`, an updated version of the original :program:`mh`. Home page of :program:`nmh`, an updated version of the original :program:`mh`.
`MH & nmh: Email for Users & Programmers <http://www.ics.uci.edu/~mh/book/>`_ `MH & nmh: Email for Users & Programmers <http://rand-mh.sourceforge.net/book/>`_
A GPL-licensed book on :program:`mh` and :program:`nmh`, with some information A GPL-licensed book on :program:`mh` and :program:`nmh`, with some information
on the mailbox format. on the mailbox format.
......
...@@ -396,10 +396,10 @@ Directory Objects ...@@ -396,10 +396,10 @@ Directory Objects
.. seealso:: .. seealso::
`Directory Table <http://msdn.microsoft.com/library/en-us/msi/setup/directory_table.asp>`_ `Directory Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/directory_table.asp>`_
`File Table <http://msdn.microsoft.com/library/en-us/msi/setup/file_table.asp>`_ `File Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/file_table.asp>`_
`Component Table <http://msdn.microsoft.com/library/en-us/msi/setup/component_table.asp>`_ `Component Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/component_table.asp>`_
`FeatureComponents Table <http://msdn.microsoft.com/library/en-us/msi/setup/featurecomponents_table.asp>`_ `FeatureComponents Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/featurecomponents_table.asp>`_
.. _features: .. _features:
...@@ -424,7 +424,7 @@ Features ...@@ -424,7 +424,7 @@ Features
.. seealso:: .. seealso::
`Feature Table <http://msdn.microsoft.com/library/en-us/msi/setup/feature_table.asp>`_ `Feature Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/feature_table.asp>`_
.. _msi-gui: .. _msi-gui:
...@@ -518,13 +518,13 @@ to create MSI files with a user-interface for installing Python packages. ...@@ -518,13 +518,13 @@ to create MSI files with a user-interface for installing Python packages.
.. seealso:: .. seealso::
`Dialog Table <http://msdn.microsoft.com/library/en-us/msi/setup/dialog_table.asp>`_ `Dialog Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/dialog_table.asp>`_
`Control Table <http://msdn.microsoft.com/library/en-us/msi/setup/control_table.asp>`_ `Control Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/control_table.asp>`_
`Control Types <http://msdn.microsoft.com/library/en-us/msi/setup/controls.asp>`_ `Control Types <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/controls.asp>`_
`ControlCondition Table <http://msdn.microsoft.com/library/en-us/msi/setup/controlcondition_table.asp>`_ `ControlCondition Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/controlcondition_table.asp>`_
`ControlEvent Table <http://msdn.microsoft.com/library/en-us/msi/setup/controlevent_table.asp>`_ `ControlEvent Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/controlevent_table.asp>`_
`EventMapping Table <http://msdn.microsoft.com/library/en-us/msi/setup/eventmapping_table.asp>`_ `EventMapping Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/eventmapping_table.asp>`_
`RadioButton Table <http://msdn.microsoft.com/library/en-us/msi/setup/radiobutton_table.asp>`_ `RadioButton Table <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/radiobutton_table.asp>`_
.. _msi-tables: .. _msi-tables:
...@@ -553,5 +553,3 @@ definitions. Currently, these definitions are based on MSI version 2.0. ...@@ -553,5 +553,3 @@ definitions. Currently, these definitions are based on MSI version 2.0.
This module contains definitions for the UIText and ActionText tables, for the This module contains definitions for the UIText and ActionText tables, for the
standard installer actions. standard installer actions.
...@@ -43,7 +43,7 @@ also available for Python: ...@@ -43,7 +43,7 @@ also available for Python:
`PythonCAD <http://www.pythoncad.org/>`_. An online `tutorial `PythonCAD <http://www.pythoncad.org/>`_. An online `tutorial
<http://www.pygtk.org/pygtk2tutorial/index.html>`_ is available. <http://www.pygtk.org/pygtk2tutorial/index.html>`_ is available.
`PyQt <http://www.riverbankcomputing.co.uk/pyqt/index.php>`_ `PyQt <http://www.riverbankcomputing.co.uk/software/pyqt/>`_
PyQt is a :program:`sip`\ -wrapped binding to the Qt toolkit. Qt is an PyQt is a :program:`sip`\ -wrapped binding to the Qt toolkit. Qt is an
extensive C++ GUI application development framework that is extensive C++ GUI application development framework that is
available for Unix, Windows and Mac OS X. :program:`sip` is a tool available for Unix, Windows and Mac OS X. :program:`sip` is a tool
......
...@@ -69,7 +69,7 @@ key features: ...@@ -69,7 +69,7 @@ key features:
`ActivePython <http://www.activestate.com/Products/activepython/>`_ `ActivePython <http://www.activestate.com/Products/activepython/>`_
Installer with multi-platform compatibility, documentation, PyWin32 Installer with multi-platform compatibility, documentation, PyWin32
`Python Enthought Edition <http://code.enthought.com/enthon/>`_ `Enthought Python Distribution <http://www.enthought.com/products/epd.php>`_
Popular modules (such as PyWin32) with their respective documentation, tool Popular modules (such as PyWin32) with their respective documentation, tool
suite for building extensible python applications suite for building extensible python applications
...@@ -223,8 +223,7 @@ utilities for: ...@@ -223,8 +223,7 @@ utilities for:
* Win32 API calls * Win32 API calls
* Registry * Registry
* Event log * Event log
* `Microsoft Foundation Classes <http://msdn.microsoft.com/library/ * `Microsoft Foundation Classes <http://msdn.microsoft.com/en-us/library/fe1cf721%28VS.80%29.aspx>`_ (MFC)
en-us/vclib/html/_mfc_Class_Library_Reference_Introduction.asp>`_ (MFC)
user interfaces user interfaces
`PythonWin <http://web.archive.org/web/20060524042422/ `PythonWin <http://web.archive.org/web/20060524042422/
...@@ -301,7 +300,7 @@ For extension modules, consult :ref:`building-on-windows`. ...@@ -301,7 +300,7 @@ For extension modules, consult :ref:`building-on-windows`.
MinGW gcc under Windows" or "Installing Python extension with distutils MinGW gcc under Windows" or "Installing Python extension with distutils
and without Microsoft Visual C++" by Sébastien Sauvage, 2003 and without Microsoft Visual C++" by Sébastien Sauvage, 2003
`MingW -- Python extensions <http://www.mingw.org/MinGWiki/index.php/Python%20extensions>`_ `MingW -- Python extensions <http://oldwiki.mingw.org/index.php/Python%20extensions>`_
by Trent Apted et al, 2007 by Trent Apted et al, 2007
......
...@@ -572,8 +572,7 @@ Work has been done on porting Python to 64-bit Windows on the Itanium processor, ...@@ -572,8 +572,7 @@ Work has been done on porting Python to 64-bit Windows on the Itanium processor,
mostly by Trent Mick of ActiveState. (Confusingly, ``sys.platform`` is still mostly by Trent Mick of ActiveState. (Confusingly, ``sys.platform`` is still
``'win32'`` on Win64 because it seems that for ease of porting, MS Visual C++ ``'win32'`` on Win64 because it seems that for ease of porting, MS Visual C++
treats code as 32 bit on Itanium.) PythonWin also supports Windows CE; see the treats code as 32 bit on Itanium.) PythonWin also supports Windows CE; see the
Python CE page at http://starship.python.net/crew/mhammond/ce/ for more Python CE page at http://pythonce.sourceforge.net/ for more information.
information.
Another new platform is Darwin/MacOS X; initial support for it is in Python 2.0. Another new platform is Darwin/MacOS X; initial support for it is in Python 2.0.
Dynamic loading works, if you specify "configure --with-dyld --with-suffix=.x". Dynamic loading works, if you specify "configure --with-dyld --with-suffix=.x".
...@@ -1041,8 +1040,8 @@ sent over a socket. When compiling Python, you can edit :file:`Modules/Setup` ...@@ -1041,8 +1040,8 @@ sent over a socket. When compiling Python, you can edit :file:`Modules/Setup`
to include SSL support, which adds an additional function to the :mod:`socket` to include SSL support, which adds an additional function to the :mod:`socket`
module: :func:`socket.ssl(socket, keyfile, certfile)`, which takes a socket module: :func:`socket.ssl(socket, keyfile, certfile)`, which takes a socket
object and returns an SSL socket. The :mod:`httplib` and :mod:`urllib` modules object and returns an SSL socket. The :mod:`httplib` and :mod:`urllib` modules
were also changed to support "https://" URLs, though no one has implemented FTP were also changed to support ``https://`` URLs, though no one has implemented
or SMTP over SSL. FTP or SMTP over SSL.
The :mod:`httplib` module has been rewritten by Greg Stein to support HTTP/1.1. The :mod:`httplib` module has been rewritten by Greg Stein to support HTTP/1.1.
Backward compatibility with the 1.5 version of :mod:`httplib` is provided, Backward compatibility with the 1.5 version of :mod:`httplib` is provided,
......
...@@ -30,7 +30,7 @@ understand the complete implementation and design rationale for a change, refer ...@@ -30,7 +30,7 @@ understand the complete implementation and design rationale for a change, refer
to the PEP for a particular new feature. to the PEP for a particular new feature.
.. seealso:: .. seealso (now defunct)
http://www.unixreview.com/documents/s=1356/urm0109h/0109h.htm http://www.unixreview.com/documents/s=1356/urm0109h/0109h.htm
"What's So Special About Python 2.2?" is also about the new 2.2 features, and "What's So Special About Python 2.2?" is also about the new 2.2 features, and
...@@ -49,14 +49,14 @@ amazing new capabilities. Before beginning this, the longest and most ...@@ -49,14 +49,14 @@ amazing new capabilities. Before beginning this, the longest and most
complicated section of this article, I'll provide an overview of the changes and complicated section of this article, I'll provide an overview of the changes and
offer some comments. offer some comments.
A long time ago I wrote a Web page (http://www.amk.ca/python/writing/warts.html) A long time ago I wrote a Web page listing flaws in Python's design. One of the
listing flaws in Python's design. One of the most significant flaws was that most significant flaws was that it's impossible to subclass Python types
it's impossible to subclass Python types implemented in C. In particular, it's implemented in C. In particular, it's not possible to subclass built-in types,
not possible to subclass built-in types, so you can't just subclass, say, lists so you can't just subclass, say, lists in order to add a single useful method to
in order to add a single useful method to them. The :mod:`UserList` module them. The :mod:`UserList` module provides a class that supports all of the
provides a class that supports all of the methods of lists and that can be methods of lists and that can be subclassed further, but there's lots of C code
subclassed further, but there's lots of C code that expects a regular Python that expects a regular Python list and won't accept a :class:`UserList`
list and won't accept a :class:`UserList` instance. instance.
Python 2.2 fixes this, and in the process adds some exciting new capabilities. Python 2.2 fixes this, and in the process adds some exciting new capabilities.
A brief summary: A brief summary:
......
...@@ -1855,10 +1855,10 @@ and bundle it with the source of your extension. ...@@ -1855,10 +1855,10 @@ and bundle it with the source of your extension.
.. seealso:: .. seealso::
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/Objects/obmalloc.c http://svn.python.org/view/python/trunk/Objects/obmalloc.c
For the full details of the pymalloc implementation, see the comments at the top For the full details of the pymalloc implementation, see the comments at
of the file :file:`Objects/obmalloc.c` in the Python source code. The above the top of the file :file:`Objects/obmalloc.c` in the Python source code.
link points to the file within the SourceForge CVS browser. The above link points to the file within the python.org SVN browser.
.. ====================================================================== .. ======================================================================
......
...@@ -680,9 +680,6 @@ includes a quick-start tutorial and a reference. ...@@ -680,9 +680,6 @@ includes a quick-start tutorial and a reference.
Written by Facundo Batista and implemented by Facundo Batista, Eric Price, Written by Facundo Batista and implemented by Facundo Batista, Eric Price,
Raymond Hettinger, Aahz, and Tim Peters. Raymond Hettinger, Aahz, and Tim Peters.
http://research.microsoft.com/~hollasch/cgindex/coding/ieeefloat.html
A more detailed overview of the IEEE-754 representation.
http://www.lahey.com/float.htm http://www.lahey.com/float.htm
The article uses Fortran code to illustrate many of the problems that floating- The article uses Fortran code to illustrate many of the problems that floating-
point inaccuracy can cause. point inaccuracy can cause.
...@@ -756,7 +753,7 @@ API that perform ASCII-only conversions, ignoring the locale setting: ...@@ -756,7 +753,7 @@ API that perform ASCII-only conversions, ignoring the locale setting:
:ctype:`double` to an ASCII string. :ctype:`double` to an ASCII string.
The code for these functions came from the GLib library The code for these functions came from the GLib library
(http://developer.gnome.org/arch/gtk/glib.html), whose developers kindly (http://library.gnome.org/devel/glib/stable/), whose developers kindly
relicensed the relevant functions and donated them to the Python Software relicensed the relevant functions and donated them to the Python Software
Foundation. The :mod:`locale` module can now change the numeric locale, Foundation. The :mod:`locale` module can now change the numeric locale,
letting extensions such as GTK+ produce the correct results. letting extensions such as GTK+ produce the correct results.
......
...@@ -1824,7 +1824,7 @@ changes, or look through the Subversion logs for all the details. ...@@ -1824,7 +1824,7 @@ changes, or look through the Subversion logs for all the details.
The :mod:`bsddb.dbshelve` module now uses the highest pickling protocol The :mod:`bsddb.dbshelve` module now uses the highest pickling protocol
available, instead of restricting itself to protocol 1. available, instead of restricting itself to protocol 1.
(Contributed by W. Barnes; :issue:`1551443`.) (Contributed by W. Barnes.)
* The :mod:`cgi` module will now read variables from the query string * The :mod:`cgi` module will now read variables from the query string
of an HTTP POST request. This makes it possible to use form actions of an HTTP POST request. This makes it possible to use form actions
...@@ -2977,7 +2977,7 @@ Changes to Python's build process and to the C API include: ...@@ -2977,7 +2977,7 @@ Changes to Python's build process and to the C API include:
* The BerkeleyDB module now has a C API object, available as * The BerkeleyDB module now has a C API object, available as
``bsddb.db.api``. This object can be used by other C extensions ``bsddb.db.api``. This object can be used by other C extensions
that wish to use the :mod:`bsddb` module for their own purposes. that wish to use the :mod:`bsddb` module for their own purposes.
(Contributed by Duncan Grisby; :issue:`1551895`.) (Contributed by Duncan Grisby.)
* The new buffer interface, previously described in * The new buffer interface, previously described in
`the PEP 3118 section <#pep-3118-revised-buffer-protocol>`__, `the PEP 3118 section <#pep-3118-revised-buffer-protocol>`__,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment