[Python-checkins] cpython (merge 3.3 -> default): Fix accidental non-breakable spaces (U+00A0).

serhiy.storchaka python-checkins at python.org
Fri Feb 8 10:28:41 CET 2013


http://hg.python.org/cpython/rev/5c4b00581198
changeset:   82071:5c4b00581198
parent:      82066:f5e3f2f0fe79
parent:      82070:ae92c8759c43
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Fri Feb 08 11:24:55 2013 +0200
summary:
  Fix accidental non-breakable spaces (U+00A0).

files:
  Lib/test/test_lzma.py    |  2 +-
  Lib/test/test_pyexpat.py |  2 +-
  Misc/NEWS                |  2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/test/test_lzma.py b/Lib/test/test_lzma.py
--- a/Lib/test/test_lzma.py
+++ b/Lib/test/test_lzma.py
@@ -671,7 +671,7 @@
 
     def test_read_truncated(self):
         # Drop stream footer: CRC (4 bytes), index size (4 bytes),
-        # flags (2 bytes) and magic number (2 bytes).
+        # flags (2 bytes) and magic number (2 bytes).
         truncated = COMPRESSED_XZ[:-12]
         with LZMAFile(BytesIO(truncated)) as f:
             self.assertRaises(EOFError, f.read)
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -600,7 +600,7 @@
             self.assertEqual(str(e), 'unclosed token: line 2, column 0')
 
     def test2(self):
-        # \xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
+        # \xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
         xml = b"<?xml version\xc2\x85='1.0'?>\r\n"
         parser = expat.ParserCreate()
         try:
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -243,7 +243,7 @@
 
 - Issue #17073: Fix some integer overflows in sqlite3 module.
 
-- Issue #17114: IDLE now uses non-strict config parser.
+- Issue #17114: IDLE now uses non-strict config parser.
 
 - Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
   is automatically closed.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list