On 2015-10-11 16:30, Stefan Behnel wrote:
Hi!

The syntax construct "for i from 0 <= i < 10" has been silently outdated
for years. Can we start issuing a warning that normal range() loops are
preferred?

Is there anything wrong with the for ... from ... syntax? In more complicated situations I find

for i from a <= i < b by s

more readable than the equivalent for i in range() statement.

I know it's not a strong argument, it's just something to keep in mind.

_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to