summaryrefslogtreecommitdiffstats
path: root/Doc
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 /Doc
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 'Doc')
-rw-r--r--Doc/library/sys.rst9
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 09dd844..ad61377 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -724,15 +724,6 @@ always available.
:file:`/usr/include/dlfcn.h` using the :program:`h2py` script. Availability:
Unix.
-.. function:: setfilesystemencoding(enc)
-
- Set the encoding used when converting Python strings to file names to *enc*.
- By default, Python tries to determine the encoding it should use automatically
- on Unix; on Windows, it avoids such conversion completely. This function can
- be used when Python's determination of the encoding needs to be overwritten,
- e.g. when not all file names on disk can be decoded using the encoding that
- Python had chosen.
-
.. function:: setprofile(profilefunc)
.. index::