homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients amaury.forgeotdarc, georg.brandl, r.david.murray, sdaoden, twouters
Date 2011年04月17日.15:57:33
SpamBayes Score 2.200819e-06
Marked as misclassified No
Message-id <1303055855.19.0.564710057546.issue11700@psf.upfronthosting.co.za>
In-reply-to
Content
Ah. Well, since the io module and its classes didn't exist when that code in mailbox.py was written, no, that's not what happened :)
Nor does 'file like object' in Python necessarily mean conformance to the io specification. We are *tending* in that direction, but the actual expected method set is really considerably smaller (and I'm not sure it is documented anywhere).
I will incorporate your suggestion into the patch, thanks. Ezio also pointed out that I should be checking for the 'closed' method's existence before calling it, so I will add that as well.
History
Date User Action Args
2011年04月17日 15:57:35r.david.murraysetrecipients: + r.david.murray, twouters, georg.brandl, amaury.forgeotdarc, sdaoden
2011年04月17日 15:57:35r.david.murraysetmessageid: <1303055855.19.0.564710057546.issue11700@psf.upfronthosting.co.za>
2011年04月17日 15:57:34r.david.murraylinkissue11700 messages
2011年04月17日 15:57:33r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /