Message381462
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. |
|
Date |
User |
Action |
Args |
2020-11-20 05:52:42 | terry.reedy | set | recipients:
+ terry.reedy |
2020-11-20 05:52:42 | terry.reedy | set | messageid: <1605851562.14.0.204332011962.issue42416@roundup.psfhosted.org> |
2020-11-20 05:52:42 | terry.reedy | link | issue42416 messages |
2020-11-20 05:52:41 | terry.reedy | create | |
|