[pypy-svn] r29361 - in pypy/dist/pypy/lib: . test2

auc at codespeak.net auc at codespeak.net
Mon Jun 26 17:30:29 CEST 2006


Author: auc
Date: Mon Jun 26 17:30:27 2006
New Revision: 29361

Modified:
   pypy/dist/pypy/lib/stackless.py
   pypy/dist/pypy/lib/test2/test_stackless.py
Log:
add missing slot in tasklet proxy (main coroutine)

Modified: pypy/dist/pypy/lib/stackless.py
==============================================================================
--- pypy/dist/pypy/lib/stackless.py	(original)
+++ pypy/dist/pypy/lib/stackless.py	Mon Jun 26 17:30:27 2006
@@ -65,6 +65,7 @@
         self.alive = True
         self.atomic = False
         self.blocked = 0
+        self.block_trap = False
         self.frame = None
         self.ignore_nesting = False
         self.is_current = False

Modified: pypy/dist/pypy/lib/test2/test_stackless.py
==============================================================================
--- pypy/dist/pypy/lib/test2/test_stackless.py	(original)
+++ pypy/dist/pypy/lib/test2/test_stackless.py	Mon Jun 26 17:30:27 2006
@@ -20,7 +20,7 @@
         X.send(42)
         assert Y.receive() == 42
 
-    def notest_nested_pipe(self):
+    def test_nested_pipe(self):
         """
         XXX: fails complaining that some coroutine hasn't the
              block_trap attribute/slot



More information about the Pypy-commit mailing list