[Cython] can we deprecate for-from loops?

Stefan Behnel stefan_ml at behnel.de
Sun Oct 11 10:30:22 EDT 2015


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

While I don't see it going to go away any time soon, I'd like to make users
aware that it's an unnecessary syntax wart that's best avoided and that
should really not be used in new code.


More information about the cython-devel mailing list