diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-13 22:02:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-13 22:02:27 (GMT) |
commit | 8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac (patch) | |
tree | 53db405b86756f9164c15497b8696a959f30ccbb /Doc | |
parent | aa96592a59e1a79246283cddf026a72c9a16d11b (diff) | |
download | cpython-8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac.zip cpython-8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac.tar.gz cpython-8f6b6b0cc3febd15e33a96bd31dcb3cbef2ad1ac.tar.bz2 |
Issue #9992: Remove PYTHONFSENCODING environment variable.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/using/cmdline.rst | 12 | ||||
-rw-r--r-- | Doc/whatsnew/3.2.rst | 6 |
2 files changed, 0 insertions, 18 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 28df51d..7da1954 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -442,18 +442,6 @@ These environment variables influence Python's behavior. import of source modules. -.. envvar:: PYTHONFSENCODING - - If this is set before running the interpreter, it overrides the encoding used - for the filesystem encoding (see :func:`sys.getfilesystemencoding`). - - This variable is not available (ignored) on Windows and Mac OS X: the - filesystem encoding is pinned to ``'mbcs'`` on Windows and ``'utf-8'`` on - Mac OS X. - - .. versionadded:: 3.2 - - .. envvar:: PYTHONIOENCODING If this is set before running the interpreter, it overrides the encoding used diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index e5d79b6..9ac966d 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -569,12 +569,6 @@ A number of small performance enhancements have been added: Filenames and Unicode ===================== -The filesystem encoding can be specified by setting the -:envvar:`PYTHONFSENCODING` environment variable before running the interpreter. -The value is an encoding name, e.g. ``iso-8859-1``. This variable is not -available (ignored) on Windows and Mac OS X: the filesystem encoding is pinned -to ``'mbcs'`` on Windows and ``'utf-8'`` on Mac OS X. - The :mod:`os` module has two new functions: :func:`~os.fsencode` and :func:`~os.fsdecode`. |