> What you're calling 'true globals,' other languages (e.g. PHP) call > superglobals. Python does have these, sort of: you can emulate a > superglobal by sticking things into __builtins__, which isn't > particularly clean, but gets the job done.
Thanks for reply. It appears from your comments above that you are agreeing with me that what Python currently calls "globals" are not really "true globals" the way many other languages & people think about it. > I'm a complete -1 on replacing the name 'global' for no good reason Didn't you just supply the 'good reason' in the sense that the current usage is ambiguous in some sense that could be made more precise with a different word? > a further -1 on the word 'modular,' which to me implies that the > variable itself is composed of, or can be broken into, modules. Well a Python can be broken into modules yes. And a 'modular' variable would be at the 'module level'. Still seems like 'modular' would avoid the ambiguity of 'global'. chris _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
