[issue11610] Improved support for abstract base classes with descriptors

Nick Coghlan report at bugs.python.org
Sun Jun 12 14:02:42 CEST 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

In that paragraph, I was only talking about cases where "foo = 1" *isn't* a valid override (which, I hope you'll agree, it typically won't be).

Your described approach of declaring an abstract property and then overriding it with an ordinary class attribute is part of the answer I gave Eric in pointing out why a separate concept of an abstract attribute isn't really necessary.

----------

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


More information about the Python-bugs-list mailing list