summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-29 22:38:54 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-29 22:38:54 (GMT)
commite5344d6c45f15e8cd5b450311a402de568f54b47 (patch)
tree150fa35d9135b3d2c751fdf192a0659e54ef28a5 /Misc
parent77b31ef202359e6f29d261b7dfbb356f36d49123 (diff)
downloadcpython-e5344d6c45f15e8cd5b450311a402de568f54b47.zip
cpython-e5344d6c45f15e8cd5b450311a402de568f54b47.tar.gz
cpython-e5344d6c45f15e8cd5b450311a402de568f54b47.tar.bz2
Merged revisions 73698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r73698 | amaury.forgeotdarc | 2009-06-30 00:36:49 +0200 (mar., 30 juin 2009) | 7 lines #6373: SystemError in str.encode('latin1', 'surrogateescape') if the string contains unpaired surrogates. (In debug build, crash in assert()) This can happen with normal processing, if python starts with utf-8, then calls sys.setfilesystemencoding('latin-1') ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 59e913b..3a4d486 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 3.1.1?
Core and Builtins
-----------------
+- Issue #6373: Fixed a RuntimeError when encoding with the latin-1 codec and
+ the 'surrogateescape' error handler, a string which contains unpaired
+ surrogates.
+
Library
-------