Permalink
Browse files

Small cleanup of dead debug code

  • Loading branch information...
1 parent 2ccc90d commit 65f856716c601530f1ef5c7a4ba662e2ae6a7abb @fperez committed Feb 3, 2011
Showing with 0 additions and 13 deletions.
  1. +0 −13 IPython/core/interactiveshell.py
@@ -2113,19 +2113,6 @@ def run_cell(self, cell):
self.history_manager.store_inputs(ipy_cell, cell)
self.logger.log(ipy_cell, cell)
- # dbg code!!!
- if 0:
- def myapp(self, val): # dbg
- import traceback as tb
- stack = ''.join(tb.format_stack())
- print 'Value:', val
- print 'Stack:\n', stack
- list.append(self, val)
-
- import new
- self.history_manager.input_hist_parsed.append = types.MethodType(myapp,
- self.history_manager.input_hist_parsed)
- # End dbg
# All user code execution must happen with our context managers active
with nested(self.builtin_trap, self.display_trap):

0 comments on commit 65f8567

Please sign in to comment.