So I've been lurking on python-dev for almost a year now. I think it's been a year--might be more. I forget. My friend just sent his first post to python-dev. This is what he said:
I'd like to suggest "outer v" for this. The behavior could be to scan outward for the first definition of v. If the only outer-scope variable is at module-level, then the behavior would be the same as "global v". Or if everyone is comfortable enough re-using the keyword "global", then I also like "global v in f".
It was pretty exciting. So I asked him how he felt. To this he responded, "naked".
Please keep comments appropriate. I reserve the right to remove anonymous comments, flames, spammy, inappropriate, and other comments that I deem to be worth removing.
Note: New comments get placed in a "draft" status and will NOT show up on the site until I explicitly approve it. Usually that happens within 24 hours, but sometimes I go away and it takes a day or two.
Note 2: There is now a preview button for those of you who want to see a preview! However, it doesn't quite work the way you'd think it should work. I'll look into adjusting it some day.
Note 3: If you can't for some reason post a comment, send me an email: willg at bluesock dot org.
All contents Copyright 1996 to 2008 Will Guaraldi.
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.