Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r66885:8b3000150d65
Date: 2013-09-09 14:26 -0700
http://bitbucket.org/pypy/pypy/changeset/8b3000150d65/

Log:    return a unicode name on py3

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -496,7 +496,7 @@
         name = w_self.name
         if name is None:
             name = '?'
-        return name
+        return name.decode('utf-8')
 
     def add_subclass(w_self, w_subclass):
         space = w_self.space
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to