Re: Pool Module: iterator does not yield consistently with different chunksizes

2010-07-02 Thread Dave Angel
syockit wrote: I've been playing around with custom iterators to map into Pool. When I run the code below: def arif(arr): return arr def permutate(n): k = 0 a = list(range(6)) while k While I didn't actually try to follow all your code, I suspect your problem is that when you

Re: Pool Module: iterator does not yield consistently with different chunksizes

2010-07-02 Thread Peter Otten
syockit wrote: > I've been playing around with custom iterators to map into Pool. When > I run the code below: > > def arif(arr): > return arr > > def permutate(n): > k = 0 > a = list(range(6)) > while k for i in range(6): > a.insert(0, a.pop(5)+6) > #

Pool Module: iterator does not yield consistently with different chunksizes

2010-07-02 Thread syockit
I've been playing around with custom iterators to map into Pool. When I run the code below: def arif(arr): return arr def permutate(n): k = 0 a = list(range(6)) while khttp://mail.python.org/mailman/listinfo/python-list