Recently I have noticed, that:

x = QPoint(1, 1)
y = QPoint(1, 1)

and hash(x) == hash(y) is not true, though x == y. Why is it so?
Because of that points cannot be used effectively in set or dict. Is
there any particular reason for that?

-- 
Filip Gruszczyński

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to