[Python-Dev] Fast access to __builtins__
Skip Montanaro
skip@pobox.com
Fri, 28 Mar 2003 07:30:08 -0600
Barry> ... or setting open() to some debugging func.
Barry> I wouldn't want to completely disallow these, but I'd be happy if
Barry> you had to do something special and/or (more) explicit to make
Barry> them work.
Like a compiler flag to disable the run-time optimization so your debugging
open() would be seen everywhere?
Sort of like Guido's observation about __fastbuiltins__ = True, the frequent
case (regular, optimized version of open()) should be the default, while the
exception requires programmer or user action.
Skip