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

Phil Thompson phil at river-bank.demon.co.uk
Tue Dec 7 13:55:44 GMT 1999


Boudewijn Rempt wrote:
> 
> 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

Could be.  Do you want me to wait until Python 1.6 to find out :)

Phil





More information about the PyQt mailing list