Re: [Cython] can we deprecate for-from loops?

2015-10-15 Thread Stefan Behnel
Jakub Wilk schrieb am 15.10.2015 um 23:26: > * Stefan Behnel, 2015-10-11, 16:30: >> 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? > > Hmm. AFAICS, Cython doesn't aways optimize range

Re: [Cython] Cython coverage and multiple projects

2015-10-15 Thread Masood Malekghassemi via cython-devel
Given that we have control over how and where source files get used by the virtualenv, your suggestion seems within reach by doing a bit of temporary-directory dancing. I've been hitting some issues with that (unrelated to Cython as far as I can tell), and will attempt to update this thread after d

Re: [Cython] can we deprecate for-from loops?

2015-10-15 Thread Robert Bradshaw
On Thu, Oct 15, 2015 at 2:26 PM, Jakub Wilk wrote: > * Stefan Behnel , 2015-10-11, 16:30: >> >> 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? > > > Hmm. AFAICS, Cython doesn't aways

Re: [Cython] can we deprecate for-from loops?

2015-10-15 Thread Jakub Wilk
* Stefan Behnel , 2015-10-11, 16:30: 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? Hmm. AFAICS, Cython doesn't aways optimize range() loops that well... For the attached example code,