[pypy-svn] r18738 - pypy/extradoc/sprintinfo/paris
arigo at codespeak.net
arigo at codespeak.net
Tue Oct 18 14:44:29 CEST 2005
Author: arigo
Date: Tue Oct 18 14:44:28 2005
New Revision: 18738
Modified:
pypy/extradoc/sprintinfo/paris/stackless-discussion.txt
Log:
Comment about exceptions.
Modified: pypy/extradoc/sprintinfo/paris/stackless-discussion.txt
==============================================================================
--- pypy/extradoc/sprintinfo/paris/stackless-discussion.txt (original)
+++ pypy/extradoc/sprintinfo/paris/stackless-discussion.txt Tue Oct 18 14:44:28 2005
@@ -122,6 +122,10 @@
* every continuation must be resumed once and only once. Not resuming
it at all causes a leak. Resuming it several times causes a crash.
+* a function that called ``yield_continuation()`` should not raise. It
+ would have no implicit continuation to propagate the exception to.
+ That would be a crashingly bad idea.
+
The following example would print the numbers from 1 to 7 in order::
def g():
More information about the Pypy-commit
mailing list