[issue1706039] Added clearerr() to clear EOF state

Scott Dial report at bugs.python.org
Mon Dec 22 15:42:41 CET 2008


Scott Dial <scott at scottdial.com> added the comment:

I believe the original patch is overreaching. I believe the changes to
fileobject.c should've been much simpler, just as the title describes
(adding clearerr() just before performing reads on the FILE handles).

I've attached a much simpler patch that I believe corrects the issue,
but I don't have an OS X platform to try it on.

----------
nosy: +scottdial
Added file: http://bugs.python.org/file12425/fileobject.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1706039>
_______________________________________


More information about the Python-bugs-list mailing list