[Python-Dev] Argh...

Guido van Rossum guido@python.org
Tue, 20 Jun 2000 16:31:00 -0500


> Okay, here's an obPython: why doesn't the main module have an __file__
> if it happens to be a file. I can understand why one piped in wouldn't
> but the interpreter knows when the main module is a file.

Mostly because it's tough to pass that information around all the way
to where it's needed.

--Guido van Rossum (home page: http://www.python.org/~guido/)