Author: marky1991
Branch: py3.3
Changeset: r81708:57c626958f94
Date: 2016-01-05 02:23 -0500
http://bitbucket.org/pypy/pypy/changeset/57c626958f94/

Log:    Fix translation error caused by the qualname fix.

diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py
--- a/pypy/interpreter/function.py
+++ b/pypy/interpreter/function.py
@@ -329,7 +329,7 @@
 
         self.space = space
         self.name = space.str_w(w_name)
-        self.qualname = space.str_w(w_qualname)
+        self.qualname = space.str_w(w_qualname).decode("utf-8")
         self.code = space.interp_w(Code, w_code)
         if not space.is_w(w_closure, space.w_None):
             from pypy.interpreter.nestedscope import Cell
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to