strange behavor....

Steve Holden steve at holdenweb.com
Sun Nov 14 15:23:03 EST 2010


On 11/14/2010 8:29 AM, Emile van Sebille wrote:
[...]
> We all know that _everything_ is a disguised method call and we call the
> disguised method call that resembles a statement where the LHS is
> separated from the RHS by a single equals sign assignment.

I think your elided attempt to reconcile the opposing viewpoints on this
thread is creditworthy. We should not allow our wish to resolve
conflicting viewpoints blind us to reality, however. What method of a
does the statement

    a = something

call? I ask in genuine ignorance, and in the knowledge that you may
indeed be able to point me to such a method.

I would prefer to think of

    a = something

and

    lst[i] = something

as in some sense different, because I see names as referencing locations
in a namespace. Perhaps you can help to unify my perceptions.

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon 2011 Atlanta March 9-17       http://us.pycon.org/
See Python Video!       http://python.mirocommunity.org/
Holden Web LLC                 http://www.holdenweb.com/




More information about the Python-list mailing list