strings in the global section
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Thu Oct 12 16:25:49 EDT 2006
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
More information about the Python-list
mailing list