[issue14965] super() and property inheritance behavior

David Beazley report at bugs.python.org
Sun Jan 6 21:20:16 CET 2013


David Beazley added the comment:

Just as a note, there is a distinct possibility that a "property" in a superclass could be some other kind of descriptor object that's not a property.  To handle that case, the solution of

super(self.__class__, self.__class__).x.fset(self, value)

would actually have to be rewritten as

super(self.__class__, self.__class__).x.__set__(self, value)

That said, I agree it would be nice to have a simplified means of accomplishing this.

----------
nosy: +dabeaz

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14965>
_______________________________________


More information about the Python-bugs-list mailing list