##// END OF EJS Templates
Small cleanup of dead debug code
Fernando Perez -
Show More
@@ -2113,19 +2113,6 b' class InteractiveShell(Configurable, Magic):'
2113 self.history_manager.store_inputs(ipy_cell, cell)
2113 self.history_manager.store_inputs(ipy_cell, cell)
2114
2114
2115 self.logger.log(ipy_cell, cell)
2115 self.logger.log(ipy_cell, cell)
2116 # dbg code!!!
2117 if 0:
2118 def myapp(self, val): # dbg
2119 import traceback as tb
2120 stack = ''.join(tb.format_stack())
2121 print 'Value:', val
2122 print 'Stack:\n', stack
2123 list.append(self, val)
2124
2125 import new
2126 self.history_manager.input_hist_parsed.append = types.MethodType(myapp,
2127 self.history_manager.input_hist_parsed)
2128 # End dbg
2129
2116
2130 # All user code execution must happen with our context managers active
2117 # All user code execution must happen with our context managers active
2131 with nested(self.builtin_trap, self.display_trap):
2118 with nested(self.builtin_trap, self.display_trap):
General Comments 0
You need to be logged in to leave comments. Login now