Public bug reported:

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)

** Affects: pyside (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1049380

Title:
  accessing a PySide QtCore.Property fails in Python

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyside/+bug/1049380/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to