@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version :Python 3.13\n "
1313"Report-Msgid-Bugs-To :\n "
14- "POT-Creation-Date :2025-10-25 15:01 +0000\n "
14+ "POT-Creation-Date :2025-11-03 15:10 +0000\n "
1515"PO-Revision-Date :2025-09-15 01:04+0000\n "
1616"Last-Translator :python-doc bot, 2025\n "
1717"Language-Team :Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -75,6 +75,13 @@ msgid ""
7575"implicit or explicit encoding of the document."
7676msgstr ""
7777
78+ msgid ""
79+ "Parsers created through :func:`!ParserCreate` are called\" root\" parsers, "
80+ "in the sense that they do not have any parent parser attached. Non-root "
81+ "parsers are created by :meth:`parser.ExternalEntityParserCreate <xmlparser."
82+ "ExternalEntityParserCreate>`."
83+ msgstr ""
84+
7885msgid ""
7986"Expat can optionally do XML namespace processing for you, enabled by "
8087"providing a value for *namespace_separator*. The value must be a one-"
@@ -236,6 +243,62 @@ msgid ""
236243"parser instance."
237244msgstr ""
238245
246+ msgid ""
247+ ":class:`!xmlparser` objects have the following methods to mitigate some "
248+ "common XML vulnerabilities."
249+ msgstr ""
250+
251+ msgid ""
252+ "Sets the number of allocated bytes of dynamic memory needed to activate "
253+ "protection against disproportionate use of RAM."
254+ msgstr ""
255+
256+ msgid ""
257+ "By default, parser objects have an allocation activation threshold of 64 "
258+ "MiB, or equivalently 67,108,864 bytes."
259+ msgstr ""
260+
261+ msgid ""
262+ "An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-"
263+ "parser| parser. The corresponding :attr:`~ExpatError.lineno` and :attr:"
264+ "`~ExpatError.offset` should not be used as they may have no special meaning."
265+ msgstr ""
266+
267+ msgid ""
268+ "Sets the maximum amplification factor between direct input and bytes of "
269+ "dynamic memory allocated."
270+ msgstr ""
271+
272+ msgid ""
273+ "The amplification factor is calculated as ``allocated / direct`` while "
274+ "parsing, where ``direct`` is the number of bytes read from the primary "
275+ "document in parsing and ``allocated`` is the number of bytes of dynamic "
276+ "memory allocated in the parser hierarchy."
277+ msgstr ""
278+
279+ msgid ""
280+ "The *max_factor* value must be a non-NaN :class:`float` value greater than "
281+ "or equal to 1.0. Amplification factors greater than 100.0 can be observed "
282+ "near the start of parsing even with benign files in practice. In particular, "
283+ "the activation threshold should be carefully chosen to avoid false positives."
284+ msgstr ""
285+
286+ msgid ""
287+ "By default, parser objects have a maximum amplification factor of 100.0."
288+ msgstr ""
289+
290+ msgid ""
291+ "An :exc:`ExpatError` is raised if this method is called on a |xml-non-root-"
292+ "parser| parser or if *max_factor* is outside the valid range. The "
293+ "corresponding :attr:`~ExpatError.lineno` and :attr:`~ExpatError.offset` "
294+ "should not be used as they may have no special meaning."
295+ msgstr ""
296+
297+ msgid ""
298+ "The maximum amplification factor is only considered if the threshold that "
299+ "can be adjusted by :meth:`.SetAllocTrackerActivationThreshold` is exceeded."
300+ msgstr ""
301+
239302msgid ":class:`xmlparser` objects have the following attributes:"
240303msgstr ""
241304