[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-05-14 Thread Martin Panter
Martin Panter added the comment: getdoc-news.patch suggests some wording to add to What’s New, and also adds a “Changed in version 3.5” note to inspect.getdoc(). BTW I also noticed that the class doc strings are not inherited from object.__doc__, although method doc strings _are_ inherited fro

[issue22547] Implement an informative `BoundArguments.__repr__`

2015-05-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be omit names for positionalarguments? >>> def foo(a, *args, b=10, **kwargs): pass ... >>> inspect.signature(foo).bind(1, 2, 3, b=4, c=5) I think it would look better as: -- nosy: +serhiy.storchaka ___ Pyt

[issue22547] Implement an informative `BoundArguments.__repr__`

2015-05-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is an implementation. -- keywords: +patch Added file: http://bugs.python.org/file39380/BoundArguments_repr_alt.patch ___ Python tracker _

<    1   2