Message207681
| Author |
larry |
| Recipients |
larry, skrah |
| Date |
2014年01月08日.12:47:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1389185260.07.0.0528548763931.issue20189@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Stefan added some docstring text signatures by hand, only to discover that inspect.Signature still didn't recognize them. Specifically, decimal.Decimal.compare was unrecognized. This is a method_descriptor object, which is a type that isn't even exposed in types.
Rather than go on a search-and-destroy mission for all these different builtin types, I'm going to change inspect.Signature so as a fallback at the end it says "if it has a __call__ and a valid __text_signature__, just use that". |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年01月08日 12:47:40 | larry | set | recipients:
+ larry, skrah |
| 2014年01月08日 12:47:40 | larry | set | messageid: <1389185260.07.0.0528548763931.issue20189@psf.upfronthosting.co.za> |
| 2014年01月08日 12:47:39 | larry | link | issue20189 messages |
| 2014年01月08日 12:47:39 | larry | create |
|