]> granicus.if.org Git - python/commit
Merged revisions 73698 via svnmerge from
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 29 Jun 2009 22:38:54 +0000 (22:38 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 29 Jun 2009 22:38:54 +0000 (22:38 +0000)
commite5344d6c45f15e8cd5b450311a402de568f54b47
tree150fa35d9135b3d2c751fdf192a0659e54ef28a5
parent77b31ef202359e6f29d261b7dfbb356f36d49123
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')
........
Lib/test/test_codecs.py
Misc/NEWS
Objects/unicodeobject.c