[Numpy-discussion] RuntimeWarning: numpy.ndarray size changed
Charles R Harris
Wed Apr 11 14:22:17 CDT 2012
On Wed, Apr 11, 2012 at 1:11 PM, Charles R Harris <firstname.lastname@example.org
> On Wed, Apr 11, 2012 at 12:45 PM, Nils Wagner <
> email@example.com> wrote:
>> Hi all,
>> Can someone reproduce the following message ?
>> Python 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC] on
>> Type "help", "copyright", "credits" or "license" for more
>> >>> import numpy
>> RuntimeWarning: numpy.ndarray size changed, may indicate
>> binary incompatibility
>> from mtrand import *
>> >> numpy.__version__
> It's a harmless artifact. When NO_DEPRECATED_API is defined, the ndarray
> structure is hidden so that direct member access raises a compile error.
> This confuses the heck out of Cython. There is a fairly recent post on the
> Cython mailing list about it. For release we will disable the warning so
> that it won't bother anyone.
Here is the Cython
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion