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 <>
In-reply-to <>
On Wed, Sep 15, 2010 at 10:51 AM, Benjamin Peterson

> 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:

File name Uploaded
unnamed stutzbach, 2010-09-15.16:01:34
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