From 98e5683566f9e60ba2142509b22658dc3e6b9f93 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Tue, 6 Sep 2016 13:48:12 -0700 Subject: [PATCH] PEP 529: Fixes naming convention for sys functions. --- pep-0529.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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