Python scoping
gervaz
gervaz at gmail.com
Tue Jun 21 05:05:47 EDT 2011
More information about the Python-list mailing list
Tue Jun 21 05:05:47 EDT 2011
- Previous message (by thread): Python scoping
- Next message (by thread): Python scoping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 21 Giu, 06:06, Ben Finney <ben+pyt... at benfinney.id.au> wrote: > Chris Angelico <ros... at gmail.com> writes: > > On Tue, Jun 21, 2011 at 12:38 PM, Ben Finney <ben+pyt... at benfinney.id.au> wrote: > > > The *binding* is scoped. > > > And the binding follows the exact same rules as anything else would. > > It has scope and visibility. In terms of the OP, the binding IS like a > > variable. > > Yes. So let's stop behaving as though the *name* behaves like a > variable. It isn't, and doesn't. > > -- > \ “Computer perspective on Moore's Law: Human effort becomes | > `\ twice as expensive roughly every two years.” —anonymous | > _o__) | > Ben Finney Ok, thanks for the clarification, I'll take extra care e.g. when dealing with exceptions. Ciao, Mattia
- Previous message (by thread): Python scoping
- Next message (by thread): Python scoping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list