Author stutzbach
Recipients benjamin.peterson, pitrou, stutzbach
Date 2010-09-15.16:01:35
SpamBayes Score 6.43443e-05
Marked as misclassified No
Message-id <AANLkTimuxYtg2K2utX5_mKMKkq+egV-2C_WtTbW2m9am@mail.gmail.com>
In-reply-to <AANLkTi=R9B5B6XcRWkEFGMa4w4WjxPFnncxh6GyRfonE@mail.gmail.com>
Content
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
Files
File name Uploaded
unnamed stutzbach, 2010-09-15.16:01:34
History
Date User Action Args
2010-09-15 16:01:37stutzbachsetrecipients: + stutzbach, pitrou, benjamin.peterson
2010-09-15 16:01:35stutzbachlinkissue9858 messages
2010-09-15 16:01:35stutzbachcreate