[Python-Dev] Property inheritance in Python (original) (raw)
Guido van Rossum guido at python.org
Wed May 30 17:28:27 CEST 2012
- Previous message: [Python-Dev] Property inheritance in Python
- Next message: [Python-Dev] Property inheritance in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Agreed this could go on the tracker, but I don't see the need for a Python-Ideas detour. It seems worth fixing (and I vaguely recall there was some follow-up last time?).
--Guido van Rossum (sent from Android phone) On May 29, 2012 11:58 PM, "Terry Reedy" <tjreedy at udel.edu> wrote:
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<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 _______** Python-Dev mailing list Python-Dev at python.org http://mail.python.org/**mailman/listinfo/python-dev<http://mail.python.org/mailman/listinfo/python-dev> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ guido%40python.org<http://mail.python.org/mailman/options/python-dev/guido%40python.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120530/498616dc/attachment.html>
- Previous message: [Python-Dev] Property inheritance in Python
- Next message: [Python-Dev] Property inheritance in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]