Don't set a local variable named __args__; this feature no longer

works and Greg Ward just reported a problem it caused...
This commit is contained in:
Guido van Rossum 1998-09-28 15:33:38 +00:00
parent 9814a943a5
commit 75bb54c3d8
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class Bdb: # Basic Debugger
return self.trace_dispatch return self.trace_dispatch
def dispatch_call(self, frame, arg): def dispatch_call(self, frame, arg):
frame.f_locals['__args__'] = arg # XXX 'arg' is no longer used
if self.botframe is None: if self.botframe is None:
# First call of dispatch since reset() # First call of dispatch since reset()
self.botframe = frame self.botframe = frame