[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: global keyword instead of local
- From: "Russell Y. Webb" <rw20@...>
- Date: Sat, 26 Aug 2000 17:34:57 -0700
> The main point is the following:
> If all variables are local by default, then you have to declare all functions
> as global.
The system I thought was ideal for a while (and still would prefer but can
live without since setglobal can patch in most of the functionality) is to
have all globals be read-only unless access is declared via the global
keyword and creation of variables default to the current scope (ie. be local
inside of functions). No special cases, or weird rules.
Russ