Re: [Pyobjc-dev] Bridging strings from Python to other languages
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2003-02-05 22:52:32
|
Bill Bumgarner wrote: > In general, I would like to see Python move in the direction of > supporting <character buffers> in an analagous/interchangeable fashion > with <string>. This would make integration with external tools a lot > easier. To a large extent this already works for 8-bit strings, but I don't see an easy solution for unicode that doesn't depend on a specific format of the backing store. I'll try to write a proposal regarding __immutablecopy__, which btw. needs a __temporaryimmutable__ counterpart for efficient membership testing (this would return a thin wrapper what would compare and hash equally to the real thing, yet no copy is made). This latter idea I just saw in sets.py: neat. Just |