Source

pyobjc / pyobjc-core / Lib / objc / _pycoder.py

Diff from to

pyobjc-core/Lib/objc/_pycoder.py

 
     if slotstate:
         for k, v in slotstate.items():
+            if isinstance(k, objc.pyobjc_unicode):
+                k = unicode(k)
             setattr(value, intern(k), v)
 
     return value
 
     if slotstate:
         for k, v in slotstate.items():
+            if isinstance(k, objc.pyobjc_unicode):
+                k = unicode(k)
             setattr(value, intern(k), v)
 
     if listitems: