[IPython-user] %ed returns "\n"

Ville Vainio vivainio at gmail.com
Fri Jan 27 18:51:10 CST 2006

On 1/28/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:

> It was to the guy who was using it to later say
> ed _12

Ah, that use case.

I would expect the display hook would be such that it would print:

def f():
[ output snipped; 185 more lines ]

I.e. it would be friendlier in that it would not print \n's (you'd had
to do repr(_12)) and would not flood your terminal screen with reams
of garbage.

Ville Vainio - http://tinyurl.com/2prnb

More information about the IPython-user mailing list