Skip to content

Commit c3133a3

Browse files
Deploy preview for PR 1226 🛫
1 parent a307e82 commit c3133a3

585 files changed

Lines changed: 693 additions & 593 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pr-preview/pr-1226/_sources/howto/descriptor.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ by member descriptors:
16401640
class Member:
16411641

16421642
def __init__(self, name, clsname, offset):
1643-
'Emulate PyMemberDef in Include/structmember.h'
1643+
'Emulate PyMemberDef in Include/descrobject.h'
16441644
# Also see descr_new() in Objects/descrobject.c
16451645
self.name = name
16461646
self.clsname = clsname

pr-preview/pr-1226/_sources/library/tomllib.rst.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ This module provides an interface for parsing TOML 1.0.0 (Tom's Obvious Minimal
1717
Language, `https://toml.io <https://toml.io/en/>`_). This module does not
1818
support writing TOML.
1919

20+
.. warning::
21+
22+
Be cautious when parsing data from untrusted sources.
23+
A malicious TOML string may cause the decoder to consume considerable
24+
CPU and memory resources.
25+
Limiting the size of data to be parsed is recommended.
26+
2027
.. seealso::
2128

2229
The :pypi:`Tomli-W package <tomli-w>`

pr-preview/pr-1226/_sources/whatsnew/3.14.rst.txt

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -954,10 +954,24 @@ when a module is imported) will still emit the syntax warning.
954954
(Contributed by Irit Katriel in :gh:`130080`.)
955955

956956

957+
.. _incremental-garbage-collection:
957958
.. _whatsnew314-incremental-gc:
958959

959-
Incremental garbage collection
960-
------------------------------
960+
Garbage collection
961+
------------------
962+
963+
**From Python 3.14.5 onwards:**
964+
965+
The garbage collector (GC) has changed in Python 3.14.5.
966+
967+
Python 3.14.0-3.14.4 shipped with a new incremental GC.
968+
However, due to a number of `reports
969+
<https://github.com/python/cpython/issues/142516>`__
970+
of significant memory pressure in production environments,
971+
it has been reverted back to the generational GC from 3.13.
972+
This is the GC now used in Python 3.14.5 and later.
973+
974+
**Previously in Python 3.14.0-3.14.4:**
961975

962976
The cycle garbage collector is now incremental.
963977
This means that maximum pause times are reduced
@@ -2204,7 +2218,18 @@ difflib
22042218
gc
22052219
--
22062220

2207-
* The new :ref:`incremental garbage collector <whatsnew314-incremental-gc>`
2221+
* **From Python 3.14.5 onwards:**
2222+
2223+
Python 3.14.0-3.14.4 shipped with a new incremental garbage collector.
2224+
However, due to a number of `reports
2225+
<https://github.com/python/cpython/issues/142516>`__
2226+
of significant memory pressure in production environments,
2227+
it has been reverted back to the generational GC from 3.13.
2228+
This is the GC now used in Python 3.14.5 and later.
2229+
2230+
* **Previously in Python 3.14.0-3.14.4:**
2231+
2232+
The new :ref:`incremental garbage collector <whatsnew314-incremental-gc>`
22082233
means that maximum pause times are reduced
22092234
by an order of magnitude or more for larger heaps.
22102235

@@ -3456,3 +3481,17 @@ Notable changes in 3.14.1
34563481
the stack protection base address and stack protection size of a Python
34573482
thread state.
34583483
(Contributed by Victor Stinner in :gh:`139653`.)
3484+
3485+
3486+
Notable changes in 3.14.5
3487+
=========================
3488+
3489+
gc
3490+
--
3491+
3492+
* The incremental garbage collector shipped in Python 3.14.0-3.14.4 has been
3493+
reverted back to the generational garbage collector from 3.13,
3494+
due to a number of `reports
3495+
<https://github.com/python/cpython/issues/142516>`__
3496+
of significant memory pressure in production environments.
3497+
See :ref:`whatsnew314-incremental-gc` for details.

pr-preview/pr-1226/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 5月 01, 2026 (00:40 UTC)。
359+
最後更新於 5月 02, 2026 (00:39 UTC)。
360360

361361
<a href="/bugs.html">發現 bug</a>
362362

pr-preview/pr-1226/bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h3>導航</h3>
393393
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
394394
<br>
395395
<br>
396-
最後更新於 5月 01, 2026 (00:40 UTC)。
396+
最後更新於 5月 02, 2026 (00:39 UTC)。
397397

398398
<a href="/bugs.html">發現 bug</a>
399399

pr-preview/pr-1226/c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 5月 01, 2026 (00:40 UTC)。
368+
最後更新於 5月 02, 2026 (00:39 UTC)。
369369

370370
<a href="/bugs.html">發現 bug</a>
371371

pr-preview/pr-1226/c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ <h3>導航</h3>
577577
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
578578
<br>
579579
<br>
580-
最後更新於 5月 01, 2026 (00:40 UTC)。
580+
最後更新於 5月 02, 2026 (00:39 UTC)。
581581

582582
<a href="/bugs.html">發現 bug</a>
583583

pr-preview/pr-1226/c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 5月 01, 2026 (00:40 UTC)。
517+
最後更新於 5月 02, 2026 (00:39 UTC)。
518518

519519
<a href="/bugs.html">發現 bug</a>
520520

pr-preview/pr-1226/c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ <h3>導航</h3>
996996
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
997997
<br>
998998
<br>
999-
最後更新於 5月 01, 2026 (00:40 UTC)。
999+
最後更新於 5月 02, 2026 (00:39 UTC)。
10001000

10011001
<a href="/bugs.html">發現 bug</a>
10021002

pr-preview/pr-1226/c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>導航</h3>
376376
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
377377
<br>
378378
<br>
379-
最後更新於 5月 01, 2026 (00:40 UTC)。
379+
最後更新於 5月 02, 2026 (00:39 UTC)。
380380

381381
<a href="/bugs.html">發現 bug</a>
382382

0 commit comments

Comments
 (0)