Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

PR 4067 fixes following issues when unpickle on Unix or in binary mode files 
written with protocol 0 in text mode on Windows:

* ints were unpickled as longs by cPickle.
* bools were unpickled as longs by cPickle and as ints by pickle.
* floats couldn't be unpickled by cPickle.
* strings couldn't be unpickled by pickle.
* instances and globals couldn't be unpickled. And error messages were 
confusing due to invisible \r.
* pickles with protocol 0 containing Unicode string with \x1a couldn't be 
unpickled on Windows in text mode.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31829>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to