[Python-checkins] python/dist/src/Lib pdb.py,1.51,1.51.4.1
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Thu, 13 Feb 2003 13:13:20 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv32588
Modified Files:
Tag: release21-maint
pdb.py
Log Message:
Backport 1.60 -- because this is an annoyance that Zope folks run into
and Zope 2.6 (which requires Python 2.1.x) isn't dead yet.
Duh. The do_EOF() implementation was bogus. Make it more like
do_quit() -- but print a blank line first.
Index: pdb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pdb.py,v
retrieving revision 1.51
retrieving revision 1.51.4.1
diff -C2 -d -r1.51 -r1.51.4.1
*** pdb.py 9 Feb 2001 23:28:07 -0000 1.51
--- pdb.py 13 Feb 2003 21:13:17 -0000 1.51.4.1
***************
*** 182,186 ****
def do_EOF(self, arg):
! return 0 # Don't die on EOF
def do_break(self, arg, temporary = 0):
--- 182,188 ----
def do_EOF(self, arg):
! print
! self.set_quit()
! return 1
def do_break(self, arg, temporary = 0):