##// END OF EJS Templates
flush messages printed during startup...
MinRK -
Show More
@@ -19,6 +19,7 b' Authors'
19 # Imports
19 # Imports
20 #-----------------------------------------------------------------------------
20 #-----------------------------------------------------------------------------
21
21
22 import sys
22 from io import BytesIO
23 from io import BytesIO
23
24
24 from IPython.utils.decorators import flag_calls
25 from IPython.utils.decorators import flag_calls
@@ -317,6 +318,8 b' def pylab_activate(user_ns, gui=None, import_all=True, shell=None):'
317 print """
318 print """
318 Welcome to pylab, a matplotlib-based Python environment [backend: %s].
319 Welcome to pylab, a matplotlib-based Python environment [backend: %s].
319 For more information, type 'help(pylab)'.""" % backend
320 For more information, type 'help(pylab)'.""" % backend
321 # flush stdout, just to be safe
322 sys.stdout.flush()
320
323
321 return gui
324 return gui
322
325
@@ -287,6 +287,10 b' class KernelApp(BaseIPythonApplication):'
287 self.write_connection_file()
287 self.write_connection_file()
288 self.init_io()
288 self.init_io()
289 self.init_kernel()
289 self.init_kernel()
290 # flush stdout/stderr, so that anything written to these streams during
291 # initialization do not get associated with the first execution request
292 sys.stdout.flush()
293 sys.stderr.flush()
290
294
291 def start(self):
295 def start(self):
292 self.heartbeat.start()
296 self.heartbeat.start()
General Comments 0
You need to be logged in to leave comments. Login now