Message183636
| Author |
eric.snow |
| Recipients |
eric.snow, larry |
| Date |
2013年03月07日.07:51:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1362642709.69.0.481380147826.issue17373@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
While working on a subclass of inspect.Signature, I realized that inspect.signature is treated as the constructor. So subclassing isn't so simple. At first I considered adding an extra parameter to inspect.signature allowing different Signature classes. Not much later it became clear that all that code should simply be in classmethod. I've called it Signature.from_callable. Patch attached. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年03月07日 07:51:49 | eric.snow | set | recipients:
+ eric.snow, larry |
| 2013年03月07日 07:51:49 | eric.snow | set | messageid: <1362642709.69.0.481380147826.issue17373@psf.upfronthosting.co.za> |
| 2013年03月07日 07:51:49 | eric.snow | link | issue17373 messages |
| 2013年03月07日 07:51:49 | eric.snow | create |
|