]> granicus.if.org Git - python/commit
PyUnicode_DecodeFSDefaultAndSize() uses surrogateescape error handler
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 30 Apr 2010 16:37:52 +0000 (16:37 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 30 Apr 2010 16:37:52 +0000 (16:37 +0000)
commitb9a20ad036ea0e4b8dd2f57158375d5138dd0663
tree35abb81f2c0c83526901f24af0119ab0c4a315a1
parent56d6410c2dfd60c109de6d3a59dab25d29dda9ce
PyUnicode_DecodeFSDefaultAndSize() uses surrogateescape error handler

This function is only used to decode Python module filenames, but Python
doesn't support surrogates in modules filenames yet. So nobody noticed this
minor bug.
Misc/NEWS
Objects/unicodeobject.c