Dag Sverre Seljebotn wrote:

> However, myself I consider for-from present mostly for backwards 
> compatability anyway,

Efficiency wasn't the only reason I added the
for-from loop to Pyrex. Equally important, perhaps
more so, is that it provides a concise and readable
way of specifying inclusion or exclusion of each
endpoint.

As for the value of the loop variable after the
loop, I'd be willing to consider it undefined, so
that whatever behaviour is most efficiently
implementable can be used.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to