Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch:
Changeset: r96363:9f6768bbafd6
Date: 2019-03-27 15:39 +0100
http://bitbucket.org/pypy/pypy/changeset/9f6768bbafd6/
Log: don't use space.str_w
diff --git a/pypy/module/array/interp_array.py
b/pypy/module/array/interp_array.py
--- a/pypy/module/array/interp_array.py
+++ b/pypy/module/array/interp_array.py
@@ -722,7 +722,7 @@
if not e.match(space, space.w_ValueError):
raise
w_exc_value = e.get_w_value(space)
- r = "<%s>" % (space.str_w(w_exc_value),)
+ r = "<%s>" % (space.text_w(w_exc_value),)
else:
r = space.text_w(space.repr(w_unicode))
s = "array('%s', %s)" % (self.typecode, r)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit