commit | 84ec8d931404f4f9037242ec933fdcdcd4870114 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Mon Jun 29 22:36:49 2009 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Mon Jun 29 22:36:49 2009 +0000 |
tree | 4936dae944a05bf26858b44065def904c8d23fac | |
parent | f909202c11e0a304486c9fb71458e19a598d10c0 [diff] |
#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')