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-28.21:04:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390943092.94.0.962174944377.issue20425@psf.upfronthosting.co.za>
In-reply-to
Content
inspect.signature should work with decorated builtins. Suppose I want to create a cached version of 'min' builtin:

   cached_min = functools.lru_cache()(min)

The signature of the 'cached_min' should match the signature of 'min'.

The patch is attached.
History
Date User Action Args
2014-01-28 21:04:52yselivanovsetrecipients: + yselivanov, brett.cannon, ncoghlan, larry
2014-01-28 21:04:52yselivanovsetmessageid: <1390943092.94.0.962174944377.issue20425@psf.upfronthosting.co.za>
2014-01-28 21:04:52yselivanovlinkissue20425 messages
2014-01-28 21:04:52yselivanovcreate