From 09264b66f2fa28cc68433bf3b85e6c6c04403c6f Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 5 Feb 2011 10:57:17 +0000 Subject: [PATCH] Mention Cython and remove obsolete alternatives --- Doc/faq/design.rst | 8 +++----- Doc/faq/extending.rst | 9 +++++---- Doc/faq/programming.rst | 6 +++--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst index 217ee182b9..b9faf576bf 100644 --- a/Doc/faq/design.rst +++ b/Doc/faq/design.rst @@ -418,11 +418,9 @@ much speed. .. 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 -`_, `Pyrex -`_, `PyInline -`_, `Py2Cmod -`_, and `Weave +code in various ways to increase performance. See, for example, `Cython +`_, `Pyrex +`_ and `Weave `_. diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index 678f1bd5da..fa8e6e77ed 100644 --- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -45,10 +45,11 @@ time-critical functions in your code, and gain a significant improvement with very little effort, as long as you're running on a machine with an x86-compatible processor. -`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 `_ and its relative `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 diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index fdfd9ec3d4..07e681837a 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -127,9 +127,9 @@ increased speed. .. XXX seems to have overlap with other questions! -`Pyrex `_ can compile a -slightly modified version of Python code into a C extension, and can be used on -many different platforms. +`Cython `_ and `Pyrex `_ +can compile a slightly modified version of Python code into a C extension, and +can be used on many different platforms. `Psyco `_ is a just-in-time compiler that translates Python code into x86 assembly language. If you can use it, Psyco can -- 2.40.0