Message207971
| Author |
yselivanov |
| Recipients |
asvetlov, eric.snow, larry, yselivanov |
| Date |
2014年01月12日.17:41:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1389548515.19.0.242310312689.issue17373@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> The difference is that inspect.signature is not friendly to Signature
> subclasses. Without from_callable you can't customize the behavior in
> inspect.signature easily.
OK, suppose you have "Signature.from_callable". You then create a subclass
MySignature, and override it. How can you customize 'inspect.signature' to
use the MySignature class? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年01月12日 17:41:55 | yselivanov | set | recipients:
+ yselivanov, larry, asvetlov, eric.snow |
| 2014年01月12日 17:41:55 | yselivanov | set | messageid: <1389548515.19.0.242310312689.issue17373@psf.upfronthosting.co.za> |
| 2014年01月12日 17:41:55 | yselivanov | link | issue17373 messages |
| 2014年01月12日 17:41:55 | yselivanov | create |
|