Tim Chase wrote: > Sounded like the OP wanted a behavior similar to "auto-globals" > that has been a long-cursed aspect of PHP. That, without > specifying it, local-variables should be global if their name > exists in the global namespace.
Sounds like a source of many hard to track down bugs. > I'm quite happy with not using "global" at all (okay, there's > been once or twice I've wanted to modify a module-level settings > structure, but otherwise...). AOL > For the most part, using "global" is cause to be smacked in the > head as it makes for a nightmare maint.-wise. ACK. Regards, Björn -- BOFH excuse #415: Maintenance window broken -- http://mail.python.org/mailman/listinfo/python-list