Re: [Numpy-discussion] Getting C-function pointers from Python to C

2012-04-19 Thread Dag Sverre Seljebotn
On 04/19/2012 04:17 PM, Travis Oliphant wrote: > Thanks for the status update. A couple of weeks is a fine timeline to wait. > > Are you envisioning that the ufuncs in NumPy would have the nativecall > attribute? I'm envisioning that they would be able to support CEP 1000, yes, but I don't thin

Re: [Numpy-discussion] Getting C-function pointers from Python to C

2012-04-19 Thread Travis Oliphant
Thanks for the status update. A couple of weeks is a fine timeline to wait. Are you envisioning that the ufuncs in NumPy would have the nativecall attribute? -- Travis Oliphant (on a mobile) 512-826-7480 On Apr 19, 2012, at 6:00 AM, Dag Sverre Seljebotn wrote: > On 04/12/2012 11:51 PM, Dag

Re: [Numpy-discussion] f2py with int8

2012-04-19 Thread Sturla Molden
On 17.04.2012 07:32, John Mitchell wrote: > Hi, > > I am using f2py to pass a numpy array of type numpy.int8 to fortran. It > seems like I am misunderstanding something because I just can't make it > work. > > Here is what I am doing. > > PYTHON > b=numpy.array(numpy.zeros(shape=(10,),dtype=numpy.

Re: [Numpy-discussion] Getting C-function pointers from Python to C

2012-04-19 Thread Dag Sverre Seljebotn
On 04/12/2012 11:51 PM, Dag Sverre Seljebotn wrote: > On 04/12/2012 11:13 PM, Travis Oliphant wrote: >> Dag, >> >> Thanks for the link to your CEP. This is the first time I've seen it. You >> probably referenced it before, but I hadn't seen it. >> >> That CEP seems along the lines of what I was