[Zope-Coders] Re: [Zope-Checkins] CVS: Zope/lib/python/DateTime/tests -testDateTime.py:1.12.6.3

Guido van Rossum guido@python.org
Thu, 17 Oct 2002 11:45:26 -0400


> Is there a reason why __file__ can not be set automatically by
> Python ?

Hysterical raisins.  __file__ is set by the import machinery, but a
"main" program is never "imported".  Fred will make it so for Python
2.3, though.

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