From 5b519e02016ea3a51f784dee70eead3be4ab1aff Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 10 Sep 2010 21:57:59 +0000 Subject: 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. --- Include/fileobject.h | 1 - 1 file changed, 1 deletion(-) (limited to 'Include/fileobject.h') diff --git a/Include/fileobject.h b/Include/fileobject.h index 6e0e55e3ee..20545fa85f 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 -- cgit v1.2.1