[Python-Dev] Fast access to __builtins__
Barry Warsaw
barry@python.org
28 Mar 2003 10:19:15 -0500
On Fri, 2003-03-28 at 08:30, Skip Montanaro wrote:
> Like a compiler flag to disable the run-time optimization so your debugging
> open() would be seen everywhere?
Sure, that would work. I'm still thinking about "from __builtins__
import open". Part of the issue there is that you might not be sure
/which/ open is causing the problems. But I agree that this is not a
common case; I don't even think it would be common programming practice
(i.e. my use case is primarily debugging).
-Barry
P.S. I don't actually poke _() into builtins :)