[Numpy-discussion] Datetime branch

Charles R Harris charlesr.harris at gmail.com
Thu Jun 11 15:29:51 EDT 2009

On Thu, Jun 11, 2009 at 1:07 PM, Travis Oliphant <oliphant at enthought.com>wrote:


> In the date-time case, it holds what frequency the integer in the data-
> type represents.    There will only be 2 new static data-types.
> "Datetime" and "Timedelta" that use 8 bytes each.
> What those 8 bytes represent will be determined by the metadata
> (years, months, seconds, etc...).
> But, generally, it will be an extra dictionary that can store anything
> you want (anybody want to define a "float" data-type that uses IBM
> format bits?).  The ufunc machinery needs to change to handle passing
> that information in somehow.   The approaches we take to doing that
> will also hopefully allow us to define ufuncs for string, unicode, and
> void * arrays as well.

Hmm. I wonder if there could be a python program the loads conversion
information into the dictionary when the module loads?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090611/8fde954c/attachment.html>

More information about the NumPy-Discussion mailing list