diff --git a/bpdb/debugger.py b/bpdb/debugger.py index ecd011194..704af3f9e 100644 --- a/bpdb/debugger.py +++ b/bpdb/debugger.py @@ -44,7 +44,9 @@ def postloop(self): # cmd.Cmd commands def do_Bpython(self, arg): - bpython.embed(self.curframe.f_locals, ['-i']) + locals_ = dict(**self.curframe.f_globals, **self.curframe.f_locals) + bpython.embed(locals_, ['-i']) + def help_Bpython(self): print("B(python)")
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: