[Python-Dev] PEP 362 Second Revision

Yury Selivanov yselivanov.ml at gmail.com
Thu Jun 7 16:41:56 CEST 2012


Hello,

The new revision of PEP 362 has been posted: 
http://www.python.org/dev/peps/pep-0362/

Thanks to Brett, Larry, Nick, and everybody else on python-dev
for your corrections/suggestions.

Summary of changes:

1. We don't cache signatures in __signature__ attribute implicitly

2. signature() function is now more complex, but supports methods,
partial objects, classes, callables, and decorated functions

3. Signatures are always constructed on demand

4. Dropped the deprecation section

The implementation is not aligned with the latest PEP yet, 
I'll try to update it tonight.

Thanks,
-
Yury


More information about the Python-Dev mailing list