[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior
R. David Murray
report at bugs.python.org
Mon Nov 16 14:51:45 CET 2009
R. David Murray <rdmurray at bitdance.com> added the comment:
Well, I haven't worked with boost or any other extension class that
defines a subclass of property. If MyProp is such a subclass, would
print Fro.baz.__doc__ print "Get a baz" in 2.6.2 but raise an error in
2.6.3/4, or would it print None?
Regardless of which one it does, I think there is a better fix than
patching the original patch in this issue, assuming I can code it and
get approval to apply it.
On the other hand, the suggested 'refix' may be appropriate for 2.6.5.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list