From ad9c12c37b4de9eef412a4a285f6a0f01fec1daf 2016-03-11 21:54:37 From: Paul Ivanov <pi@berkeley.edu> Date: 2016-03-11 21:54:37 Subject: [PATCH] remove nag screen delay see https://twitter.com/njgoldbaum/status/708360792677208064 and my response, which has support of 3 other people. https://twitter.com/ivanov/status/708409804448993280 --- diff --git a/IPython/core/application.py b/IPython/core/application.py index 86cfdcd..fddc525 100644 --- a/IPython/core/application.py +++ b/IPython/core/application.py @@ -202,12 +202,8 @@ class BaseIPythonApplication(Application): import time self.log.warning("Subcommand `ipython {sub}` is deprecated and will be removed " "in future versions.".format(sub=subc)) - self.log.warning("You likely want to use `jupyter {sub}`... continue " - "in 5 sec. Press Ctrl-C to quit now.".format(sub=subc)) - try: - time.sleep(5) - except KeyboardInterrupt: - sys.exit(1) + self.log.warning("You likely want to use `jupyter {sub}`... in the" + "future".format(sub=subc)) return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv) def init_crash_handler(self):