GNOME Bugzilla – Bug 523352
only one class in a hierarchy can use new style properties with custom getters or setters
Last modified: 2008-03-21 18:08:27 UTC
If you try to do so, you'll get this error: Traceback (most recent call last):
+ Trace 192846
class Child(Parent):
cls._install_properties()
" or getter. This is not allowed" % (cls,))
Will attach a test case.
Created attachment 107599 [details] testcase
2008-03-21 Johan Dahlin <johan@gnome.org> * gobject/__init__.py: * tests/test_properties.py: Allow gobject.property work with subclasses. Add tests. (#523352, Tomeu Vizoso)