88msgstr ""
99"Project-Id-Version : Python 3.14\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2026-04-15 15:01 +0000\n "
11+ "POT-Creation-Date : 2026-04-27 15:43 +0000\n "
1212"PO-Revision-Date : 2025-09-16 00:01+0000\n "
1313"Language-Team : Tamil (https://app.transifex.com/python-doc/teams/5390/ta/)\n "
1414"MIME-Version : 1.0\n "
@@ -46,24 +46,10 @@ msgid "Return ``True`` if automatic collection is enabled."
4646msgstr ""
4747
4848msgid ""
49- "Perform a collection. The optional argument *generation* may be an integer "
50- "specifying which generation to collect (from 0 to 2). A :exc:`ValueError` "
51- "is raised if the generation number is invalid. The sum of collected objects "
52- "and uncollectable objects is returned."
53- msgstr ""
54-
55- msgid ""
56- "Calling ``gc.collect(0)`` will perform a GC collection on the young "
57- "generation."
58- msgstr ""
59-
60- msgid ""
61- "Calling ``gc.collect(1)`` will perform a GC collection on the young "
62- "generation and an increment of the old generation."
63- msgstr ""
64-
65- msgid ""
66- "Calling ``gc.collect(2)`` or ``gc.collect()`` performs a full collection"
49+ "With no arguments, run a full collection. The optional argument "
50+ "*generation* may be an integer specifying which generation to collect (from "
51+ "0 to 2). A :exc:`ValueError` is raised if the generation number is invalid. "
52+ "The sum of collected objects and uncollectable objects is returned."
6753msgstr ""
6854
6955msgid ""
@@ -81,6 +67,9 @@ msgstr ""
8167msgid "``generation=1`` performs an increment of collection."
8268msgstr ""
8369
70+ msgid "``generation=1`` performs collection of the middle generation."
71+ msgstr ""
72+
8473msgid ""
8574"Set the garbage collection debugging flags. Debugging information will be "
8675"written to ``sys.stderr``. See below for a list of debugging flags which "
@@ -92,17 +81,8 @@ msgstr ""
9281
9382msgid ""
9483"Returns a list of all objects tracked by the collector, excluding the list "
95- "returned. If *generation* is not ``None``, return only the objects as "
96- "follows:"
97- msgstr ""
98-
99- msgid "0: All objects in the young generation"
100- msgstr ""
101-
102- msgid "1: No objects, as there is no generation 1 (as of Python 3.14)"
103- msgstr ""
104-
105- msgid "2: All objects in the old generation"
84+ "returned. If *generation* is not ``None``, return only the objects tracked "
85+ "by the collector that are in that generation."
10686msgstr ""
10787
10888msgid "New *generation* parameter."
@@ -111,6 +91,9 @@ msgstr ""
11191msgid "Generation 1 is removed"
11292msgstr ""
11393
94+ msgid "Generation 1 is reintroduced to maintain GC behavior from 3.13."
95+ msgstr ""
96+
11497msgid ""
11598"Raises an :ref:`auditing event <auditing>` ``gc.get_objects`` with argument "
11699"``generation``."
@@ -142,17 +125,22 @@ msgid ""
142125msgstr ""
143126
144127msgid ""
145- "The GC classifies objects into two generations depending on whether they "
146- "have survived a collection. New objects are placed in the young generation. "
147- "If an object survives a collection it is moved into the old generation."
148- msgstr ""
149-
150- msgid ""
151- "In order to decide when to run, the collector keeps track of the number of "
152- "object allocations and deallocations since the last collection. When the "
153- "number of allocations minus the number of deallocations exceeds "
154- "*threshold0*, collection starts. For each collection, all the objects in the "
155- "young generation and some fraction of the old generation is collected."
128+ "The GC classifies objects into three generations depending on how many "
129+ "collection sweeps they have survived. New objects are placed in the "
130+ "youngest generation (generation ``0``). If an object survives a collection "
131+ "it is moved into the next older generation. Since generation ``2`` is the "
132+ "oldest generation, objects in that generation remain there after a "
133+ "collection. In order to decide when to run, the collector keeps track of "
134+ "the number object allocations and deallocations since the last collection. "
135+ "When the number of allocations minus the number of deallocations exceeds "
136+ "*threshold0*, collection starts. Initially only generation ``0`` is "
137+ "examined. If generation ``0`` has been examined more than *threshold1* "
138+ "times since generation ``1`` has been examined, then generation ``1`` is "
139+ "examined as well. With the third generation, things are a bit more "
140+ "complicated, see `Collecting the oldest generation <https://github.com/"
141+ "python/cpython/blob/ff0ef0a54bef26fc507fbf9b7a6009eb7d3f17f5/InternalDocs/"
142+ "garbage_collector.md#collecting-the-oldest-generation>`_ for more "
143+ "information."
156144msgstr ""
157145
158146msgid ""
@@ -162,16 +150,6 @@ msgid ""
162150"has not exceeded 40 times *threshold0*, the collection is not run."
163151msgstr ""
164152
165- msgid ""
166- "The fraction of the old generation that is collected is **inversely** "
167- "proportional to *threshold1*. The larger *threshold1* is, the slower objects "
168- "in the old generation are collected. For the default value of 10, 1% of the "
169- "old generation is scanned during each collection."
170- msgstr ""
171-
172- msgid "*threshold2* is ignored."
173- msgstr ""
174-
175153msgid ""
176154"See `Garbage collector design <https://github.com/python/cpython/blob/3.14/"
177155"InternalDocs/garbage_collector.md>`_ for more information."
@@ -180,6 +158,9 @@ msgstr ""
180158msgid "*threshold2* is ignored"
181159msgstr ""
182160
161+ msgid "*threshold2* is restored to match Python 3.13 behavior."
162+ msgstr ""
163+
183164msgid ""
184165"Return the current collection counts as a tuple of ``(count0, count1, "
185166"count2)``."
0 commit comments