Patches item #1731036, was opened at 2007-06-04 17:52
Message generated for change (Comment added) made by gvanrossum
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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Ilguiz Latypov (ilgiz)
Assigned to: Guido van Rossum (gvanrossum)
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: Guido van Rossum (gvanrossum)
Date: 2007-08-21 15:23

Message:
Logged In: YES 
user_id=6380
Originator: NO

Thanks, this has been superseded by the curernt implementation of io.py.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2007-06-04 21:44

Message:
Logged In: YES 
user_id=33168
Originator: NO

Guido, this might be of interest if you are working on new i/o again.  I
haven't reviewed it.

----------------------------------------------------------------------

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
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to