[pypy-commit] pypy py3k: readapt to py3k
pjenvey
noreply at buildbot.pypy.org
Fri Aug 29 22:19:33 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r73194:a1d33cd5a124
Date: 2014-08-29 13:18 -0700
http://bitbucket.org/pypy/pypy/changeset/a1d33cd5a124/
Log: readapt to py3k
diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.py
--- a/pypy/interpreter/nestedscope.py
+++ b/pypy/interpreter/nestedscope.py
@@ -78,7 +78,7 @@
content = "%s object at 0x%s" % (space.type(self.w_value).name,
self.w_value.getaddrstring(space))
s = "<cell at 0x%s: %s>" % (self.getaddrstring(space), content)
- return space.wrap(s)
+ return space.wrap(s.decode('utf-8'))
def descr__cell_contents(self, space):
try:
More information about the pypy-commit
mailing list