Hi,
I've debugged my problem with passing NumPy scalars via Cython into C++
down to the fact that inside Cython code `isinstance(x, float)` returns
True on floating point NumPy scalars, but `isinstance(x, (int, long))`
returns False on integer NumPy scalars.
However, when I run the same code from
On Mon, 2013-07-15 at 17:03 +0200, Yury V. Zaytsev wrote:
> However, when I run the same code from within Python, both checks work
> just fine. So is this a genuine bug in Cython, or, rather, NumPy is
> doing some black magic behind the scenes, that prevents
> Cython-compiled modules from working c
Great idea re wiki, especially as github makes doc edits and pull requests
nearly as easy. I agree the docs need cleaning, I'll see what I can do once
I get to real internet.
On Jul 14, 2013 10:07 AM, "Anthony Scopatz" wrote:
> Hello Stefan,
>
> I think that this is a good idea and I just thought