Author: Ronan Lamy <ronan.l...@gmail.com> Branch: py3.5 Changeset: r91277:2157c3d029f1 Date: 2017-05-13 14:59 +0100 http://bitbucket.org/pypy/pypy/changeset/2157c3d029f1/
Log: fix translation diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++ b/pypy/interpreter/baseobjspace.py @@ -79,7 +79,7 @@ def getname(self, space): try: - return space.text_w(space.getattr(self, space.newtext('__name__'))) + return space.unicode_w(space.getattr(self, space.newtext('__name__'))) except OperationError as e: if e.match(space, space.w_TypeError) or e.match(space, space.w_AttributeError): return u'?' _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit