abusing __builtins__
Rainer Deyke
root at rainerdeyke.com
Sun Feb 25 21:48:30 EST 2001
"Mike Fletcher" <mfletch at tpresence.com> wrote in message
news:mailman.983152087.5110.python-list at python.org...
> I've used this extensively in one (very large) in-house demo I created, I
> used builtins.APPLICATION to refer to a global application object. Was
very
> simple and useful. Yes, a hack, but I considered it a rather nice hack.
> Apparently this is another of those "you're wrong, Mike, just plain wrong"
> things :) .
For the record, I think this hack has its uses, especially in non-Python
programs that embed Python as a scripting language. I don't use it myself,
though.
--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list
mailing list