Show More
@@ -429,9 +429,9 b' class ListTB(TBTools):' | |||
|
429 | 429 | ostream=ostream) |
|
430 | 430 | |
|
431 | 431 | def __call__(self, etype, value, elist): |
|
432 |
|
|
|
433 |
|
|
|
434 |
|
|
|
432 | self.ostream.flush() | |
|
433 | self.ostream.write(self.text(etype, value, elist)) | |
|
434 | self.ostream.write('\n') | |
|
435 | 435 | |
|
436 | 436 | def structured_traceback(self, etype, value, elist, tb_offset=None, |
|
437 | 437 | context=5): |
@@ -742,7 +742,7 b' class VerboseTB(TBTools):' | |||
|
742 | 742 | # So far, I haven't been able to find an isolated example to |
|
743 | 743 | # reproduce the problem. |
|
744 | 744 | inspect_error() |
|
745 |
traceback.print_exc(file= |
|
|
745 | traceback.print_exc(file=self.ostream) | |
|
746 | 746 | info('\nUnfortunately, your original traceback can not be constructed.\n') |
|
747 | 747 | return '' |
|
748 | 748 | |
@@ -779,7 +779,7 b' class VerboseTB(TBTools):' | |||
|
779 | 779 | # able to remove this try/except when 2.4 becomes a |
|
780 | 780 | # requirement. Bug details at http://python.org/sf/1005466 |
|
781 | 781 | inspect_error() |
|
782 |
traceback.print_exc(file= |
|
|
782 | traceback.print_exc(file=self.ostream) | |
|
783 | 783 | info("\nIPython's exception reporting continues...\n") |
|
784 | 784 | |
|
785 | 785 | if func == '?': |
@@ -800,7 +800,7 b' class VerboseTB(TBTools):' | |||
|
800 | 800 | # and barfs out. At some point I should dig into this one |
|
801 | 801 | # and file a bug report about it. |
|
802 | 802 | inspect_error() |
|
803 |
traceback.print_exc(file= |
|
|
803 | traceback.print_exc(file=self.ostream) | |
|
804 | 804 | info("\nIPython's exception reporting continues...\n") |
|
805 | 805 | call = tpl_call_fail % func |
|
806 | 806 |
General Comments 0
You need to be logged in to leave comments.
Login now