[PyQt] Another pylupdate bug

Phil Thompson phil at riverbankcomputing.co.uk
Mon Jun 25 14:10:06 BST 2007


On Friday 22 June 2007 5:03 pm, Giovanni Bajo wrote:
> 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?

Fixed in tonight's snapshot. Patch attached for the impatient.

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylupdate.patch
Type: text/x-diff
Size: 877 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070625/1d4a8645/pylupdate.bin


More information about the PyQt mailing list