diferences between 22 and python 23
Fredrik Lundh
fredrik at pythonware.com
Mon Dec 8 12:55:51 EST 2003
Martin v. Löwis wrote:
> > having written Python's Unicode string type, I'm now thinking that
> > it might have been better to use a polymorphic "text" type with
> > either UTF-8 or encoded char or wchar buffers, and do dynamic
> > translation based on usage patterns. I've been playing with this
> > idea in Pytte, but as usual, there's so much code, and so little
> > time...
>
> "Better" in what sense?
less code, better performance. the usual stuff.
> Would it even be better if you had to preserve all the C-level API
> that we currently have?
I don't think it can be done without changing the API. maybe in
Python 3000?
</F>
More information about the Python-list
mailing list