PEP 529: Fixes naming convention for sys functions.
This commit is contained in:
parent
10cdc578c1
commit
98e5683566
|
@ -198,7 +198,7 @@ Add legacy mode
|
||||||
|
|
||||||
Add a legacy mode flag, enabled by the environment variable
|
Add a legacy mode flag, enabled by the environment variable
|
||||||
``PYTHONLEGACYWINDOWSFSENCODING`` or by a function call to
|
``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
|
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
|
initialization as possible. Legacy mode cannot be disabled while Python is
|
||||||
running.
|
running.
|
||||||
|
@ -231,7 +231,7 @@ reporting of problems.
|
||||||
If it is decided to revert the functionality for 3.6.0rc1, the implementation
|
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
|
change would be to permanently enable the legacy mode flag, change the
|
||||||
environment variable to ``PYTHONWINDOWSUTF8FSENCODING`` and function to
|
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.
|
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
|
It is expected that if we cannot feasibly make the change for 3.6 due to
|
||||||
|
|
Loading…
Reference in New Issue