[issue1706039] Added clearerr() to clear EOF state

Scott Dial report at bugs.python.org
Thu Dec 10 10:18:23 CET 2009


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

I've attached a patch that applies cleanly against py3k.

I do not have an in-depth understanding of the new io module, but at a
cursory glance, it seems to not use FILE streams, and would not be
subject to this bug. However, Py_UniversalNewlineFgets() still remains,
and I have patched it accordingly. Additionally, I have added the test
to test_fileio.

py3k doesn't fail any of these tests for me, but the original issue was
only exposed on OS X.

----------
Added file: http://bugs.python.org/file15516/issue1706039-py3k.patch

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


More information about the Python-bugs-list mailing list