[Cython] Possible bug when using cython -Wextra

2013-02-07 Thread Samuele Kaplun
rther used as an argument in a function, isn’t it? Best regards, Samuele -- Samuele Kaplun Invenio Developer ** <http://invenio-software.org/> ___ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] Possible bug when using cython -Wextra

2013-02-07 Thread Samuele Kaplun
, 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

[Cython] Possible bug (or wrong documentation) WRT "not None"

2014-12-03 Thread Samuele Kaplun
hs not None): print "self is %s" % repr(self), "rhs is %s" % repr(rhs) [...] In [3]: None - x self is None rhs is Thus we have: self -> not respecting None-checking (in disagreement with Documentation) self not None -> OK test self -> not respecting type-che

Re: [Cython] Possible bug (or wrong documentation) WRT "not None"

2014-12-04 Thread Samuele Kaplun
Dear Stefan, In data mercoledì 3 dicembre 2014 16:44:13, Stefan Behnel ha scritto: > Samuele Kaplun schrieb am 02.12.2014 um 14:13: > > I would like to report what I think is a possible bug (in cython or > > corresponding documentation). > > > > According to: >