[issue25503] inspect.getdoc does find inherited property __doc__

2015-10-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you John for your report and your patch. Committed tests are slightly changed because "contradiction" was originally purposed to test properties. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: -> resolved status: open -> closed

[issue25503] inspect.getdoc does find inherited property __doc__

2015-10-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset bbf00faf25ff by Serhiy Storchaka in branch '3.5': Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties. https://hg.python.org/cpython/rev/bbf00faf25ff New changeset e80d1e9737d4 by Serhiy Storchaka in branch 'default': Issue #

[issue25503] inspect.getdoc does find inherited property __doc__

2015-10-28 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue25503] inspect.getdoc does find inherited property __doc__

2015-10-28 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: inspect.getdoc's helper _finddoc raises an AttributeError on encountering a property, which is silently discarded. >>> class Foo(object): ... @property ... def foo(self): ... """foobar.""" ... return 'foo' ... >>> class Bar(Foo)