[PyKDE] ANNOUNCE: PyQt/PyKDE v0.10pre5

Boudewijn Rempt boud at rempt.xs4all.nl
Mon Dec 6 23:21:15 GMT 1999


On Sat, 4 Dec 1999, Phil Thompson wrote:

> Boudewijn Rempt wrote:
> > 
> > On Thu, 2 Dec 1999, Phil Thompson wrote:
> > 
> > >
> > > While this change isn't strictly necessary at this stage, it will be
> > > needed for Qt v2's Unicode support - so it's best to get used to it now.
> > >
> > 
> > It's painful all the same - I guess we have to use
> > self.text=repr(myTextBox.text()), too! Lots of trouble to go wrong and
> > make silly mistakes. Still, Unicode support should be worth it ;-).
> 
> I think the key is to delay the conversion to Python strings to the last
> possible moment. Keep things as QStrings until something really needs a
> Python string - the Python file open method for instance.
> 

What I'm wondering about is, how will this combine with the
Unicode support promised for Python 1.6? If the standard Python
strings become Unicode strings, QString might be superfluous
again.

Boudewijn Rempt  | http://denden.conlang.org





More information about the PyQt mailing list