[pypy-svn] r38679 - pypy/dist/pypy/doc

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Feb 13 12:52:31 CET 2007


Author: cfbolz
Date: Tue Feb 13 12:52:30 2007
New Revision: 38679

Modified:
   pypy/dist/pypy/doc/faq.txt
Log:
move an faq entry around, add cross-linking


Modified: pypy/dist/pypy/doc/faq.txt
==============================================================================
--- pypy/dist/pypy/doc/faq.txt	(original)
+++ pypy/dist/pypy/doc/faq.txt	Tue Feb 13 12:52:30 2007
@@ -14,14 +14,6 @@
 
 XXX
 
------------------------------------------
-Is PyPy a drop in replacement of CPython?
------------------------------------------
-
-No. It's more. For a list of new, unique, features see next questions.
-For using it as an interpreter for existing projects, one of the
-example problems is limited thread support.
-
 ------------------------------------------------------
 Why a new implementation of Python?  What does it add?
 ------------------------------------------------------
@@ -38,6 +30,16 @@
 
 XXX finish that one
 
+-----------------------------------------
+Is PyPy a drop in replacement of CPython?
+-----------------------------------------
+
+Not completely yet. There are various areas where PyPy is lacking, such as
+threading_ and `extension modules`_. The language features (including built in
+types and functions) are very complete and well tested, though. That means that
+projects not using many extension modules can probably directly use PyPy. A
+project using extension modules might get some problems, though.
+
 ------------------------------
 On what platforms does it run?
 ------------------------------
@@ -64,6 +66,8 @@
 important reasons why nobody is working on them is that we did not promise this
 to the EU and have currently enough other tasks.
 
+.. _threading:
+
 -------------------------------------------------
 Do threads work?  What are the modules that work?
 -------------------------------------------------
@@ -92,12 +96,15 @@
 
 .. _`stackless-like microthreads`: stackless.html
 
+
+.. _`extension modules`:
+
 ------------------------------------
 Can I use CPython extension modules?
 ------------------------------------
 
-No and there are no current plans to implement so. CPython extension modules
-relies heavily on CPython's C API which contains a lot of implementation details
+No and there are no current plans to support this. CPython extension modules
+rely heavily on CPython's C API which contains a lot of implementation details
 like reference counting, exact C-level objects implementations etc.
 
 Although if your module uses ctypes rather than C-level code, there is a hope.



More information about the Pypy-commit mailing list