[IPython-dev] ipipe news

Walter Dörwald walter at livinglogic.de
Thu Mar 2 17:47:47 EST 2006

Fernando Perez wrote:

> Walter Dörwald wrote:
>> Ville Vainio wrote:
>>> On 3/1/06, Walter Dörwald <walter at livinglogic.de> wrote:
>>>> How do we handle maintenance? Do I upload patches to the tracker or can
>>>> I have repository write access? I promise I won't touch anything except
>>>> ipipe. ;)
>>> That's Fernando's call, but I think this level of maintenance can be
>>> managed by just sending me the patches directly.
>> OK!
> Well, if Ville is OK with patches, I'd say let's stick to that for now.  
> If we find over time that this becomes a significant bottleneck, we'll 
> revisit the issue.  It's not that I don't trust you, but simply that I 
> don't want to add a committer for every subcomponent, and having a few 
> core developers who go over patches also helps ensure a little in the 
> way of coding consistency.
> But again, if it becomes a problem, we'll take care of it as needed.

No problem with that, I'll try to let various changes stack up, before I 
send patches to Ville, so he won't get overwhelmed with them (but I 
guess he can apply them faster than I can produce them ;))

> And many thanks for this contribution!
> I'd like to ask though, if I'm doing something wrong in trying to use 
> it.  I simply read the 'ipipe?' docstring and typed the first example:
> In [1]: from ipipe import *
> In [2]: iwalk | ifilter("name.endswith('.py')") | isort("size")
> It all seems to work (I saw a lot of network traffic, consistent with a 
> directory traversal on our NFS-mounted filesystem).  But the curses 
> browser doesn't show anything at all when it opens, and no error is 
> printed.  It lists '0 objects' in the status line.  Am I missing 
> something here?

isort() of course first has to fetch the complete input, before it can 
sort the objects, so this might take longer. Dropping the sort 
expression should speed up the initial display.

But as you get '0 objects' this probably means that you don't have any 
Python source files in your current directory.

What happens if you do a simple "iwalk"?


More information about the IPython-dev mailing list