[issue6395] Add Pickle Support to the codecs Module

2009-07-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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

[issue6395] Add Pickle Support to the codecs Module

2009-07-02 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- nosy: +alexandre.vassalotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6395] Add Pickle Support to the codecs Module

2009-07-01 Thread ThomasH
New submission from ThomasH : I recently ran into an infinite recursion trying to unpickle a codecs.StreamWriter object (I presume the issue would be the same for a StreamReader). Here is the end of the stack trace:   File "/sw/lib/python2.5/codecs.py", line 330, in __getattr__        return g

[issue6395] Add Pickle Support to the codecs Module

2009-07-01 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- type: crash -> feature request versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ _