Skip to content

Commit 59091e8

Browse files
authored
PEP 686: Add schedule for each spec. (#2496)
1 parent b70ce67 commit 59091e8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pep-0686.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Specification
4949
Enable UTF-8 mode by default
5050
----------------------------
5151

52-
Python enables UTF-8 mode by default.
52+
Python will enable UTF-8 mode by default from Python 3.13.
5353

5454
Users can still disable UTF-8 mode by setting ``PYTHONUTF8=0`` or
5555
``-X utf8=0``.
@@ -68,6 +68,8 @@ When ``warn_default_encoding`` option is specified,
6868
``locale.getpreferredencoding()`` will emit ``EncodingWarning`` like
6969
``open()`` (see also :pep:`597`).
7070

71+
This API will be added in Python 3.11.
72+
7173

7274
Fixing ``encoding="locale"`` option
7375
-----------------------------------
@@ -87,6 +89,8 @@ This inconsistency should be fixed before making UTF-8 mode default.
8789
``TextIOWrapper`` should use locale encoding when ``encoding="locale"`` is
8890
passed even in UTF-8 mode.
8991

92+
This issue will be fixed in Python 3.11.
93+
9094

9195
Backward Compatibility
9296
======================

0 commit comments

Comments
 (0)