Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6753 > unrolled thread

Re: scope of function parameters (take two)

Started byEthan Furman <ethan@stoneleaf.us>
First post2011-05-31 13:01 -0700
Last post2011-05-31 13:01 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: scope of function parameters (take two) Ethan Furman <ethan@stoneleaf.us> - 2011-05-31 13:01 -0700

#6753 — Re: scope of function parameters (take two)

FromEthan Furman <ethan@stoneleaf.us>
Date2011-05-31 13:01 -0700
SubjectRe: scope of function parameters (take two)
Message-ID<mailman.2332.1306871338.9059.python-list@python.org>
Henry Olders wrote:
> Clearly, making a copy within the function eliminates the possibility of 
> the side effects caused by passing in mutable objects. Would having the 
> compiler/interpreter do this automatically make python so much 
> different?

It would be a different language.

~Ethan~

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web