Skip to content

Commit 5698a9e

Browse files
committed
Fix compatibility with 2.7
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
1 parent 23ee3c2 commit 5698a9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpdb/debugger.py

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

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

5051

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