[issue6395] Add Pickle Support to the codecs Module

Marc-Andre Lemburg report at bugs.python.org
Mon Jul 6 16:26:42 CEST 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

I don't understand the use case for this. 

If the StreamWriter/Reader cannot pickle the underlying stream (which is
probably always the case), why should the object itself be pickleable ?

What we could do is implement .__get/setstate__() and have it raise an
exception to inform the user of the problem.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6395>
_______________________________________


More information about the Python-bugs-list mailing list