python/dist/src/Lib pdb.py, 1.71, 1.72 bdb.py, 1.45, 1.46
Update of /cvsroot/python/python/dist/src/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3279/Lib Modified Files: pdb.py bdb.py Log Message: SF bug #1052503: pdb runcall should accept keyword arguments Index: pdb.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/pdb.py,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- pdb.py 12 Oct 2004 21:51:32 -0000 1.71 +++ pdb.py 24 Oct 2004 00:32:24 -0000 1.72 @@ -993,8 +993,8 @@ # B/W compatibility run(statement, globals, locals) -def runcall(*args): - return Pdb().runcall(*args) +def runcall(*args, **kwds): + return Pdb().runcall(*args, **kwds) def set_trace(): Pdb().set_trace() Index: bdb.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/bdb.py,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- bdb.py 30 Aug 2004 13:29:44 -0000 1.45 +++ bdb.py 24 Oct 2004 00:32:24 -0000 1.46 @@ -391,13 +391,13 @@ # This method is more useful to debug a single function call. - def runcall(self, func, *args): + def runcall(self, func, *args, **kwds): self.reset() sys.settrace(self.trace_dispatch) res = None try: try: - res = func(*args) + res = func(*args, **kwds) except BdbQuit: pass finally:
participants (1)
-
rhettingerīŧ users.sourceforge.net