Message116463
On Wed, Sep 15, 2010 at 10:51 AM, Benjamin Peterson
<report@bugs.python.org>wrote:
> I'm not sure if this pickling stuff matters as long as they both pickle.
>
I'm not sure either. Do other Python implementations try to maintain a
compatible pickle format with CPython? If so, I think CPython's C and
Python versions should also pickle to the same format.
> Yes, all the code expects an AttributeError on name is it's not
> present. For example, FileIO only sets its name attribute if it is
> passed a filename and not an fd.
>
Actually, FileIO sets the name attribute to the file descriptor if it isn't
passed a name:
1 |
File name |
Uploaded |
unnamed
|
stutzbach,
2010-09-15.16:01:34
|
|
Date |
User |
Action |
Args |
2010-09-15 16:01:37 | stutzbach | set | recipients:
+ stutzbach, pitrou, benjamin.peterson |
2010-09-15 16:01:35 | stutzbach | link | issue9858 messages |
2010-09-15 16:01:35 | stutzbach | create | |
|