This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author josm
Recipients
Date 2007-04-28.17:03:06
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
New patch Attached.
I believe this one includes all belopolsky's suggestions.

Now all dirty jobs are done in Py_UniversalNewlineFread:
1. calls clearerr if ferror or feof
2. set IOErrorr exception and return

The caller just checks whether IOError is occurred or not
and does appropriate jobs.

The attachment also contains unittest for this problem.

File Added: eof.diff
History
Date User Action Args
2007-08-23 15:58:12adminlinkissue1706039 messages
2007-08-23 15:58:12admincreate