Author ronaldoussoren
Recipients ronaldoussoren
Date 2013-01-27.13:17:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359292632.3.0.760417514127.issue17053@psf.upfronthosting.co.za>
In-reply-to
Content
pydoc currently uses inspect.getfullargspec to determine the signature of a callable when rendering its documentation. It should use inspect.signature instead because that function can work with callables that aren't python functions or methods.

Changing pydoc to use inspect.signature would make it possible to render more useful documentation for callables implemented in C, when those callables also implement the "__signature__" special method.
History
Date User Action Args
2013-01-27 13:17:12ronaldoussorensetrecipients: + ronaldoussoren
2013-01-27 13:17:12ronaldoussorensetmessageid: <1359292632.3.0.760417514127.issue17053@psf.upfronthosting.co.za>
2013-01-27 13:17:12ronaldoussorenlinkissue17053 messages
2013-01-27 13:17:12ronaldoussorencreate