[PyQt] QPointF comparison is kinda wrong

Arseniy Terekhin senyai at gmail.com
Tue Jun 30 11:38:38 BST 2015


Windows 7, python 2.7.10, PYQT_VERSION_STR = '4.11.4'

>>> from PyQt4.QtCore import QPointF as p
>>> p() < p()
True
>>> p() < p()
False
>>> p() < p()
True
>>> p() < p()
False
>>> p() < p()
True
>>> p() < p()
False
>>> p() < p()
True
>>> p() < p()
False
>>> p() < p()
True

-- 
I remain,
Arseniy Terekhin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150630/3faf0a08/attachment.html>


More information about the PyQt mailing list