[pypy-svn] r34636 - pypy/dist/pypy/lib
fijal at codespeak.net
fijal at codespeak.net
Wed Nov 15 18:10:13 CET 2006
Author: fijal
Date: Wed Nov 15 18:10:12 2006
New Revision: 34636
Modified:
pypy/dist/pypy/lib/stackless.py
Log:
Restore a stack
Modified: pypy/dist/pypy/lib/stackless.py
==============================================================================
--- pypy/dist/pypy/lib/stackless.py (original)
+++ pypy/dist/pypy/lib/stackless.py Wed Nov 15 18:10:12 2006
@@ -57,7 +57,8 @@
def restore_exception(etype, value, stack):
"""until I find out how to restore an exception on python level"""
#sys.excepthook(etype, value, stack)
- raise etype(value)
+ raise etype, value, stack
+ #raise etype(value)
class TaskletProxy(object):
"""TaskletProxy is needed to give the main_coroutine tasklet behaviour"""
More information about the Pypy-commit
mailing list