[Python-checkins] r88341 - in python/branches/py3k/Doc/faq: design.rst extending.rst programming.rst
antoine.pitrou
python-checkins at python.org
Sat Feb 5 11:57:17 CET 2011
Author: antoine.pitrou
Date: Sat Feb 5 11:57:17 2011
New Revision: 88341
Log:
Mention Cython and remove obsolete alternatives
Modified:
python/branches/py3k/Doc/faq/design.rst
python/branches/py3k/Doc/faq/extending.rst
python/branches/py3k/Doc/faq/programming.rst
Modified: python/branches/py3k/Doc/faq/design.rst
==============================================================================
--- python/branches/py3k/Doc/faq/design.rst (original)
+++ python/branches/py3k/Doc/faq/design.rst Sat Feb 5 11:57:17 2011
@@ -418,11 +418,9 @@
.. XXX check which of these projects are still alive
There are also several programs which make it easier to intermingle Python and C
-code in various ways to increase performance. See, for example, `Psyco
-<http://psyco.sourceforge.net/>`_, `Pyrex
-<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_, `PyInline
-<http://pyinline.sourceforge.net/>`_, `Py2Cmod
-<http://sourceforge.net/projects/py2cmod/>`_, and `Weave
+code in various ways to increase performance. See, for example, `Cython
+<http://cython.org/>`_, `Pyrex
+<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ and `Weave
<http://www.scipy.org/Weave>`_.
Modified: python/branches/py3k/Doc/faq/extending.rst
==============================================================================
--- python/branches/py3k/Doc/faq/extending.rst (original)
+++ python/branches/py3k/Doc/faq/extending.rst Sat Feb 5 11:57:17 2011
@@ -45,10 +45,11 @@
very little effort, as long as you're running on a machine with an
x86-compatible processor.
-`Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ is a compiler
-that accepts a slightly modified form of Python and generates the corresponding
-C code. Pyrex makes it possible to write an extension without having to learn
-Python's C API.
+`Cython <http://cython.org>`_ and its relative `Pyrex
+<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ are compilers
+that accept a slightly modified form of Python and generate the corresponding
+C code. Cython and Pyrex make it possible to write an extension without having
+to learn Python's C API.
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
Modified: python/branches/py3k/Doc/faq/programming.rst
==============================================================================
--- python/branches/py3k/Doc/faq/programming.rst (original)
+++ python/branches/py3k/Doc/faq/programming.rst Sat Feb 5 11:57:17 2011
@@ -127,9 +127,9 @@
.. XXX seems to have overlap with other questions!
-`Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ can compile a
-slightly modified version of Python code into a C extension, and can be used on
-many different platforms.
+`Cython <http://cython.org>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_
+can compile a slightly modified version of Python code into a C extension, and
+can be used on many different platforms.
`Psyco <http://psyco.sourceforge.net>`_ is a just-in-time compiler that
translates Python code into x86 assembly language. If you can use it, Psyco can
More information about the Python-checkins
mailing list