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 kalt
Recipients benjamin.peterson, eric.araujo, kalt, pitrou, tim.peters
Date 2010-06-04.12:06:05
SpamBayes Score 0.00024655374
Marked as misclassified No
Message-id <1275653168.58.0.268502499911.issue8893@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine:

I'm not sure what the expected behaviour should be either, this is certainly for others more familiar with Python than I to decide.  Although I am certainly annoyed that the current behaviour differs between Solaris and Linux.  Haven't had time to check other platforms to see how things should be.

Also, the behaviour seems inconsistent between the various file methods on Solaris which seems wrong.  Finally, from looking into fileobject.c, clearerr() is used in most places and the omissions (corrected by my patch) do seem unintentional to me, e.g. bugs.

Hope this helps.
History
Date User Action Args
2010-06-04 12:06:08kaltsetrecipients: + kalt, tim.peters, pitrou, benjamin.peterson, eric.araujo
2010-06-04 12:06:08kaltsetmessageid: <1275653168.58.0.268502499911.issue8893@psf.upfronthosting.co.za>
2010-06-04 12:06:06kaltlinkissue8893 messages
2010-06-04 12:06:05kaltcreate