Re: [Cython] Fused type signature resolution failures

2014-06-22 Thread Stefan Behnel
Hi, it looks like no-one replied to is so far, so here's a response. Pauli Virtanen, 18.03.2014 23:56: > Here are the fused types + memoryview signature resolution failures I > promised earlier (Cython 0.20.1): > > > (A) > > TypeError: No matching signature > > - a

Re: [Cython] Fused type signature resolution failures

2014-06-22 Thread Pauli Virtanen
22.06.2014 13:48, Stefan Behnel kirjoitti: [clip] > > (A) [clip] > > asd.foo(np.float32(1.0)) > > I don't actually know how NumPy represents its types at the Python > level, but my guess is that it would be tricky to match these two > without teaching Cython itself something about NumPy (and how it

Re: [Cython] Fused type signature resolution failures

2014-06-22 Thread Stefan Behnel
Pauli Virtanen, 22.06.2014 13:35: > 22.06.2014 13:48, Stefan Behnel kirjoitti: >> Generally speaking, I think that the signature matching algorithm has some >> room for improvements, especially the one that matches Python signatures at >> runtime. >> >> We should take a look at how other implementa