Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-29 Thread Robert Bradshaw
On Thu, Mar 29, 2012 at 2:25 AM, Stefan Behnel wrote: > Robert Bradshaw, 29.03.2012 11:19: On 27 March 2012 17:20, Stefan Behnel wrote: > the NumPy related tests use a file "numpy_common.pxi" that contains this > useless code: > > """ > cdef extern from *: >   bint FAL

Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-29 Thread Stefan Behnel
Robert Bradshaw, 29.03.2012 11:19: >>> On 27 March 2012 17:20, Stefan Behnel wrote: the NumPy related tests use a file "numpy_common.pxi" that contains this useless code: """ cdef extern from *: bint FALSE "0" void import_array() void import_umath() >>>

Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-29 Thread Robert Bradshaw
On Tue, Mar 27, 2012 at 11:49 PM, Stefan Behnel wrote: > Lisandro Dalcin, 27.03.2012 21:34: >> On 27 March 2012 17:20, Stefan Behnel wrote: >>> the NumPy related tests use a file "numpy_common.pxi" that contains this >>> useless code: >>> >>> """ >>> cdef extern from *: >>>   bint FALSE "0" >>>  

Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-28 Thread Robert Bradshaw
On Tue, Mar 27, 2012 at 11:49 PM, Stefan Behnel wrote: > Lisandro Dalcin, 27.03.2012 21:34: >> On 27 March 2012 17:20, Stefan Behnel wrote: >>> the NumPy related tests use a file "numpy_common.pxi" that contains this >>> useless code: >>> >>> """ >>> cdef extern from *: >>>   bint FALSE "0" >>>  

Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-27 Thread Stefan Behnel
Lisandro Dalcin, 27.03.2012 21:34: > On 27 March 2012 17:20, Stefan Behnel wrote: >> the NumPy related tests use a file "numpy_common.pxi" that contains this >> useless code: >> >> """ >> cdef extern from *: >> bint FALSE "0" >> void import_array() >> void import_umath() >> >> if FALSE: >>

Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-27 Thread Robert Bradshaw
On Tue, Mar 27, 2012 at 7:20 AM, Stefan Behnel wrote: > Hi, > > the NumPy related tests use a file "numpy_common.pxi" that contains this > useless code: > > """ > cdef extern from *: >   bint FALSE "0" >   void import_array() >   void import_umath() > > if FALSE: >    import_array() >    import_um

Re: [Cython] Question on "numpy_common.pxi" in NumPy tests

2012-03-27 Thread Lisandro Dalcin
On 27 March 2012 17:20, Stefan Behnel wrote: > Hi, > > the NumPy related tests use a file "numpy_common.pxi" that contains this > useless code: > > """ > cdef extern from *: >   bint FALSE "0" >   void import_array() >   void import_umath() > > if FALSE: >    import_array() >    import_umath() > "