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 yselivanov
Recipients brett.cannon, larry, ncoghlan, yselivanov
Date 2014-01-20.16:56:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390236993.79.0.241444273763.issue20313@psf.upfronthosting.co.za>
In-reply-to
Content
'inspect.signature' currently returns 'None' for builtins with no signature information. However, the protocol is that it raises a "ValueError(callable is not supported by signature)" if object is callable, but a signature can not be provided.

Attached patch fixes this, as well as updates the relevant section in the inspect.signature documentation.
History
Date User Action Args
2014-01-20 16:56:33yselivanovsetrecipients: + yselivanov, brett.cannon, ncoghlan, larry
2014-01-20 16:56:33yselivanovsetmessageid: <1390236993.79.0.241444273763.issue20313@psf.upfronthosting.co.za>
2014-01-20 16:56:33yselivanovlinkissue20313 messages
2014-01-20 16:56:33yselivanovcreate