[Patches] [Patch #101477] Fixes of ReadStream.readline() in UTF-16 and -LE codecs

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Oct 2000 07:44:21 -0700


Patch #101477 has been updated. 

Project: 
Category: library
Status: Open
Summary: Fixes of ReadStream.readline() in UTF-16 and -LE codecs

Follow-Ups:

Date: 2000-Sep-14 07:09
By: fdrake

Comment:
Marc-Andre, please review this & decide what should happen next.
-------------------------------------------------------

Date: 2000-Sep-18 09:28
By: lemburg

Comment:
I'm not sure whether this is the right fix: Unicode defines many
more line break characters than just LF and the patch will only
work correctly on Unix (also note that UTF-16 can be BE and LE
-- your fix assumes LE).

A true fix would have to also touch the .read() method and
implement a true read-ahead buffer strategy to get this done
right.
-------------------------------------------------------

Date: 2000-Sep-19 03:41
By: lemburg

Comment:
Postponed until after the Python 2.0b2 release.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101477&group_id=5470