[pypy-svn] r35880 - pypy/dist/pypy/doc
arigo at codespeak.net
arigo at codespeak.net
Tue Dec 19 13:36:00 CET 2006
Author: arigo
Date: Tue Dec 19 13:35:59 2006
New Revision: 35880
Modified:
pypy/dist/pypy/doc/stackless.txt
Log:
Mention infinite recursion as an app-level feature of stackless pypy-c
(thanks Lenard).
Modified: pypy/dist/pypy/doc/stackless.txt
==============================================================================
--- pypy/dist/pypy/doc/stackless.txt (original)
+++ pypy/dist/pypy/doc/stackless.txt Tue Dec 19 13:35:59 2006
@@ -6,9 +6,9 @@
================
PyPy can expose to its user language features similar to the ones
-present in `Stackless Python`_: the ability to write code in a massively
-concurrent style. It actually exposes three different paradigms to
-choose from:
+present in `Stackless Python`_: **no recursion depth limit**, and the
+ability to write code in a **massively concurrent style**. It actually
+exposes three different paradigms to choose from:
* `Tasklets and channels`_;
@@ -66,6 +66,17 @@
paradigm. This is discussed in the Composability_ section below.
+Infinite recursion
+++++++++++++++++++
+
+Any stackless PyPy executable natively supports recursion that is only
+limited by the available memory. As in normal Python, though, there is
+an initial recursion limit (which is 5000 in all pypy-c's, and 1000 in
+CPython). It can be changed with ``sys.setrecursionlimit()``. With a
+stackless PyPy, any value is acceptable - use ``sys.maxint`` for
+unlimited.
+
+
Coroutines
++++++++++
More information about the Pypy-commit
mailing list