On Mon, Jun 18, 2012 at 11:09 AM, Yury Selivanov
<yselivanov...@gmail.com> wrote:
> The rationale is that sometimes you need to modify signatures.
> For instance, in decorators.

A decorator should make a modified copy, not modify it in place (since
the signature of the decorated function does not change, and you have
no guarantee that that function is no longer accessible.)

--
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to