[Python-bugs-list] [ python-Bugs-726600 ] pdb ignores EOF
SourceForge.net
noreply@sourceforge.net
Wed, 23 Apr 2003 16:59:32 -0700
Bugs item #726600, was opened at 2003-04-23 23:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=726600&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Neil Schemenauer (nascheme)
Assigned to: Guido van Rossum (gvanrossum)
Summary: pdb ignores EOF
Initial Comment:
pdb does not exit on EOF. This has always annoyed me
since I'm used to using Control-D to get out of Python
(and interactive Unix programs in general). Today I
found an even better reason for pdb to exit on EOF. We
have script that runs nightly. Someone added code to
use pdb.pm() in an error occured (it is also used
interactively). I just found a 2 GB log file filled
with PDB prompts. I fixed the code but I still think
pdb should exit on EOF.
The fix is simple. Change the do_EOF command in pdb.py
to do the same thing as do_quit.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=726600&group_id=5470