[Python-Dev] Fast access to builtins (original) (raw)

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 :)