[IPython-user] Prompt expressions

Ville Vainio vivainio at gmail.com
Fri Jun 16 01:56:35 CDT 2006

On 6/16/06, Walter Dörwald <walter at livinglogic.de> wrote:

> BTW, should we endorse the "ip = self.api" "trick" that the code uses?

Yes, I think we should (and I'm sure Fernando would agree, having
endorsed direct attribute / property approach previously). I've been
using "self.getapi()" in the past but that's an extra function call
that gets called *lots* of times when we get more hooks, magics and
other extension points.

Ville Vainio - vivainio.googlepages.com
vainio.blogspot.com - g[mail | talk]='vivainio'

More information about the IPython-user mailing list