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 scoder
Recipients benjamin.peterson, ncoghlan, scoder
Date 2013-02-08.15:50:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360338607.6.0.769395227225.issue17159@psf.upfronthosting.co.za>
In-reply-to
Content
This patch removes the type check from Signature.from_function() and cleans up the type tests in signature() to use whatever the inspect module defines as isfunction() and isbuiltin(), so that it becomes properly monkey-patchable.

It also adds a test that makes sure the signature relies only on the four relevant special attributes, not on the type of the object being inspected.
History
Date User Action Args
2013-02-08 15:50:07scodersetrecipients: + scoder, ncoghlan, benjamin.peterson
2013-02-08 15:50:07scodersetmessageid: <1360338607.6.0.769395227225.issue17159@psf.upfronthosting.co.za>
2013-02-08 15:50:07scoderlinkissue17159 messages
2013-02-08 15:50:07scodercreate