[pypy-commit] pypy py3.3: Fix translation error caused by the qualname fix.
marky1991
pypy.commits at gmail.com
Tue Jan 12 22:24:06 EST 2016
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
More information about the pypy-commit
mailing list