[issue8893] file.{read,readlines} behaviour on Solaris

Christophe Kalt report at bugs.python.org
Fri Jun 4 14:06:08 CEST 2010

Christophe Kalt <python at ote.taranis.org> added the comment:


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.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list