On Thu, Jun 11, 2009 at 1:07 PM, Travis Oliphant <[email protected]>wrote:
<snip> > > 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? Chuck
_______________________________________________ Numpy-discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
