[PyQt] toPyObject is undocumented

Phil Thompson phil at riverbankcomputing.com
Mon Sep 17 08:59:35 BST 2012


On Mon, 17 Sep 2012 01:37:17 +0200, Wolfgang Rohdewald
<wolfgang at rohdewald.de> wrote:
>
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qvariant.html#toPyObject
> 
> says nothing about what it does. I just found out it alway returns
python
> long
> even for small integers. Is that intended or a bug?
> 
> ii  python-qt4                           4.9.1-2ubuntu1                 

>        Python bindings for Qt4

A feature - but it's already been changed in the current SIP snapshot.

Phil


More information about the PyQt mailing list