[IPython-dev] Displayhook configuration (Walter take heed!)

Fernando Perez Fernando.Perez at colorado.edu
Wed Jan 18 00:36:44 CST 2006


Ville Vainio wrote:
> I guess it's time to implement configurable display hooks.
> 
> I think the most lightweight chain-of-command implemention would be:
> 
> - Rewrite Prompts.py/CachedOutput._display() to do:
> 
> for displayer in ip_display_hooks():
>   try:
>     displayer.display(arg)
>     break
>   except TryNextHook:
>     pass

Great.  I look forward to seeing what comes out of this, as ideas and some 
experimentation on this front will greatly help us on the design for the 
chainsaw work.

The pipe-filters ideas are also very interesting, so let's see what comes out 
of that.

Cheers,

f




More information about the IPython-dev mailing list