ctypes warning

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Nov 6 15:09:32 EST 2006


A simple import of numpy with the latest svn triggers a ctypes warning

In [1]: import numpy
/usr/lib/python2.4/site-packages/numpy/ctypeslib.py:12: UserWarning:
All features of ctypes interface may not work with ctypes < 1.0.1
  warnings.warn("All features of ctypes interface may not work with "
 

This is a bit of an annoyance.  Even if the warning level is
configurable, I think the bulk of matplotlib users, who get the
warning when using numpy through mpl but make no use of ctypes, will
be confused by this.  Is it right and good that this message gets
triggered by default for any import of numpy, even those not using the
ctypes features?

JDH

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the NumPy-Discussion mailing list