[IPython-dev] display_hooks ipython

Fernando Perez fperez.net@gmail....
Tue Jun 8 06:02:29 CDT 2010


2010/6/8 Omar Andrés Zapata Mesa <andresete.chaos@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.

Cheers,

f


More information about the IPython-dev mailing list