[PyQt] [Forwarded] python3.4 module with unicode class importing fails sometimes

Phil Thompson phil at riverbankcomputing.com
Mon Jan 12 10:58:52 GMT 2015


On 11/01/2015 12:39 pm, Dmitry Shachnev wrote:
> Hi,
> 
> One of Ubuntu users reported this bug against Ubuntu's PyQt5 package:
> 
> https://bugs.launchpad.net/ubuntu/+source/pyqt5/+bug/1408300
> 
> In short: if QObject child class contains a method/property with 
> unicode
> in name, importing it can randomly fail.
> 
> I can confirm this issue. Any thoughts what can cause that?

I can't reproduce it but the attached patch might help.

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicode_meth_names.diff
Type: text/x-diff
Size: 638 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150112/88a3b944/attachment.diff>


More information about the PyQt mailing list