Commit 19192dd4 authored by Ezio Melotti's avatar Ezio Melotti

Merged revisions 79797 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix some broken URLs.
........
parent 9de5a41a
...@@ -54,7 +54,8 @@ with a tool such as `SWIG <http://www.swig.org>`_. `SIP ...@@ -54,7 +54,8 @@ with a tool such as `SWIG <http://www.swig.org>`_. `SIP
<http://www.riverbankcomputing.co.uk/software/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/Weave>`_ are also alternatives for wrapping C++ libraries. <http://www.scipy.org/Weave>`_ are also alternatives for wrapping
C++ libraries.
How can I execute arbitrary Python statements from C? How can I execute arbitrary Python statements from C?
...@@ -200,7 +201,7 @@ whole lot of difference between C and C++ -- so the strategy of building a new ...@@ -200,7 +201,7 @@ whole lot of difference between C and C++ -- so the strategy of building a new
Python type around a C structure (pointer) type will also work for C++ objects. Python type around a C structure (pointer) type will also work for C++ objects.
For C++ libraries, you can look at `SIP For C++ libraries, you can look at `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>`_, `Weave <http://www.boost.org/libs/python/doc/index.html>`_, `Weave
<http://www.scipy.org/Weave>`_ or `SWIG <http://www.swig.org>`_ <http://www.scipy.org/Weave>`_ or `SWIG <http://www.swig.org>`_
......
...@@ -336,7 +336,7 @@ substring. ...@@ -336,7 +336,7 @@ substring.
List comprehensions and generator expressions (short form: "listcomps" and List comprehensions and generator expressions (short form: "listcomps" and
"genexps") are a concise notation for such operations, borrowed from the "genexps") are a concise notation for such operations, borrowed from the
functional programming language Haskell (http://www.haskell.org). You can strip functional programming language Haskell (http://www.haskell.org/). You can strip
all the whitespace from a stream of strings with the following code:: all the whitespace from a stream of strings with the following code::
line_list = [' line 1\n', 'line 2 \n', ...] line_list = [' line 1\n', 'line 2 \n', ...]
......
...@@ -66,7 +66,7 @@ number of standard Unix command line editors, :program:`vim` and ...@@ -66,7 +66,7 @@ number of standard Unix command line editors, :program:`vim` and
http://www.barebones.com/products/bbedit/index.shtml) are good choices, as is http://www.barebones.com/products/bbedit/index.shtml) are good choices, as is
:program:`TextMate` (see http://macromates.com/). Other editors include :program:`TextMate` (see http://macromates.com/). Other editors include
:program:`Gvim` (http://macvim.org) and :program:`Aquamacs` :program:`Gvim` (http://macvim.org) and :program:`Aquamacs`
(http://aquamacs.org). (http://aquamacs.org/).
To run your script from the Terminal window you must make sure that To run your script from the Terminal window you must make sure that
:file:`/usr/local/bin` is in your shell search path. :file:`/usr/local/bin` is in your shell search path.
......
...@@ -731,7 +731,7 @@ of the more notable changes are: ...@@ -731,7 +731,7 @@ of the more notable changes are:
... ...
For a fuller discussion of the line I/O changes, see the python-dev summary for For a fuller discussion of the line I/O changes, see the python-dev summary for
January 1-15, 2001 at http://www.python.org/dev/summary/2001-01-1.html. January 1-15, 2001 at http://www.python.org/dev/summary/2001-01-1/.
* A new method, :meth:`popitem`, was added to dictionaries to enable * A new method, :meth:`popitem`, was added to dictionaries to enable
destructively iterating through the contents of a dictionary; this can be faster destructively iterating through the contents of a dictionary; this can be faster
......
...@@ -2195,7 +2195,7 @@ changes, or look through the Subversion logs for all the details. ...@@ -2195,7 +2195,7 @@ changes, or look through the Subversion logs for all the details.
This produces better results when operating on Unix's dot-files. This produces better results when operating on Unix's dot-files.
For example, ``os.path.splitext('.ipython')`` For example, ``os.path.splitext('.ipython')``
now returns ``('.ipython', '')`` instead of ``('', '.ipython')``. now returns ``('.ipython', '')`` instead of ``('', '.ipython')``.
(:issue:`115886`) (:issue:`1115886`)
A new function, ``os.path.relpath(path, start='.')``, returns a relative path A new function, ``os.path.relpath(path, start='.')``, returns a relative path
from the ``start`` path, if it's supplied, or from the current from the ``start`` path, if it's supplied, or from the current
......
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