Re: [Cython] Cython 0.16 and ndarray fields deprecation

2012-03-02 Thread Dimitri Tcaciuc
On Fri, Mar 2, 2012 at 8:29 AM, mark florisson wrote: > On 1 March 2012 16:18, Dag Sverre Seljebotn > wrote: >> On 03/01/2012 04:03 AM, mark florisson wrote: >>> >>> On 29 February 2012 17:57, Dag Sverre Seljebotn >>>  wrote: On 02/29/2012 09:42 AM, Stefan Behnel wrote: > > >>

Re: [Cython] Cython 0.16 and ndarray fields deprecation

2012-03-02 Thread mark florisson
On 1 March 2012 19:16, Sturla Molden wrote: > On 01.03.2012 19:33, Dag Sverre Seljebotn wrote: >> >> >> Yeah, I proposed this on another thread as one of the options, but the >> support wasn't overwhelming at the time... > > > I think it is worse to break parts of it, thus introducing bugs that mi

Re: [Cython] Problem with Py_buffer struct definition in Builtin.py

2012-03-02 Thread mark florisson
On 2 March 2012 10:09, Stefan Behnel wrote: > Stefan Behnel, 02.03.2012 10:45: >> the builtin Py_buffer struct type is currently defined as follows: >> >> """ >> builtin_structs_table = [ >>     ('Py_buffer', 'Py_buffer', >>      [("buf",        PyrexTypes.c_void_ptr_type), >>       ("obj",      

Re: [Cython] Cython 0.16 and ndarray fields deprecation

2012-03-02 Thread mark florisson
On 1 March 2012 16:18, Dag Sverre Seljebotn wrote: > On 03/01/2012 04:03 AM, mark florisson wrote: >> >> On 29 February 2012 17:57, Dag Sverre Seljebotn >>  wrote: >>> >>> On 02/29/2012 09:42 AM, Stefan Behnel wrote: Dag Sverre Seljebotn, 29.02.2012 18:06: > > > I'm won

Re: [Cython] Problem with Py_buffer struct definition in Builtin.py

2012-03-02 Thread Stefan Behnel
Stefan Behnel, 02.03.2012 10:45: > the builtin Py_buffer struct type is currently defined as follows: > > """ > builtin_structs_table = [ > ('Py_buffer', 'Py_buffer', > [("buf",PyrexTypes.c_void_ptr_type), > ("obj",PyrexTypes.py_object_type), > ("len",P

[Cython] Problem with Py_buffer struct definition in Builtin.py

2012-03-02 Thread Stefan Behnel
Hi, the builtin Py_buffer struct type is currently defined as follows: """ builtin_structs_table = [ ('Py_buffer', 'Py_buffer', [("buf",PyrexTypes.c_void_ptr_type), ("obj",PyrexTypes.py_object_type), ("len",PyrexTypes.c_py_ssize_t_type), ... """