[New-bugs-announce] [issue1980] pdb losing __file__
Erno Kuusela
report at bugs.python.org
Thu Jan 31 12:19:38 CET 2008
New submission from Erno Kuusela:
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.
----------
components: Library (Lib)
messages: 61896
nosy: erno
severity: normal
status: open
title: pdb losing __file__
versions: Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1980>
__________________________________
More information about the New-bugs-announce
mailing list