[IPython-dev] display_hooks ipython

Fernando Perez fperez.net at gmail.com
Tue Jun 8 07:02:29 EDT 2010

2010/6/8 Omar Andrés Zapata Mesa <andresete.chaos at gmail.com>:
> I am  inheriting from InteractiveShell and I need get the runlines output
>  self.display_hook=DisplayHook(self.session,self.pub_socket)
>  for name in hooks.__all__:
>                self.set_hook(name,self.display_hook)
> but the error is
> /home/omazapa/MyProjects/GSoC/ipython-zmq/IPython/core/hooks.py", line 144,
> in __call__
> __call__() takes exactly 2 arguments (5 given)

Let me know when you have the repo set up as a branch (as I mentioned
in the previous email) and I'll give you some pointers there.



More information about the IPython-dev mailing list