Nested scopes, and augmented assignment
Antoon Pardon
apardon at forel.vub.ac.be
Fri Jul 7 07:51:20 EDT 2006
More information about the Python-list mailing list
Fri Jul 7 07:51:20 EDT 2006
- Previous message (by thread): Announcement : Octavia
- Next message (by thread): Nested scopes, and augmented assignment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2006-07-07, Piet van Oostrum <piet at cs.uu.nl> wrote: >>>>>> Antoon Pardon <apardon at forel.vub.ac.be> (AP) wrote: > >>AP> Could you maybe clarify what problem we are discussing? All I wrote >>AP> was that with an assignment the search for the lefthand variable >>AP> depends on whether the lefthand side is a simple variable or >>AP> more complicated. > > What do you mean with `the lefthand variable'? Especially when talking > about `complicated lefthand sides'? The name on the left side of an assignment that refers to a variable, as opposed to names that are attributes. >>AP> Sure people may prefer to speak about (re)binding >>AP> vs mutating variables, but just because I didn't use the prefered terms, >>AP> starting to doubt my understanding of the language, seems a bit >>AP> premature IMO. I'm sure there are areas where my understanding of >>AP> the language is shaky, metaclasses being one of them, but understanding >>AP> how names are searched doesn't seem to be one of them. > > You didn't understand it in your OP. Maybe your understanding has gained in > the meantime? I don't rule out that I gained some understanding without noticing it. Maybe my choice of words was poor then. -- Antoon Pardon
- Previous message (by thread): Announcement : Octavia
- Next message (by thread): Nested scopes, and augmented assignment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list