]> granicus.if.org Git - python/commitdiff
Don't set a local variable named __args__; this feature no longer
authorGuido van Rossum <guido@python.org>
Mon, 28 Sep 1998 15:33:38 +0000 (15:33 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 28 Sep 1998 15:33:38 +0000 (15:33 +0000)
works and Greg Ward just reported a problem it caused...

Lib/bdb.py

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