[PyKDE] Re: QString vs PyString
Giovanni Bajo
rasky at develer.com
Mon Jun 6 02:05:49 BST 2005
James Emerton <ephelon at gmail.com> wrote:
> For my own purposes, I am going to attempt to reimplement QString as a
> %MappedType. I want my users to have as low a barrier to entry as
> possible, and that means strings are string. Having multiple string
> types is a uniquely C++ problem, not something I wish to export into a
> language that is otherwise as tidy as Python. I do hope that this
> change makes it into the PyQt distrubution as an option with a big
> warning sign.
Make sure you map QString to unicode strings in Python, or it's going to be
totally useless for serious applications (i18n).
Giovanni Bajo
More information about the PyQt
mailing list