# German translation of the Python documentation.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# Jyst Breisgau, 2026
# Swen Bachmann, 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-28 03:11+0000\n"
"PO-Revision-Date: 2026-10-13 21:00+0200\n"
"Last-Translator: Jyst Breisgau, 2026\n"
"Language-Team: German (https://github.com/python/python-docs-de)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../../c-api/allocation.rst:6
msgid "Allocating objects on the heap"
msgstr "Objekte auf dem Heap zuweisen"
#: ../../c-api/allocation.rst:17
msgid ""
"Initialize a newly allocated object *op* with its type and initial "
"reference. Returns the initialized object. Other fields of the object are "
"not initialized. Despite its name, this function is unrelated to the "
"object's :meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` "
"slot). Specifically, this function does **not** call the object's :meth:`!"
"__init__` method."
msgstr ""
"Initialisiert ein neu zugewiesenes Objekt *op* mit seinem Typ und seiner "
"Anfangsreferenz. Gibt das initialisierte Objekt zurck. Andere Felder des "
"Objekts werden nicht initialisiert. Trotz ihres Namens steht diese Funktion "
"in keinem Zusammenhang mit der Methode :meth:`~object.__init__` des "
"Objekts (Slot :c:member:`~PyTypeObject.tp_init` ). Insbesondere ruft diese "
"Funktion die Methode :meth:`!__init__` des Objekts **nicht** auf."
#: ../../c-api/allocation.rst:24
msgid ""
"In general, consider this function to be a low-level routine. Use :c:member:"
"`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`!"
"tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func:"
"`PyObject_New`."
msgstr ""
"Im Allgemeinen sollten Sie diese Funktion als Low-Level-Routine betrachten. "
"Verwenden Sie nach Mglichkeit :c:member:`~PyTypeObject.tp_alloc` . Zur "
"Implementierung von :c:member:`!tp_alloc` fr Ihren Typ sollten Sie :c:"
"func:`PyType_GenericAlloc` oder :c:func:`PyObject_New` bevorzugen."
#: ../../c-api/allocation.rst:31
msgid ""
"This function only initializes the object's memory corresponding to the "
"initial :c:type:`PyObject` structure. It does not zero the rest."
msgstr ""
"Diese Funktion initialisiert lediglich den Speicher des Objekts, der der "
"Struktur :c:type:`PyObject` entspricht. Der Rest wird nicht auf Null "
"gesetzt."
#: ../../c-api/allocation.rst:37
msgid ""
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
"length information for a variable-size object."
msgstr ""
"Diese Funktion bietet denselben Funktionsumfang wie :c:func:`PyObject_Init` "
"und initialisiert darber hinaus die Lngenangaben fr ein Objekt mit "
"variabler Gre."
#: ../../c-api/allocation.rst:42
msgid ""
"This function only initializes some of the object's memory. It does not "
"zero the rest."
msgstr ""
"Diese Funktion initialisiert nur einen Teil des Speichers des Objekts. Der "
"Rest wird nicht auf Null gesetzt."
#: ../../c-api/allocation.rst:48
msgid ""
"Allocates a new Python object using the C structure type *TYPE* and the "
"Python type object *typeobj* (``PyTypeObject*``) by calling :c:func:"
"`PyObject_Malloc` to allocate memory and initializing it like :c:func:"
"`PyObject_Init`. The caller will own the only reference to the object (i.e. "
"its reference count will be one)."
msgstr ""
"Weist ein neues Python-Objekt unter Verwendung des C-Strukturtyps *TYPE* und "
"des Python-Objekttyps *typeobj* (``PyTypeObject*``) zu, indem mit :c:func:"
"`PyObject_Malloc` Speicher zugewiesen und dieser wie in :c:func:"
"`PyObject_Init` initialisiert wird. Der Aufrufer besitzt die einzige "
"Referenz auf das Objekt (d.h., dessen Referenzzhler betrgt eins)."
#: ../../c-api/allocation.rst:54 ../../c-api/allocation.rst:107
msgid ""
"Avoid calling this directly to allocate memory for an object; call the "
"type's :c:member:`~PyTypeObject.tp_alloc` slot instead."
msgstr ""
"Rufe dies nicht direkt auf, um Speicher fr ein Objekt zu reservieren; nutze "
"stattdessen den :c:member:`~PyTypeObject.tp_alloc`-Slot des Typs."
#: ../../c-api/allocation.rst:57 ../../c-api/allocation.rst:110
msgid ""
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:"
"`PyType_GenericAlloc` is preferred over a custom function that simply calls "
"this macro."
msgstr ""
"Beim Befllen des Slots :c:member:`~PyTypeObject.tp_alloc` eines Typs ist "
"die Verwendung von :c:func:`PyType_GenericAlloc` einer benutzerdefinierten "
"Funktion vorzuziehen, die dieses Makro lediglich aufruft."
#: ../../c-api/allocation.rst:61
msgid ""
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
msgstr ""
"Dieses Makro ruft weder :c:member:`~PyTypeObject.tp_alloc` noch :c:member:"
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`) noch :c:member:"
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`) auf."
#: ../../c-api/allocation.rst:65
msgid ""
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
msgstr ""
"Dies kann nicht fr Objekte verwendet werden, bei denen unter :c:member:"
"`~PyTypeObject.tp_flags` die Option :c:macro:`Py_TPFLAGS_HAVE_GC` "
"aktiviert ist; verwenden Sie stattdessen :c:macro:`PyObject_GC_New`."
#: ../../c-api/allocation.rst:68
msgid ""
"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` "
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
msgstr ""
"Der durch dieses Makro zugewiesene Speicher muss mit :c:func:`PyObject_Free` "
"freigegeben werden (in der Regel ber den Slot :c:member:`~PyTypeObject."
"tp_free` des Objekts aufgerufen)."
#: ../../c-api/allocation.rst:73 ../../c-api/allocation.rst:123
msgid ""
"The returned memory is not guaranteed to have been completely zeroed before "
"it was initialized."
msgstr ""
"Es kann nicht garantiert werden, dass der zurckgegebene Speicherbereich vor "
"der Initialisierung vollstndig auf Null gesetzt wurde."
#: ../../c-api/allocation.rst:78 ../../c-api/allocation.rst:128
msgid ""
"This macro does not construct a fully initialized object of the given type; "
"it merely allocates memory and prepares it for further initialization by :c:"
"member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
"call *typeobj* instead. For example::"
msgstr ""
"Dieses Makro erstellt kein vollstndig initialisiertes Objekt des "
"angegebenen Typs; es reserviert lediglich Speicher und bereitet diesen fr "
"die weitere Initialisierung durch :c:member:`~PyTypeObject.tp_init` vor. Um "
"ein vollstndig initialisiertes Objekt zu erstellen, rufen Sie stattdessen "
"*typeobj* auf. Beispiel::"
#: ../../c-api/allocation.rst:83
msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
msgstr "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
#: ../../c-api/allocation.rst:87 ../../c-api/allocation.rst:137
#: ../../c-api/allocation.rst:184 ../../c-api/allocation.rst:186
#: ../../c-api/allocation.rst:188
msgid ":c:func:`PyObject_Free`"
msgstr ":c:func:`PyObject_Free`"
#: ../../c-api/allocation.rst:88
msgid ":c:macro:`PyObject_GC_New`"
msgstr ":c:macro:`PyObject_GC_New`"
#: ../../c-api/allocation.rst:89 ../../c-api/allocation.rst:139
msgid ":c:func:`PyType_GenericAlloc`"
msgstr ":c:func:`PyType_GenericAlloc`"
#: ../../c-api/allocation.rst:90 ../../c-api/allocation.rst:140
msgid ":c:member:`~PyTypeObject.tp_alloc`"
msgstr ":c:member:`~PyTypeObject.tp_alloc`"
#: ../../c-api/allocation.rst:95
msgid "Like :c:macro:`PyObject_New` except:"
msgstr "hnlich wie :c:macro:`PyObject_New` , nur dass:"
#: ../../c-api/allocation.rst:97
msgid ""
"It allocates enough memory for the *TYPE* structure plus *size* "
"(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject."
"tp_itemsize` field of *typeobj*."
msgstr ""
"Es reserviert ausreichend Speicherplatz fr die Struktur *TYPE* sowie fr "
"*size* (``Py_ssize_t``) Felder mit der Gre, die durch das Feld :c:member:"
"`~PyTypeObject.tp_itemsize` von *typeobj* angegeben wird."
#: ../../c-api/allocation.rst:100
msgid "The memory is initialized like :c:func:`PyObject_InitVar`."
msgstr "Der Speicher wird wie folgt initialisiert: :c:func:`PyObject_InitVar`."
#: ../../c-api/allocation.rst:102
msgid ""
"This is useful for implementing objects like tuples, which are able to "
"determine their size at construction time. Embedding the array of fields "
"into the same allocation decreases the number of allocations, improving the "
"memory management efficiency."
msgstr ""
"Dies ist ntzlich fr die Implementierung von Objekten wie Tupeln, deren "
"Gre bereits bei der Erstellung bestimmt werden kann. Durch die Einbettung "
"des Feldarrays in denselben Speicherbereich wird die Anzahl der "
"Speicherzuweisungen reduziert, was die Effizienz der Speicherverwaltung "
"verbessert."
#: ../../c-api/allocation.rst:114
msgid ""
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead."
msgstr ""
"Dies kann nicht fr Objekte verwendet werden, bei denen unter :c:member:"
"`~PyTypeObject.tp_flags` die Option :c:macro:`Py_TPFLAGS_HAVE_GC` "
"aktiviert ist; verwenden Sie stattdessen :c:macro:`PyObject_GC_NewVar`."
#: ../../c-api/allocation.rst:118
msgid ""
"Memory allocated by this function must be freed with :c:func:`PyObject_Free` "
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
msgstr ""
"Der von dieser Funktion zugewiesene Speicher muss mit :c:func:"
"`PyObject_Free` freigegeben werden (in der Regel ber den Slot :c:member:"
"`~PyTypeObject.tp_free` des Objekts aufgerufen)."
#: ../../c-api/allocation.rst:133
msgid ""
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
msgstr ""
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
#: ../../c-api/allocation.rst:138
msgid ":c:macro:`PyObject_GC_NewVar`"
msgstr ":c:macro:`PyObject_GC_NewVar`"
#: ../../c-api/allocation.rst:145
msgid ""
"Object which is visible in Python as ``None``. This should only be accessed "
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
"object."
msgstr ""
"Objekt, das in Python als ``None`` sichtbar ist. Der Zugriff darauf "
"sollte ausschlielich ber das Makro :c:macro:`Py_None` erfolgen, das "
"einen Zeiger auf dieses Objekt zurckgibt."
#: ../../c-api/allocation.rst:152
msgid ":ref:`moduleobjects`"
msgstr ":ref:`moduleobjects`"
#: ../../c-api/allocation.rst:153
msgid "To allocate and create extension modules."
msgstr "Erweiterungsmodule zuweisen und erstellen."
#: ../../c-api/allocation.rst:157
msgid "Soft-deprecated aliases"
msgstr "Aliase, die nur noch als Soft-Deprecated gelten"
#: ../../c-api/allocation.rst:161
msgid ""
"These are aliases to existing functions and macros. They exist solely for "
"backwards compatibility."
msgstr ""
"Dies sind Aliase fr bereits vorhandene Funktionen und Makros. Sie dienen "
"ausschlielich der Abwrtskompatibilitt."
#: ../../c-api/allocation.rst:169
msgid "Soft-deprecated alias"
msgstr "Alias, der nur noch eingeschrnkt untersttzt wird"
#: ../../c-api/allocation.rst:170
msgid "Function"
msgstr "Funktion"
#: ../../c-api/allocation.rst:172
msgid ":c:macro:`PyObject_New`"
msgstr ":c:macro:`PyObject_New`"
#: ../../c-api/allocation.rst:174
msgid ":c:macro:`PyObject_NewVar`"
msgstr ":c:macro:`PyObject_NewVar`"
#: ../../c-api/allocation.rst:176
msgid ":c:func:`PyObject_Init`"
msgstr ":c:func:`PyObject_Init`"
#: ../../c-api/allocation.rst:178
msgid ":c:func:`PyObject_InitVar`"
msgstr ":c:func:`PyObject_InitVar`"
#: ../../c-api/allocation.rst:180
msgid ":c:func:`PyObject_Malloc`"
msgstr ":c:func:`PyObject_Malloc`"
#: ../../c-api/allocation.rst:182
msgid ":c:func:`PyObject_Realloc`"
msgstr ":c:func:`PyObject_Realloc`"