On Thursday 08 April 2010 05:39:52 김선재 wrote:
> Hello!
> 
> >>> from PySide.QtCore import QString
> >>> QString.number(-1)
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> OverflowError
> 
> I don't know why this error.
> 
> Here is PySide v0.2.3 documentation page..
> 
> *static *QString.number(*arg__1*[, *base=10*])Parameters:
> 
>    - *arg__1* – int
>    - *base* – int
> 
> Return type:
> 
> QString
> 
> 
> 
> What's wrong??

It's a bug that already exists on 0.3.0, I fixed it just now.

The problem was that the generator was was trying to use QString::number(uint) 
first.

Thanks for report it; the fix will be in mainline asap.
 
> Please advise,
> SJ

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to