[Numpy-discussion] datetime pull request for review and build/test

Mark Wiebe mwwiebe at gmail.com
Mon Jun 20 20:38:28 EDT 2011


https://github.com/numpy/numpy/pull/93

The summary:

* Tighten up date unit vs time unit casting rules, and integrate the
NPY_CASTING enum deeper into the datetime conversions
* Determine a unit when converting from a string array, similar to when
converting from lists of strings
* Switch local/utc handling to a timezone= parameter, which also accepts a
datetime.tzinfo object. This, for example, enables the use of the pytz
library with numpy.datetime64
* Remove the events metadata, make the old API functions raise exceptions,
and rename the "frequency" metadata name to "timeunit"
* Abstract the flexible dtype mechanism into a function, so that it can be
more easily changed without having to add code to many places

-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110620/708452ea/attachment.html>


More information about the NumPy-Discussion mailing list