On 2013-04-15 02:13, Zak wrote:
> Here is a summary for the people who don't want to read a wall of text:
>
> This is not a bug, PySide uses 32 bit floating points and PyQt uses 64
> bit floating points, so they round numbers differently.

QLocale::toString() is an overloaded method. It has definitions for both C 
float 
and C double values. If it is true that PySide is picking the C float overload, 
then I have to think that that is a bug. Python float objects are internally C 
doubles. It should not be implicitly downcast to a C float when the C double 
override is available.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to