[Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

Till Stensitzki mail.till at gmx.de
Sat Apr 23 09:33:36 EDT 2011

due a mistake i found the following bug:

import numpy as np
x=np.zeros((262144, 262144))
print x.shape
print x

The last line crashes the python interpreter without any feedback.
Windows 7, Python 2.6.5, Numpy 1.6b2

More information about the NumPy-Discussion mailing list