This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author francismb
Recipients Todd.Rovito, francismb, roger.serwy, terry.reedy
Date 2013-06-23.19:40:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372016447.27.0.575493502415.issue18288@psf.upfronthosting.co.za>
In-reply-to
Content
On Debian:

* Command line 2.7.3
~/Prog/mypy$ python2.7 tem2.py 
tem2.py

~/Prog/mypy$ python2.7 -m tem2
/home/ci/Prog/mypy/tem2.py

* IDLE 2.7.3

>>> print(__file__)

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    print(__file__)
NameError: name '__file__' is not defined
>>>
>>> import tem2
tem2.pyc
>>>
History
Date User Action Args
2013-06-23 19:40:47francismbsetrecipients: + francismb, terry.reedy, roger.serwy, Todd.Rovito
2013-06-23 19:40:47francismbsetmessageid: <1372016447.27.0.575493502415.issue18288@psf.upfronthosting.co.za>
2013-06-23 19:40:47francismblinkissue18288 messages
2013-06-23 19:40:47francismbcreate