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 exarkun
Recipients exarkun
Date 2008-09-22.12:42:57
SpamBayes Score 2.0702981e-07
Marked as misclassified No
Message-id <1222087438.11.0.964536433748.issue3933@psf.upfronthosting.co.za>
In-reply-to
Content
exarkun@charm:~$ ls  .pythonstartup.py
.pythonstartup.py
exarkun@charm:~$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> __file__
'/home/exarkun/.pythonstartup.py'
>>> 
exarkun@charm:~$ mv .pythonstartup.py .not-pythonstartup.py
exarkun@charm:~$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> __file__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name '__file__' is not defined
>>>
History
Date User Action Args
2008-09-22 12:43:58exarkunsetrecipients: + exarkun
2008-09-22 12:43:58exarkunsetmessageid: <1222087438.11.0.964536433748.issue3933@psf.upfronthosting.co.za>
2008-09-22 12:42:57exarkunlinkissue3933 messages
2008-09-22 12:42:57exarkuncreate