Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b93f08d

Browse files
GitHub Action's update-translation jobm-aciek
authored andcommitted
Update translation from Transifex
1 parent 52b7bae commit b93f08d

49 files changed

Lines changed: 164 additions & 73 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

c-api/call.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-10-27 14:49+0000\n"
14+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1616
"Last-Translator: Maciej Olko <[email protected]>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

c-api/init.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
14+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: Maciej Olko <[email protected]>, 2023\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

c-api/module.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
15+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1717
"Last-Translator: haaritsubaki, 2023\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

extending/newtypes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
15+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1717
"Last-Translator: haaritsubaki, 2023\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

faq/design.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
16+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1818
"Last-Translator: Maciej Olko <[email protected]>, 2022\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

faq/extending.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
14+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1616
"Last-Translator: Stefan Ocetkiewicz <[email protected]>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

faq/library.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
16+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1818
"Last-Translator: Maciej Olko <[email protected]>, 2022\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

faq/programming.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
16+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1818
"Last-Translator: Maciej Olko <[email protected]>, 2022\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

howto/curses.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
15+
"POT-Creation-Date: 2023-11-10 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
1717
"Last-Translator: Seweryn Piórkowski <[email protected]>, 2021\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

howto/isolating-extensions.po

Lines changed: 97 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
14+
"POT-Creation-Date: 2023-11-17 14:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 19:48+0000\n"
1616
"Last-Translator: Maciej Olko <[email protected]>, 2022\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -384,15 +384,46 @@ msgid ""
384384
msgstr ""
385385

386386
msgid ""
387-
"Please refer to the :ref:`the documentation <type-structs>` of :c:macro:"
388-
"`Py_TPFLAGS_HAVE_GC` and :c:member:`~PyTypeObject.tp_traverse` for "
389-
"additional considerations."
387+
"Please refer to the the documentation of :c:macro:`Py_TPFLAGS_HAVE_GC` and :"
388+
"c:member:`~PyTypeObject.tp_traverse` for additional considerations."
390389
msgstr ""
391390

392391
msgid ""
393-
"If your traverse function delegates to the ``tp_traverse`` of its base class "
394-
"(or another type), ensure that ``Py_TYPE(self)`` is visited only once. Note "
395-
"that only heap type are expected to visit the type in ``tp_traverse``."
392+
"The API for defining heap types grew organically, leaving it somewhat "
393+
"awkward to use in its current state. The following sections will guide you "
394+
"through common issues."
395+
msgstr ""
396+
397+
msgid "``tp_traverse`` in Python 3.8 and lower"
398+
msgstr ""
399+
400+
msgid ""
401+
"The requirement to visit the type from ``tp_traverse`` was added in Python "
402+
"3.9. If you support Python 3.8 and lower, the traverse function must *not* "
403+
"visit the type, so it must be more complicated::"
404+
msgstr ""
405+
406+
msgid ""
407+
"Unfortunately, :c:data:`Py_Version` was only added in Python 3.11. As a "
408+
"replacement, use:"
409+
msgstr ""
410+
411+
msgid ":c:macro:`PY_VERSION_HEX`, if not using the stable ABI, or"
412+
msgstr ""
413+
414+
msgid ""
415+
":py:data:`sys.version_info` (via :c:func:`PySys_GetObject` and :c:func:"
416+
"`PyArg_ParseTuple`)."
417+
msgstr ""
418+
419+
msgid "Delegating ``tp_traverse``"
420+
msgstr ""
421+
422+
msgid ""
423+
"If your traverse function delegates to the :c:member:`~PyTypeObject."
424+
"tp_traverse` of its base class (or another type), ensure that "
425+
"``Py_TYPE(self)`` is visited only once. Note that only heap type are "
426+
"expected to visit the type in ``tp_traverse``."
396427
msgstr ""
397428

398429
msgid "For example, if your traverse function includes::"
@@ -402,8 +433,65 @@ msgid "...and ``base`` may be a static type, then it should also include::"
402433
msgstr ""
403434

404435
msgid ""
405-
"It is not necessary to handle the type's reference count in ``tp_new`` and "
406-
"``tp_clear``."
436+
"It is not necessary to handle the type's reference count in :c:member:"
437+
"`~PyTypeObject.tp_new` and :c:member:`~PyTypeObject.tp_clear`."
438+
msgstr ""
439+
440+
msgid "Defining ``tp_dealloc``"
441+
msgstr ""
442+
443+
msgid ""
444+
"If your type has a custom :c:member:`~PyTypeObject.tp_dealloc` function, it "
445+
"needs to:"
446+
msgstr ""
447+
448+
msgid ""
449+
"call :c:func:`PyObject_GC_UnTrack` before any fields are invalidated, and"
450+
msgstr ""
451+
452+
msgid "decrement the reference count of the type."
453+
msgstr ""
454+
455+
msgid ""
456+
"To keep the type valid while ``tp_free`` is called, the type's refcount "
457+
"needs to be decremented *after* the instance is deallocated. For example::"
458+
msgstr ""
459+
460+
msgid ""
461+
"The default ``tp_dealloc`` function does this, so if your type does *not* "
462+
"override ``tp_dealloc`` you don't need to add it."
463+
msgstr ""
464+
465+
msgid "Not overriding ``tp_free``"
466+
msgstr ""
467+
468+
msgid ""
469+
"The :c:member:`~PyTypeObject.tp_free` slot of a heap type must be set to :c:"
470+
"func:`PyObject_GC_Del`. This is the default; do not override it."
471+
msgstr ""
472+
473+
msgid "Avoiding ``PyObject_New``"
474+
msgstr ""
475+
476+
msgid "GC-tracked objects need to be allocated using GC-aware functions."
477+
msgstr ""
478+
479+
msgid "If you use use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:"
480+
msgstr ""
481+
482+
msgid ""
483+
"Get and call type's :c:member:`~PyTypeObject.tp_alloc` slot, if possible. "
484+
"That is, replace ``TYPE *o = PyObject_New(TYPE, typeobj)`` with::"
485+
msgstr ""
486+
487+
msgid ""
488+
"Replace ``o = PyObject_NewVar(TYPE, typeobj, size)`` with the same, but use "
489+
"size instead of the 0."
490+
msgstr ""
491+
492+
msgid ""
493+
"If the above is not possible (e.g. inside a custom ``tp_alloc``), call :c:"
494+
"func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar`::"
407495
msgstr ""
408496

409497
msgid "Module State Access from Classes"

0 commit comments

Comments
 (0)