PEP 686: gh-91156 is fixed (#2525)
This commit is contained in:
parent
dab4e0bb9b
commit
a6a7eb3e07
|
@ -68,7 +68,7 @@ When ``warn_default_encoding`` option is specified,
|
||||||
``locale.getpreferredencoding()`` will emit ``EncodingWarning`` like
|
``locale.getpreferredencoding()`` will emit ``EncodingWarning`` like
|
||||||
``open()`` (see also :pep:`597`).
|
``open()`` (see also :pep:`597`).
|
||||||
|
|
||||||
This API will be added in Python 3.11.
|
This API was added in Python 3.11.
|
||||||
|
|
||||||
|
|
||||||
Fixing ``encoding="locale"`` option
|
Fixing ``encoding="locale"`` option
|
||||||
|
@ -89,7 +89,7 @@ This inconsistency should be fixed before making UTF-8 mode default.
|
||||||
``TextIOWrapper`` should use locale encoding when ``encoding="locale"`` is
|
``TextIOWrapper`` should use locale encoding when ``encoding="locale"`` is
|
||||||
passed even in UTF-8 mode.
|
passed even in UTF-8 mode.
|
||||||
|
|
||||||
This issue will be fixed in Python 3.11.
|
This issue was fixed in Python 3.11.
|
||||||
|
|
||||||
|
|
||||||
Backward Compatibility
|
Backward Compatibility
|
||||||
|
|
Loading…
Reference in New Issue