[Numpy-discussion] datetime uses API deprecated in python3.1

Charles R Harris charlesr.harris@gmail....
Sun Feb 21 03:13:15 CST 2010


Hi Travis,

The warning is

dep.py:6: PendingDeprecationWarning: The CObject API is deprecated as of
Python 3.1.  Please convert to using the Capsule API.
  np.dtype('M8[3M/40]')

This doesn't happen with the old dtypes, so I assume it is associated with
something introduced for datetime. Any ideas? I've attached a script that
shows the warning.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100221/c650dbe2/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dep.py
Type: text/x-python
Size: 141 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100221/c650dbe2/attachment.py 


More information about the NumPy-Discussion mailing list