[SciPy-user] numpy.fastCopyAndTranspose Segfaults
Wed Apr 30 07:44:20 CDT 2008
I tried posting to the numpy mailing list but it didn't seem to make it through
so I'm re-posting in case it's of interest to the scipy community.
As the subject says the below code will crash the Python interpreter. I'm
running 32-bit Win XP on an x64 xeon cpu.
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on
Type "help", "copyright", "credits" or "license" for more information.
from datetime import datetime, timedelta
from numpy import asarray, fastCopyAndTranspose
timestamps = [datetime(2007,1,1)]
while timestamps[-1] < datetime(2007,12,31):
timestamps.append(timestamps[-1] + timedelta(1))
x = [asarray(timestamps),asarray(range(len(timestamps)))]
More information about the SciPy-user