diff --git a/pep-0529.txt b/pep-0529.txt index 42bbcc78e..57d91d4f4 100644 --- a/pep-0529.txt +++ b/pep-0529.txt @@ -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