Message181676
| 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:07 | scoder | set | recipients: + scoder, ncoghlan, benjamin.peterson |
| 2013-02-08 15:50:07 | scoder | set | messageid: <1360338607.6.0.769395227225.issue17159@psf.upfronthosting.co.za> |
| 2013-02-08 15:50:07 | scoder | link | issue17159 messages |
| 2013-02-08 15:50:07 | scoder | create | |