Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r89605:c58c4ce4b2ad Date: 2017-01-16 08:56 +0100 http://bitbucket.org/pypy/pypy/changeset/c58c4ce4b2ad/
Log: Fix (see _cffi_backend/test) diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py --- a/pypy/objspace/std/objspace.py +++ b/pypy/objspace/std/objspace.py @@ -715,8 +715,8 @@ def getfulltypename(self, w_obj): w_type = self.type(w_obj) - classname = w_type.getqualname(self) if w_type.is_heaptype(): + classname = w_type.getqualname(self) w_module = w_type.lookup("__module__") if w_module is not None: try: @@ -726,4 +726,6 @@ raise else: classname = u'%s.%s' % (modulename, classname) + else: + classname = w_type.name.decode('utf-8') return classname _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit