accessing a PySide QtCore.Property fails in Python

Bug #1049380 reported by Greg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyside (Ubuntu)
New
Undecided
Unassigned

Bug Description

The attached test program should output:

    PySide expect 2: 2
    PyQt4 expect 2: 2

but instead it outputs:

    PySide expect 2: <Property object at 0x17475c8>
    PyQt4 expect 2: 2

That is, in PySide, when accessing the value of a Python object's property that is created with QtCore.Property, it is returning the Property instance rather than the value.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-pyside 1.1.0-1
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Tue Sep 11 14:55:24 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pyside
UpgradeStatus: Upgraded to precise on 2012-06-06 (96 days ago)

Revision history for this message
Greg (gregcouch) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.