Patches item #1731036, was opened at 2007-06-04 17:52 Message generated for change (Comment added) made by ilgiz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1731036&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: Python 2.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ilguiz Latypov (ilgiz) Assigned to: Nobody/Anonymous (nobody) Summary: BufReader, TextReader for PEP 3116 "New I/O" Initial Comment: Here is a simple implementation of a line-oriented reader deriving from a buffered reader. Unlike the suggested extra derivation of buffered I/O class from a raw I/O class, my BufReader only wraps an "iterable" stream. Besides, I found I had to return an empty string instead of None on EOF because Python2.5's codecs.py assumes the former. Submitting this just in case it is found useful. ---------------------------------------------------------------------- >Comment By: Ilguiz Latypov (ilgiz) Date: 2007-06-04 17:57 Message: Logged In: YES user_id=281701 Originator: YES (I did not take into account the suggested newline and codec parameters, either). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1731036&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
