[Cython] Possible bug when using cython -Wextra
Samuele Kaplun
Samuele.Kaplun at cern.ch
Thu Feb 7 13:00:37 CET 2013
Dear Stefan,
In data giovedì 7 febbraio 2013 12:11:47, Stefan Behnel ha scritto:
> > [...]
> >
> > def test():
> > cdef int i
> >
> > for i from 0 <= i < 10:
> > print "foo"
> >
> > [...]
>
> Yes, it actually is an unused variable in your code. There is no reference
> to it, only assignments.
mmh. But is it used albeit indirectly. Then what pattern would you suggest in
this case (i.e. to repeat a certain body a given number of times), in order to
avoid such warning?
Cheers (and thanks for your time!),
Samuele
--
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>
More information about the cython-devel
mailing list