Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r71281:a36e3abccfce
Date: 2014-05-05 12:06 -0700
http://bitbucket.org/pypy/pypy/changeset/a36e3abccfce/
Log: fix translation
diff --git a/pypy/module/_lsprof/interp_lsprof.py
b/pypy/module/_lsprof/interp_lsprof.py
--- a/pypy/module/_lsprof/interp_lsprof.py
+++ b/pypy/module/_lsprof/interp_lsprof.py
@@ -199,7 +199,7 @@
if isinstance(w_type, W_TypeObject):
w_realclass, _ = space.lookup_in_type_where(w_type, name)
if isinstance(w_realclass, W_TypeObject):
- class_name = w_realclass.name
+ class_name = w_realclass.name.decode('utf-8')
else:
name = '?'
if class_name is None:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit