[IPython-dev] Next-gen result printing using generics

Walter Dörwald walter at livinglogic.de
Sat May 26 07:18:50 EDT 2007


Ville M. Vainio wrote:
> On 5/26/07, Walter Dörwald <walter at livinglogic.de> wrote:
> 
>> Either the decorator or function call should go.
> 
> Argh, of course. I was a bit careless with the "decorator removal", to
> the extent that I forgot the... decorator removal.
> 
> BTW, you could change the ipipe to use this generic as well.

That was going through my head too. However the current display hook 
fires for subclasses of Table too (that's why you can type ils instead 
of ils()). For this to work, we'd need a when_subclass() decorator in 
simplegeneric.

Servus,
    Walter



More information about the IPython-dev mailing list