summaryrefslogtreecommitdiffstats
path: root/Include/fileobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-09-10 21:57:59 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-09-10 21:57:59 (GMT)
commit5b519e02016ea3a51f784dee70eead3be4ab1aff (patch)
tree5886b329aef1b3d5fe965c78b97f82f99b93f6bf /Include/fileobject.h
parent6246d6dcb01c690fd82e870e5c4affbd2848d22c (diff)
downloadcpython-5b519e02016ea3a51f784dee70eead3be4ab1aff.zip
cpython-5b519e02016ea3a51f784dee70eead3be4ab1aff.tar.gz
cpython-5b519e02016ea3a51f784dee70eead3be4ab1aff.tar.bz2
Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING
environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects.
Diffstat (limited to 'Include/fileobject.h')
-rw-r--r--Include/fileobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h
index 6e0e55e..20545fa 100644
--- a/Include/fileobject.h
+++ b/Include/fileobject.h
@@ -21,7 +21,6 @@ PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *);
*/
PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
PyAPI_DATA(int) Py_HasFileSystemDefaultEncoding;
-PyAPI_FUNC(int) _Py_SetFileSystemEncoding(PyObject *);
/* Internal API