diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-19 18:52:43 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-19 18:52:43 (GMT) |
commit | 7c587bf53d67ef0e279e471ac6d52d5087f4b3e8 (patch) | |
tree | 47441dac0ca51451071740cc30d3507b84edea71 /Modules/_io | |
parent | 35b76027f94b12911cc97f960ebbb3c137d10d2b (diff) | |
download | cpython-7c587bf53d67ef0e279e471ac6d52d5087f4b3e8.zip cpython-7c587bf53d67ef0e279e471ac6d52d5087f4b3e8.tar.gz cpython-7c587bf53d67ef0e279e471ac6d52d5087f4b3e8.tar.bz2 |
Issue #8438: Remove reference to the missing "surrogateescape" encoding
error handler from the new IO library.
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index ec320f7..af98fd0 100644 --- a/Modules/_io/fileio.c +++ b/Modules/_io/fileio.c @@ -248,7 +248,7 @@ fileio_init(PyObject *oself, PyObject *args, PyObject *kwds) return -1; stringobj = PyUnicode_AsEncodedString( - u, Py_FileSystemDefaultEncoding, "surrogateescape"); + u, Py_FileSystemDefaultEncoding, NULL); Py_DECREF(u); if (stringobj == NULL) return -1; |