Skip to content

Commit

Permalink
Keep bpython from processing arguments passed to the debuggee (Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jun 24, 2016
1 parent 05b5b4b commit abd2bfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pudb/shell.py
Expand Up @@ -92,7 +92,7 @@ def run_bpython_shell(locals, globals, first_time):
ns = SetPropagatingDict([locals, globals], locals)

import bpython.cli
bpython.cli.main(locals_=ns)
bpython.cli.main(args=[], locals_=ns)


# {{{ ipython
Expand Down Expand Up @@ -220,3 +220,6 @@ def run_ptpython_shell(locals, globals, first_time):
history_filename = os.path.expanduser('~/.ptpython_history')
ptpython_embed(globals.copy(), locals.copy(),
history_filename=history_filename)


# vim: foldmethod=marker

This comment has been minimized.

Copy link
@wonderb0lt

wonderb0lt Jun 24, 2016

Was that intentional?

This comment has been minimized.

Copy link
@inducer

inducer Jun 24, 2016

Author Owner

Yeah.

This comment has been minimized.

Copy link
@inducer

inducer Jun 24, 2016

Author Owner

(But thanks for asking!)

This comment has been minimized.

Copy link
@wonderb0lt

wonderb0lt via email Jun 24, 2016

This comment has been minimized.

Copy link
@wonderb0lt

wonderb0lt via email Jun 24, 2016

0 comments on commit abd2bfc

Please sign in to comment.