PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 864 - QColor raises comparison operator not implemented on color == None
: QColor raises comparison operator not implemented on color == None
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.1
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-05-26 17:24 EEST by Stephan Deibel
Modified: 2011-06-22 20:25 EEST (History)
9 users (show)

See Also:


Attachments
Illustrates the bug (255 bytes, text/x-python)
2011-05-26 17:24 EEST, Stephan Deibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Deibel 2011-05-26 17:24:24 EEST
Created attachment 331 [details]
Illustrates the bug

A QColor instance color will raise "NotImplementedError: operator not
implemented" on "color1 == color2" when one of the colors is None.  This makes
it hard to write correct code where values can be None by design.

See attached example.
Comment 1 Hugo Parente Lima 2011-05-26 20:20:36 EEST
This was already fixed on version 1.0.2, try to update your PySide
installation.

Regards.
Comment 2 Stephan Deibel 2011-05-26 21:45:16 EEST
Oh, sorry about that!
Comment 3 renato filho 2011-06-22 20:25:17 EEST
release 1.0.4