diff options
author | Raymond Hettinger <python@rcn.com> | 2004-10-24 00:32:24 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-10-24 00:32:24 (GMT) |
commit | 2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3 (patch) | |
tree | ba7d950adac77a70d5e9bb648f66c60a31fcdb94 | |
parent | 9047c8f73d0e8c865452f80a4219d647be7c433a (diff) | |
download | cpython-2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3.zip cpython-2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3.tar.gz cpython-2ef7e6c8f24856aacc15bd9dc51a7ee2081547b3.tar.bz2 |
SF bug #1052503: pdb runcall should accept keyword arguments
-rw-r--r-- | Lib/bdb.py | 4 | ||||
-rwxr-xr-x | Lib/pdb.py | 4 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -391,13 +391,13 @@ class Bdb: # 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: @@ -993,8 +993,8 @@ def runctx(statement, globals, locals): # 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() @@ -45,6 +45,8 @@ Extension Modules Library ------- +- Bug #1052503 pdb.runcall() was not passing along keyword arguments. + - Bug #902037: XML.sax.saxutils.prepare_input_source() now combines relative paths with a base path before checking os.path.isfile(). |