mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Refactor of prompts and the displayhook.
* Renamed CachedOutput to displayhook.DisplayHook. * Added methods that DisplayHook.__call__ uses to do its work. These methods can now be overridden for the ZMQ kernel. * Removed all hooks (result_display and generate_output_prompt) that the outputcache was using. We need to add these back in once we figure out what to do about hooks in general.
This commit is contained in:
parent
30627d74a5
commit
29259fc441
@ -250,7 +250,7 @@ class IPTester(object):
|
||||
return os.system(' '.join(self.call_args))
|
||||
else:
|
||||
def _run_cmd(self):
|
||||
#print >> sys.stderr, '*** CMD:', ' '.join(self.call_args) # dbg
|
||||
# print >> sys.stderr, '*** CMD:', ' '.join(self.call_args) # dbg
|
||||
subp = subprocess.Popen(self.call_args)
|
||||
self.pids.append(subp.pid)
|
||||
# If this fails, the pid will be left in self.pids and cleaned up
|
||||
|
Loading…
Reference in New Issue
Block a user