Le 29/01/2012 13:38, Dima Pasechnik a écrit :
and then it does (line 1750):
cdef char *buf = <char*>gdImagePngPtr(im, &size)
data = [buf[i] for i in range(size)]
and this data goes into the pickle. No wonder it gets different on
different platforms!
Would that also be a case of just using uint8_t and everything will be ok?
Snark on #sagemath
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org