Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r68979:e50d58dfb04c
Date: 2014-01-28 12:38 -0800
http://bitbucket.org/pypy/pypy/changeset/e50d58dfb04c/
Log: fix get_w_value() failing when called from setup, which can happen
on py3k
diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py
--- a/pypy/interpreter/error.py
+++ b/pypy/interpreter/error.py
@@ -374,8 +374,8 @@
class OpErrFmtNoArgs(OperationError):
def __init__(self, w_type, value):
+ self._value = value
self.setup(w_type)
- self._value = value
def get_w_value(self, space):
w_value = self._w_value
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit