Skip to content

Commit b781065

Browse files
committed
Merge branch 'master' of https://github.com/bpython/bpython
2 parents 0870a5c + 9f66dcb commit b781065

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bpdb/debugger.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def postloop(self):
4444
# cmd.Cmd commands
4545

4646
def do_Bpython(self, arg):
47-
bpython.embed(self.curframe.f_locals, ['-i'])
47+
locals_ = dict(**self.curframe.f_globals, **self.curframe.f_locals)
48+
bpython.embed(locals_, ['-i'])
49+
4850

4951
def help_Bpython(self):
5052
print("B(python)")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy