@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-05-09 14:19 +0000\n "
14+ "POT-Creation-Date : 2026-03-19 14:42 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -112,11 +112,18 @@ msgstr ""
112112"Como :c:func:`PyList_GetItemRef`, mas retorna uma :term:`referência "
113113"emprestada` em vez de uma :term:`referência forte`."
114114
115- #: ../../c-api/list.rst:80
115+ #: ../../c-api/list.rst:79 ../../c-api/list.rst:91
116+ msgid ""
117+ "In the :term:`free-threaded build`, the returned :term:`borrowed reference` "
118+ "may become invalid if another thread modifies the list concurrently. Prefer :"
119+ "c:func:`PyList_GetItemRef`, which returns a :term:`strong reference`."
120+ msgstr ""
121+
122+ #: ../../c-api/list.rst:87
116123msgid "Similar to :c:func:`PyList_GetItem`, but without error checking."
117124msgstr "Similar a :c:func:`PyList_GetItem`, mas sem verificação de erro."
118125
119- #: ../../c-api/list.rst:85
126+ #: ../../c-api/list.rst:99
120127msgid ""
121128"Set the item at index *index* in list to *item*. Return ``0`` on success. "
122129"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
@@ -126,15 +133,15 @@ msgstr ""
126133"de sucesso. Se *index* estiver fora dos limites, retorna ``-1`` e levanta "
127134"uma exceção :exc:`IndexError`."
128135
129- #: ../../c-api/list.rst:91
136+ #: ../../c-api/list.rst:105
130137msgid ""
131138"This function \" steals\" a reference to *item* and discards a reference to "
132139"an item already in the list at the affected position."
133140msgstr ""
134141"Esta função \" rouba\" uma referência para o *item* e descarta uma referência "
135142"para um item já presente na lista na posição afetada."
136143
137- #: ../../c-api/list.rst:97
144+ #: ../../c-api/list.rst:111
138145msgid ""
139146"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
140147"normally only used to fill in new lists where there is no previous content."
@@ -143,7 +150,7 @@ msgstr ""
143150"normalmente usado apenas para preencher novas listas onde não há conteúdo "
144151"anterior."
145152
146- #: ../../c-api/list.rst:100
153+ #: ../../c-api/list.rst:114
147154msgid ""
148155"Bounds checking is performed as an assertion if Python is built in :ref:"
149156"`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
@@ -152,7 +159,7 @@ msgstr ""
152159"construído em :ref:`modo de depuração <debug-build>` ou :option:`com "
153160"asserções <--with-assertions>`."
154161
155- #: ../../c-api/list.rst:106
162+ #: ../../c-api/list.rst:120
156163msgid ""
157164"This macro \" steals\" a reference to *item*, and, unlike :c:func:"
158165"`PyList_SetItem`, does *not* discard a reference to any item that is being "
@@ -162,7 +169,15 @@ msgstr ""
162169"`PyList_SetItem`, *não* descarta uma referência para nenhum item que esteja "
163170"sendo substituído; qualquer referência em *list* será perdida."
164171
165- #: ../../c-api/list.rst:114
172+ #: ../../c-api/list.rst:127
173+ msgid ""
174+ "In the :term:`free-threaded build`, this macro has no internal "
175+ "synchronization. It is normally only used to fill in new lists where no "
176+ "other thread has a reference to the list. If the list may be shared, use :c:"
177+ "func:`PyList_SetItem` instead, which uses a :term:`per-object lock`."
178+ msgstr ""
179+
180+ #: ../../c-api/list.rst:136
166181msgid ""
167182"Insert the item *item* into list *list* in front of index *index*. Return "
168183"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
@@ -172,7 +187,7 @@ msgstr ""
172187"``0`` se for bem-sucedido; retorna ``-1`` e levanta uma exceção se "
173188"malsucedido. Análogo a ``list.insert(index, item)``."
174189
175- #: ../../c-api/list.rst:121
190+ #: ../../c-api/list.rst:143
176191msgid ""
177192"Append the object *item* at the end of list *list*. Return ``0`` if "
178193"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
@@ -182,7 +197,7 @@ msgstr ""
182197"sucedido; retorna ``-1`` e levanta uma exceção se malsucedido. Análogo a "
183198"``list.insert(index, item)``."
184199
185- #: ../../c-api/list.rst:128
200+ #: ../../c-api/list.rst:150
186201msgid ""
187202"Return a list of the objects in *list* containing the objects *between* "
188203"*low* and *high*. Return ``NULL`` and set an exception if unsuccessful. "
@@ -193,7 +208,7 @@ msgstr ""
193208"*alto*. Retorne ``NULL`` e levanta uma exceção se malsucedido. Análogo a "
194209"``list[low:high]``. Não há suporte à indexação do final da lista."
195210
196- #: ../../c-api/list.rst:135
211+ #: ../../c-api/list.rst:157
197212msgid ""
198213"Set the slice of *list* between *low* and *high* to the contents of "
199214"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
@@ -207,7 +222,14 @@ msgstr ""
207222"em caso de sucesso, ``-1`` em caso de falha. Não há suporte à indexação do "
208223"final da lista."
209224
210- #: ../../c-api/list.rst:144
225+ #: ../../c-api/list.rst:165
226+ msgid ""
227+ "In the :term:`free-threaded build`, when *itemlist* is a :class:`list`, both "
228+ "*list* and *itemlist* are locked for the duration of the operation. For "
229+ "other iterables (or ``NULL``), only *list* is locked."
230+ msgstr ""
231+
232+ #: ../../c-api/list.rst:172
211233msgid ""
212234"Extend *list* with the contents of *iterable*. This is the same as "
213235"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and "
@@ -217,15 +239,24 @@ msgstr ""
217239"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` e "
218240"análogo a ``list.extend(iterable)`` ou ``list += iterable``."
219241
220- #: ../../c-api/list.rst:148
242+ #: ../../c-api/list.rst:176
221243msgid ""
222244"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
223245"object. Return 0 on success."
224246msgstr ""
225247"Levanta uma exceção e retorna ``-1`` se *list* não for um objeto :class:"
226248"`list`. Retorna 0 em caso de sucesso."
227249
228- #: ../../c-api/list.rst:156
250+ #: ../../c-api/list.rst:183
251+ msgid ""
252+ "In the :term:`free-threaded build`, when *iterable* is a :class:`list`, :"
253+ "class:`set`, :class:`dict`, or dict view, both *list* and *iterable* (or its "
254+ "underlying dict) are locked for the duration of the operation. For other "
255+ "iterables, only *list* is locked; *iterable* may be concurrently modified by "
256+ "another thread."
257+ msgstr ""
258+
259+ #: ../../c-api/list.rst:192
229260msgid ""
230261"Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
231262"0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del "
@@ -234,31 +265,39 @@ msgstr ""
234265"Remove todos os itens da *lista*. Isto é o mesmo que ``PyList_SetSlice(list, "
235266"0, PY_SSIZE_T_MAX, NULL)`` e análogo a ``list.clear()`` ou ``del list[:]``."
236267
237- #: ../../c-api/list.rst:160
268+ #: ../../c-api/list.rst:196
238269msgid ""
239270"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
240271"object. Return 0 on success."
241272msgstr ""
242273"Levanta uma exceção e retorna ``-1`` se *list* não for um objeto :class:"
243274"`list`. Retorna 0 em caso de sucesso."
244275
245- #: ../../c-api/list.rst:168
276+ #: ../../c-api/list.rst:204
246277msgid ""
247278"Sort the items of *list* in place. Return ``0`` on success, ``-1`` on "
248279"failure. This is equivalent to ``list.sort()``."
249280msgstr ""
250281"Ordena os itens de *list* no mesmo lugar. Retorna ``0`` em caso de sucesso, "
251282"e ``-1`` em caso de falha. Isso é o equivalente de ``list.sort()``."
252283
253- #: ../../c-api/list.rst:174
284+ #: ../../c-api/list.rst:209
285+ msgid ""
286+ "In the :term:`free-threaded build`, element comparison via :meth:`~object."
287+ "__lt__` can execute arbitrary Python code, during which the :term:`per-"
288+ "object lock` may be temporarily released. For built-in types (:class:`str`, :"
289+ "class:`int`, :class:`float`), the lock is not released during comparison."
290+ msgstr ""
291+
292+ #: ../../c-api/list.rst:218
254293msgid ""
255294"Reverse the items of *list* in place. Return ``0`` on success, ``-1`` on "
256295"failure. This is the equivalent of ``list.reverse()``."
257296msgstr ""
258297"Inverte os itens de *list* no mesmo lugar. Retorna ``0`` em caso de sucesso, "
259298"e ``-1`` em caso de falha. Isso é o equivalente de ``list.reverse()``."
260299
261- #: ../../c-api/list.rst:182
300+ #: ../../c-api/list.rst:226
262301msgid ""
263302"Return a new tuple object containing the contents of *list*; equivalent to "
264303"``tuple(list)``."
@@ -274,14 +313,14 @@ msgstr "objeto"
274313msgid "list"
275314msgstr "lista"
276315
277- #: ../../c-api/list.rst:51 ../../c-api/list.rst:180
316+ #: ../../c-api/list.rst:51 ../../c-api/list.rst:224
278317msgid "built-in function"
279318msgstr "função embutida"
280319
281320#: ../../c-api/list.rst:51
282321msgid "len"
283322msgstr "len"
284323
285- #: ../../c-api/list.rst:180
324+ #: ../../c-api/list.rst:224
286325msgid "tuple"
287326msgstr "tupla"
0 commit comments