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 erno
Recipients erno
Date 2008-01-31.11:19:12
SpamBayes Score 0.022552432
Marked as misclassified No
Message-id <1201778377.96.0.548753633413.issue1980@psf.upfronthosting.co.za>
In-reply-to
Content
under pdb, __file__ is not defined when executing a source code file
directly.

for example, if myprogram.py contains "print __file__", a NameError will
be raised when run with python -m pdb myprogram.py.
History
Date User Action Args
2008-01-31 11:19:38ernosetspambayes_score: 0.0225524 -> 0.022552432
recipients: + erno
2008-01-31 11:19:38ernosetspambayes_score: 0.0225524 -> 0.0225524
messageid: <1201778377.96.0.548753633413.issue1980@psf.upfronthosting.co.za>
2008-01-31 11:19:13ernolinkissue1980 messages
2008-01-31 11:19:12ernocreate