[PyKDE] why pylupdate is written in C++?

Giovanni Bajo rasky at develer.com
Tue Feb 8 10:48:00 GMT 2005


is there any reason why pylupdate was written in C++ rather than in pure
Python? Would a conversion be welcome?

I had to do some modifies to it to suit my needs (for instance, I use UTF-8
everywhere and I set QTextCodec.setCodecForTr, but pylupdate does not know
that, nor it has an option to be informed about it), and I ended up doing
them in a wrapper python script, processing the XML, because it was still
faster than doing the same in C++.
Giovanni Bajo

More information about the PyQt mailing list