Commits

Tyler Wade committed 11e3ba8

Re-enable wrapping unicode objects

  • Participants
  • Parent commits 62603ec
  • Branches utf8-unicode2

Comments (0)

Files changed (1)

pypy/objspace/std/objspace.py

             wrappeditems = [self.wrap(item) for item in x]
             return W_FrozensetObject(self, wrappeditems)
 
+        if isinstance(x, unicode):
+            return W_UnicodeObject(Utf8Str.from_unicode(x))
+
         if x is __builtin__.Ellipsis:
             # '__builtin__.Ellipsis' avoids confusion with special.Ellipsis
             return self.w_Ellipsis