Possible to write a Unicode*like* object?

Just just at xs4all.nl
Mon Feb 3 22:57:15 CET 2003


In the PyObjC project (a bridge between Python and Objective-C, and/or 
Cocoa really, OSX's GUI stuff) there's currently a discussion about 
whether to _convert_ NSString instances (the Cocoa string class) to 
Python (unicode) strings or to wrap the original instance that would 
make it string-like. For 8-bit strings wrapping is probably not a big 
deal, the buffer interface makes this work quite transparently, but I 
have no clue whether this is possible for unicode strings as well. Any 
ideas?

Just




More information about the Python-list mailing list