[issue1706039] Added clearerr() to clear EOF state
report at bugs.python.org
Tue Nov 30 18:26:08 CET 2010
Scott Dial <scott at scottdial.com> added the comment:
The patch includes unittests; the issue is that the tests pass without the changes. That is an entirely different state to be in. The tests should be committed unless somebody wants to object to the behavior that they are testing (although I believe this behavior is already codified in documentation). If the tests start failing on someone's platform, then you have a patch already waiting to be applied. Nevertheless, I don't see the harm in the patch as-is, because it is a quite innocuous change to Py_UniversalNewlineFgets(), unless (again) you want to argue about the correctness of that change despite no test failing.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list