Jim Kleckner wrote: > Robert Bradshaw wrote: > >> for x in 0 <= x < A(): >> print x >> >> This is valid Python (prints 3, 4, 5, 6), and would act completely >> differently under your proposal. > > This seems to me to demonstrate quite well that the newer syntax > is less desirable than the old.
Not sure I follow -- the new syntax isn't ambiguous. It can't be an ordinary for-loop, because it doesn't have an 'in' in it. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
