[IPython-dev] ipipe news
Walter Dörwald
walter at livinglogic.de
Wed Mar 1 16:40:02 EST 2006
John Hunter wrote:
>>>>>> "Walter" == Walter Dörwald <walter at livinglogic.de> writes:
> Walter> Hmm, this might require some kind of dialog box (or you
> Walter> mark the first object, go to the last object and press the
> Walter> key for "mark from first marked to here").
>
> The latter is what I had in mind...
Hmm, should be simple.
> Here's a problem I ran into trying to filter all the methods that
> start with 'set' on a matplotlib line object
>
> In [17]: len([k.startswith('set') for k in line.__dict__.keys()])
> Out[17]: 37
>
> In [18]: line.__dict__|ifilter("key.startswith('set')")|ibrowse
> [...]
> UnboundLocalError: local variable 'posy' referenced before assignment
This is a bug when the input is empty. I'm working on a fix.
Bye,
Walter Dörwald
More information about the IPython-dev
mailing list