[issue1706039] Added clearerr() to clear EOF state

Antoine Pitrou report at bugs.python.org
Wed Mar 9 23:44:30 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

I'm afraid there's a misunderstanding here about the scope of the issue. fileobject.c is not really used in py3k (except for a couple very specific uses such as the tokenizer or the import machinery).
The standard I/O stack uses object in the _io module (that is, in Modules/_io/*.c).
That's also why you won't see the tests failing, even without the patch...

----------
stage: test needed -> patch review
versions:  -Python 3.1, Python 3.2

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


More information about the Python-bugs-list mailing list