[Python-Dev] Property inheritance in Python (original) (raw)

Terry Reedy tjreedy at udel.edu
Wed May 30 08:56:14 CEST 2012


On 5/30/2012 1:58 AM, cyberdupo56 at gmail.com wrote:

Hi,

I apologize if I violate (or am violating) some sacred mailing list rules. Torsten wrote back in 2010 (http://mail.python.org/pipermail/python-dev/2010-April/099672.html) about property inheritance behavior and super(). Specifically, only fget() behavior of properties work with super(), not fset() or fdel(). I apologize if there's some obvious reason this has not been addressed since then, but it seems to be expected behavior and most Pythonic, and confused me greatly when I ran into it recently. Torsten's original thread seems to have gone as if unseen, so I hesitantly bump this topic in the hopes of a resolution.

This sort of idea should either be posted on python-ideas to get support or put on the tracker if the proposal is specific enough to write a patch (or both, with a patch making it more likely to happen).

-- Terry Jan Reedy



More information about the Python-Dev mailing list