PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 605 - Using metaclasses with the PySide classes doesn't work
: Using metaclasses with the PySide classes doesn't work
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-10 21:54 EET by Evan Patterson
Modified: 2011-02-02 15:46 EET (History)
8 users (show)

See Also:


Attachments
Test case (352 bytes, application/octet-stream)
2011-01-10 21:55 EET, Evan Patterson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Patterson 2011-01-10 21:54:31 EET
The attached test script illustrates the problem. Interestingly, creating the
base class C appears to work, but creating the subclass D fails with
"RuntimeError: You can't initialize an object twice!".

The test script works under PyQt4.
Comment 1 Evan Patterson 2011-01-10 21:55:52 EET
Created attachment 216 [details]
Test case
Comment 2 Matti Airas 2011-01-11 12:42:37 EET
Thanks for the bug report. I'm prioritizing this P3 - this will be fixed most
likely during our next sprint, starting after next week.
Comment 3 Hugo Parente Lima 2011-01-27 11:45:22 EET
Fixed in commit:

shiboken/434c1a56d407706af899fd58feb50957c2aea353
Comment 4 renato filho 2011-02-02 15:46:07 EET
released on beta 5