[IPython-dev] Extensible pretty-printing

Robert Kern robert.kern@gmail....
Wed Oct 27 11:42:48 CDT 2010


On 10/27/10 11:41 AM, Fernando Perez wrote:
> Hey Robert,
>
> On Wed, Oct 27, 2010 at 8:37 AM, Robert Kern<robert.kern@gmail.com>  wrote:
>> In the ticket discussion around my patch to restore the result_display hook,
>> Brian suggested that the real issue is what the extensibility API for this
>> functionality should be. I would like to propose the pretty extension as that
>> API. I propose that it should be integrated into the core of IPython as the
>> pretty-printer instead of pprint. pretty allows one to specify pretty-print
>> functions for individual types and have them used in nested contexts.
>
> Can you remind me which ticket that was?  For all of github's great
> things, their ticket search is broken beyond comprehension and is for
> all intents and purposes useless.

Pull request, actually:

http://github.com/ipython/ipython/pull/149

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco



More information about the IPython-dev mailing list