]> granicus.if.org Git - python/commitdiff
Comment about UTF-16 changes.
authorMarc-André Lemburg <mal@egenix.com>
Fri, 5 Apr 2002 12:15:05 +0000 (12:15 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Fri, 5 Apr 2002 12:15:05 +0000 (12:15 +0000)
Misc/NEWS

index 15a049d955840aea66e92dd59d5b1c1f7789e329..7b6b449054e1b41dca3cf8b6ff267d7ba5d6969b 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -63,6 +63,12 @@ Extension modules
 
 Library
 
+- The UTF-16, -LE and -BE now raise a NotImplementedError
+  for all calls to .readline(). Previously, they used to just
+  produce garbage or fail with an encoding error -- UTF-16 is
+  a 2-byte encoding and the C lib's line reading APIs don't
+  work well with these.
+
 - compileall now supports quiet operation.
 
 - The BaseHTTPServer implements now optionally HTTP/1.1 persistent