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 391 - simple types with float point components like QPointF lack a __cmp__ function, making them unhashable
: simple types with float point components like QPointF lack a __cmp__ function...
Status: CLOSED WONTFIX
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-28 15:26 EEST by Marcelo Lira
Modified: 2010-10-13 13:51 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Lira 2010-09-28 15:26:33 EEST
This is similar to bug #374, but objects with float point component are
different in a way that they can't use the qHash template function since there
is no instantiation to handle double values.

For more information on how to implement a qHash<double> function, check this
wikipedia article:
http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function