[Numpy-discussion] datetime uses API deprecated in python3.1
Charles R Harris
charlesr.harris at gmail.com
Sun Feb 21 04:13:15 EST 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.python.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: 142 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100221/c650dbe2/attachment.py>
More information about the NumPy-Discussion
mailing list