Author: Ronan Lamy <[email protected]>
Branch: less-stringly-ops
Changeset: r66768:e059c6654247
Date: 2013-08-31 18:07 +0100
http://bitbucket.org/pypy/pypy/changeset/e059c6654247/
Log: kill FSException
diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py
--- a/rpython/flowspace/flowcontext.py
+++ b/rpython/flowspace/flowcontext.py
@@ -40,9 +40,6 @@
self.w_type = w_type
self.w_value = w_value
- def get_w_value(self, _):
- return self.w_value
-
def __str__(self):
return '[%s: %s]' % (self.w_type, self.w_value)
@@ -1286,7 +1283,7 @@
# instead of the traceback, we store the unroller object,
# wrapped.
frame.pushvalue(unroller)
- frame.pushvalue(operationerr.get_w_value(frame.space))
+ frame.pushvalue(operationerr.w_value)
frame.pushvalue(operationerr.w_type)
frame.last_exception = operationerr
return self.handlerposition # jump to the handler
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit