On Fri, Mar 6, 2015 at 10:34 AM, Sebastian <se...@sebix.at> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi all, > > As this also affects .npy files, which uses pickle internally, why can't > this be done by Numpy itself? This breaks backwards compatibility in a > very bad way in my opinion. > > The company I worked for uses Numpy and consorts a lot and also has many > data in .npy and pickle files. They currently work with 2.7, but I also > tried to develop my programs to be compatible with Py 3. But this was > not possible when it came to the point of dumping and loading npy files. > I think this will be major reason why people won't take the step forward > to Py3 and Numpy is not considered to be compatible to Python 3. >
Are you suggesting adding a flag to the files to mark the python version in which they were created? The *.npy format is versioned, so something could probably be done with that. Chuck
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion