Something in the function tutorial confused me.

Steve Holden steve at holdenweb.com
Wed Aug 8 11:48:51 EDT 2007


Carsten Haese wrote:
> On Wed, 2007-08-08 at 08:52 -0400, Steve Holden wrote:
[...]
> 
> The problem is your ambiguous use of the word "assignment." In the sense
> of the Language Reference, "any assignment to y" is a simple assignment
> that always modifies a namespace and never modifies an object. In that
> sense, the mutability of None really isn't the issue.
> 
> If you use the broader sense in which "assignment" includes augmented
> assignments, the mutability of None does become relevant.
> 
> I agree that greg's delivery was unduly disrespectful, but I think he
> was making a valid point.
> 
> Hope this helps clear up the confusion.
> 
> Best regards,
> 
And this is why we should all be using the term "binding", which is 
normal in Python. I'll try to be more careful in future.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list