Serhiy Storchaka added the comment:

There is the _compat_pickle module that purposed to support backward and 
forward compatibility for renamed or moved classes and modules.

StringIO.StringIO in 2.x corresponds to io.StringIO or io.BytesIO. The problem 
is that we can't determine what of classes is a match in every concrete case, 
especially if StringIO.StringIO is empty.

But since cStringIO.StringIO is not pickleable either, I now think that it is 
not worth to support to support compatibility with pickled StringIO.StringIO 
instances.

----------
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

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

Reply via email to