[PyQt] QVariantHash bug in PyQt 4.5.1 (+patch)

Christoph Burgmer chrislb at gmx.de
Wed Jul 15 09:38:24 BST 2009


This is what I get:

$ python                  
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)                                     
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtCore import QVariant
>>> QVariant({'a': 1}).toMap()
{}
>>> QVariant({'a': 1}).type()
127

-Christoph


More information about the PyQt mailing list