[Numpy-discussion] datetime dtype possible regression

Charles R Harris charlesr.harris at gmail.com
Mon Apr 30 17:11:18 EDT 2012


On Mon, Apr 30, 2012 at 1:19 PM, Mark Wiebe <mwwiebe at gmail.com> wrote:

> I've done some comparisons of 1.6.1 and 1.7 (master), and written up some
> key differences in a pull request here:
>
> https://github.com/numpy/numpy/pull/264/files#diff-0
>
> What you've discovered here looks like an interaction between the
> automatic unit detection and struct dtypes, it's a bug to do with how
> flexible types work. To match how the struct dtypes work with flexible
> string dtypes, it should raise an error when trying to create a dtype with
> just 'M8' and no unit specified, at In [4].
>
>
Hi Mark, is there anything relevant that should go in the 1.6.2 release?

<snip>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120430/52b99caa/attachment.html>


More information about the NumPy-Discussion mailing list