GitHub

Expand Up @@ -68,7 +68,7 @@ When ``warn_default_encoding`` option is specified, ``locale.getpreferredencoding()`` will emit ``EncodingWarning`` like ``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 Expand All @@ -89,7 +89,7 @@ This inconsistency should be fixed before making UTF-8 mode default. ``TextIOWrapper`` should use locale encoding when ``encoding="locale"`` is 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 Expand Down

Read the original on github.com ↗