Hello,

>>> from qt import *
>>> QPoint(0, 2317597757.17)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: argument 2 of QPoint() has an invalid type

I believe the problem is that the number overflows C++ float type, while it
fits Python float type (which is a C++ double type). The issue I am
reporting is that the error message could be improved by saying something
more specific.
-- 
Giovanni Bajo

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to