@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-06-23 16:23 +0000\n "
14+ "POT-Creation-Date : 2026-07-05 15:08 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -46,45 +46,45 @@ msgid ""
4646"condition that must be true for *B* to occur after *A*."
4747msgstr ""
4848
49- #: ../../c-api/lifecycle.rst:55 ../../c-api/lifecycle.rst:62
49+ #: ../../c-api/lifecycle.rst:55
5050msgid "Diagram showing events in an object's life. Explained in detail below."
5151msgstr ""
5252
53- #: ../../c-api/lifecycle.rst:70
53+ #: ../../c-api/lifecycle.rst:63
5454msgid "Explanation:"
5555msgstr ""
5656
57- #: ../../c-api/lifecycle.rst:72
57+ #: ../../c-api/lifecycle.rst:65
5858msgid "When a new object is constructed by calling its type:"
5959msgstr ""
6060
61- #: ../../c-api/lifecycle.rst:74
61+ #: ../../c-api/lifecycle.rst:67
6262msgid ":c:member:`~PyTypeObject.tp_new` is called to create a new object."
6363msgstr ""
6464
65- #: ../../c-api/lifecycle.rst:75
65+ #: ../../c-api/lifecycle.rst:68
6666msgid ""
6767":c:member:`~PyTypeObject.tp_alloc` is directly called by :c:member:"
6868"`~PyTypeObject.tp_new` to allocate the memory for the new object."
6969msgstr ""
7070
71- #: ../../c-api/lifecycle.rst:78
71+ #: ../../c-api/lifecycle.rst:71
7272msgid ""
7373":c:member:`~PyTypeObject.tp_init` initializes the newly created object. :c:"
7474"member:`!tp_init` can be called again to re-initialize an object, if "
7575"desired. The :c:member:`!tp_init` call can also be skipped entirely, for "
7676"example by Python code calling :py:meth:`~object.__new__`."
7777msgstr ""
7878
79- #: ../../c-api/lifecycle.rst:83
79+ #: ../../c-api/lifecycle.rst:76
8080msgid "After :c:member:`!tp_init` completes, the object is ready to use."
8181msgstr ""
8282
83- #: ../../c-api/lifecycle.rst:84
83+ #: ../../c-api/lifecycle.rst:77
8484msgid "Some time after the last reference to an object is removed:"
8585msgstr ""
8686
87- #: ../../c-api/lifecycle.rst:86
87+ #: ../../c-api/lifecycle.rst:79
8888msgid ""
8989"If an object is not marked as *finalized*, it might be finalized by marking "
9090"it as *finalized* and calling its :c:member:`~PyTypeObject.tp_finalize` "
@@ -93,29 +93,29 @@ msgid ""
9393"that :c:member:`~PyTypeObject.tp_finalize` is always called."
9494msgstr ""
9595
96- #: ../../c-api/lifecycle.rst:92
96+ #: ../../c-api/lifecycle.rst:85
9797msgid ""
9898"If the object is marked as finalized, :c:member:`~PyTypeObject.tp_clear` "
9999"might be called by the garbage collector to clear references held by the "
100100"object. It is *not* called when the object's reference count reaches zero."
101101msgstr ""
102102
103- #: ../../c-api/lifecycle.rst:96
103+ #: ../../c-api/lifecycle.rst:89
104104msgid ""
105105":c:member:`~PyTypeObject.tp_dealloc` is called to destroy the object. To "
106106"avoid code duplication, :c:member:`~PyTypeObject.tp_dealloc` typically calls "
107107"into :c:member:`~PyTypeObject.tp_clear` to free up the object's references."
108108msgstr ""
109109
110- #: ../../c-api/lifecycle.rst:100
110+ #: ../../c-api/lifecycle.rst:93
111111msgid ""
112112"When :c:member:`~PyTypeObject.tp_dealloc` finishes object destruction, it "
113113"directly calls :c:member:`~PyTypeObject.tp_free` (usually set to :c:func:"
114114"`PyObject_Free` or :c:func:`PyObject_GC_Del` automatically as appropriate "
115115"for the type) to deallocate the memory."
116116msgstr ""
117117
118- #: ../../c-api/lifecycle.rst:105
118+ #: ../../c-api/lifecycle.rst:98
119119msgid ""
120120"The :c:member:`~PyTypeObject.tp_finalize` function is permitted to add a "
121121"reference to the object if desired. If it does, the object is "
@@ -130,7 +130,7 @@ msgid ""
130130"both of these behaviors may change in the future."
131131msgstr ""
132132
133- #: ../../c-api/lifecycle.rst:118
133+ #: ../../c-api/lifecycle.rst:111
134134msgid ""
135135":c:member:`~PyTypeObject.tp_dealloc` can optionally call :c:member:"
136136"`~PyTypeObject.tp_finalize` via :c:func:`PyObject_CallFinalizerFromDealloc` "
@@ -140,7 +140,7 @@ msgid ""
140140"documentation for example code."
141141msgstr ""
142142
143- #: ../../c-api/lifecycle.rst:125
143+ #: ../../c-api/lifecycle.rst:118
144144msgid ""
145145"If the object is a member of a :term:`cyclic isolate` and either :c:member:"
146146"`~PyTypeObject.tp_clear` fails to break the reference cycle or the cyclic "
@@ -150,20 +150,20 @@ msgid ""
150150"\" leak\" ). See :data:`gc.garbage`."
151151msgstr ""
152152
153- #: ../../c-api/lifecycle.rst:132
153+ #: ../../c-api/lifecycle.rst:125
154154msgid ""
155155"If the object is marked as supporting garbage collection (the :c:macro:"
156156"`Py_TPFLAGS_HAVE_GC` flag is set in :c:member:`~PyTypeObject.tp_flags`), the "
157157"following events are also possible:"
158158msgstr ""
159159
160- #: ../../c-api/lifecycle.rst:136
160+ #: ../../c-api/lifecycle.rst:129
161161msgid ""
162162"The garbage collector occasionally calls :c:member:`~PyTypeObject."
163163"tp_traverse` to identify :term:`cyclic isolates <cyclic isolate>`."
164164msgstr ""
165165
166- #: ../../c-api/lifecycle.rst:139
166+ #: ../../c-api/lifecycle.rst:132
167167msgid ""
168168"When the garbage collector discovers a :term:`cyclic isolate`, it finalizes "
169169"one of the objects in the group by marking it as *finalized* and calling "
@@ -172,7 +172,7 @@ msgid ""
172172"been finalized."
173173msgstr ""
174174
175- #: ../../c-api/lifecycle.rst:144
175+ #: ../../c-api/lifecycle.rst:137
176176msgid ""
177177":c:member:`~PyTypeObject.tp_finalize` is permitted to resurrect the object "
178178"by adding a reference from outside the :term:`cyclic isolate`. The new "
@@ -181,7 +181,7 @@ msgid ""
181181"longer isolated)."
182182msgstr ""
183183
184- #: ../../c-api/lifecycle.rst:149
184+ #: ../../c-api/lifecycle.rst:142
185185msgid ""
186186"When the garbage collector discovers a :term:`cyclic isolate` and all of the "
187187"objects in the group have already been marked as *finalized*, the garbage "
@@ -191,11 +191,11 @@ msgid ""
191191"all of the objects have been cleared."
192192msgstr ""
193193
194- #: ../../c-api/lifecycle.rst:158
194+ #: ../../c-api/lifecycle.rst:151
195195msgid "Cyclic Isolate Destruction"
196196msgstr ""
197197
198- #: ../../c-api/lifecycle.rst:160
198+ #: ../../c-api/lifecycle.rst:153
199199msgid ""
200200"Listed below are the stages of life of a hypothetical :term:`cyclic isolate` "
201201"that continues to exist after each member object is finalized or cleared. "
@@ -206,14 +206,14 @@ msgid ""
206206"(see :c:member:`~PyTypeObject.tp_finalize`)."
207207msgstr ""
208208
209- #: ../../c-api/lifecycle.rst:168
209+ #: ../../c-api/lifecycle.rst:161
210210msgid ""
211211"**Reachable** (not yet a cyclic isolate): All objects are in their normal, "
212212"reachable state. A reference cycle could exist, but an external reference "
213213"means the objects are not yet isolated."
214214msgstr ""
215215
216- #: ../../c-api/lifecycle.rst:171
216+ #: ../../c-api/lifecycle.rst:164
217217msgid ""
218218"**Unreachable but consistent:** The final reference from outside the cyclic "
219219"group of objects has been removed, causing the objects to become isolated "
@@ -223,7 +223,7 @@ msgid ""
223223"because the next run might not scan every object)."
224224msgstr ""
225225
226- #: ../../c-api/lifecycle.rst:177
226+ #: ../../c-api/lifecycle.rst:170
227227msgid ""
228228"**Mix of finalized and not finalized:** Objects in a cyclic isolate are "
229229"finalized one at a time, which means that there is a period of time when the "
@@ -234,21 +234,21 @@ msgid ""
234234"an arbitrary subset of its referents."
235235msgstr ""
236236
237- #: ../../c-api/lifecycle.rst:184
237+ #: ../../c-api/lifecycle.rst:177
238238msgid ""
239239"**All finalized:** All objects in a cyclic isolate are finalized before any "
240240"of them are cleared."
241241msgstr ""
242242
243- #: ../../c-api/lifecycle.rst:186
243+ #: ../../c-api/lifecycle.rst:179
244244msgid ""
245245"**Mix of finalized and cleared:** The objects can be cleared serially or "
246246"concurrently (but with the :term:`GIL` held); either way, some will finish "
247247"before others. A finalized object must be able to tolerate the clearing of "
248248"a subset of its referents. :pep:`442` calls this stage \" cyclic trash\" ."
249249msgstr ""
250250
251- #: ../../c-api/lifecycle.rst:190
251+ #: ../../c-api/lifecycle.rst:183
252252msgid ""
253253"**Leaked:** If a cyclic isolate still exists after all objects in the group "
254254"have been finalized and cleared, then the objects remain indefinitely "
@@ -258,7 +258,7 @@ msgid ""
258258"required."
259259msgstr ""
260260
261- #: ../../c-api/lifecycle.rst:197
261+ #: ../../c-api/lifecycle.rst:190
262262msgid ""
263263"If :c:member:`~PyTypeObject.tp_clear` did not exist, then Python would have "
264264"no way to safely break a reference cycle. Simply destroying an object in a "
@@ -270,7 +270,7 @@ msgid ""
270270"`~PyTypeObject.tp_dealloc` is called to complete the destruction."
271271msgstr ""
272272
273- #: ../../c-api/lifecycle.rst:206
273+ #: ../../c-api/lifecycle.rst:199
274274msgid ""
275275"Unlike clearing, finalization is not a phase of destruction. A finalized "
276276"object must still behave properly by continuing to fulfill its design "
@@ -282,7 +282,7 @@ msgid ""
282282"`~PyTypeObject.tp_dealloc`."
283283msgstr ""
284284
285- #: ../../c-api/lifecycle.rst:214
285+ #: ../../c-api/lifecycle.rst:207
286286msgid ""
287287"The finalization step is not necessary to safely reclaim the objects in a "
288288"cyclic isolate, but its existence makes it easier to design types that "
@@ -294,29 +294,29 @@ msgid ""
294294"only non-cleared (but potentially finalized) objects."
295295msgstr ""
296296
297- #: ../../c-api/lifecycle.rst:223
297+ #: ../../c-api/lifecycle.rst:216
298298msgid "To summarize the possible interactions:"
299299msgstr ""
300300
301- #: ../../c-api/lifecycle.rst:225
301+ #: ../../c-api/lifecycle.rst:218
302302msgid ""
303303"A non-finalized object might have references to or from non-finalized and "
304304"finalized objects, but not to or from cleared objects."
305305msgstr ""
306306
307- #: ../../c-api/lifecycle.rst:227
307+ #: ../../c-api/lifecycle.rst:220
308308msgid ""
309309"A finalized object might have references to or from non-finalized, "
310310"finalized, and cleared objects."
311311msgstr ""
312312
313- #: ../../c-api/lifecycle.rst:229
313+ #: ../../c-api/lifecycle.rst:222
314314msgid ""
315315"A cleared object might have references to or from finalized and cleared "
316316"objects, but not to or from non-finalized objects."
317317msgstr ""
318318
319- #: ../../c-api/lifecycle.rst:232
319+ #: ../../c-api/lifecycle.rst:225
320320msgid ""
321321"Without any reference cycles, an object can be simply destroyed once its "
322322"last reference is deleted; the finalization and clearing steps are not "
@@ -330,15 +330,15 @@ msgid ""
330330"change in a future version."
331331msgstr ""
332332
333- #: ../../c-api/lifecycle.rst:244
333+ #: ../../c-api/lifecycle.rst:237
334334msgid "Functions"
335335msgstr "関数"
336336
337- #: ../../c-api/lifecycle.rst:246
337+ #: ../../c-api/lifecycle.rst:239
338338msgid "To allocate and free memory, see :ref:`allocating-objects`."
339339msgstr ""
340340
341- #: ../../c-api/lifecycle.rst:251
341+ #: ../../c-api/lifecycle.rst:244
342342msgid ""
343343"Finalizes the object as described in :c:member:`~PyTypeObject.tp_finalize`. "
344344"Call this function (or :c:func:`PyObject_CallFinalizerFromDealloc`) instead "
@@ -349,7 +349,7 @@ msgid ""
349349"change in the future."
350350msgstr ""
351351
352- #: ../../c-api/lifecycle.rst:264
352+ #: ../../c-api/lifecycle.rst:257
353353msgid ""
354354"Same as :c:func:`PyObject_CallFinalizer` but meant to be called at the "
355355"beginning of the object's destructor (:c:member:`~PyTypeObject.tp_dealloc`). "
@@ -359,6 +359,6 @@ msgid ""
359359"continue normally."
360360msgstr ""
361361
362- #: ../../c-api/lifecycle.rst:275
362+ #: ../../c-api/lifecycle.rst:268
363363msgid ":c:member:`~PyTypeObject.tp_dealloc` for example code."
364364msgstr ""
0 commit comments