You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built numpy from the master branch source today (I make new builds every couple of weeks), and am seeing a new warning that I have not seen before:
In [1]: import numpy
/Library/Python/2.7/site-packages/numpy-1.7.0.dev_0c5f480_20120412-py2.7-macosx-10.7-x86_64.egg/numpy/random/__init__.py:91: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
from mtrand import *
I am using the same build script as I always do. I am on OS X 10.7.3, and am using the following env variables:
Not a problem, it is a Cython artifact resulting from Numpy deprecating direct access to ndarray internals. See the Cython thread at [http://mail.python.org/pipermail/cython-devel/2012-January/001848.html]
It's strange though that you get this warning when importing numpy itself. It should come from another package compiled against older numpy, that then sees a change in numpy.
Okay, I see it now. We should filter it though, this warning is annoying. Especially because it's the exact same warning that signals ABI issues like the one that caused the removal of datetime in 1.4.1.
Activity
numpy-gitbot commentedon Oct 19, 2012
@charris wrote on 2012-04-12
Not a problem, it is a Cython artifact resulting from Numpy deprecating direct access to ndarray internals. See the Cython thread at [http://mail.python.org/pipermail/cython-devel/2012-January/001848.html]
numpy-gitbot commentedon Oct 19, 2012
@rgommers wrote on 2012-04-14
It's strange though that you get this warning when importing numpy itself. It should come from another package compiled against older numpy, that then sees a change in numpy.
numpy-gitbot commentedon Oct 19, 2012
@charris wrote on 2012-04-14
It is issued when importing the mtrand module.
numpy-gitbot commentedon Oct 19, 2012
@rgommers wrote on 2012-04-15
Okay, I see it now. We should filter it though, this warning is annoying. Especially because it's the exact same warning that signals ABI issues like the one that caused the removal of datetime in 1.4.1.
I sent a PR: #252
numpy-gitbot commentedon Oct 19, 2012
Milestone changed to
NumPy 1.7by @rgommers on 2012-04-15numpy-gitbot commentedon Oct 19, 2012
@rgommers wrote on 2012-04-15
PR merged in 9dfda59