[Numpy-discussion] segfault in np.arange

Dave Hirschfeld dave.hirschfeld at gmail.com
Fri Oct 24 05:20:31 EDT 2014


Julian Taylor <jtaylor.debian <at> googlemail.com> writes:

> 
> On 23.10.2014 19:21, Dave Hirschfeld wrote:
> > Hi,
> > I accidentally passed a pandas DatetimeIndex to `np.arange` which 
caused 
> > it to segfault. It's a pretty dumb thing to do but I don't think it 
> > should cause a segfault!
> 
> thanks for the report, this patch should fix it:
> 
> https://github.com/numpy/numpy/pull/5225
> 


Thanks for the super-fast patch! Hopefully it will make it into the next 
bugfix release, even if it is an apparently little used functionality.


-Dave




More information about the NumPy-Discussion mailing list