Le 09/06/2013 10:53, serge-sans-paille a écrit :
>
> In pythran/pythonic++/modules/itertools.h:
>
> > @@ -39,7 +39,7 @@
> >                          }
> >
> >                          bool operator!=(imap_iterator_data const& other) {
> > -                            return (iter != other.iter) and (rec_iters != other.rec_iters); // stop as soon as one is different
> > +                            return (iter != other.iter) or (rec_iters != other.rec_iters); // stop as soon as one is different
> On Sat, Jun 08, 2013 at 02:41:54PM -0700, pbrunet wrote: In 
> pythran/pythonic++/modules/itertools.h: > @@ -39,7 +39,7 @@ > } > > 
> bool operator!=(imap_iterator_data const& other) { > - return (iter != 
> other.iter) and (rec_iters != other.rec_iters); // stop as soon as one 
> is different > + return (iter != other.iter) or (rec_iters != 
> other.rec_iters); // stop as soon as one is different I didn't ... I 
> was looking at the code when I notices that comment mismatch with 
> code. I fix it and test pythran. I hope there will have no fail ... — 
> Reply to this email directly or view it on GitHub.*
> I fear the comment is wrong, check git log
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/serge-sans-paille/pythran/pull/105/files#r4603691>.
>
Yes :-s test : dict comprehension with tuple fail with this modification