ma, 2010-06-28 kello 15:48 -0400, Anne Archibald kirjoitti:
[clip]
> That said, good exception hygiene argues that np.load should throw
> EOFErrors rather than the more generic IOErrors, but I don't know how
> difficult this would be to achieve.

np.load is in any case unhygienic, since it tries to unpickle, if it
doesn't see the .npy magic header.

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to