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
import numpy as np
import warnings

warnings.simplefilter('always')
assert np.dtype('M8[3M/40]') == np.dtype('M8[54h]')
np.dtype('M8[3M/40]')
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to