[PyQt] Another pylupdate bug

Giovanni Bajo rasky at develer.com
Fri Jun 22 17:03:27 BST 2007


Try this:

foo.pro:
=========================
CODECFORTR = UTF-8
CODECFORSRC = UTF-8

SOURCES =  foo.py
=========================

foo.py:
=======================
print 'Dir: ',timeme('foobar', 'barfoo')
=======================

pylupdate4 gives an "unterminated string" error.

Also, it looks like the CODECFORSRC declaration brings it to its knee: 
it becomes abysmally slow, compared to the normal processing mode (or 
there's another infinite loop bug which needs to be fixed...).

BTW, I wonder: am I the first one that wants to use pylupdate with UTF-8 
source Python files? What do other people do?
-- 
Giovanni Bajo



More information about the PyQt mailing list