Message162748
| Author |
Yury.Selivanov |
| Recipients |
Alexandre.Zani, Ramchandra Apte, Yury.Selivanov, brett.cannon, eric.araujo, larry |
| Date |
2012年06月14日.02:29:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339640977.66.0.740516740011.issue15008@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attaching a patch that implements the latest version of the PEP.
Quick summary:
1. Ditched Signature.name & Signature.qualname
2. Added Signature.__eq__ and __ne__
3. signature() supports classes, metaclasses, decorated stuff, partials, methods, classmethods, callable objects etc
4. signature() does a deepcopy of __signature__ attribute if
there is one
5. No implicit caching anywhere
6. Signature.format(...) and Signature.__str__
7. Signature.bind_partial |
|