[Python-Dev] PEP 362 Second Revision

Calvin Spealman ironfroggy at gmail.com
Sat Jun 9 18:44:37 CEST 2012


On Thu, Jun 7, 2012 at 10:41 AM, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
> Hello,
>
> The new revision of PEP 362 has been posted:
> http://www.python.org/dev/peps/pep-0362/

While the actual implementation is more complex, the PEP is a lot more
clear and direct than it first was. Great job!

I'm really looking forward to this, after working through essentially
the same problems as part of tracerlib. So this has a huge thumbs up
from me, fwiw.

> 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
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ironfroggy%40gmail.com



-- 
Read my blog! I depend on your acceptance of my opinion! I am interesting!
http://techblog.ironfroggy.com/
Follow me if you're into that sort of thing: http://www.twitter.com/ironfroggy


More information about the Python-Dev mailing list