Abhilash Raj pushed to branch master at mailman / Mailman
Commits: e8dd4420 by amitt001 at 2016-10-10T11:41:15+05:30 Fixes ipython singleton class 'InteractiveShellEmbed' initialization - - - - - 1 changed file: - src/mailman/commands/cli_withlist.py Changes: ===================================== src/mailman/commands/cli_withlist.py ===================================== --- a/src/mailman/commands/cli_withlist.py +++ b/src/mailman/commands/cli_withlist.py @@ -49,13 +49,13 @@ def _start_ipython1(overrides, banner, *, debug=False): if debug: print_exc() return None - return InteractiveShellEmbed(banner1=banner, user_ns=overrides) + return InteractiveShellEmbed.instance(banner1=banner, user_ns=overrides) def _start_ipython4(overrides, banner, *, debug=False): try: from IPython.terminal.embed import InteractiveShellEmbed - shell = InteractiveShellEmbed() + shell = InteractiveShellEmbed.instance() except ImportError: if debug: print_exc() View it on GitLab: https://gitlab.com/mailman/mailman/commit/e8dd4420597bb5f041901894648b6758ce97fb32
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org