Re: enhanced map function

2011-03-17 Thread Steven D'Aprano
On Thu, 17 Mar 2011 08:31:28 -0700, Patrick wrote: > Steven, > > Thanks for the info of itertools. It is a great start for me. Overall, I > agree with you that it is really the user data needs to be sorted out. > However, novice users may need help on certain patterns such as > "a=[1,[2,3],4], b=

Re: enhanced map function

2011-03-17 Thread Patrick
Steven, Thanks for the info of itertools. It is a great start for me. Overall, I agree with you that it is really the user data needs to be sorted out. However, novice users may need help on certain patterns such as "a=[1,[2,3],4], b=[5,[6,7,8],9,10]". We could just draw our line saying that simil

Re: enhanced map function

2011-03-11 Thread Steven D'Aprano
On Fri, 11 Mar 2011 13:00:23 -0800, Patrick wrote: > Hi, > > The build-in map functions looks quite nice but it requests the > iterables to be of the same length or otherwises will file with None > (most of time fails the function). Just wondering if there are already > enhancement work done with