1
+
1
2
****************************
2
3
What's new in Python 3.14
3
4
****************************
4
5
5
- :Editor: Hugo van Kemenade
6
+ :Editors: Adam Turner and Hugo van Kemenade
6
7
7
8
.. Rules for maintenance:
8
9
45
46
when researching a change.
46
47
47
48
This article explains the new features in Python 3.14, compared to 3.13.
48
-
49
+ Python 3.14 will be released on 7 October 2025.
49
50
For full details, see the :ref: `changelog <changelog >`.
50
51
51
52
.. seealso ::
52
53
53
54
:pep: `745 ` -- Python 3.14 release schedule
54
55
55
- .. note ::
56
-
57
- Prerelease users should be aware that this document is currently in draft
58
- form. It will be updated substantially as Python 3.14 moves towards release,
59
- so it's worth checking back even after reading earlier versions.
60
-
61
56
62
- Summary -- release highlights
57
+ Summary -- Release highlights
63
58
=============================
64
59
65
60
.. This section singles out the most important changes in Python 3.14.
66
61
Brevity is key.
67
62
68
- Python 3.14 will be the latest stable release of the Python
69
- programming language, with a mix of changes to the language, the
70
- implementation and the standard library.
71
-
72
- The biggest changes to the implementation include template strings (:pep: `750 `),
73
- deferred evaluation of annotations (:pep: `649 `),
74
- and a new type of interpreter that uses tail calls.
75
-
76
- The library changes include the addition of a new :mod: `!annotationlib ` module
77
- for introspecting and wrapping annotations (:pep: `749 `),
78
- a new :mod: `!compression.zstd ` module for Zstandard support (:pep: `784 `),
79
- plus syntax highlighting in the REPL,
63
+ Python 3.14 will be the latest stable release of the Python programming
64
+ language, with a mix of changes to the language, the implementation,
65
+ and the standard library.
66
+ The biggest changes include :ref: `template string literals
67
+ <whatsnew314-template-string-literals>`,
68
+ :ref: `deferred evaluation of annotations <whatsnew314-deferred-annotations >`,
69
+ and support for :ref: `subinterpreters <whatsnew314-multiple-interpreters >` in
70
+ the standard library.
71
+
72
+ The library changes include significantly improved capabilities for
73
+ :ref: `introspection in asyncio <whatsnew314-asyncio-introspection >`,
74
+ :ref: `support for Zstandard <whatsnew314-zstandard >` via a new
75
+ :mod: `compression.zstd ` module, syntax highlighting in the REPL,
80
76
as well as the usual deprecations and removals,
81
77
and improvements in user-friendliness and correctness.
82
78
79
+ This article doesn't attempt to provide a complete specification
80
+ of all new features, but instead gives a convenient overview.
81
+ For full details refer to the documentation,
82
+ such as the :ref: `Library Reference <library-index >`
83
+ and :ref: `Language Reference <reference-index >`.
84
+ To understand the complete implementation and design rationale for a change,
85
+ refer to the PEP for a particular new feature;
86
+ but note that PEPs usually are not kept up-to-date
87
+ once a feature has been fully implemented.
88
+ See `Porting to Python 3.14 `_ for guidance on upgrading from
89
+ earlier versions of Python.
90
+
83
91
--------------
84
92
85
93
.. PEP-sized items next.
@@ -100,6 +108,7 @@ Interpreter improvements:
100
108
* :ref: `A new type of interpreter <whatsnew314-tail-call-interpreter >`
101
109
* :ref: `Free-threaded mode improvements <whatsnew314-free-threaded-cpython >`
102
110
* :ref: `Improved error messages <whatsnew314-improved-error-messages >`
111
+ * :ref: `Incremental garbage collection <whatsnew314-incremental-gc >`
103
112
104
113
Significant improvements in the standard library:
105
114
@@ -124,7 +133,8 @@ Release changes:
124
133
125
134
* :pep: `779 `: :ref: `Free-threaded Python is officially supported
126
135
<whatsnew314-free-threaded-now-supported>`
127
- * :pep: `761 `: :ref: `Discontinuation of PGP signatures <whatsnew314-no-more-pgp >`
136
+ * :pep: `761 `: :ref: `PGP signatures have been discontinued for official releases
137
+ <whatsnew314-no-more-pgp>`
128
138
* :ref: `Windows and macOS binary releases now support the experimental
129
139
just-in-time compiler <whatsnew314-jit-compiler>`
130
140
* :ref: `Binary releases for Android are now provided <whatsnew314-build-changes >`
@@ -2440,6 +2450,7 @@ asyncio
2440
2450
blocking_code()
2441
2451
runner.run(operation_two())
2442
2452
2453
+
2443
2454
email
2444
2455
-----
2445
2456
@@ -2731,6 +2742,7 @@ CPython bytecode changes
2731
2742
* Add the :opcode: `POP_ITER ` opcode to support 'virtual' iterators.
2732
2743
(Contributed by Mark Shannon in :gh: `132554 `.)
2733
2744
2745
+
2734
2746
Pseudo-instructions
2735
2747
-------------------
2736
2748
0 commit comments