A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-June/120383.html below:

[Python-Dev] PEP 362: 4th edition

[Python-Dev] PEP 362: 4th edition [Python-Dev] PEP 362: 4th editionGuido 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4