custom setter/getters and inheritance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Fix Released
|
Medium
|
|||
pygobject (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs | ||
Hardy |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Creating two classes with GObject properties defining custom setters/getters and making the second inheriting the first doesn't work.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "gobject_bug.py", line 15, in <module>
class Test2(Test):
File "/var/lib/
cls.
File "/var/lib/
" or getter. This is not allowed" % (cls,))
TypeError: GObject subclass <class 'gobject_
Sample code follows as attachment.
Ubuntu hardy heron.
Related branches
Changed in pygobject: | |
status: | Unknown → Fix Released |
Changed in pygobject: | |
importance: | Unknown → Medium |
Seems like this issue might have been fixed in the following revision (which apparently didn't make the package shipped in hardy).
Please confirm this.
http:// bazaar. launchpad. net/~vcs- imports/ pygobject/ trunk/revision? start_revid= vcs-imports% 40canonical. com-20080321180 656-9kwftt8ks2f hk2st&filter_ file_id= teststest_ properties- 20070521120712- eso1u1esbwm7dxi w-57