Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
811 changes: 415 additions & 396 deletions builtins/functions.po

Large diffs are not rendered by default.

32 changes: 11 additions & 21 deletions builtins/threadsafety.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-23 06:17+0000\n"
"POT-Creation-Date: 2026-10-12 03:18+0000\n"
"PO-Revision-Date: 2026-09-22 21:21+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand Down Expand Up @@ -566,20 +566,15 @@ msgid ""
msgstr ""

#: ../../builtins/threadsafety.rst:410
msgid ":meth:`set.update` and :meth:`set.union` lock both objects only when"
msgstr ""

#: ../../builtins/threadsafety.rst:411
msgid ""
"the other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`."
":meth:`set.update` and :meth:`set.union` lock both objects only when the "
"other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`."
msgstr ""

#: ../../builtins/threadsafety.rst:412
msgid ":meth:`set.intersection` and :meth:`set.difference` always try to lock"
msgstr ""

#: ../../builtins/threadsafety.rst:413
msgid "all objects."
msgid ""
":meth:`set.intersection` and :meth:`set.difference` always try to lock all "
"objects."
msgstr ""

#: ../../builtins/threadsafety.rst:415
Expand All @@ -593,20 +588,15 @@ msgid ""
msgstr ""

#: ../../builtins/threadsafety.rst:420
msgid ":meth:`set.difference_update` and :meth:`set.intersection_update` try"
msgstr ""

#: ../../builtins/threadsafety.rst:421
msgid "to lock all objects one-by-one."
msgid ""
":meth:`set.difference_update` and :meth:`set.intersection_update` try to "
"lock all objects one-by-one."
msgstr ""

#: ../../builtins/threadsafety.rst:422
msgid ""
":meth:`set.symmetric_difference_update` only locks the arguments if it is"
msgstr ""

#: ../../builtins/threadsafety.rst:423
msgid "of type :class:`set`, :class:`frozenset`, or :class:`dict`."
":meth:`set.symmetric_difference_update` only locks the arguments if it is of "
"type :class:`set`, :class:`frozenset`, or :class:`dict`."
msgstr ""

#: ../../builtins/threadsafety.rst:425
Expand Down
6 changes: 3 additions & 3 deletions c-api/buffer.po
Original file line number Diff line number Diff line change
Expand Up @@ -996,9 +996,9 @@ msgid ""
"``0`` is returned on success, ``-1`` on error."
msgstr ""
"Kopiert *len* zusammenhängende Bytes von *buf* nach *view*. *order* kann "
"``'C'``, ``'F'`` oder ``'A'`` sein (für eine Anordnung im C-Stil, im "
"Fortran-Stil oder für eine von beiden). Bei Erfolg wird ``0`` zurückgegeben, "
"bei einem Fehler ``-1``."
"``'C'``, ``'F'`` oder ``'A'`` sein (für eine Anordnung im C-Stil, im Fortran-"
"Stil oder für eine von beiden). Bei Erfolg wird ``0`` zurückgegeben, bei "
"einem Fehler ``-1``."

#: ../../c-api/buffer.rst:515
msgid ""
Expand Down
140 changes: 139 additions & 1 deletion c-api/bytes.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-23 06:17+0000\n"
"POT-Creation-Date: 2026-10-12 03:18+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
"Language: de\n"
Expand Down Expand Up @@ -652,6 +652,144 @@ msgid ""
"return (char*)PyBytesWriter_GetData(writer) + pos;"
msgstr ""

#: ../../c-api/bytes.rst:464
msgid "Example creating the string ``b'abc'``"
msgstr ""

#: ../../c-api/bytes.rst:466
msgid ""
"Example creating the bytes string ``b\"abc\"``, with a fixed size of 3 "
"bytes::"
msgstr ""

#: ../../c-api/bytes.rst:468
msgid ""
"PyObject* create_abc(void)\n"
"{\n"
" PyBytesWriter *writer = PyBytesWriter_Create(3);\n"
" if (writer == NULL) {\n"
" return NULL;\n"
" }\n"
"\n"
" char *str = PyBytesWriter_GetData(writer);\n"
" memcpy(str, \"abc\", 3);\n"
" return PyBytesWriter_Finish(writer);\n"
"}"
msgstr ""

#: ../../c-api/bytes.rst:480
msgid "Variant using a pointer to compute the final size::"
msgstr ""

#: ../../c-api/bytes.rst:482
msgid ""
"PyObject* create_abc_ptr(void)\n"
"{\n"
" PyBytesWriter *writer = PyBytesWriter_Create(3);\n"
" if (writer == NULL) {\n"
" return NULL;\n"
" }\n"
"\n"
" char *str = PyBytesWriter_GetData(writer);\n"
" memcpy(str, \"abc\", 3);\n"
" str += 1;\n"
" return PyBytesWriter_FinishWithPointer(writer, str);\n"
"}"
msgstr ""

#: ../../c-api/bytes.rst:497
msgid "Update ``PyBytes_FromStringAndSize()`` code"
msgstr ""

#: ../../c-api/bytes.rst:499
msgid ""
"Example of code using the soft deprecated ``PyBytes_FromStringAndSize(NULL, "
"size)`` API::"
msgstr ""

#: ../../c-api/bytes.rst:502
msgid ""
"int copy_bytes(char *dest, const char *src, Py_ssize_t num_bytes)\n"
"{\n"
" ...\n"
"}\n"
"\n"
"PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n"
"{\n"
" PyObject *result = PyBytes_FromStringAndSize(NULL, num_bytes);\n"
" if (result == NULL) {\n"
" return NULL;\n"
" }\n"
" if (copy_bytes(PyBytes_AS_STRING(result), start, num_bytes) < 0) {\n"
" Py_CLEAR(result);\n"
" }\n"
" return result;\n"
"}"
msgstr ""

#: ../../c-api/bytes.rst:519 ../../c-api/bytes.rst:556
msgid "It can now be updated to::"
msgstr ""

#: ../../c-api/bytes.rst:521
msgid ""
"PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n"
"{\n"
" PyBytesWriter *writer = PyBytesWriter_Create(num_bytes);\n"
" if (writer == NULL) {\n"
" return NULL;\n"
" }\n"
" if (copy_bytes(PyBytesWriter_GetData(writer), start, num_bytes) < 0) {\n"
" PyBytesWriter_Discard(writer);\n"
" return NULL;\n"
" }\n"
" return PyBytesWriter_Finish(writer);\n"
"}"
msgstr ""

#: ../../c-api/bytes.rst:536
msgid "Update ``_PyBytes_Resize()`` code"
msgstr ""

#: ../../c-api/bytes.rst:538
msgid "Example of code using the soft deprecated ``_PyBytes_Resize()`` API::"
msgstr ""

#: ../../c-api/bytes.rst:540
msgid ""
"void create_string(Py_ssize_t size)\n"
"{\n"
" PyObject *bytes = PyBytes_FromStringAndSize(NULL, size);\n"
" if (bytes == NULL) {\n"
" return NULL;\n"
" }\n"
" char *str = PyBytes_AS_STRING(bytes);\n"
"\n"
" // ... write data into str ...\n"
"\n"
" if (_PyBytes_Resize(&bytes, (str - PyBytes_AS_STRING(bytes)))) {\n"
" return NULL;\n"
" }\n"
" return bytes;\n"
"}"
msgstr ""

#: ../../c-api/bytes.rst:558
msgid ""
"void create_string(Py_ssize_t size)\n"
"{\n"
" PyBytesWriter *writer = PyBytesWriter_Create(size);\n"
" if (writer == NULL) {\n"
" return NULL;\n"
" }\n"
" char *str = PyBytesWriter_GetData(writer);\n"
"\n"
" // ... write data into str ...\n"
"\n"
" return PyBytesWriter_FinishWithPointer(writer, str);\n"
"}"
msgstr ""

#: ../../c-api/bytes.rst:18
msgid "object"
msgstr ""
Expand Down
Loading