[Python-Dev] PEP 362: 4th edition
Guido van Rossum
guido at python.org
Mon Jun 18 22:25:15 CEST 2012
On Mon, Jun 18, 2012 at 11:09 AM, Yury Selivanov
<yselivanov.ml at 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)
More information about the Python-Dev
mailing list