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

Johannes Sixt Johannes.Sixt at telecom.at
Tue Dec 7 23:21:57 GMT 1999

On Tue, 07 Dec 1999, you wrote:
>My view is that the bad design decision was the orginal one to map
>QStrings onto Python strings - I'm now correcting that mistake. 
>However, there is a choice...
>I can very easily revert the Qt v1.x behavior to what it was in earlier
>versions, but the Qt v2.x behavior will be done like this in order to
>support Unicode. The disadvantage of mixing the two approaches is that
>scripts won't be portable between the two.  What's the consensus?

IMHO choosing Python implies choosing single-byte-strings.

Character strings are such a basic data type that they should be supported
nativly by the programming language. If it doesn't support Unicode strings, the
developer is ill advised to write programs in that language if Unicode strings
are required in the program.

If it's not possible to seamlessly integrate QStrings, people will swear at
PyQt - my bet!

-- Hannes

More information about the PyQt mailing list