Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r65631:f1c3de2cb18c
Date: 2013-07-24 13:56 -0700
http://bitbucket.org/pypy/pypy/changeset/f1c3de2cb18c/
Log: some debugging for mysteriousness on the buildbot
diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py
--- a/pypy/interpreter/error.py
+++ b/pypy/interpreter/error.py
@@ -413,7 +413,11 @@
value = space.type(value)
result = value.getname(space)
else:
- result = unicode(value)
+ try:
+ result = unicode(value)
+ except UnicodeDecodeError:
+ print('_compute_value failed %r' % value)
+ raise
lst[i + i + 1] = result
lst[-1] = self.xstrings[-1]
return u''.join(lst)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit