@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-03-15 14:24 +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 : Swedish (https://app.transifex.com/python-doc/teams/5390/ "
@@ -76,6 +76,12 @@ msgid ""
7676"instead of a :term:`strong reference`."
7777msgstr ""
7878
79+ msgid ""
80+ "In the :term:`free-threaded build`, the returned :term:`borrowed reference` "
81+ "may become invalid if another thread modifies the list concurrently. Prefer :"
82+ "c:func:`PyList_GetItemRef`, which returns a :term:`strong reference`."
83+ msgstr ""
84+
7985msgid "Similar to :c:func:`PyList_GetItem`, but without error checking."
8086msgstr ""
8187
@@ -106,6 +112,13 @@ msgid ""
106112"replaced; any reference in *list* at position *i* will be leaked."
107113msgstr ""
108114
115+ msgid ""
116+ "In the :term:`free-threaded build`, this macro has no internal "
117+ "synchronization. It is normally only used to fill in new lists where no "
118+ "other thread has a reference to the list. If the list may be shared, use :c:"
119+ "func:`PyList_SetItem` instead, which uses a :term:`per-object lock`."
120+ msgstr ""
121+
109122msgid ""
110123"Insert the item *item* into list *list* in front of index *index*. Return "
111124"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
@@ -133,6 +146,12 @@ msgid ""
133146"list is not supported."
134147msgstr ""
135148
149+ msgid ""
150+ "In the :term:`free-threaded build`, when *itemlist* is a :class:`list`, both "
151+ "*list* and *itemlist* are locked for the duration of the operation. For "
152+ "other iterables (or ``NULL``), only *list* is locked."
153+ msgstr ""
154+
136155msgid ""
137156"Extend *list* with the contents of *iterable*. This is the same as "
138157"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and "
@@ -144,6 +163,14 @@ msgid ""
144163"object. Return 0 on success."
145164msgstr ""
146165
166+ msgid ""
167+ "In the :term:`free-threaded build`, when *iterable* is a :class:`list`, :"
168+ "class:`set`, :class:`dict`, or dict view, both *list* and *iterable* (or its "
169+ "underlying dict) are locked for the duration of the operation. For other "
170+ "iterables, only *list* is locked; *iterable* may be concurrently modified by "
171+ "another thread."
172+ msgstr ""
173+
147174msgid ""
148175"Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
149176"0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del "
@@ -160,6 +187,13 @@ msgid ""
160187"failure. This is equivalent to ``list.sort()``."
161188msgstr ""
162189
190+ msgid ""
191+ "In the :term:`free-threaded build`, element comparison via :meth:`~object."
192+ "__lt__` can execute arbitrary Python code, during which the :term:`per-"
193+ "object lock` may be temporarily released. For built-in types (:class:`str`, :"
194+ "class:`int`, :class:`float`), the lock is not released during comparison."
195+ msgstr ""
196+
163197msgid ""
164198"Reverse the items of *list* in place. Return ``0`` on success, ``-1`` on "
165199"failure. This is the equivalent of ``list.reverse()``."
0 commit comments