@@ -122,6 +122,7 @@ it's safe to do so. This can lead to different values returned from
122122:func: `sys.getrefcount ` and :c:func: `Py_REFCNT ` compared to previous versions
123123of Python. See :ref: `below <whatsnew314-refcount >` for details.
124124
125+
125126New features
126127============
127128
@@ -151,6 +152,7 @@ within CPython itself and the community. This decision is for the future.
151152 :pep: `779 ` and its `acceptance
152153 <https://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123> `__.
153154
155+
154156.. _whatsnew314-pep734 :
155157
156158PEP 734: Multiple interpreters in the stdlib
@@ -785,6 +787,7 @@ configuration mechanisms).
785787.. seealso ::
786788 :pep: `741 `.
787789
790+
788791.. _whatsnew314-asyncio-introspection :
789792
790793Asyncio introspection capabilities
@@ -899,6 +902,7 @@ prevent tree construction:
899902 (Contributed by Pablo Galindo, Łukasz Langa, Yury Selivanov, and Marta
900903Gomez Macias in :gh: `91048 `.)
901904
905+
902906.. _whatsnew314-tail-call :
903907
904908A new type of interpreter
@@ -951,6 +955,7 @@ For further information on how to build Python, see
951955(Contributed by Ken Jin in :gh: `128563 `, with ideas on how to implement this
952956in CPython by Mark Shannon, Garrett Gu, Haoran Xu, and Josh Haberman.)
953957
958+
954959.. _whatsnew314-free-threaded-cpython :
955960
956961Free-threaded mode
@@ -1043,6 +1048,7 @@ work without modification). Free-threaded builds do not support JIT compilation.
10431048
10441049Please report any bugs or major performance regressions that you encounter!
10451050
1051+
10461052.. seealso :: :pep:`744`
10471053
10481054Concurrent safe warnings control
@@ -1058,6 +1064,7 @@ free-threaded build and false for the GIL-enabled build.
10581064
10591065(Contributed by Neil Schemenauer and Kumar Aditya in :gh: `130010 `.)
10601066
1067+
10611068Other language changes
10621069======================
10631070
@@ -1168,6 +1175,7 @@ Other language changes
11681175
11691176 .. _Jython : https://www.jython.org/
11701177
1178+
11711179.. _whatsnew314-pep765 :
11721180
11731181PEP 765: Disallow ``return ``/``break ``/``continue `` that exit a ``finally `` block
@@ -1315,6 +1323,7 @@ concurrent.futures
13151323 buffer.
13161324 (Contributed by Enzo Bonnal and Josh Rosenberg in :gh: `74028 `.)
13171325
1326+
13181327configparser
13191328------------
13201329
@@ -1324,6 +1333,7 @@ configparser
13241333 :class: `configparser.InvalidWriteError `.
13251334 (Contributed by Jacob Lincoln in :gh: `129270 `.)
13261335
1336+
13271337contextvars
13281338-----------
13291339
@@ -1385,6 +1395,7 @@ ctypes
13851395* :mod: `ctypes ` now supports :term: `free-threading builds <free threading> `.
13861396 (Contributed by Kumar Aditya and Peter Bierma in :gh: `127945 `.)
13871397
1398+
13881399curses
13891400------
13901401
@@ -1393,12 +1404,14 @@ curses
13931404 allows to change the color pair ``0 ``.
13941405 (Contributed by Serhiy Storchaka in :gh: `133139 `.)
13951406
1407+
13961408datetime
13971409--------
13981410
13991411* Add :meth: `datetime.time.strptime ` and :meth: `datetime.date.strptime `.
14001412 (Contributed by Wannes Boeykens in :gh: `41431 `.)
14011413
1414+
14021415decimal
14031416-------
14041417
@@ -1410,13 +1423,15 @@ decimal
14101423 corresponding to the IEEE 754 (2008) decimal interchange formats.
14111424 (Contributed by Sergey B Kirpichev in :gh: `53032 `.)
14121425
1426+
14131427difflib
14141428-------
14151429
14161430* Comparison pages with highlighted changes generated by the
14171431 :class: `difflib.HtmlDiff ` class now support dark mode.
14181432 (Contributed by Jiahao Li in :gh: `129939 `.)
14191433
1434+
14201435dis
14211436---
14221437
@@ -1609,6 +1624,7 @@ json
16091624 <using-on-controlling-color>`.
16101625 (Contributed by Tomas Roun in :gh: `131952 `.)
16111626
1627+
16121628linecache
16131629---------
16141630
@@ -1758,6 +1774,7 @@ multiprocessing
17581774 :keyword: `finally ` clauses to print a stack trace for the terminated
17591775 process. (Contributed by Artem Pulkin in :gh: `131913 `.)
17601776
1777+
17611778operator
17621779--------
17631780
@@ -1924,6 +1941,7 @@ socket
19241941 * Add many new constants.
19251942 (Contributed by Serhiy Storchaka in :gh: `132734 `.)
19261943
1944+
19271945ssl
19281946---
19291947
@@ -2025,6 +2043,7 @@ tkinter
20252043 :class: `!tkinter.ttk.OptionMenu `.
20262044 (Contributed by Zhikang Yan in :gh: `130482 `.)
20272045
2046+
20282047turtle
20292048------
20302049
@@ -2083,9 +2102,9 @@ typing
20832102
20842103 (Contributed by Jelle Zijlstra in :gh: `105499 `.)
20852104
2086-
20872105* :class: `typing.TypeAliasType ` now supports star unpacking.
20882106
2107+
20892108unicodedata
20902109-----------
20912110
@@ -2235,6 +2254,7 @@ asyncio
22352254 (Contributed by Yury Selivanov, Pablo Galindo Salgado, and Łukasz Langa
22362255 in :gh: `91048 `.)
22372256
2257+
22382258base64
22392259------
22402260
@@ -2419,6 +2439,7 @@ Deprecated
24192439
24202440.. include :: ../deprecations/pending-removal-in-future.rst
24212441
2442+
24222443Removed
24232444=======
24242445
@@ -2437,6 +2458,7 @@ argparse
24372458 inheritance. This functionality has been deprecated since Python 3.11.
24382459 (Contributed by Savannah Ostrowski in :gh: `127186 `.)
24392460
2461+
24402462ast
24412463---
24422464
@@ -2465,6 +2487,7 @@ ast
24652487 Use :attr: `!ast.Constant.value ` instead.
24662488 (Contributed by Alex Waygood in :gh: `119562 `.)
24672489
2490+
24682491asyncio
24692492-------
24702493
@@ -2585,12 +2608,14 @@ collections.abc
25852608* Remove :class: `!collections.abc.ByteString `. It had previously raised a
25862609 :exc: `DeprecationWarning ` since Python 3.12.
25872610
2611+
25882612email
25892613-----
25902614
25912615* Remove the *isdst * parameter from :func: `email.utils.localtime `.
25922616 (Contributed by Hugo van Kemenade in :gh: `118798 `.)
25932617
2618+
25942619importlib
25952620---------
25962621
@@ -2607,13 +2632,15 @@ importlib
26072632
26082633 (Contributed by Jason R. Coombs and Hugo van Kemenade in :gh: `93963 `.)
26092634
2635+
26102636itertools
26112637---------
26122638
26132639* Remove :mod: `itertools ` support for copy, deepcopy, and pickle operations.
26142640 These had previously raised a :exc: `DeprecationWarning ` since Python 3.12.
26152641 (Contributed by Raymond Hettinger in :gh: `101588 `.)
26162642
2643+
26172644pathlib
26182645-------
26192646
@@ -2624,13 +2651,15 @@ pathlib
26242651 :meth: `~pathlib.PurePath.is_relative_to `. In previous versions, any such
26252652 arguments are joined onto *other *.
26262653
2654+
26272655pkgutil
26282656-------
26292657
26302658* Remove deprecated :func: `!pkgutil.get_loader ` and :func: `!pkgutil.find_loader `.
26312659 These had previously raised a :exc: `DeprecationWarning ` since Python 3.12.
26322660 (Contributed by Bénédikt Tran in :gh: `97850 `.)
26332661
2662+
26342663pty
26352664---
26362665
@@ -2639,6 +2668,7 @@ pty
26392668 Use :func: `pty.openpty ` instead.
26402669 (Contributed by Nikita Sobolev in :gh: `118824 `.)
26412670
2671+
26422672sqlite3
26432673-------
26442674
@@ -2652,12 +2682,14 @@ sqlite3
26522682 it will now raise a :exc: `sqlite3.ProgrammingError `.
26532683 (Contributed by Erlend E. Aasland in :gh: `118928 ` and :gh: `101693 `.)
26542684
2685+
26552686typing
26562687------
26572688
26582689* Remove :class: `!typing.ByteString `. It had previously raised a
26592690 :exc: `DeprecationWarning ` since Python 3.12.
26602691
2692+
26612693urllib
26622694------
26632695
@@ -2675,6 +2707,7 @@ urllib
26752707 :func: `~urllib.request.build_opener `.
26762708 (Contributed by Barney Gale in :gh: `84850 `.)
26772709
2710+
26782711Others
26792712------
26802713
@@ -2694,12 +2727,14 @@ CPython bytecode changes
26942727* Replaced the opcode ``BINARY_SUBSCR `` by :opcode: `BINARY_OP ` with oparg ``NB_SUBSCR ``.
26952728 (Contributed by Irit Katriel in :gh: `100239 `.)
26962729
2730+
26972731Porting to Python 3.14
26982732======================
26992733
27002734This section lists previously described changes and other bugfixes
27012735that may require changes to your code.
27022736
2737+
27032738Changes in the Python API
27042739-------------------------
27052740
@@ -2733,6 +2768,7 @@ Build changes
27332768 with :c:expr: `Py_NO_LINK_LIB `. (Contributed by Jean-Christophe
27342769 Fillion-Robin in :gh: `82909 `.)
27352770
2771+
27362772.. _whatsnew314-pep761 :
27372773
27382774PEP 761: Discontinuation of PGP signatures
0 commit comments