[Python-Dev] PEP 362: 4th edition

R. David Murray rdmurray at bitdance.com
Fri Jun 15 23:03:43 CEST 2012


On Fri, 15 Jun 2012 22:48:42 +0200, Victor Stinner <victor.stinner at gmail.com> wrote:
> > 1. Should we keep 'Parameter.implemented' or not.  *Please vote*

-1 to implemented.

> I still disagree with the deepcopy. I read somewhere that Python
> developers are consenting adult. If someone really want to modify a
> Signature, it would be nice to provide a simple method to copy it. But
> I don't see why it should be copied *by default*. I expect that
> modifying a signature is more rare than just reading a signature.

The issue isn't "consenting adults", the issue is consistency.
Without the deepcopy, sometimes what you get back from the
inspect function is freely modifiable and sometimes it is not.
That inconsistency is a bad thing.

--David


More information about the Python-Dev mailing list