##// END OF EJS Templates
flush output before showing tracebacks...
MinRK -
Show More
@@ -501,6 +501,9 b' class ZMQInteractiveShell(InteractiveShell):'
501 self.payload_manager.write_payload(payload)
501 self.payload_manager.write_payload(payload)
502
502
503 def _showtraceback(self, etype, evalue, stb):
503 def _showtraceback(self, etype, evalue, stb):
504 # try to preserve ordering of tracebacks and print statements
505 sys.stdout.flush()
506 sys.stderr.flush()
504
507
505 exc_content = {
508 exc_content = {
506 u'traceback' : stb,
509 u'traceback' : stb,
General Comments 0
You need to be logged in to leave comments. Login now