PEP 529: Fixes naming convention for sys functions.

This commit is contained in:
Steve Dower 2016-09-06 13:48:12 -07:00
parent 10cdc578c1
commit 98e5683566
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ Add legacy mode
Add a legacy mode flag, enabled by the environment variable
``PYTHONLEGACYWINDOWSFSENCODING`` or by a function call to
``sys.enable_legacy_windows_fs_encoding()``. The function call can only be
``sys._enablelegacywindowsfsencoding()``. The function call can only be
used to enable the flag and should be used by programs as close to
initialization as possible. Legacy mode cannot be disabled while Python is
running.
@ -231,7 +231,7 @@ reporting of problems.
If it is decided to revert the functionality for 3.6.0rc1, the implementation
change would be to permanently enable the legacy mode flag, change the
environment variable to ``PYTHONWINDOWSUTF8FSENCODING`` and function to
``sys.enable_windows_utf8_fs_encoding()`` to allow enabling the functionality
``sys._enablewindowsutf8fsencoding()`` to allow enabling the functionality
on a case-by-case basis, as opposed to disabling it.
It is expected that if we cannot feasibly make the change for 3.6 due to