This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2020-11-20.05:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605851562.14.0.204332011962.issue42416@roundup.psfhosted.org>
In-reply-to
Content
Followup to PR-23393 of #1635741.  Use inspect.getdoc to get docstrings.  Restore test skipped in that PR and fix two that will fail because getdoc gets docstrings that are currently missed.

The line defining fob is only needed to get signatures for instances of classes with faulty getattr and __call__.  inspect.signature is allowed to fail for buggy objects, but this workaround makes it work anyway for CallA() and CallB() in test_buggy_getattr_class.  Add comment.
History
Date User Action Args
2020-11-20 05:52:42terry.reedysetrecipients: + terry.reedy
2020-11-20 05:52:42terry.reedysetmessageid: <1605851562.14.0.204332011962.issue42416@roundup.psfhosted.org>
2020-11-20 05:52:42terry.reedylinkissue42416 messages
2020-11-20 05:52:41terry.reedycreate