Yury Selivanov <yseliva...@gmail.com> added the comment: 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 ---------- Added file: http://bugs.python.org/file26005/pep362.2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15008> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com