File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Specification
4949Enable 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
5454Users 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
7274Fixing ``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
8890passed even in UTF-8 mode.
8991
92+ This issue will be fixed in Python 3.11.
93+
9094
9195Backward Compatibility
9296======================
You can’t perform that action at this time.
0 commit comments