Return complete lines from codec stream readers
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #1178484.
Will backport to 2.4.
diff --git a/Misc/NEWS b/Misc/NEWS
index b88608e..a65db9d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -191,6 +191,10 @@
 Library
 -------
 
+- Bug #1178484: Return complete lines from codec stream readers
+  even if there is an exception in later lines, resulting in
+  correct line numbers for decoding errors in source code. 
+
 - Bug #1192315: Disallow negative arguments to clear() in pdb.
 
 - Patch #827386: Support absolute source paths in msvccompiler.py.