@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.12\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-10-11 14:48 +0000\n "
14+ "POT-Creation-Date : 2024-10-25 14:54 +0000\n "
1515"PO-Revision-Date : 2024-05-11 00:32+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -1185,6 +1185,18 @@ msgid ""
11851185"}"
11861186msgstr ""
11871187
1188+ msgid ""
1189+ "In a garbage collected Python, :c:member:`!tp_dealloc` may be called from "
1190+ "any Python thread, not just the thread which created the object (if the "
1191+ "object becomes part of a refcount cycle, that cycle might be collected by a "
1192+ "garbage collection on any thread). This is not a problem for Python API "
1193+ "calls, since the thread on which :c:member:`!tp_dealloc` is called will own "
1194+ "the Global Interpreter Lock (GIL). However, if the object being destroyed "
1195+ "in turn destroys objects from some other C or C++ library, care should be "
1196+ "taken to ensure that destroying those objects on the thread which called :c:"
1197+ "member:`!tp_dealloc` will not violate any assumptions of the library."
1198+ msgstr ""
1199+
11881200msgid ""
11891201"An optional offset to a per-instance function that implements calling the "
11901202"object using the :ref:`vectorcall protocol <vectorcall>`, a more efficient "
@@ -2576,18 +2588,6 @@ msgid ""
25762588"}"
25772589msgstr ""
25782590
2579- msgid ""
2580- "Also, note that, in a garbage collected Python, :c:member:`~PyTypeObject."
2581- "tp_dealloc` may be called from any Python thread, not just the thread which "
2582- "created the object (if the object becomes part of a refcount cycle, that "
2583- "cycle might be collected by a garbage collection on any thread). This is "
2584- "not a problem for Python API calls, since the thread on which tp_dealloc is "
2585- "called will own the Global Interpreter Lock (GIL). However, if the object "
2586- "being destroyed in turn destroys objects from some other C or C++ library, "
2587- "care should be taken to ensure that destroying those objects on the thread "
2588- "which called tp_dealloc will not violate any assumptions of the library."
2589- msgstr ""
2590-
25912591msgid ""
25922592"Before version 3.8 it was necessary to set the :c:macro:"
25932593"`Py_TPFLAGS_HAVE_FINALIZE` flags bit in order for this field to be used. "
0 commit comments