From 4962a398344bceed122c0149d7ddf590282c1362 Mon Sep 17 00:00:00 2001 From: sba72 <142266608+sba72@users.noreply.github.com> Date: Mon, 30 Nov 2026 03:08:03 +0000 Subject: [PATCH] =?UTF-8?q?Sync=20mit=20Upstream-=C3=84nderungen=20(3.15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builtins/functions.po | 83 +- c-api/gcsupport.po | 132 +- c-api/import.po | 50 +- c-api/init_config.po | 458 +- c-api/intro.po | 420 +- c-api/stable.po | 166 +- extending/embedding.po | 225 +- faq/design.po | 22 +- faq/library.po | 4 +- glossary.po | 498 +- howto/abi3t-migration.po | 5 +- howto/logging-cookbook.po | 896 +- howto/logging.po | 471 +- library/ast.po | 409 +- library/decimal.po | 161 +- library/dis.po | 394 +- library/http.po | 6 +- library/importlib.po | 33 +- library/os.po | 1290 +- library/platform.po | 4 +- library/plistlib.po | 8 +- library/profiling.sampling.po | 224 +- library/pyclbr.po | 4 +- library/pyexpat.po | 4 +- library/ssl.po | 5 +- library/statistics.po | 6 +- library/subprocess.po | 4 +- library/sys.po | 371 +- library/tempfile.po | 149 +- library/test.po | 643 +- library/traceback.po | 6 +- library/turtle.po | 1638 +- library/types.po | 155 +- library/urllib.error.po | 29 +- library/urllib.request.po | 111 +- library/warnings.po | 202 +- library/xml.dom.minidom.po | 79 +- library/xmlrpc.client.po | 94 +- reference/datamodel.po | 1306 +- reference/expressions.po | 383 +- reference/import.po | 425 +- reference/lexical_analysis.po | 708 +- reference/simple_stmts.po | 269 +- tutorial/datastructures.po | 61 +- tutorial/modules.po | 230 +- using/cmdline.po | 299 +- using/ios.po | 5 +- using/windows.po | 1377 +- whatsnew/3.15.po | 1315 +- whatsnew/changelog.po | 32730 ++++++++++++++++---------------- 50 files changed, 25068 insertions(+), 23499 deletions(-) diff --git a/builtins/functions.po b/builtins/functions.po index cdad9ef7..79f934d6 100644 --- a/builtins/functions.po +++ b/builtins/functions.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-11-01 16:00+0100\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -4663,26 +4663,21 @@ msgstr "" #: ../../builtins/functions.rst:2349 msgid "" -"This function is invoked by the :keyword:`import` statement. It can be " -"replaced (by importing the :mod:`builtins` module and assigning to " -"``builtins.__import__``) in order to change semantics of the :keyword:`!" -"import` statement, but doing so is **strongly** discouraged as it is usually " -"simpler to use import hooks (see :pep:`302`) to attain the same goals and " -"does not cause issues with code which assumes the default import " -"implementation is in use. Direct use of :func:`__import__` is also " -"discouraged in favor of :func:`importlib.import_module`." -msgstr "" -"Diese Funktion wird durch die :keyword:`import`-Anweisung aufgerufen. Sie " -"kann ersetzt werden (durch Importieren des Moduls :mod:`builtins` und " -"Zuweisung an ``builtins.__import__``), um die Semantik der :keyword:`!" -"import`-Anweisung zu ändern. Davon wird jedoch **dringend** abgeraten. Es " -"ist meist einfacher, Import-Hooks (siehe :pep:`302`) zu verwenden, um " -"dieselben Ziele zu erreichen, ohne Probleme bei Code zu verursachen, der von " -"der Standard-Importimplementierung ausgeht. Auch von der direkten Verwendung " -"von :func:`__import__` wird zugunsten von :func:`importlib.import_module` " -"abgeraten." - -#: ../../builtins/functions.rst:2358 +"Eager :keyword:`import` statements call this function. For :ref:`lazy " +"imports `, Python calls this function at resolution." +msgstr "" + +#: ../../builtins/functions.rst:2353 +msgid "" +"You can replace :func:`__import__` through an assignment to " +"``builtins.__import__``. :ref:`Import hooks ` usually provide " +"a simpler way to customize imports. A replacement can cause problems for " +"code that expects the default import implementation. Do not " +"replace :func:`__import__` unless import hooks cannot supply the required " +"behavior. To import a module by name, use :func:`importlib.import_module`." +msgstr "" + +#: ../../builtins/functions.rst:2361 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -4700,7 +4695,7 @@ msgstr "" "lediglich dazu, den Paketkontext der :keyword:`import`-Anweisung zu " "bestimmen." -#: ../../builtins/functions.rst:2365 +#: ../../builtins/functions.rst:2368 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. For relative imports, ``1`` " @@ -4713,7 +4708,7 @@ msgstr "" "dessen übergeordnetes Paket und so weiter (Einzelheiten stehen " "in :pep:`328`)." -#: ../../builtins/functions.rst:2370 +#: ../../builtins/functions.rst:2373 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -4726,7 +4721,7 @@ msgstr "" "*fromlist*-Argument angegeben, so wird das durch *name* bezeichnete Modul " "zurückgegeben." -#: ../../builtins/functions.rst:2375 +#: ../../builtins/functions.rst:2378 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -4734,19 +4729,19 @@ msgstr "" "Die Anweisung ``import spam`` führt beispielsweise zu Bytecode, der dem " "folgenden Code ähnelt::" -#: ../../builtins/functions.rst:2378 +#: ../../builtins/functions.rst:2381 msgid "spam = __import__('spam', globals(), locals(), [], 0)" msgstr "spam = __import__('spam', globals(), locals(), [], 0)" -#: ../../builtins/functions.rst:2380 +#: ../../builtins/functions.rst:2383 msgid "The statement ``import spam.ham`` results in this call::" msgstr "Die Anweisung ``import spam.ham`` führt zu diesem Aufruf::" -#: ../../builtins/functions.rst:2382 +#: ../../builtins/functions.rst:2385 msgid "spam = __import__('spam.ham', globals(), locals(), [], 0)" msgstr "spam = __import__('spam.ham', globals(), locals(), [], 0)" -#: ../../builtins/functions.rst:2384 +#: ../../builtins/functions.rst:2387 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -4755,7 +4750,7 @@ msgstr "" "zurückgibt, da dies das Objekt ist, das durch die :keyword:`import`-" "Anweisung an einen Namen gebunden wird." -#: ../../builtins/functions.rst:2387 +#: ../../builtins/functions.rst:2390 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -4763,7 +4758,7 @@ msgstr "" "Andererseits führt die Anweisung ``from spam.ham import eggs, sausage as " "saus`` zu ::" -#: ../../builtins/functions.rst:2390 +#: ../../builtins/functions.rst:2393 msgid "" "_temp = __import__('spam.ham', globals(), locals(), ['eggs', 'sausage'], 0)\n" "eggs = _temp.eggs\n" @@ -4773,7 +4768,7 @@ msgstr "" "eggs = _temp.eggs\n" "saus = _temp.sausage" -#: ../../builtins/functions.rst:2394 +#: ../../builtins/functions.rst:2397 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -4783,7 +4778,7 @@ msgstr "" "diesem Objekt werden die zu importierenden Namen abgerufen und den " "entsprechenden Namen zugewiesen." -#: ../../builtins/functions.rst:2398 +#: ../../builtins/functions.rst:2401 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -4791,7 +4786,7 @@ msgstr "" "Wenn du ein Modul (möglicherweise innerhalb eines Pakets) einfach anhand " "seines Namens importieren möchten, verwende :func:`importlib.import_module`." -#: ../../builtins/functions.rst:2401 +#: ../../builtins/functions.rst:2404 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -4799,7 +4794,7 @@ msgstr "" "Negative Werte für *level* werden nicht mehr unterstützt (wodurch sich auch " "der Standardwert auf 0 ändert)." -#: ../../builtins/functions.rst:2405 +#: ../../builtins/functions.rst:2408 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." @@ -4915,6 +4910,26 @@ msgstr "Import" msgid "builtins" msgstr "Integrierte Funktionen" +#~ msgid "" +#~ "This function is invoked by the :keyword:`import` statement. It can be " +#~ "replaced (by importing the :mod:`builtins` module and assigning to " +#~ "``builtins.__import__``) in order to change semantics of the :keyword:`!" +#~ "import` statement, but doing so is **strongly** discouraged as it is " +#~ "usually simpler to use import hooks (see :pep:`302`) to attain the same " +#~ "goals and does not cause issues with code which assumes the default " +#~ "import implementation is in use. Direct use of :func:`__import__` is " +#~ "also discouraged in favor of :func:`importlib.import_module`." +#~ msgstr "" +#~ "Diese Funktion wird durch die :keyword:`import`-Anweisung aufgerufen. Sie " +#~ "kann ersetzt werden (durch Importieren des Moduls :mod:`builtins` und " +#~ "Zuweisung an ``builtins.__import__``), um die Semantik der :keyword:`!" +#~ "import`-Anweisung zu ändern. Davon wird jedoch **dringend** abgeraten. Es " +#~ "ist meist einfacher, Import-Hooks (siehe :pep:`302`) zu verwenden, um " +#~ "dieselben Ziele zu erreichen, ohne Probleme bei Code zu verursachen, der " +#~ "von der Standard-Importimplementierung ausgeht. Auch von der direkten " +#~ "Verwendung von :func:`__import__` wird zugunsten " +#~ "von :func:`importlib.import_module` abgeraten." + #~ msgid "Footnotes" #~ msgstr "Fußnoten" diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index dd393975..a04df901 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+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" @@ -343,13 +343,23 @@ msgstr "" #: ../../c-api/gcsupport.rst:256 msgid "" +"The garbage collector can call :c:member:`~PyTypeObject.tp_traverse` more " +"than once for the same object during a collection. If the object's " +"references do not change, each traversal must visit the same references. In " +"particular, do not skip a reference because a lock is busy. If one traversal " +"visits a reference and a later traversal skips it, the collector can clear " +"an object that is still reachable." +msgstr "" + +#: ../../c-api/gcsupport.rst:263 +msgid "" "A typical :c:member:`!tp_traverse` function calls the :c:func:`Py_VISIT` " "convenience macro on each of the instance's members that are Python objects " "that the instance owns. For example, this is a (slightly outdated) traversal " "function for the :py:class:`threading.local` class::" msgstr "" -#: ../../c-api/gcsupport.rst:262 +#: ../../c-api/gcsupport.rst:269 msgid "" "static int\n" "local_traverse(PyObject *op, visitproc visit, void *arg)\n" @@ -363,23 +373,23 @@ msgid "" "}" msgstr "" -#: ../../c-api/gcsupport.rst:274 +#: ../../c-api/gcsupport.rst:281 msgid "" ":c:func:`Py_VISIT` requires the *visit* and *arg* parameters to :c:func:`!" "local_traverse` to have these specific names; don't name them just anything." msgstr "" -#: ../../c-api/gcsupport.rst:278 +#: ../../c-api/gcsupport.rst:285 msgid "" "Instances of :ref:`heap-allocated types ` hold a reference to " "their type. Their traversal function must therefore visit the type::" msgstr "" -#: ../../c-api/gcsupport.rst:281 +#: ../../c-api/gcsupport.rst:288 msgid "Py_VISIT(Py_TYPE(self));" msgstr "" -#: ../../c-api/gcsupport.rst:283 +#: ../../c-api/gcsupport.rst:290 msgid "" "Alternately, the type may delegate this responsibility by calling " "``tp_traverse`` of a heap-allocated superclass (or another heap-allocated " @@ -387,14 +397,14 @@ msgid "" "collected." msgstr "" -#: ../../c-api/gcsupport.rst:288 +#: ../../c-api/gcsupport.rst:295 msgid "" "If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit is set in " "the :c:member:`~PyTypeObject.tp_flags` field, the traverse function must " "call :c:func:`PyObject_VisitManagedDict` like this::" msgstr "" -#: ../../c-api/gcsupport.rst:292 +#: ../../c-api/gcsupport.rst:299 msgid "" "int err = PyObject_VisitManagedDict((PyObject*)self, visit, arg);\n" "if (err) {\n" @@ -402,7 +412,7 @@ msgid "" "}" msgstr "" -#: ../../c-api/gcsupport.rst:297 +#: ../../c-api/gcsupport.rst:304 msgid "" "Only the members that the instance *owns* (by having :term:`strong " "references ` to them) must be visited. For instance, if an " @@ -412,18 +422,18 @@ msgid "" "instance does not directly own the weak references to itself." msgstr "" -#: ../../c-api/gcsupport.rst:304 +#: ../../c-api/gcsupport.rst:311 msgid "The traversal function has a limitation:" msgstr "" -#: ../../c-api/gcsupport.rst:308 +#: ../../c-api/gcsupport.rst:315 msgid "" "The traversal function must not have any side effects. Implementations may " "not modify the reference counts of any Python objects nor create or destroy " "any Python objects, directly or indirectly." msgstr "" -#: ../../c-api/gcsupport.rst:312 +#: ../../c-api/gcsupport.rst:319 msgid "" "This means that *most* Python C API functions may not be used, since they " "can raise a new exception, return a new reference to a result object, have " @@ -432,23 +442,13 @@ msgid "" "future versions, without warning." msgstr "" -#: ../../c-api/gcsupport.rst:318 +#: ../../c-api/gcsupport.rst:325 msgid "" "For a list of safe functions, see a :ref:`separate section ` below." msgstr "" -#: ../../c-api/gcsupport.rst:321 -msgid "" -"If an error occurs during traversal, ignore it and return 0. If " -"``tp_traverse`` fails to visit some strong references, garbage reference " -"cycles involving the skipped references will not be reliably broken, but " -"correctness won't be affected. For example, if traversal requires a lock " -"that cannot be acquired promptly, skip the traversal. The garbage collector " -"will visit your object again in a future pass." -msgstr "" - -#: ../../c-api/gcsupport.rst:331 +#: ../../c-api/gcsupport.rst:330 msgid "" "The :c:func:`Py_VISIT` call may be skipped for those members that provably " "cannot participate in reference cycles. In the ``local_traverse`` example " @@ -456,34 +456,34 @@ msgid "" "a Python string and therefore cannot be part of a reference cycle." msgstr "" -#: ../../c-api/gcsupport.rst:337 +#: ../../c-api/gcsupport.rst:336 msgid "" "On the other hand, even if you know a member can never be part of a cycle, " "as a debugging aid you may want to visit it anyway just so the :mod:`gc` " "module's :func:`~gc.get_referents` function will include it." msgstr "" -#: ../../c-api/gcsupport.rst:343 +#: ../../c-api/gcsupport.rst:342 msgid "" "The :c:member:`~PyTypeObject.tp_traverse` function can be called from any " "thread." msgstr "" -#: ../../c-api/gcsupport.rst:348 +#: ../../c-api/gcsupport.rst:347 msgid "" "Garbage collection is a \"stop-the-world\" operation: even in :term:`free " "threading` builds, only one thread state is :term:`attached ` when :c:member:`!tp_traverse` handlers run." msgstr "" -#: ../../c-api/gcsupport.rst:355 +#: ../../c-api/gcsupport.rst:354 msgid "" "Heap-allocated types are expected to visit ``Py_TYPE(self)`` in " "``tp_traverse``. In earlier versions of Python, due to `bug 40217 `_, doing this may lead to crashes in subclasses." msgstr "" -#: ../../c-api/gcsupport.rst:360 +#: ../../c-api/gcsupport.rst:359 msgid "" "To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, " "a :c:func:`Py_VISIT` macro is provided. In order to use this macro, " @@ -491,18 +491,18 @@ msgid "" "arguments exactly *visit* and *arg*:" msgstr "" -#: ../../c-api/gcsupport.rst:367 +#: ../../c-api/gcsupport.rst:366 msgid "" "If the :c:expr:`PyObject *` *o* is not ``NULL``, call the *visit* callback, " "with arguments *o* and *arg*. If *visit* returns a non-zero value, then " "return it." msgstr "" -#: ../../c-api/gcsupport.rst:371 +#: ../../c-api/gcsupport.rst:370 msgid "This corresponds roughly to::" msgstr "" -#: ../../c-api/gcsupport.rst:373 +#: ../../c-api/gcsupport.rst:372 msgid "" "#define Py_VISIT(o) \\\n" " if (o) { \\\n" @@ -513,65 +513,65 @@ msgid "" " }" msgstr "" -#: ../../c-api/gcsupport.rst:383 +#: ../../c-api/gcsupport.rst:382 msgid "Traversal-safe functions" msgstr "" -#: ../../c-api/gcsupport.rst:385 +#: ../../c-api/gcsupport.rst:384 msgid "" "The following functions and macros are safe to use in " "a :c:member:`~PyTypeObject.tp_traverse` handler:" msgstr "" -#: ../../c-api/gcsupport.rst:388 +#: ../../c-api/gcsupport.rst:387 msgid "the *visit* function passed to ``tp_traverse``" msgstr "" -#: ../../c-api/gcsupport.rst:389 +#: ../../c-api/gcsupport.rst:388 msgid ":c:func:`Py_VISIT`" msgstr "" -#: ../../c-api/gcsupport.rst:390 +#: ../../c-api/gcsupport.rst:389 msgid ":c:func:`Py_SIZE`" msgstr "" -#: ../../c-api/gcsupport.rst:391 +#: ../../c-api/gcsupport.rst:390 msgid "" ":c:func:`Py_TYPE`: if called from a :c:member:`!tp_traverse` " "handler, :c:func:`!Py_TYPE`'s result will be valid for the duration of the " "handler call" msgstr "" -#: ../../c-api/gcsupport.rst:393 +#: ../../c-api/gcsupport.rst:392 msgid ":c:func:`PyObject_VisitManagedDict`" msgstr "" -#: ../../c-api/gcsupport.rst:394 +#: ../../c-api/gcsupport.rst:393 msgid ":c:func:`PyObject_TypeCheck`, :c:func:`PyType_IsSubtype`, :c:func:`PyType_HasFeature`" msgstr "" -#: ../../c-api/gcsupport.rst:396 +#: ../../c-api/gcsupport.rst:395 msgid "" ":samp:`Py{}_Check` and :samp:`Py{}_CheckExact` -- for " "example, :c:func:`PyTuple_Check`" msgstr "" -#: ../../c-api/gcsupport.rst:398 +#: ../../c-api/gcsupport.rst:397 msgid ":ref:`duringgc-functions`" msgstr "" -#: ../../c-api/gcsupport.rst:403 +#: ../../c-api/gcsupport.rst:402 msgid "\"DuringGC\" functions" msgstr "" -#: ../../c-api/gcsupport.rst:405 +#: ../../c-api/gcsupport.rst:404 msgid "" "The following functions should *only* be used in " "a :c:member:`~PyTypeObject.tp_traverse` handler; calling them in other " "contexts may have unintended consequences." msgstr "" -#: ../../c-api/gcsupport.rst:409 +#: ../../c-api/gcsupport.rst:408 msgid "" "These functions act like their counterparts without the ``_DuringGC`` " "suffix, but they are guaranteed to not have side effects, they do not set an " @@ -579,60 +579,60 @@ msgid "" "` as detailed in the individual documentation." msgstr "" -#: ../../c-api/gcsupport.rst:414 +#: ../../c-api/gcsupport.rst:413 msgid "" "Note that these functions may fail (return ``NULL`` or ``-1``), but as they " "do not set an exception, no error information is available. In some cases, " "failure is not distinguishable from a successful ``NULL`` result." msgstr "" -#: ../../c-api/gcsupport.rst:424 ../../c-api/gcsupport.rst:439 -#: ../../c-api/gcsupport.rst:452 +#: ../../c-api/gcsupport.rst:423 ../../c-api/gcsupport.rst:438 +#: ../../c-api/gcsupport.rst:451 msgid "See :ref:`duringgc-functions` for common information." msgstr "" -#: ../../c-api/gcsupport.rst:430 +#: ../../c-api/gcsupport.rst:429 msgid ":c:func:`PyObject_GetTypeData`, :c:func:`PyObject_GetItemData`, :c:func:`PyType_GetModuleState`, :c:func:`PyModule_GetState`, :c:func:`PyModule_GetToken`, :c:func:`PyType_GetBaseByToken`" msgstr "" -#: ../../c-api/gcsupport.rst:441 +#: ../../c-api/gcsupport.rst:440 msgid "" "Sets *\\*result* to a :term:`borrowed reference` rather than a strong one. " "The reference is valid for the duration of the :c:member:`!tp_traverse` " "handler call." msgstr "" -#: ../../c-api/gcsupport.rst:447 +#: ../../c-api/gcsupport.rst:446 msgid ":c:func:`PyType_GetBaseByToken`" msgstr "" -#: ../../c-api/gcsupport.rst:454 +#: ../../c-api/gcsupport.rst:453 msgid "" "These functions return a :term:`borrowed reference`, which is valid for the " "duration of the :c:member:`!tp_traverse` handler call." msgstr "" -#: ../../c-api/gcsupport.rst:461 +#: ../../c-api/gcsupport.rst:460 msgid ":c:func:`PyType_GetModule`, :c:func:`PyType_GetModuleByToken`" msgstr "" -#: ../../c-api/gcsupport.rst:466 +#: ../../c-api/gcsupport.rst:465 msgid "Controlling the Garbage Collector State" msgstr "" -#: ../../c-api/gcsupport.rst:468 +#: ../../c-api/gcsupport.rst:467 msgid "" "The C-API provides the following functions for controlling garbage " "collection runs." msgstr "" -#: ../../c-api/gcsupport.rst:473 +#: ../../c-api/gcsupport.rst:472 msgid "" "Perform a full garbage collection, if the garbage collector is enabled. " "(Note that :func:`gc.collect` runs it unconditionally.)" msgstr "" -#: ../../c-api/gcsupport.rst:476 +#: ../../c-api/gcsupport.rst:475 msgid "" "Returns the number of collected + unreachable objects which cannot be " "collected. If the garbage collector is disabled or already collecting, " @@ -640,54 +640,54 @@ msgid "" "to :data:`sys.unraisablehook`. This function does not raise exceptions." msgstr "" -#: ../../c-api/gcsupport.rst:486 +#: ../../c-api/gcsupport.rst:485 msgid "" "Enable the garbage collector: similar to :func:`gc.enable`. Returns the " "previous state, 0 for disabled and 1 for enabled." msgstr "" -#: ../../c-api/gcsupport.rst:494 +#: ../../c-api/gcsupport.rst:493 msgid "" "Disable the garbage collector: similar to :func:`gc.disable`. Returns the " "previous state, 0 for disabled and 1 for enabled." msgstr "" -#: ../../c-api/gcsupport.rst:502 +#: ../../c-api/gcsupport.rst:501 msgid "" "Query the state of the garbage collector: similar to :func:`gc.isenabled`. " "Returns the current state, 0 for disabled and 1 for enabled." msgstr "" -#: ../../c-api/gcsupport.rst:509 +#: ../../c-api/gcsupport.rst:508 msgid "Querying Garbage Collector State" msgstr "" -#: ../../c-api/gcsupport.rst:511 +#: ../../c-api/gcsupport.rst:510 msgid "" "The C-API provides the following interface for querying information about " "the garbage collector." msgstr "" -#: ../../c-api/gcsupport.rst:516 +#: ../../c-api/gcsupport.rst:515 msgid "" "Run supplied *callback* on all live GC-capable objects. *arg* is passed " "through to all invocations of *callback*." msgstr "" -#: ../../c-api/gcsupport.rst:520 +#: ../../c-api/gcsupport.rst:519 msgid "" "If new objects are (de)allocated by the callback it is undefined if they " "will be visited." msgstr "" -#: ../../c-api/gcsupport.rst:523 +#: ../../c-api/gcsupport.rst:522 msgid "" "Garbage collection is disabled during operation. Explicitly running a " "collection in the callback may lead to undefined behaviour e.g. visiting the " "same objects multiple times or not at all." msgstr "" -#: ../../c-api/gcsupport.rst:531 +#: ../../c-api/gcsupport.rst:530 msgid "" "Type of the visitor function to be passed " "to :c:func:`PyUnstable_GC_VisitObjects`. *arg* is the same as the *arg* " diff --git a/c-api/import.po b/c-api/import.po index 97a0cbe1..8c0e9b81 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+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" @@ -422,48 +422,52 @@ msgstr "" #: ../../c-api/import.rst:374 msgid "" -"Sets the current lazy imports filter. The *filter* should be a callable that " -"will receive ``(importing_module_name, imported_module_name, [fromlist])`` " -"when an import can potentially be lazy. The ``imported_module_name`` value " -"is the resolved module name, so ``lazy from .spam import eggs`` passes " -"``package.spam``. The callable must return ``True`` if the import should be " -"lazy and ``False`` otherwise." +"Set the lazy import filter for the current interpreter. The *filter* must be " +"a callable, ``NULL``, or :c:data:`Py_None`. Use ``NULL`` " +"or :c:data:`Py_None` to clear the filter. The callable receives three " +"positional arguments: ``(importing_module_name, imported_module_name, " +"fromlist)``. See :func:`sys.set_lazy_imports_filter` for the arguments and " +"filter behavior." msgstr "" -#: ../../c-api/import.rst:381 +#: ../../c-api/import.rst:382 msgid "Return ``0`` on success and ``-1`` with an exception set otherwise." msgstr "" -#: ../../c-api/import.rst:387 +#: ../../c-api/import.rst:388 msgid "Enumeration of possible lazy import modes." msgstr "" -#: ../../c-api/import.rst:391 -msgid "Respect the ``lazy`` keyword in source code. This is the default mode." +#: ../../c-api/import.rst:392 +msgid "" +"Respect :keyword:`lazy` and :attr:`module.__lazy_modules__`. This is the " +"default mode." msgstr "" -#: ../../c-api/import.rst:395 -msgid "Make all imports lazy by default." +#: ../../c-api/import.rst:397 +msgid "" +"Make eligible module-scope imports lazy by default. See the :ref:`lazy " +"import restrictions `." msgstr "" -#: ../../c-api/import.rst:401 +#: ../../c-api/import.rst:404 msgid "" "This function is a building block that enables embedders to implement " "the :py:meth:`~importlib.abc.Loader.create_module` step of custom static " "extension importers (e.g. of statically-linked extensions)." msgstr "" -#: ../../c-api/import.rst:405 +#: ../../c-api/import.rst:408 msgid "*spec* must be a :class:`~importlib.machinery.ModuleSpec` object." msgstr "" -#: ../../c-api/import.rst:407 +#: ../../c-api/import.rst:410 msgid "" "*initfunc* must be an :ref:`initialization function `, the " "same as for :c:func:`PyImport_AppendInittab`." msgstr "" -#: ../../c-api/import.rst:410 +#: ../../c-api/import.rst:413 msgid "" "On success, create and return a module object. This module will not be " "initialized; call :c:func:`PyModule_Exec` to initialize it. (Custom " @@ -471,11 +475,11 @@ msgid "" "their :py:meth:`~importlib.abc.Loader.exec_module` method.)" msgstr "" -#: ../../c-api/import.rst:416 +#: ../../c-api/import.rst:419 msgid "On error, return NULL with an exception set." msgstr "" -#: ../../c-api/import.rst:418 +#: ../../c-api/import.rst:421 msgid "" "For modules using :ref:`legacy single-phase initialization `, most of the import process is done in this function, " @@ -483,14 +487,14 @@ msgid "" "after :py:meth:`~importlib.abc.Loader.create_module`. Specifically:" msgstr "" -#: ../../c-api/import.rst:424 +#: ../../c-api/import.rst:427 msgid "" "The module is added to :data:`sys.modules` under the " "*spec*'s :py:attr:`~importlib.machinery.ModuleSpec.name` as part of " "initialization." msgstr "" -#: ../../c-api/import.rst:426 +#: ../../c-api/import.rst:429 msgid "" "If a single-phase module was previously imported under the " "same :py:attr:`~importlib.machinery.ModuleSpec.name` by this function or as " @@ -499,7 +503,7 @@ msgid "" "module's contents instead of calling *initfunc* again." msgstr "" -#: ../../c-api/import.rst:431 +#: ../../c-api/import.rst:434 msgid "" "The module will be fully initialized by *initfunc*. " "Calling :c:func:`PyModule_Exec` on it will have no effect, though it is " @@ -507,7 +511,7 @@ msgid "" "initialization `." msgstr "" -#: ../../c-api/import.rst:435 +#: ../../c-api/import.rst:438 msgid "" "Also, if the *spec*'s :py:attr:`!name` contains dots, this name is used for " "prepending a parent package to the new module's :attr:`~module.__name__`." diff --git a/c-api/init_config.po b/c-api/init_config.po index 16f5ffdd..2fa030ad 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+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" @@ -1497,7 +1497,7 @@ msgid "" msgstr "" #: ../../c-api/init_config.rst:947 ../../c-api/init_config.rst:1361 -#: ../../c-api/init_config.rst:1417 ../../c-api/init_config.rst:1930 +#: ../../c-api/init_config.rst:1417 ../../c-api/init_config.rst:1932 msgid "Default: ``-1`` in Python mode, ``0`` in isolated mode." msgstr "" @@ -1531,7 +1531,7 @@ msgid "" "variable value." msgstr "" -#: ../../c-api/init_config.rst:966 ../../c-api/init_config.rst:1621 +#: ../../c-api/init_config.rst:966 ../../c-api/init_config.rst:1623 msgid "" "Only available on Windows. ``#ifdef MS_WINDOWS`` macro can be used for " "Windows specific code." @@ -1540,11 +1540,11 @@ msgstr "" #: ../../c-api/init_config.rst:969 ../../c-api/init_config.rst:1295 #: ../../c-api/init_config.rst:1307 ../../c-api/init_config.rst:1374 #: ../../c-api/init_config.rst:1510 ../../c-api/init_config.rst:1528 -#: ../../c-api/init_config.rst:1542 ../../c-api/init_config.rst:1624 -#: ../../c-api/init_config.rst:1638 ../../c-api/init_config.rst:1698 -#: ../../c-api/init_config.rst:1750 ../../c-api/init_config.rst:1812 -#: ../../c-api/init_config.rst:1866 ../../c-api/init_config.rst:1895 -#: ../../c-api/init_config.rst:2009 ../../c-api/init_config.rst:2055 +#: ../../c-api/init_config.rst:1542 ../../c-api/init_config.rst:1626 +#: ../../c-api/init_config.rst:1640 ../../c-api/init_config.rst:1700 +#: ../../c-api/init_config.rst:1752 ../../c-api/init_config.rst:1814 +#: ../../c-api/init_config.rst:1868 ../../c-api/init_config.rst:1897 +#: ../../c-api/init_config.rst:2011 ../../c-api/init_config.rst:2057 msgid "Default: ``0``." msgstr "" @@ -1562,7 +1562,7 @@ msgid "" "See :c:member:`PyConfig.use_environment`." msgstr "" -#: ../../c-api/init_config.rst:985 ../../c-api/init_config.rst:1971 +#: ../../c-api/init_config.rst:985 ../../c-api/init_config.rst:1973 msgid "Default: ``1`` in Python config and ``0`` in isolated config." msgstr "" @@ -1577,8 +1577,8 @@ msgid "" msgstr "" #: ../../c-api/init_config.rst:994 ../../c-api/init_config.rst:1282 -#: ../../c-api/init_config.rst:1320 ../../c-api/init_config.rst:1883 -#: ../../c-api/init_config.rst:2040 +#: ../../c-api/init_config.rst:1320 ../../c-api/init_config.rst:1885 +#: ../../c-api/init_config.rst:2042 msgid "Default: ``1``." msgstr "" @@ -1636,7 +1636,7 @@ msgid "" "if :c:member:`~PyPreConfig.parse_argv` of *preconfig* is non-zero." msgstr "" -#: ../../c-api/init_config.rst:1038 ../../c-api/init_config.rst:2078 +#: ../../c-api/init_config.rst:1038 ../../c-api/init_config.rst:2080 msgid "" "The caller is responsible to handle exceptions (error or exit) " "using :c:func:`PyStatus_Exception` and :c:func:`Py_ExitStatusException`." @@ -1771,7 +1771,7 @@ msgid "" "calculated or modified when calling this function, as of Python 3.11." msgstr "" -#: ../../c-api/init_config.rst:1146 ../../c-api/init_config.rst:1727 +#: ../../c-api/init_config.rst:1146 ../../c-api/init_config.rst:1729 msgid "" "The :c:func:`PyConfig_Read` function only parses :c:member:`PyConfig.argv` " "arguments once: :c:member:`PyConfig.parse_argv` is set to ``2`` after " @@ -1867,11 +1867,11 @@ msgstr "" #: ../../c-api/init_config.rst:1256 ../../c-api/init_config.rst:1266 #: ../../c-api/init_config.rst:1382 ../../c-api/init_config.rst:1391 #: ../../c-api/init_config.rst:1402 ../../c-api/init_config.rst:1497 -#: ../../c-api/init_config.rst:1668 ../../c-api/init_config.rst:1769 -#: ../../c-api/init_config.rst:1788 ../../c-api/init_config.rst:1803 -#: ../../c-api/init_config.rst:1820 ../../c-api/init_config.rst:1833 -#: ../../c-api/init_config.rst:1841 ../../c-api/init_config.rst:1855 -#: ../../c-api/init_config.rst:1958 +#: ../../c-api/init_config.rst:1670 ../../c-api/init_config.rst:1771 +#: ../../c-api/init_config.rst:1790 ../../c-api/init_config.rst:1805 +#: ../../c-api/init_config.rst:1822 ../../c-api/init_config.rst:1835 +#: ../../c-api/init_config.rst:1843 ../../c-api/init_config.rst:1857 +#: ../../c-api/init_config.rst:1960 msgid "Default: ``NULL``." msgstr "" @@ -1919,8 +1919,8 @@ msgstr "" #: ../../c-api/init_config.rst:1244 ../../c-api/init_config.rst:1258 #: ../../c-api/init_config.rst:1268 ../../c-api/init_config.rst:1393 -#: ../../c-api/init_config.rst:1404 ../../c-api/init_config.rst:1685 -#: ../../c-api/init_config.rst:1771 +#: ../../c-api/init_config.rst:1404 ../../c-api/init_config.rst:1687 +#: ../../c-api/init_config.rst:1773 msgid "Part of the :ref:`Python Path Configuration ` output." msgstr "" @@ -2273,9 +2273,9 @@ msgstr "" msgid "Set by the :envvar:`PYTHONHOME` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1499 ../../c-api/init_config.rst:1650 -#: ../../c-api/init_config.rst:1670 ../../c-api/init_config.rst:1759 -#: ../../c-api/init_config.rst:1790 +#: ../../c-api/init_config.rst:1499 ../../c-api/init_config.rst:1652 +#: ../../c-api/init_config.rst:1672 ../../c-api/init_config.rst:1761 +#: ../../c-api/init_config.rst:1792 msgid "Part of the :ref:`Python Path Configuration ` input." msgstr "" @@ -2317,8 +2317,8 @@ msgstr "" msgid "Install Python signal handlers?" msgstr "" -#: ../../c-api/init_config.rst:1534 ../../c-api/init_config.rst:1733 -#: ../../c-api/init_config.rst:1757 ../../c-api/init_config.rst:1993 +#: ../../c-api/init_config.rst:1534 ../../c-api/init_config.rst:1735 +#: ../../c-api/init_config.rst:1759 ../../c-api/init_config.rst:1995 msgid "Default: ``1`` in Python mode, ``0`` in isolated mode." msgstr "" @@ -2367,8 +2367,8 @@ msgid "" "the :envvar:`PYTHON_CPU_COUNT` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1571 ../../c-api/init_config.rst:1608 -#: ../../c-api/init_config.rst:1947 +#: ../../c-api/init_config.rst:1571 ../../c-api/init_config.rst:1610 +#: ../../c-api/init_config.rst:1949 msgid "Default: ``-1``." msgstr "" @@ -2417,66 +2417,68 @@ msgstr "" #: ../../c-api/init_config.rst:1601 msgid "" -"A value of ``-1`` keeps the default behaviour, where only imports marked " -"with the ``lazy`` keyword are lazy. A value of ``1`` makes every import " -"lazy. ``0`` is rejected." +"A value of ``-1`` selects the default behavior, which " +"respects :keyword:`lazy` and :attr:`module.__lazy_modules__`. A value of " +"``1`` makes eligible module-scope imports lazy by default. The :ref:`lazy " +"import restrictions ` apply in both modes. A value of ``0`` is " +"invalid." msgstr "" -#: ../../c-api/init_config.rst:1605 +#: ../../c-api/init_config.rst:1607 msgid "" "Configured by the :option:`-X lazy_imports <-X>` command line option or " "the :envvar:`PYTHON_LAZY_IMPORTS` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1614 +#: ../../c-api/init_config.rst:1616 msgid "" "If non-zero, use :class:`io.FileIO` instead of :class:`!" "io._WindowsConsoleIO` for :data:`sys.stdin`, :data:`sys.stdout` " "and :data:`sys.stderr`." msgstr "" -#: ../../c-api/init_config.rst:1618 +#: ../../c-api/init_config.rst:1620 msgid "" "Set to ``1`` if the :envvar:`PYTHONLEGACYWINDOWSSTDIO` environment variable " "is set to a non-empty string." msgstr "" -#: ../../c-api/init_config.rst:1626 +#: ../../c-api/init_config.rst:1628 msgid "See also the :pep:`528` (Change Windows console encoding to UTF-8)." msgstr "" -#: ../../c-api/init_config.rst:1630 +#: ../../c-api/init_config.rst:1632 msgid "" "If non-zero, dump statistics on :ref:`Python pymalloc memory allocator " "` at exit." msgstr "" -#: ../../c-api/init_config.rst:1633 +#: ../../c-api/init_config.rst:1635 msgid "Set to ``1`` by the :envvar:`PYTHONMALLOCSTATS` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1635 +#: ../../c-api/init_config.rst:1637 msgid "" "The option is ignored if Python is :option:`configured using the --without-" "pymalloc option <--without-pymalloc>`." msgstr "" -#: ../../c-api/init_config.rst:1642 +#: ../../c-api/init_config.rst:1644 msgid "Platform library directory name: :data:`sys.platlibdir`." msgstr "" -#: ../../c-api/init_config.rst:1644 +#: ../../c-api/init_config.rst:1646 msgid "Set by the :envvar:`PYTHONPLATLIBDIR` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1646 +#: ../../c-api/init_config.rst:1648 msgid "" "Default: value of the ``PLATLIBDIR`` macro which is set by " "the :option:`configure --with-platlibdir option <--with-platlibdir>` " "(default: ``\"lib\"``, or ``\"DLLs\"`` on Windows)." msgstr "" -#: ../../c-api/init_config.rst:1654 +#: ../../c-api/init_config.rst:1656 msgid "" "This macro is now used on Windows to locate the standard library extension " "modules, typically under ``DLLs``. However, for compatibility, note that " @@ -2484,21 +2486,21 @@ msgid "" "and virtual environments." msgstr "" -#: ../../c-api/init_config.rst:1663 +#: ../../c-api/init_config.rst:1665 msgid "" "Module search paths (:data:`sys.path`) as a string separated by ``DELIM`` " "(:data:`os.pathsep`)." msgstr "" -#: ../../c-api/init_config.rst:1666 +#: ../../c-api/init_config.rst:1668 msgid "Set by the :envvar:`PYTHONPATH` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1675 +#: ../../c-api/init_config.rst:1677 msgid "Module search paths: :data:`sys.path`." msgstr "" -#: ../../c-api/init_config.rst:1677 +#: ../../c-api/init_config.rst:1679 msgid "" "If :c:member:`~PyConfig.module_search_paths_set` is equal to " "``0``, :c:func:`Py_InitializeFromConfig` will " @@ -2506,41 +2508,41 @@ msgid "" "sets :c:member:`~PyConfig.module_search_paths_set` to ``1``." msgstr "" -#: ../../c-api/init_config.rst:1682 +#: ../../c-api/init_config.rst:1684 msgid "" "Default: empty list (``module_search_paths``) and ``0`` " "(``module_search_paths_set``)." msgstr "" -#: ../../c-api/init_config.rst:1689 +#: ../../c-api/init_config.rst:1691 msgid "Compilation optimization level:" msgstr "" -#: ../../c-api/init_config.rst:1691 +#: ../../c-api/init_config.rst:1693 msgid "``0``: Peephole optimizer, set ``__debug__`` to ``True``." msgstr "" -#: ../../c-api/init_config.rst:1692 +#: ../../c-api/init_config.rst:1694 msgid "``1``: Level 0, remove assertions, set ``__debug__`` to ``False``." msgstr "" -#: ../../c-api/init_config.rst:1693 +#: ../../c-api/init_config.rst:1695 msgid "``2``: Level 1, strip docstrings." msgstr "" -#: ../../c-api/init_config.rst:1695 +#: ../../c-api/init_config.rst:1697 msgid "" "Incremented by the :option:`-O` command line option. Set to " "the :envvar:`PYTHONOPTIMIZE` environment variable value." msgstr "" -#: ../../c-api/init_config.rst:1702 +#: ../../c-api/init_config.rst:1704 msgid "" "The list of the original command line arguments passed to the Python " "executable: :data:`sys.orig_argv`." msgstr "" -#: ../../c-api/init_config.rst:1705 +#: ../../c-api/init_config.rst:1707 msgid "" "If :c:member:`~PyConfig.orig_argv` list is empty " "and :c:member:`~PyConfig.argv` is not a list only containing an empty " @@ -2550,441 +2552,441 @@ msgid "" "non-zero)." msgstr "" -#: ../../c-api/init_config.rst:1712 +#: ../../c-api/init_config.rst:1714 msgid "" "See also the :c:member:`~PyConfig.argv` member and " "the :c:func:`Py_GetArgcArgv` function." msgstr "" -#: ../../c-api/init_config.rst:1715 ../../c-api/init_config.rst:2027 -#: ../../c-api/init_config.rst:2046 +#: ../../c-api/init_config.rst:1717 ../../c-api/init_config.rst:2029 +#: ../../c-api/init_config.rst:2048 msgid "Default: empty list." msgstr "" -#: ../../c-api/init_config.rst:1721 +#: ../../c-api/init_config.rst:1723 msgid "Parse command line arguments?" msgstr "" -#: ../../c-api/init_config.rst:1723 +#: ../../c-api/init_config.rst:1725 msgid "" "If equals to ``1``, parse :c:member:`~PyConfig.argv` the same way the " "regular Python parses :ref:`command line arguments `, and " "strip Python arguments from :c:member:`~PyConfig.argv`." msgstr "" -#: ../../c-api/init_config.rst:1735 +#: ../../c-api/init_config.rst:1737 msgid "" "The :c:member:`PyConfig.argv` arguments are now only parsed " "if :c:member:`PyConfig.parse_argv` equals to ``1``." msgstr "" -#: ../../c-api/init_config.rst:1741 +#: ../../c-api/init_config.rst:1743 msgid "" "Parser debug mode. If greater than ``0``, turn on parser debugging output " "(for expert only, depending on compilation options)." msgstr "" -#: ../../c-api/init_config.rst:1744 +#: ../../c-api/init_config.rst:1746 msgid "" "Incremented by the :option:`-d` command line option. Set to " "the :envvar:`PYTHONDEBUG` environment variable value." msgstr "" -#: ../../c-api/init_config.rst:1747 ../../c-api/init_config.rst:1852 +#: ../../c-api/init_config.rst:1749 ../../c-api/init_config.rst:1854 msgid "" "Needs a :ref:`debug build of Python ` (the ``Py_DEBUG`` macro " "must be defined)." msgstr "" -#: ../../c-api/init_config.rst:1754 +#: ../../c-api/init_config.rst:1756 msgid "" "If non-zero, calculation of path configuration is allowed to log warnings " "into ``stderr``. If equals to ``0``, suppress these warnings." msgstr "" -#: ../../c-api/init_config.rst:1761 +#: ../../c-api/init_config.rst:1763 msgid "Now also applies on Windows." msgstr "" -#: ../../c-api/init_config.rst:1766 +#: ../../c-api/init_config.rst:1768 msgid "" "The site-specific directory prefix where the platform independent Python " "files are installed: :data:`sys.prefix`." msgstr "" -#: ../../c-api/init_config.rst:1773 +#: ../../c-api/init_config.rst:1775 msgid "See also :c:member:`PyConfig.base_prefix`." msgstr "" -#: ../../c-api/init_config.rst:1777 +#: ../../c-api/init_config.rst:1779 msgid "" "Program name used to initialize :c:member:`~PyConfig.executable` and in " "early error messages during Python initialization." msgstr "" -#: ../../c-api/init_config.rst:1780 +#: ../../c-api/init_config.rst:1782 msgid "On macOS, use :envvar:`PYTHONEXECUTABLE` environment variable if set." msgstr "" -#: ../../c-api/init_config.rst:1781 +#: ../../c-api/init_config.rst:1783 msgid "" "If the ``WITH_NEXT_FRAMEWORK`` macro is defined, use ``__PYVENV_LAUNCHER__`` " "environment variable if set." msgstr "" -#: ../../c-api/init_config.rst:1783 +#: ../../c-api/init_config.rst:1785 msgid "" "Use ``argv[0]`` of :c:member:`~PyConfig.argv` if available and non-empty." msgstr "" -#: ../../c-api/init_config.rst:1785 +#: ../../c-api/init_config.rst:1787 msgid "" "Otherwise, use ``L\"python\"`` on Windows, or ``L\"python3\"`` on other " "platforms." msgstr "" -#: ../../c-api/init_config.rst:1794 +#: ../../c-api/init_config.rst:1796 msgid "" "Directory where cached ``.pyc`` files are " "written: :data:`sys.pycache_prefix`." msgstr "" -#: ../../c-api/init_config.rst:1797 +#: ../../c-api/init_config.rst:1799 msgid "" "Set by the :option:`-X pycache_prefix=PATH <-X>` command line option and " "the :envvar:`PYTHONPYCACHEPREFIX` environment variable. The command-line " "option takes precedence." msgstr "" -#: ../../c-api/init_config.rst:1801 +#: ../../c-api/init_config.rst:1803 msgid "If ``NULL``, :data:`sys.pycache_prefix` is set to ``None``." msgstr "" -#: ../../c-api/init_config.rst:1807 +#: ../../c-api/init_config.rst:1809 msgid "" "Quiet mode. If greater than ``0``, don't display the copyright and version " "at Python startup in interactive mode." msgstr "" -#: ../../c-api/init_config.rst:1810 +#: ../../c-api/init_config.rst:1812 msgid "Incremented by the :option:`-q` command line option." msgstr "" -#: ../../c-api/init_config.rst:1816 +#: ../../c-api/init_config.rst:1818 msgid "Value of the :option:`-c` command line option." msgstr "" -#: ../../c-api/init_config.rst:1818 ../../c-api/init_config.rst:1839 +#: ../../c-api/init_config.rst:1820 ../../c-api/init_config.rst:1841 msgid "Used by :c:func:`Py_RunMain`." msgstr "" -#: ../../c-api/init_config.rst:1824 +#: ../../c-api/init_config.rst:1826 msgid "" "Filename passed on the command line: trailing command line argument " "without :option:`-c` or :option:`-m`. It is used by the :c:func:`Py_RunMain` " "function." msgstr "" -#: ../../c-api/init_config.rst:1828 +#: ../../c-api/init_config.rst:1830 msgid "" "For example, it is set to ``script.py`` by the ``python3 script.py arg`` " "command line." msgstr "" -#: ../../c-api/init_config.rst:1831 +#: ../../c-api/init_config.rst:1833 msgid "See also the :c:member:`PyConfig.skip_source_first_line` option." msgstr "" -#: ../../c-api/init_config.rst:1837 +#: ../../c-api/init_config.rst:1839 msgid "Value of the :option:`-m` command line option." msgstr "" -#: ../../c-api/init_config.rst:1845 +#: ../../c-api/init_config.rst:1847 msgid "" "``module`` or ``module:func`` entry point that should be executed before " "the :mod:`site` module is imported." msgstr "" -#: ../../c-api/init_config.rst:1848 +#: ../../c-api/init_config.rst:1850 msgid "" "Set by the :option:`-X presite=module:func <-X>` command-line option and " "the :envvar:`PYTHON_PRESITE` environment variable. The command-line option " "takes precedence." msgstr "" -#: ../../c-api/init_config.rst:1859 +#: ../../c-api/init_config.rst:1861 msgid "" "Show total reference count at exit (excluding :term:`immortal` objects)?" msgstr "" -#: ../../c-api/init_config.rst:1861 +#: ../../c-api/init_config.rst:1863 msgid "Set to ``1`` by :option:`-X showrefcount <-X>` command line option." msgstr "" -#: ../../c-api/init_config.rst:1863 +#: ../../c-api/init_config.rst:1865 msgid "" "Needs a :ref:`debug build of Python ` (the ``Py_REF_DEBUG`` " "macro must be defined)." msgstr "" -#: ../../c-api/init_config.rst:1870 +#: ../../c-api/init_config.rst:1872 msgid "Import the :mod:`site` module at startup?" msgstr "" -#: ../../c-api/init_config.rst:1872 +#: ../../c-api/init_config.rst:1874 msgid "" "If equal to zero, disable the import of the module site and the site-" "dependent manipulations of :data:`sys.path` that it entails." msgstr "" -#: ../../c-api/init_config.rst:1875 +#: ../../c-api/init_config.rst:1877 msgid "" "Also disable these manipulations if the :mod:`site` module is explicitly " "imported later (call :func:`site.main` if you want them to be triggered)." msgstr "" -#: ../../c-api/init_config.rst:1878 +#: ../../c-api/init_config.rst:1880 msgid "Set to ``0`` by the :option:`-S` command line option." msgstr "" -#: ../../c-api/init_config.rst:1880 +#: ../../c-api/init_config.rst:1882 msgid "" ":data:`sys.flags.no_site ` is set to the inverted value " "of :c:member:`~PyConfig.site_import`." msgstr "" -#: ../../c-api/init_config.rst:1887 +#: ../../c-api/init_config.rst:1889 msgid "" "If non-zero, skip the first line of the :c:member:`PyConfig.run_filename` " "source." msgstr "" -#: ../../c-api/init_config.rst:1890 +#: ../../c-api/init_config.rst:1892 msgid "" "It allows the usage of non-Unix forms of ``#!cmd``. This is intended for a " "DOS specific hack only." msgstr "" -#: ../../c-api/init_config.rst:1893 +#: ../../c-api/init_config.rst:1895 msgid "Set to ``1`` by the :option:`-x` command line option." msgstr "" -#: ../../c-api/init_config.rst:1900 +#: ../../c-api/init_config.rst:1902 msgid "" "Encoding and encoding errors of :data:`sys.stdin`, :data:`sys.stdout` " "and :data:`sys.stderr` (but :data:`sys.stderr` always uses " "``\"backslashreplace\"`` error handler)." msgstr "" -#: ../../c-api/init_config.rst:1904 +#: ../../c-api/init_config.rst:1906 msgid "" "Use the :envvar:`PYTHONIOENCODING` environment variable if it is non-empty." msgstr "" -#: ../../c-api/init_config.rst:1907 +#: ../../c-api/init_config.rst:1909 msgid "Default encoding:" msgstr "" -#: ../../c-api/init_config.rst:1909 +#: ../../c-api/init_config.rst:1911 msgid "``\"UTF-8\"`` if :c:member:`PyPreConfig.utf8_mode` is non-zero." msgstr "" -#: ../../c-api/init_config.rst:1910 +#: ../../c-api/init_config.rst:1912 msgid "Otherwise, use the :term:`locale encoding`." msgstr "" -#: ../../c-api/init_config.rst:1912 +#: ../../c-api/init_config.rst:1914 msgid "Default error handler:" msgstr "" -#: ../../c-api/init_config.rst:1914 +#: ../../c-api/init_config.rst:1916 msgid "On Windows: use ``\"surrogateescape\"``." msgstr "" -#: ../../c-api/init_config.rst:1915 +#: ../../c-api/init_config.rst:1917 msgid "" "``\"surrogateescape\"`` if :c:member:`PyPreConfig.utf8_mode` is non-zero, or " "if the LC_CTYPE locale is \"C\" or \"POSIX\"." msgstr "" -#: ../../c-api/init_config.rst:1917 +#: ../../c-api/init_config.rst:1919 msgid "``\"strict\"`` otherwise." msgstr "" -#: ../../c-api/init_config.rst:1919 +#: ../../c-api/init_config.rst:1921 msgid "See also :c:member:`PyConfig.legacy_windows_stdio`." msgstr "" -#: ../../c-api/init_config.rst:1923 +#: ../../c-api/init_config.rst:1925 msgid "Enable tracemalloc?" msgstr "" -#: ../../c-api/init_config.rst:1925 +#: ../../c-api/init_config.rst:1927 msgid "If non-zero, call :func:`tracemalloc.start` at startup." msgstr "" -#: ../../c-api/init_config.rst:1927 +#: ../../c-api/init_config.rst:1929 msgid "" "Set by :option:`-X tracemalloc=N <-X>` command line option and by " "the :envvar:`PYTHONTRACEMALLOC` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1934 +#: ../../c-api/init_config.rst:1936 msgid "Enable the Linux ``perf`` profiler support?" msgstr "" -#: ../../c-api/init_config.rst:1936 +#: ../../c-api/init_config.rst:1938 msgid "If equals to ``1``, enable support for the Linux ``perf`` profiler." msgstr "" -#: ../../c-api/init_config.rst:1938 +#: ../../c-api/init_config.rst:1940 msgid "" "If equals to ``2``, enable support for the Linux ``perf`` profiler with " "DWARF JIT support." msgstr "" -#: ../../c-api/init_config.rst:1941 +#: ../../c-api/init_config.rst:1943 msgid "" "Set to ``1`` by :option:`-X perf <-X>` command-line option and " "the :envvar:`PYTHONPERFSUPPORT` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1944 +#: ../../c-api/init_config.rst:1946 msgid "" "Set to ``2`` by the :option:`-X perf_jit <-X>` command-line option and " "the :envvar:`PYTHON_PERF_JIT_SUPPORT` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1950 +#: ../../c-api/init_config.rst:1952 msgid "See :ref:`perf_profiling` for more information." msgstr "" -#: ../../c-api/init_config.rst:1956 +#: ../../c-api/init_config.rst:1958 msgid "Directory of the Python standard library." msgstr "" -#: ../../c-api/init_config.rst:1964 +#: ../../c-api/init_config.rst:1966 msgid "Use :ref:`environment variables `?" msgstr "" -#: ../../c-api/init_config.rst:1966 +#: ../../c-api/init_config.rst:1968 msgid "" "If equals to zero, ignore the :ref:`environment variables `." msgstr "" -#: ../../c-api/init_config.rst:1969 +#: ../../c-api/init_config.rst:1971 msgid "Set to ``0`` by the :option:`-E` command-line option." msgstr "" -#: ../../c-api/init_config.rst:1975 +#: ../../c-api/init_config.rst:1977 msgid "" "If non-zero, ``stdout`` and ``stderr`` will be redirected to the system log." msgstr "" -#: ../../c-api/init_config.rst:1978 +#: ../../c-api/init_config.rst:1980 msgid "Only available on macOS 10.12 and later, and on iOS." msgstr "" -#: ../../c-api/init_config.rst:1980 +#: ../../c-api/init_config.rst:1982 msgid "" "Default: ``0`` (don't use the system log) on macOS; ``1`` on iOS (use the " "system log)." msgstr "" -#: ../../c-api/init_config.rst:1987 +#: ../../c-api/init_config.rst:1989 msgid "If non-zero, add the user site directory to :data:`sys.path`." msgstr "" -#: ../../c-api/init_config.rst:1989 +#: ../../c-api/init_config.rst:1991 msgid "Set to ``0`` by the :option:`-s` and :option:`-I` command line options." msgstr "" -#: ../../c-api/init_config.rst:1991 +#: ../../c-api/init_config.rst:1993 msgid "Set to ``0`` by the :envvar:`PYTHONNOUSERSITE` environment variable." msgstr "" -#: ../../c-api/init_config.rst:1997 +#: ../../c-api/init_config.rst:1999 msgid "" "Verbose mode. If greater than ``0``, print a message each time a module is " "imported, showing the place (filename or built-in module) from which it is " "loaded." msgstr "" -#: ../../c-api/init_config.rst:2001 +#: ../../c-api/init_config.rst:2003 msgid "" "If greater than or equal to ``2``, print a message for each file that is " "checked for when searching for a module. Also provides information on module " "cleanup at exit." msgstr "" -#: ../../c-api/init_config.rst:2005 +#: ../../c-api/init_config.rst:2007 msgid "Incremented by the :option:`-v` command line option." msgstr "" -#: ../../c-api/init_config.rst:2007 +#: ../../c-api/init_config.rst:2009 msgid "Set by the :envvar:`PYTHONVERBOSE` environment variable value." msgstr "" -#: ../../c-api/init_config.rst:2013 +#: ../../c-api/init_config.rst:2015 msgid "" "Options of the :mod:`warnings` module to build warnings filters, lowest to " "highest priority: :data:`sys.warnoptions`." msgstr "" -#: ../../c-api/init_config.rst:2016 +#: ../../c-api/init_config.rst:2018 msgid "" "The :mod:`warnings` module adds :data:`sys.warnoptions` in the reverse " "order: the last :c:member:`PyConfig.warnoptions` item becomes the first item " "of ``warnings.filters`` which is checked first (highest priority)." msgstr "" -#: ../../c-api/init_config.rst:2020 +#: ../../c-api/init_config.rst:2022 msgid "" "The :option:`-W` command line options adds its value " "to :c:member:`~PyConfig.warnoptions`, it can be used multiple times." msgstr "" -#: ../../c-api/init_config.rst:2023 +#: ../../c-api/init_config.rst:2025 msgid "" "The :envvar:`PYTHONWARNINGS` environment variable can also be used to add " "warning options. Multiple options can be specified, separated by commas " "(``,``)." msgstr "" -#: ../../c-api/init_config.rst:2031 +#: ../../c-api/init_config.rst:2033 msgid "" "If equal to ``0``, Python won't try to write ``.pyc`` files on the import of " "source modules." msgstr "" -#: ../../c-api/init_config.rst:2034 +#: ../../c-api/init_config.rst:2036 msgid "" "Set to ``0`` by the :option:`-B` command line option and " "the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable." msgstr "" -#: ../../c-api/init_config.rst:2037 +#: ../../c-api/init_config.rst:2039 msgid "" ":data:`sys.dont_write_bytecode` is initialized to the inverted value " "of :c:member:`~PyConfig.write_bytecode`." msgstr "" -#: ../../c-api/init_config.rst:2044 +#: ../../c-api/init_config.rst:2046 msgid "Values of the :option:`-X` command line options: :data:`sys._xoptions`." msgstr "" -#: ../../c-api/init_config.rst:2050 +#: ../../c-api/init_config.rst:2052 msgid "If non-zero, write performance statistics at Python exit." msgstr "" -#: ../../c-api/init_config.rst:2052 +#: ../../c-api/init_config.rst:2054 msgid "" "Need a special build with the ``Py_STATS`` macro: see :option:`--enable-" "pystats`." msgstr "" -#: ../../c-api/init_config.rst:2057 +#: ../../c-api/init_config.rst:2059 msgid "" "If :c:member:`~PyConfig.parse_argv` is non-zero, :c:member:`~PyConfig.argv` " "arguments are parsed the same way the regular Python parses :ref:`command " @@ -2992,27 +2994,27 @@ msgid "" "from :c:member:`~PyConfig.argv`." msgstr "" -#: ../../c-api/init_config.rst:2062 +#: ../../c-api/init_config.rst:2064 msgid "" "The :c:member:`~PyConfig.xoptions` options are parsed to set other options: " "see the :option:`-X` command line option." msgstr "" -#: ../../c-api/init_config.rst:2067 +#: ../../c-api/init_config.rst:2069 msgid "The ``show_alloc_count`` field has been removed." msgstr "" -#: ../../c-api/init_config.rst:2073 +#: ../../c-api/init_config.rst:2075 msgid "Initialization with PyConfig" msgstr "" -#: ../../c-api/init_config.rst:2075 +#: ../../c-api/init_config.rst:2077 msgid "" "Initializing the interpreter from a populated configuration struct is " "handled by calling :c:func:`Py_InitializeFromConfig`." msgstr "" -#: ../../c-api/init_config.rst:2081 +#: ../../c-api/init_config.rst:2083 msgid "" "If :c:func:`PyImport_FrozenModules`, :c:func:`PyImport_AppendInittab` " "or :c:func:`PyImport_ExtendInittab` are used, they must be set or called " @@ -3022,17 +3024,17 @@ msgid "" "initialization." msgstr "" -#: ../../c-api/init_config.rst:2088 +#: ../../c-api/init_config.rst:2090 msgid "" "The current configuration (``PyConfig`` type) is stored in " "``PyInterpreterState.config``." msgstr "" -#: ../../c-api/init_config.rst:2091 +#: ../../c-api/init_config.rst:2093 msgid "Example setting the program name::" msgstr "" -#: ../../c-api/init_config.rst:2093 +#: ../../c-api/init_config.rst:2095 msgid "" "void init_python(void)\n" "{\n" @@ -3061,7 +3063,7 @@ msgid "" "}" msgstr "" -#: ../../c-api/init_config.rst:2119 +#: ../../c-api/init_config.rst:2121 msgid "" "More complete example modifying the default configuration, read the " "configuration, and then override some parameters. Note that since 3.11, many " @@ -3070,7 +3072,7 @@ msgid "" "called will be left unchanged by initialization::" msgstr "" -#: ../../c-api/init_config.rst:2126 +#: ../../c-api/init_config.rst:2128 msgid "" "PyStatus init_python(const char *program_name)\n" "{\n" @@ -3125,11 +3127,11 @@ msgid "" "}" msgstr "" -#: ../../c-api/init_config.rst:2182 +#: ../../c-api/init_config.rst:2184 msgid "Isolated Configuration" msgstr "" -#: ../../c-api/init_config.rst:2184 +#: ../../c-api/init_config.rst:2186 msgid "" ":c:func:`PyPreConfig_InitIsolatedConfig` " "and :c:func:`PyConfig_InitIsolatedConfig` functions create a configuration " @@ -3137,7 +3139,7 @@ msgid "" "application." msgstr "" -#: ../../c-api/init_config.rst:2189 +#: ../../c-api/init_config.rst:2191 msgid "" "This configuration ignores global configuration variables, environment " "variables, command line arguments (:c:member:`PyConfig.argv` is not parsed) " @@ -3145,31 +3147,31 @@ msgid "" "LC_CTYPE locale are left unchanged. Signal handlers are not installed." msgstr "" -#: ../../c-api/init_config.rst:2194 +#: ../../c-api/init_config.rst:2196 msgid "" "Configuration files are still used with this configuration to determine " "paths that are unspecified. Ensure :c:member:`PyConfig.home` is specified to " "avoid computing the default path configuration." msgstr "" -#: ../../c-api/init_config.rst:2202 +#: ../../c-api/init_config.rst:2204 msgid "Python Configuration" msgstr "" -#: ../../c-api/init_config.rst:2204 +#: ../../c-api/init_config.rst:2206 msgid "" ":c:func:`PyPreConfig_InitPythonConfig` " "and :c:func:`PyConfig_InitPythonConfig` functions create a configuration to " "build a customized Python which behaves as the regular Python." msgstr "" -#: ../../c-api/init_config.rst:2208 +#: ../../c-api/init_config.rst:2210 msgid "" "Environments variables and command line arguments are used to configure " "Python, whereas global configuration variables are ignored." msgstr "" -#: ../../c-api/init_config.rst:2211 +#: ../../c-api/init_config.rst:2213 msgid "" "This function enables C locale coercion (:pep:`538`) and :ref:`Python UTF-8 " "Mode ` (:pep:`540`) depending on the LC_CTYPE " @@ -3177,92 +3179,92 @@ msgid "" "variables." msgstr "" -#: ../../c-api/init_config.rst:2220 +#: ../../c-api/init_config.rst:2222 msgid "Python Path Configuration" msgstr "" -#: ../../c-api/init_config.rst:2222 +#: ../../c-api/init_config.rst:2224 msgid ":c:type:`PyConfig` contains multiple fields for the path configuration:" msgstr "" -#: ../../c-api/init_config.rst:2224 +#: ../../c-api/init_config.rst:2226 msgid "Path configuration inputs:" msgstr "" -#: ../../c-api/init_config.rst:2226 +#: ../../c-api/init_config.rst:2228 msgid ":c:member:`PyConfig.home`" msgstr "" -#: ../../c-api/init_config.rst:2227 +#: ../../c-api/init_config.rst:2229 msgid ":c:member:`PyConfig.platlibdir`" msgstr "" -#: ../../c-api/init_config.rst:2228 +#: ../../c-api/init_config.rst:2230 msgid ":c:member:`PyConfig.pathconfig_warnings`" msgstr "" -#: ../../c-api/init_config.rst:2229 +#: ../../c-api/init_config.rst:2231 msgid ":c:member:`PyConfig.program_name`" msgstr "" -#: ../../c-api/init_config.rst:2230 +#: ../../c-api/init_config.rst:2232 msgid ":c:member:`PyConfig.pythonpath_env`" msgstr "" -#: ../../c-api/init_config.rst:2231 +#: ../../c-api/init_config.rst:2233 msgid "current working directory: to get absolute paths" msgstr "" -#: ../../c-api/init_config.rst:2232 +#: ../../c-api/init_config.rst:2234 msgid "" "``PATH`` environment variable to get the program full path " "(from :c:member:`PyConfig.program_name`)" msgstr "" -#: ../../c-api/init_config.rst:2234 +#: ../../c-api/init_config.rst:2236 msgid "``__PYVENV_LAUNCHER__`` environment variable" msgstr "" -#: ../../c-api/init_config.rst:2235 +#: ../../c-api/init_config.rst:2237 msgid "" "(Windows only) Application paths in the registry under " "\"Software\\Python\\PythonCore\\X.Y\\PythonPath\" of HKEY_CURRENT_USER and " "HKEY_LOCAL_MACHINE (where X.Y is the Python version)." msgstr "" -#: ../../c-api/init_config.rst:2239 +#: ../../c-api/init_config.rst:2241 msgid "Path configuration output fields:" msgstr "" -#: ../../c-api/init_config.rst:2241 +#: ../../c-api/init_config.rst:2243 msgid ":c:member:`PyConfig.base_exec_prefix`" msgstr "" -#: ../../c-api/init_config.rst:2242 +#: ../../c-api/init_config.rst:2244 msgid ":c:member:`PyConfig.base_executable`" msgstr "" -#: ../../c-api/init_config.rst:2243 +#: ../../c-api/init_config.rst:2245 msgid ":c:member:`PyConfig.base_prefix`" msgstr "" -#: ../../c-api/init_config.rst:2244 +#: ../../c-api/init_config.rst:2246 msgid ":c:member:`PyConfig.exec_prefix`" msgstr "" -#: ../../c-api/init_config.rst:2245 +#: ../../c-api/init_config.rst:2247 msgid ":c:member:`PyConfig.executable`" msgstr "" -#: ../../c-api/init_config.rst:2246 +#: ../../c-api/init_config.rst:2248 msgid ":c:member:`PyConfig.module_search_paths_set`, :c:member:`PyConfig.module_search_paths`" msgstr "" -#: ../../c-api/init_config.rst:2248 +#: ../../c-api/init_config.rst:2250 msgid ":c:member:`PyConfig.prefix`" msgstr "" -#: ../../c-api/init_config.rst:2250 +#: ../../c-api/init_config.rst:2252 msgid "" "If at least one \"output field\" is not set, Python calculates the path " "configuration to fill unset fields. " @@ -3271,7 +3273,7 @@ msgid "" "and :c:member:`~PyConfig.module_search_paths_set` is set to ``1``." msgstr "" -#: ../../c-api/init_config.rst:2256 +#: ../../c-api/init_config.rst:2258 msgid "" "It is possible to completely ignore the function calculating the default " "path configuration by setting explicitly all path configuration output " @@ -3281,14 +3283,14 @@ msgid "" "modification." msgstr "" -#: ../../c-api/init_config.rst:2263 +#: ../../c-api/init_config.rst:2265 msgid "" "Set :c:member:`~PyConfig.pathconfig_warnings` to ``0`` to suppress warnings " "when calculating the path configuration (Unix only, Windows does not log any " "warning)." msgstr "" -#: ../../c-api/init_config.rst:2266 +#: ../../c-api/init_config.rst:2268 msgid "" "If :c:member:`~PyConfig.base_prefix` " "or :c:member:`~PyConfig.base_exec_prefix` fields are not set, they inherit " @@ -3296,38 +3298,38 @@ msgid "" "and :c:member:`~PyConfig.exec_prefix` respectively." msgstr "" -#: ../../c-api/init_config.rst:2270 +#: ../../c-api/init_config.rst:2272 msgid ":c:func:`Py_RunMain` and :c:func:`Py_Main` modify :data:`sys.path`:" msgstr "" -#: ../../c-api/init_config.rst:2272 +#: ../../c-api/init_config.rst:2274 msgid "" "If :c:member:`~PyConfig.run_filename` is set and is a directory which " "contains a ``__main__.py`` script, " "prepend :c:member:`~PyConfig.run_filename` to :data:`sys.path`." msgstr "" -#: ../../c-api/init_config.rst:2275 +#: ../../c-api/init_config.rst:2277 msgid "If :c:member:`~PyConfig.isolated` is zero:" msgstr "" -#: ../../c-api/init_config.rst:2277 +#: ../../c-api/init_config.rst:2279 msgid "" "If :c:member:`~PyConfig.run_module` is set, prepend the current directory " "to :data:`sys.path`. Do nothing if the current directory cannot be read." msgstr "" -#: ../../c-api/init_config.rst:2279 +#: ../../c-api/init_config.rst:2281 msgid "" "If :c:member:`~PyConfig.run_filename` is set, prepend the directory of the " "filename to :data:`sys.path`." msgstr "" -#: ../../c-api/init_config.rst:2281 +#: ../../c-api/init_config.rst:2283 msgid "Otherwise, prepend an empty string to :data:`sys.path`." msgstr "" -#: ../../c-api/init_config.rst:2283 +#: ../../c-api/init_config.rst:2285 msgid "" "If :c:member:`~PyConfig.site_import` is non-zero, :data:`sys.path` can be " "modified by the :mod:`site` module. " @@ -3336,47 +3338,47 @@ msgid "" "package directory to :data:`sys.path`." msgstr "" -#: ../../c-api/init_config.rst:2289 +#: ../../c-api/init_config.rst:2291 msgid "The following configuration files are used by the path configuration:" msgstr "" -#: ../../c-api/init_config.rst:2291 +#: ../../c-api/init_config.rst:2293 msgid "``pyvenv.cfg``" msgstr "" -#: ../../c-api/init_config.rst:2292 +#: ../../c-api/init_config.rst:2294 msgid "``._pth`` file (ex: ``python._pth``)" msgstr "" -#: ../../c-api/init_config.rst:2293 +#: ../../c-api/init_config.rst:2295 msgid "``pybuilddir.txt`` (Unix only)" msgstr "" -#: ../../c-api/init_config.rst:2295 +#: ../../c-api/init_config.rst:2297 msgid "If a ``._pth`` file is present:" msgstr "" -#: ../../c-api/init_config.rst:2297 +#: ../../c-api/init_config.rst:2299 msgid "Set :c:member:`~PyConfig.isolated` to ``1``." msgstr "" -#: ../../c-api/init_config.rst:2298 +#: ../../c-api/init_config.rst:2300 msgid "Set :c:member:`~PyConfig.use_environment` to ``0``." msgstr "" -#: ../../c-api/init_config.rst:2299 +#: ../../c-api/init_config.rst:2301 msgid "Set :c:member:`~PyConfig.site_import` to ``0``." msgstr "" -#: ../../c-api/init_config.rst:2300 +#: ../../c-api/init_config.rst:2302 msgid "Set :c:member:`~PyConfig.user_site_directory` to ``0`` (since 3.15)." msgstr "" -#: ../../c-api/init_config.rst:2301 +#: ../../c-api/init_config.rst:2303 msgid "Set :c:member:`~PyConfig.safe_path` to ``1``." msgstr "" -#: ../../c-api/init_config.rst:2303 +#: ../../c-api/init_config.rst:2305 msgid "" "If :c:member:`~PyConfig.home` is not set and a ``pyvenv.cfg`` file is " "present in the same directory as :c:member:`~PyConfig.executable`, or its " @@ -3387,120 +3389,120 @@ msgid "" "more information." msgstr "" -#: ../../c-api/init_config.rst:2311 +#: ../../c-api/init_config.rst:2313 msgid "" "The ``__PYVENV_LAUNCHER__`` environment variable is used to " "set :c:member:`PyConfig.base_executable`." msgstr "" -#: ../../c-api/init_config.rst:2316 +#: ../../c-api/init_config.rst:2318 msgid "" ":c:member:`~PyConfig.prefix`, and :c:member:`~PyConfig.exec_prefix`, are now " "set to the ``pyvenv.cfg`` directory. This was previously done " "by :mod:`site`, therefore affected by :option:`-S`." msgstr "" -#: ../../c-api/init_config.rst:2323 +#: ../../c-api/init_config.rst:2325 msgid "" ":c:member:`~PyConfig.user_site_directory` is now set to ``0`` when a " "``._pth`` file is present." msgstr "" -#: ../../c-api/init_config.rst:2328 +#: ../../c-api/init_config.rst:2330 msgid "Py_GetArgcArgv()" msgstr "" -#: ../../c-api/init_config.rst:2332 +#: ../../c-api/init_config.rst:2334 msgid "Get the original command line arguments, before Python modified them." msgstr "" -#: ../../c-api/init_config.rst:2334 +#: ../../c-api/init_config.rst:2336 msgid "See also :c:member:`PyConfig.orig_argv` member." msgstr "" -#: ../../c-api/init_config.rst:2338 +#: ../../c-api/init_config.rst:2340 msgid "Multi-Phase Initialization Private Provisional API" msgstr "" -#: ../../c-api/init_config.rst:2340 +#: ../../c-api/init_config.rst:2342 msgid "" "This section is a private provisional API introducing multi-phase " "initialization, the core feature of :pep:`432`:" msgstr "" -#: ../../c-api/init_config.rst:2343 +#: ../../c-api/init_config.rst:2345 msgid "\"Core\" initialization phase, \"bare minimum Python\":" msgstr "" -#: ../../c-api/init_config.rst:2345 +#: ../../c-api/init_config.rst:2347 msgid "Builtin types;" msgstr "" -#: ../../c-api/init_config.rst:2346 +#: ../../c-api/init_config.rst:2348 msgid "Builtin exceptions;" msgstr "" -#: ../../c-api/init_config.rst:2347 +#: ../../c-api/init_config.rst:2349 msgid "Builtin and frozen modules;" msgstr "" -#: ../../c-api/init_config.rst:2348 +#: ../../c-api/init_config.rst:2350 msgid "" "The :mod:`sys` module is only partially initialized (ex: :data:`sys.path` " "doesn't exist yet)." msgstr "" -#: ../../c-api/init_config.rst:2351 +#: ../../c-api/init_config.rst:2353 msgid "\"Main\" initialization phase, Python is fully initialized:" msgstr "" -#: ../../c-api/init_config.rst:2353 +#: ../../c-api/init_config.rst:2355 msgid "Install and configure :mod:`importlib`;" msgstr "" -#: ../../c-api/init_config.rst:2354 +#: ../../c-api/init_config.rst:2356 msgid "Apply the :ref:`Path Configuration `;" msgstr "" -#: ../../c-api/init_config.rst:2355 +#: ../../c-api/init_config.rst:2357 msgid "Install signal handlers;" msgstr "" -#: ../../c-api/init_config.rst:2356 +#: ../../c-api/init_config.rst:2358 msgid "" "Finish :mod:`sys` module initialization (ex: create :data:`sys.stdout` " "and :data:`sys.path`);" msgstr "" -#: ../../c-api/init_config.rst:2358 +#: ../../c-api/init_config.rst:2360 msgid "" "Enable optional features like :mod:`faulthandler` and :mod:`tracemalloc`;" msgstr "" -#: ../../c-api/init_config.rst:2359 +#: ../../c-api/init_config.rst:2361 msgid "Import the :mod:`site` module;" msgstr "" -#: ../../c-api/init_config.rst:2360 +#: ../../c-api/init_config.rst:2362 msgid "etc." msgstr "" -#: ../../c-api/init_config.rst:2362 +#: ../../c-api/init_config.rst:2364 msgid "Private provisional API:" msgstr "" -#: ../../c-api/init_config.rst:2366 +#: ../../c-api/init_config.rst:2368 msgid "" "If set to ``0``, :c:func:`Py_InitializeFromConfig` stops at the \"Core\" " "initialization phase." msgstr "" -#: ../../c-api/init_config.rst:2371 +#: ../../c-api/init_config.rst:2373 msgid "" "Move to the \"Main\" initialization phase, finish the Python initialization." msgstr "" -#: ../../c-api/init_config.rst:2373 +#: ../../c-api/init_config.rst:2375 msgid "" "No module is imported during the \"Core\" phase and the ``importlib`` module " "is not configured: the :ref:`Path Configuration ` is only " @@ -3509,14 +3511,14 @@ msgid "" "maybe install a custom :data:`sys.meta_path` importer or an import hook, etc." msgstr "" -#: ../../c-api/init_config.rst:2379 +#: ../../c-api/init_config.rst:2381 msgid "" "It may become possible to calculate the :ref:`Path Configuration ` in Python, after the Core phase and before the Main phase, which is " "one of the :pep:`432` motivation." msgstr "" -#: ../../c-api/init_config.rst:2383 +#: ../../c-api/init_config.rst:2385 msgid "" "The \"Core\" phase is not properly defined: what should be and what should " "not be available at this phase is not specified yet. The API is marked as " @@ -3524,13 +3526,13 @@ msgid "" "until a proper public API is designed." msgstr "" -#: ../../c-api/init_config.rst:2388 +#: ../../c-api/init_config.rst:2390 msgid "" "Example running Python code between \"Core\" and \"Main\" initialization " "phases::" msgstr "" -#: ../../c-api/init_config.rst:2391 +#: ../../c-api/init_config.rst:2393 msgid "" "void init_python(void)\n" "{\n" diff --git a/c-api/intro.po b/c-api/intro.po index ef099855..8891902a 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:00+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -106,7 +106,7 @@ msgid "" "```` (if available)." msgstr "" -#: ../../c-api/intro.rst:70 ../../c-api/intro.rst:145 +#: ../../c-api/intro.rst:70 msgid "" "Since Python may define some pre-processor definitions which affect the " "standard headers on some systems, you *must* include :file:`Python.h` before " @@ -244,11 +244,11 @@ msgstr "" msgid "````" msgstr "" -#: ../../c-api/intro.rst:151 +#: ../../c-api/intro.rst:145 msgid "Useful macros" msgstr "" -#: ../../c-api/intro.rst:153 +#: ../../c-api/intro.rst:147 msgid "" "Several useful macros are defined in the Python header files. Many are " "defined closer to where they are useful (for " @@ -257,40 +257,40 @@ msgid "" "listing." msgstr "" -#: ../../c-api/intro.rst:161 +#: ../../c-api/intro.rst:155 msgid "" "If this macro is defined, then the current system is able to start threads." msgstr "" -#: ../../c-api/intro.rst:163 +#: ../../c-api/intro.rst:157 msgid "" "Currently, all systems supported by CPython (per :pep:`11`), with the " "exception of some WebAssembly platforms, support starting threads." msgstr "" -#: ../../c-api/intro.rst:170 +#: ../../c-api/intro.rst:164 msgid "" "Like :samp:`getenv({s})`, but returns ``NULL`` if :option:`-E` was passed on " "the command line (see :c:member:`PyConfig.use_environment`)." msgstr "" -#: ../../c-api/intro.rst:175 +#: ../../c-api/intro.rst:169 msgid "Docstring macros" msgstr "" -#: ../../c-api/intro.rst:179 +#: ../../c-api/intro.rst:173 msgid "" "Creates a variable with name *name* that can be used in docstrings. If " "Python is built without docstrings (:option:`--without-doc-strings`), the " "value will be an empty string." msgstr "" -#: ../../c-api/intro.rst:183 ../../c-api/intro.rst:200 -#: ../../c-api/intro.rst:474 +#: ../../c-api/intro.rst:177 ../../c-api/intro.rst:194 +#: ../../c-api/intro.rst:468 msgid "Example::" msgstr "" -#: ../../c-api/intro.rst:185 +#: ../../c-api/intro.rst:179 msgid "" "PyDoc_STRVAR(pop_doc, \"Remove and return the rightmost element.\");\n" "\n" @@ -301,17 +301,17 @@ msgid "" "}" msgstr "" -#: ../../c-api/intro.rst:193 +#: ../../c-api/intro.rst:187 msgid "Expands to :samp:`PyDoc_VAR({name}) = PyDoc_STR({str})`." msgstr "" -#: ../../c-api/intro.rst:197 +#: ../../c-api/intro.rst:191 msgid "" "Expands to the given input string, or an empty string if docstrings are " "disabled (:option:`--without-doc-strings`)." msgstr "" -#: ../../c-api/intro.rst:202 +#: ../../c-api/intro.rst:196 msgid "" "static PyMethodDef pysqlite_row_methods[] = {\n" " {\"keys\", (PyCFunction)pysqlite_row_keys, METH_NOARGS,\n" @@ -320,104 +320,104 @@ msgid "" "};" msgstr "" -#: ../../c-api/intro.rst:210 +#: ../../c-api/intro.rst:204 msgid "" "Declares a static character array variable with the given *name*. Expands " "to :samp:`static const char {name}[]`" msgstr "" -#: ../../c-api/intro.rst:213 ../../c-api/intro.rst:360 -#: ../../c-api/intro.rst:371 +#: ../../c-api/intro.rst:207 ../../c-api/intro.rst:354 +#: ../../c-api/intro.rst:365 msgid "For example::" msgstr "" -#: ../../c-api/intro.rst:215 +#: ../../c-api/intro.rst:209 msgid "" "PyDoc_VAR(python_doc) = PyDoc_STR(\n" " \"A genus of constricting snakes in the Pythonidae family native \"\n" " \"to the tropics and subtropics of the Eastern Hemisphere.\");" msgstr "" -#: ../../c-api/intro.rst:221 +#: ../../c-api/intro.rst:215 msgid "General utility macros" msgstr "" -#: ../../c-api/intro.rst:223 +#: ../../c-api/intro.rst:217 msgid "The following macros are for common tasks not specific to Python." msgstr "" -#: ../../c-api/intro.rst:227 +#: ../../c-api/intro.rst:221 msgid "" "Use this for unused arguments in a function definition to silence compiler " "warnings. Example: ``int func(int a, int Py_UNUSED(b)) { return a; }``." msgstr "" -#: ../../c-api/intro.rst:234 +#: ../../c-api/intro.rst:228 msgid "" "Use a GCC attribute *name*, hiding it from compilers that don't support GCC " "attributes (such as MSVC)." msgstr "" -#: ../../c-api/intro.rst:237 +#: ../../c-api/intro.rst:231 msgid "" "This expands to :samp:`__attribute__(({name)})` on a GCC compiler, and " "expands to nothing on compilers that don't support GCC attributes." msgstr "" -#: ../../c-api/intro.rst:242 +#: ../../c-api/intro.rst:236 msgid "Numeric utilities" msgstr "" -#: ../../c-api/intro.rst:246 +#: ../../c-api/intro.rst:240 msgid "Return the absolute value of ``x``." msgstr "" -#: ../../c-api/intro.rst:248 +#: ../../c-api/intro.rst:242 msgid "" "The argument may be evaluated more than once. Consequently, do not pass an " "expression with side-effects directly to this macro." msgstr "" -#: ../../c-api/intro.rst:252 +#: ../../c-api/intro.rst:246 msgid "" "If the result cannot be represented (for example, if ``x`` has :c:macro:`!" "INT_MIN` value for :c:expr:`int` type), the behavior is undefined." msgstr "" -#: ../../c-api/intro.rst:256 +#: ../../c-api/intro.rst:250 msgid "Corresponds roughly to :samp:`(({x}) < 0 ? -({x}) : ({x}))`" msgstr "" -#: ../../c-api/intro.rst:263 +#: ../../c-api/intro.rst:257 msgid "Return the larger or smaller of the arguments, respectively." msgstr "" -#: ../../c-api/intro.rst:265 +#: ../../c-api/intro.rst:259 msgid "" "Any arguments may be evaluated more than once. Consequently, do not pass an " "expression with side-effects directly to this macro." msgstr "" -#: ../../c-api/intro.rst:269 +#: ../../c-api/intro.rst:263 msgid "" ":c:macro:`!Py_MAX` corresponds roughly to :samp:`((({x}) > ({y})) ? ({x}) : " "({y}))`." msgstr "" -#: ../../c-api/intro.rst:276 +#: ../../c-api/intro.rst:270 msgid "" "Similar to :samp:`{integer} >> {positions}`, but forces sign extension, as " "the C standard does not define whether a right-shift of a signed integer " "will perform sign extension or a zero-fill." msgstr "" -#: ../../c-api/intro.rst:280 +#: ../../c-api/intro.rst:274 msgid "" "*integer* should be any signed integer type. *positions* is the number of " "positions to shift to the right." msgstr "" -#: ../../c-api/intro.rst:283 +#: ../../c-api/intro.rst:277 msgid "" "Both *integer* and *positions* can be evaluated more than once; " "consequently, avoid directly passing a function call or some other operation " @@ -425,35 +425,35 @@ msgid "" "then pass it." msgstr "" -#: ../../c-api/intro.rst:288 +#: ../../c-api/intro.rst:282 msgid "" "*type* is unused and only kept for backwards compatibility. Historically, " "*type* was used to cast *integer*." msgstr "" -#: ../../c-api/intro.rst:293 +#: ../../c-api/intro.rst:287 msgid "" "This macro is now valid for all signed integer types, not just those for " "which ``unsigned type`` is legal. As a result, *type* is no longer used." msgstr "" -#: ../../c-api/intro.rst:299 +#: ../../c-api/intro.rst:293 msgid "" "Argument must be a character or an integer in the range [-128, 127] or [0, " "255]. This macro returns ``c`` cast to an ``unsigned char``." msgstr "" -#: ../../c-api/intro.rst:305 +#: ../../c-api/intro.rst:299 msgid "" "Constants describing the byte order of the platform that Python was built " "for. Exactly one of them is ``1`` and the other is ``0``." msgstr "" -#: ../../c-api/intro.rst:310 +#: ../../c-api/intro.rst:304 msgid "Assertion utilities" msgstr "" -#: ../../c-api/intro.rst:314 +#: ../../c-api/intro.rst:308 msgid "" "Use this when you have a code path that cannot be reached by design. For " "example, in the ``default:`` clause in a ``switch`` statement for which all " @@ -461,26 +461,26 @@ msgid "" "where you might be tempted to put an ``assert(0)`` or ``abort()`` call." msgstr "" -#: ../../c-api/intro.rst:319 +#: ../../c-api/intro.rst:313 msgid "" "In release mode, the macro helps the compiler to optimize the code, and " "avoids a warning about unreachable code. For example, the macro is " "implemented with ``__builtin_unreachable()`` on GCC in release mode." msgstr "" -#: ../../c-api/intro.rst:323 +#: ../../c-api/intro.rst:317 msgid "" "In debug mode, and on unsupported compilers, the macro expands to a call " "to :c:func:`Py_FatalError`." msgstr "" -#: ../../c-api/intro.rst:326 +#: ../../c-api/intro.rst:320 msgid "" "A use for ``Py_UNREACHABLE()`` is following a call to a function that never " "returns but that is not declared ``_Noreturn``." msgstr "" -#: ../../c-api/intro.rst:329 +#: ../../c-api/intro.rst:323 msgid "" "If a code path is very unlikely code but can be reached under exceptional " "case, this macro must not be used. For example, under low memory condition " @@ -489,68 +489,68 @@ msgid "" "reported to caller, :c:func:`Py_FatalError` can be used." msgstr "" -#: ../../c-api/intro.rst:339 +#: ../../c-api/intro.rst:333 msgid "" "Cast *value* to type *smaller* from type *larger*, validating that no " "information was lost." msgstr "" -#: ../../c-api/intro.rst:342 +#: ../../c-api/intro.rst:336 msgid "" "On release builds of Python, this is roughly equivalent " "to :samp:`(({smaller}) {value})` (in C++, :samp:`static_cast<{smaller}" ">({value})` will be used instead)." msgstr "" -#: ../../c-api/intro.rst:346 +#: ../../c-api/intro.rst:340 msgid "" "On debug builds (implying that :c:macro:`Py_DEBUG` is defined), this asserts " "that no information was lost with the cast from *larger* to *smaller*." msgstr "" -#: ../../c-api/intro.rst:349 +#: ../../c-api/intro.rst:343 msgid "" "*value*, *larger*, and *smaller* may all be evaluated more than once in the " "expression; consequently, do not pass an expression with side-effects " "directly to this macro." msgstr "" -#: ../../c-api/intro.rst:355 +#: ../../c-api/intro.rst:349 msgid "" "Asserts a compile-time condition *cond*, as a statement. The build will fail " "if the condition is false or cannot be evaluated at compile time." msgstr "" -#: ../../c-api/intro.rst:358 +#: ../../c-api/intro.rst:352 msgid "Corresponds roughly to :samp:`static_assert({cond})` on C23 and above." msgstr "" -#: ../../c-api/intro.rst:362 +#: ../../c-api/intro.rst:356 msgid "Py_BUILD_ASSERT(sizeof(PyTime_t) == sizeof(int64_t));" msgstr "" -#: ../../c-api/intro.rst:368 +#: ../../c-api/intro.rst:362 msgid "" "Asserts a compile-time condition *cond*, as an expression that evaluates to " "``0``. The build will fail if the condition is false or cannot be evaluated " "at compile time." msgstr "" -#: ../../c-api/intro.rst:373 +#: ../../c-api/intro.rst:367 msgid "" "#define foo_to_char(foo) \\\n" " ((char *)(foo) + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0))" msgstr "" -#: ../../c-api/intro.rst:380 +#: ../../c-api/intro.rst:374 msgid "Type size utilities" msgstr "" -#: ../../c-api/intro.rst:384 +#: ../../c-api/intro.rst:378 msgid "Compute the length of a statically allocated C array at compile time." msgstr "" -#: ../../c-api/intro.rst:386 +#: ../../c-api/intro.rst:380 msgid "" "The *array* argument must be a C array with a size known at compile time. " "Passing an array with an unknown size, such as a heap-allocated array, will " @@ -558,44 +558,44 @@ msgid "" "incorrect results." msgstr "" -#: ../../c-api/intro.rst:391 +#: ../../c-api/intro.rst:385 msgid "This is roughly equivalent to::" msgstr "" -#: ../../c-api/intro.rst:393 +#: ../../c-api/intro.rst:387 msgid "sizeof(array) / sizeof((array)[0])" msgstr "" -#: ../../c-api/intro.rst:397 +#: ../../c-api/intro.rst:391 msgid "Return the size of a structure (*type*) *member* in bytes." msgstr "" -#: ../../c-api/intro.rst:399 +#: ../../c-api/intro.rst:393 msgid "Corresponds roughly to :samp:`sizeof((({type} *)NULL)->{member})`." msgstr "" -#: ../../c-api/intro.rst:405 +#: ../../c-api/intro.rst:399 msgid "Macro definition utilities" msgstr "" -#: ../../c-api/intro.rst:409 +#: ../../c-api/intro.rst:403 msgid "" "This is equivalent to :samp:`{X}`, which is useful for token-pasting in " "macros, as macro expansions in *X* are forcefully evaluated by the " "preprocessor." msgstr "" -#: ../../c-api/intro.rst:415 +#: ../../c-api/intro.rst:409 msgid "" "Convert ``x`` to a C string. For example, ``Py_STRINGIFY(123)`` returns " "``\"123\"``." msgstr "" -#: ../../c-api/intro.rst:422 +#: ../../c-api/intro.rst:416 msgid "Declaration utilities" msgstr "" -#: ../../c-api/intro.rst:424 +#: ../../c-api/intro.rst:418 msgid "" "The following macros can be used in declarations. They are most useful for " "defining the C API itself, and have limited use for extension authors. Most " @@ -603,107 +603,107 @@ msgid "" "language." msgstr "" -#: ../../c-api/intro.rst:432 +#: ../../c-api/intro.rst:426 msgid "" "Ask the compiler to always inline a static inline function. The compiler can " "ignore it and decide to not inline the function." msgstr "" -#: ../../c-api/intro.rst:435 +#: ../../c-api/intro.rst:429 msgid "" "Corresponds to ``always_inline`` attribute in GCC and ``__forceinline`` in " "MSVC." msgstr "" -#: ../../c-api/intro.rst:438 +#: ../../c-api/intro.rst:432 msgid "" "It can be used to inline performance critical static inline functions when " "building Python in debug mode with function inlining disabled. For example, " "MSC disables function inlining when building in debug mode." msgstr "" -#: ../../c-api/intro.rst:442 +#: ../../c-api/intro.rst:436 msgid "" "Marking blindly a static inline function with Py_ALWAYS_INLINE can result in " "worse performances (due to increased code size for example). The compiler is " "usually smarter than the developer for the cost/benefit analysis." msgstr "" -#: ../../c-api/intro.rst:446 +#: ../../c-api/intro.rst:440 msgid "" "If Python is :ref:`built in debug mode ` (if " "the :c:macro:`Py_DEBUG` macro is defined), the :c:macro:`Py_ALWAYS_INLINE` " "macro does nothing." msgstr "" -#: ../../c-api/intro.rst:449 +#: ../../c-api/intro.rst:443 msgid "It must be specified before the function return type. Usage::" msgstr "" -#: ../../c-api/intro.rst:451 +#: ../../c-api/intro.rst:445 msgid "static inline Py_ALWAYS_INLINE int random(void) { return 4; }" msgstr "" -#: ../../c-api/intro.rst:457 +#: ../../c-api/intro.rst:451 msgid "" "Disable inlining on a function. For example, it reduces the C stack " "consumption: useful on LTO+PGO builds which heavily inline code " "(see :issue:`33720`)." msgstr "" -#: ../../c-api/intro.rst:461 +#: ../../c-api/intro.rst:455 msgid "" "Corresponds to the ``noinline`` attribute/specification on GCC and MSVC." msgstr "" -#: ../../c-api/intro.rst:463 +#: ../../c-api/intro.rst:457 msgid "Usage::" msgstr "" -#: ../../c-api/intro.rst:465 +#: ../../c-api/intro.rst:459 msgid "Py_NO_INLINE static int random(void) { return 4; }" msgstr "" -#: ../../c-api/intro.rst:471 +#: ../../c-api/intro.rst:465 msgid "" "Use this to declare APIs that were deprecated in a specific CPython version. " "The macro must be placed before the symbol name." msgstr "" -#: ../../c-api/intro.rst:476 +#: ../../c-api/intro.rst:470 msgid "Py_DEPRECATED(3.8) PyAPI_FUNC(int) Py_OldFunction(void);" msgstr "" -#: ../../c-api/intro.rst:478 +#: ../../c-api/intro.rst:472 msgid "MSVC support was added." msgstr "" -#: ../../c-api/intro.rst:483 +#: ../../c-api/intro.rst:477 msgid "" "Declare a function returning the specified *type* using a fast-calling " "qualifier for functions that are local to the current file. Semantically, " "this is equivalent to :samp:`static {type}`." msgstr "" -#: ../../c-api/intro.rst:489 +#: ../../c-api/intro.rst:483 msgid "" "Equivalent to :c:macro:`Py_LOCAL` but additionally requests the function be " "inlined." msgstr "" -#: ../../c-api/intro.rst:494 +#: ../../c-api/intro.rst:488 msgid "" "Macro used to declare a symbol as local to the shared library (hidden). On " "supported platforms, it ensures the symbol is not exported." msgstr "" -#: ../../c-api/intro.rst:497 +#: ../../c-api/intro.rst:491 msgid "" "On compatible versions of GCC/Clang, it expands to " "``__attribute__((visibility(\"hidden\")))``." msgstr "" -#: ../../c-api/intro.rst:502 +#: ../../c-api/intro.rst:496 msgid "" "Macro used to declare a symbol (function or data) as exported. On Windows, " "this expands to ``__declspec(dllexport)``. On compatible versions of GCC/" @@ -711,14 +711,14 @@ msgid "" "macro is for defining the C API itself; extension modules should not use it." msgstr "" -#: ../../c-api/intro.rst:511 +#: ../../c-api/intro.rst:505 msgid "" "Macro used to declare a symbol as imported. On Windows, this expands to " "``__declspec(dllimport)``. This macro is for defining the C API itself; " "extension modules should not use it." msgstr "" -#: ../../c-api/intro.rst:518 +#: ../../c-api/intro.rst:512 msgid "" "Macro used by CPython to declare a function as part of the C API. Its " "expansion depends on the platform and build configuration. This macro is " @@ -726,7 +726,7 @@ msgid "" "use it for their own symbols." msgstr "" -#: ../../c-api/intro.rst:526 +#: ../../c-api/intro.rst:520 msgid "" "Macro used by CPython to declare a public global variable as part of the C " "API. Its expansion depends on the platform and build configuration. This " @@ -734,113 +734,113 @@ msgid "" "should not use it for their own symbols." msgstr "" -#: ../../c-api/intro.rst:533 +#: ../../c-api/intro.rst:527 msgid "Outdated macros" msgstr "" -#: ../../c-api/intro.rst:535 +#: ../../c-api/intro.rst:529 msgid "" "The following :term:`soft deprecated` macros have been used to features that " "have been standardized in C11 (or previous standards)." msgstr "" -#: ../../c-api/intro.rst:540 +#: ../../c-api/intro.rst:534 msgid "" "On some GCC-like compilers, specify alignment to *num* bytes. This does " "nothing on other compilers." msgstr "" -#: ../../c-api/intro.rst:543 +#: ../../c-api/intro.rst:537 msgid "Use the standard ``alignas`` specifier rather than this macro." msgstr "" -#: ../../c-api/intro.rst:549 +#: ../../c-api/intro.rst:543 msgid "" "The :c:func:`printf` formatting modifier for :c:type:`size_t`. Use ``\"z\"`` " "directly instead." msgstr "" -#: ../../c-api/intro.rst:557 +#: ../../c-api/intro.rst:551 msgid "" "Use *number* as a ``long long`` or ``unsigned long long`` integer literal, " "respectively." msgstr "" -#: ../../c-api/intro.rst:560 +#: ../../c-api/intro.rst:554 msgid "" "Expands to *number* followed by ``LL`` or ``LLU``, respectively, but will " "expand to some compiler-specific suffixes on some older compilers." msgstr "" -#: ../../c-api/intro.rst:563 +#: ../../c-api/intro.rst:557 msgid "Consider using the C99 standard suffixes ``LL`` and ``LLU`` directly." msgstr "" -#: ../../c-api/intro.rst:573 +#: ../../c-api/intro.rst:567 msgid "" "Aliases for the types :c:type:`!long long`, :c:type:`!int32_t`, :c:type:`!" "uint32_t`. :c:type:`!int64_t` and :c:type:`!uint64_t`, respectively. " "Historically, these types needed compiler-specific extensions." msgstr "" -#: ../../c-api/intro.rst:585 +#: ../../c-api/intro.rst:579 msgid "" "Aliases for the values :c:macro:`!LLONG_MIN`, :c:macro:`!" "LLONG_MAX`, :c:macro:`!ULLONG_MAX`, and :c:macro:`!SIZE_MAX`, respectively. " "Use these standard names instead." msgstr "" -#: ../../c-api/intro.rst:589 +#: ../../c-api/intro.rst:583 msgid "" "The required header, ````, :ref:`is included ` in ``Python.h``." msgstr "" -#: ../../c-api/intro.rst:596 +#: ../../c-api/intro.rst:590 msgid "This is an alias to :c:func:`!memcpy`." msgstr "" -#: ../../c-api/intro.rst:598 +#: ../../c-api/intro.rst:592 msgid "Use :c:func:`!memcpy` directly instead." msgstr "" -#: ../../c-api/intro.rst:603 +#: ../../c-api/intro.rst:597 msgid "" "Size of the :c:type:`!wchar_t` type. Use ``sizeof(wchar_t)`` or " "``WCHAR_WIDTH/8`` instead." msgstr "" -#: ../../c-api/intro.rst:606 +#: ../../c-api/intro.rst:600 msgid "" "The required header for the latter, ````, :ref:`is included ` in ``Python.h``." msgstr "" -#: ../../c-api/intro.rst:613 +#: ../../c-api/intro.rst:607 msgid "" "Defined if ``wchar_t`` can hold a Unicode character (UCS-4). Use " "``sizeof(wchar_t) >= 4`` instead" msgstr "" -#: ../../c-api/intro.rst:620 +#: ../../c-api/intro.rst:614 msgid "This is an alias to the C99-standard ``va_copy`` function." msgstr "" -#: ../../c-api/intro.rst:622 +#: ../../c-api/intro.rst:616 msgid "" "Historically, this would use a compiler-specific method to copy a " "``va_list``." msgstr "" -#: ../../c-api/intro.rst:624 +#: ../../c-api/intro.rst:618 msgid "This is now an alias to ``va_copy``." msgstr "" -#: ../../c-api/intro.rst:633 +#: ../../c-api/intro.rst:627 msgid "Objects, Types and Reference Counts" msgstr "" -#: ../../c-api/intro.rst:637 +#: ../../c-api/intro.rst:631 msgid "" "Most Python/C API functions have one or more arguments as well as a return " "value of type :c:expr:`PyObject*`. This type is a pointer to an opaque data " @@ -855,7 +855,7 @@ msgid "" "objects." msgstr "" -#: ../../c-api/intro.rst:648 +#: ../../c-api/intro.rst:642 msgid "" "All Python objects (even Python integers) have a :dfn:`type` and " "a :dfn:`reference count`. An object's type determines what kind of object " @@ -866,11 +866,11 @@ msgid "" "a Python list." msgstr "" -#: ../../c-api/intro.rst:659 +#: ../../c-api/intro.rst:653 msgid "Reference Counts" msgstr "" -#: ../../c-api/intro.rst:661 +#: ../../c-api/intro.rst:655 msgid "" "The reference count is important because today's computers have a finite " "(and often severely limited) memory size; it counts how many different " @@ -885,7 +885,7 @@ msgid "" "that.\")" msgstr "" -#: ../../c-api/intro.rst:678 +#: ../../c-api/intro.rst:672 msgid "" "Reference counts are always manipulated explicitly. The normal way is to " "use the macro :c:func:`Py_INCREF` to take a new reference to an object (i.e. " @@ -904,7 +904,7 @@ msgid "" "reference count increment is a simple operation." msgstr "" -#: ../../c-api/intro.rst:694 +#: ../../c-api/intro.rst:688 msgid "" "It is not necessary to hold a :term:`strong reference` (i.e. increment the " "reference count) for every local variable that contains a pointer to an " @@ -922,7 +922,7 @@ msgid "" "reference to every argument for the duration of the call." msgstr "" -#: ../../c-api/intro.rst:710 +#: ../../c-api/intro.rst:704 msgid "" "However, a common pitfall is to extract an object from a list and hold on to " "it for a while without taking a new reference. Some other operation might " @@ -933,7 +933,7 @@ msgid "" "a :c:func:`Py_DECREF`, so almost any operation is potentially dangerous." msgstr "" -#: ../../c-api/intro.rst:718 +#: ../../c-api/intro.rst:712 msgid "" "A safe approach is to always use the generic operations (functions whose " "name begins with ``PyObject_``, ``PyNumber_``, ``PySequence_`` or " @@ -943,11 +943,11 @@ msgid "" "when they are done with the result; this soon becomes second nature." msgstr "" -#: ../../c-api/intro.rst:729 +#: ../../c-api/intro.rst:723 msgid "Reference Count Details" msgstr "" -#: ../../c-api/intro.rst:731 +#: ../../c-api/intro.rst:725 msgid "" "The reference count behavior of functions in the Python/C API is best " "explained in terms of *ownership of references*. Ownership pertains to " @@ -964,14 +964,14 @@ msgid "" "a :term:`borrowed reference`." msgstr "" -#: ../../c-api/intro.rst:744 +#: ../../c-api/intro.rst:738 msgid "" "Conversely, when a calling function passes in a reference to an object, " "there are two possibilities: the function *steals* a reference to the " "object, or it does not." msgstr "" -#: ../../c-api/intro.rst:748 +#: ../../c-api/intro.rst:742 msgid "" "*Stealing a reference* means that when you pass a reference to a function, " "that function assumes that it now owns that reference. Since the new owner " @@ -979,7 +979,7 @@ msgid "" "use that reference after the call." msgstr "" -#: ../../c-api/intro.rst:757 +#: ../../c-api/intro.rst:751 msgid "" "Few functions steal references; the two notable exceptions " "are :c:func:`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a " @@ -991,7 +991,7 @@ msgid "" "this is shown below)::" msgstr "" -#: ../../c-api/intro.rst:765 +#: ../../c-api/intro.rst:759 msgid "" "PyObject *t;\n" "\n" @@ -1001,7 +1001,7 @@ msgid "" "PyTuple_SetItem(t, 2, PyUnicode_FromString(\"three\"));" msgstr "" -#: ../../c-api/intro.rst:772 +#: ../../c-api/intro.rst:766 msgid "" "Here, :c:func:`PyLong_FromLong` returns a new reference which is immediately " "stolen by :c:func:`PyTuple_SetItem`. When you want to keep using an object " @@ -1009,7 +1009,7 @@ msgid "" "another reference before calling the reference-stealing function." msgstr "" -#: ../../c-api/intro.rst:777 +#: ../../c-api/intro.rst:771 msgid "" "Incidentally, :c:func:`PyTuple_SetItem` is the *only* way to set tuple " "items; :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to " @@ -1017,13 +1017,13 @@ msgid "" "use :c:func:`PyTuple_SetItem` for tuples that you are creating yourself." msgstr "" -#: ../../c-api/intro.rst:782 +#: ../../c-api/intro.rst:776 msgid "" "Equivalent code for populating a list can be written " "using :c:func:`PyList_New` and :c:func:`PyList_SetItem`." msgstr "" -#: ../../c-api/intro.rst:785 +#: ../../c-api/intro.rst:779 msgid "" "However, in practice, you will rarely use these ways of creating and " "populating a tuple or list. There's a generic " @@ -1033,7 +1033,7 @@ msgid "" "the error checking)::" msgstr "" -#: ../../c-api/intro.rst:791 +#: ../../c-api/intro.rst:785 msgid "" "PyObject *tuple, *list;\n" "\n" @@ -1041,7 +1041,7 @@ msgid "" "list = Py_BuildValue(\"[iis]\", 1, 2, \"three\");" msgstr "" -#: ../../c-api/intro.rst:796 +#: ../../c-api/intro.rst:790 msgid "" "It is much more common to use :c:func:`PyObject_SetItem` and friends with " "items whose references you are only borrowing, like arguments that were " @@ -1052,7 +1052,7 @@ msgid "" "sequence) to a given item::" msgstr "" -#: ../../c-api/intro.rst:803 +#: ../../c-api/intro.rst:797 msgid "" "int\n" "set_all(PyObject *target, PyObject *item)\n" @@ -1076,7 +1076,7 @@ msgid "" "}" msgstr "" -#: ../../c-api/intro.rst:826 +#: ../../c-api/intro.rst:820 msgid "" "The situation is slightly different for function return values. While " "passing a reference to most functions does not change your ownership " @@ -1089,7 +1089,7 @@ msgid "" "becomes the owner of the reference)." msgstr "" -#: ../../c-api/intro.rst:835 +#: ../../c-api/intro.rst:829 msgid "" "It is important to realize that whether you own a reference returned by a " "function depends on which function you call only --- *the plumage* (the type " @@ -1100,14 +1100,14 @@ msgid "" "the same arguments), you do own a reference to the returned object." msgstr "" -#: ../../c-api/intro.rst:847 +#: ../../c-api/intro.rst:841 msgid "" "Here is an example of how you could write a function that computes the sum " "of the items in a list of integers; once using :c:func:`PyList_GetItem`, " "and once using :c:func:`PySequence_GetItem`. ::" msgstr "" -#: ../../c-api/intro.rst:851 +#: ../../c-api/intro.rst:845 msgid "" "long\n" "sum_list(PyObject *list)\n" @@ -1132,7 +1132,7 @@ msgid "" "}" msgstr "" -#: ../../c-api/intro.rst:877 +#: ../../c-api/intro.rst:871 msgid "" "long\n" "sum_sequence(PyObject *sequence)\n" @@ -1163,11 +1163,11 @@ msgid "" "}" msgstr "" -#: ../../c-api/intro.rst:911 +#: ../../c-api/intro.rst:905 msgid "Types" msgstr "" -#: ../../c-api/intro.rst:913 +#: ../../c-api/intro.rst:907 msgid "" "There are few other data types that play a significant role in the Python/C " "API; most are simple C types such " @@ -1178,36 +1178,36 @@ msgid "" "be discussed together with the functions that use them." msgstr "" -#: ../../c-api/intro.rst:923 +#: ../../c-api/intro.rst:917 msgid "" "A signed integral type such that ``sizeof(Py_ssize_t) == sizeof(size_t)``. " "C99 doesn't define such a thing directly (size_t is an unsigned integral " "type). See :pep:`353` for details." msgstr "" -#: ../../c-api/intro.rst:930 +#: ../../c-api/intro.rst:924 msgid "" "A constant of type :c:type:`Py_ssize_t` with value ``-1``, representing an " "invalid size." msgstr "" -#: ../../c-api/intro.rst:937 +#: ../../c-api/intro.rst:931 msgid "" "The limit values (largest positive one and smallest negative one, " "respectively) of type :c:type:`Py_ssize_t`." msgstr "" -#: ../../c-api/intro.rst:943 +#: ../../c-api/intro.rst:937 msgid "" "The maximum value of the Windows ``DWORD`` type. Expands to ``0xffffffff`` " "on all platforms." msgstr "" -#: ../../c-api/intro.rst:950 +#: ../../c-api/intro.rst:944 msgid "Exceptions" msgstr "Ausnahmen" -#: ../../c-api/intro.rst:952 +#: ../../c-api/intro.rst:946 msgid "" "The Python programmer only needs to deal with exceptions if specific error " "handling is required; unhandled exceptions are automatically propagated to " @@ -1216,7 +1216,7 @@ msgid "" "stack traceback." msgstr "" -#: ../../c-api/intro.rst:960 +#: ../../c-api/intro.rst:954 msgid "" "For C programmers, however, error checking always has to be explicit. All " "functions in the Python/C API can raise exceptions, unless an explicit claim " @@ -1231,7 +1231,7 @@ msgid "" "explicitly documented." msgstr "" -#: ../../c-api/intro.rst:975 +#: ../../c-api/intro.rst:969 msgid "" "Exception state is maintained in per-thread storage (this is equivalent to " "using global storage in an unthreaded application). A thread can be in one " @@ -1244,7 +1244,7 @@ msgid "" "and :c:func:`PyErr_Clear` clears the exception state." msgstr "" -#: ../../c-api/intro.rst:985 +#: ../../c-api/intro.rst:979 msgid "" "The full exception state consists of three objects (all of which can be " "``NULL``): the exception type, the corresponding exception value, and the " @@ -1257,7 +1257,7 @@ msgid "" "which takes care of transferring it to ``sys.exc_info()`` and friends." msgstr "" -#: ../../c-api/intro.rst:997 +#: ../../c-api/intro.rst:991 msgid "" "Note that starting with Python 1.5, the preferred, thread-safe way to access " "the exception state from Python code is to call the " @@ -1271,7 +1271,7 @@ msgid "" "that are referenced by the stack frames in the traceback." msgstr "" -#: ../../c-api/intro.rst:1008 +#: ../../c-api/intro.rst:1002 msgid "" "As a general principle, a function that calls another function to perform " "some task should check whether the called function raised an exception, and " @@ -1282,7 +1282,7 @@ msgid "" "of the error." msgstr "" -#: ../../c-api/intro.rst:1017 +#: ../../c-api/intro.rst:1011 msgid "" "A simple example of detecting exceptions and passing them on is shown in " "the :c:func:`!sum_sequence` example above. It so happens that this example " @@ -1291,7 +1291,7 @@ msgid "" "why you like Python, we show the equivalent Python code::" msgstr "" -#: ../../c-api/intro.rst:1023 +#: ../../c-api/intro.rst:1017 msgid "" "def incr_item(dict, key):\n" " try:\n" @@ -1301,11 +1301,11 @@ msgid "" " dict[key] = item + 1" msgstr "" -#: ../../c-api/intro.rst:1032 +#: ../../c-api/intro.rst:1026 msgid "Here is the corresponding C code, in all its glory::" msgstr "" -#: ../../c-api/intro.rst:1034 +#: ../../c-api/intro.rst:1028 msgid "" "int\n" "incr_item(PyObject *dict, PyObject *key)\n" @@ -1351,7 +1351,7 @@ msgid "" "}" msgstr "" -#: ../../c-api/intro.rst:1084 +#: ../../c-api/intro.rst:1078 msgid "" "This example represents an endorsed use of the ``goto`` statement in C! It " "illustrates the use of :c:func:`PyErr_ExceptionMatches` " @@ -1364,11 +1364,11 @@ msgid "" "only set to success after the final call made is successful." msgstr "" -#: ../../c-api/intro.rst:1098 +#: ../../c-api/intro.rst:1092 msgid "Embedding Python" msgstr "" -#: ../../c-api/intro.rst:1100 +#: ../../c-api/intro.rst:1094 msgid "" "The one important task that only embedders (as opposed to extension writers) " "of the Python interpreter have to worry about is the initialization, and " @@ -1376,7 +1376,7 @@ msgid "" "the interpreter can only be used after the interpreter has been initialized." msgstr "" -#: ../../c-api/intro.rst:1113 +#: ../../c-api/intro.rst:1107 msgid "" "The basic initialization function is :c:func:`Py_Initialize`. This " "initializes the table of loaded modules, and creates the fundamental " @@ -1384,7 +1384,7 @@ msgid "" "initializes the module search path (``sys.path``)." msgstr "" -#: ../../c-api/intro.rst:1118 +#: ../../c-api/intro.rst:1112 msgid "" ":c:func:`Py_Initialize` does not set the \"script argument list\" " "(``sys.argv``). If this variable is needed by Python code that will be " @@ -1393,7 +1393,7 @@ msgid "" "Initialization Configuration `." msgstr "" -#: ../../c-api/intro.rst:1123 +#: ../../c-api/intro.rst:1117 msgid "" "On most systems (in particular, on Unix and Windows, although the details " "are slightly different), :c:func:`Py_Initialize` calculates the module " @@ -1405,7 +1405,7 @@ msgid "" "on the shell command search path (the environment variable :envvar:`PATH`)." msgstr "" -#: ../../c-api/intro.rst:1132 +#: ../../c-api/intro.rst:1126 msgid "" "For instance, if the Python executable is found in :file:`/usr/local/bin/" "python`, it will assume that the libraries are in :file:`/usr/local/lib/" @@ -1416,7 +1416,7 @@ msgid "" "in front of the standard path by setting :envvar:`PYTHONPATH`." msgstr "" -#: ../../c-api/intro.rst:1140 +#: ../../c-api/intro.rst:1134 msgid "" "The embedding application can steer the search by " "setting :c:member:`PyConfig.program_name` *before* " @@ -1425,7 +1425,7 @@ msgid "" "the standard path." msgstr "" -#: ../../c-api/intro.rst:1148 +#: ../../c-api/intro.rst:1142 msgid "" "Sometimes, it is desirable to \"uninitialize\" Python. For instance, the " "application may want to start over (make another call " @@ -1439,18 +1439,18 @@ msgid "" "extension modules currently cannot be released." msgstr "" -#: ../../c-api/intro.rst:1162 +#: ../../c-api/intro.rst:1156 msgid "Debugging Builds" msgstr "" -#: ../../c-api/intro.rst:1164 +#: ../../c-api/intro.rst:1158 msgid "" "Python can be built with several macros to enable extra checks of the " "interpreter and extension modules. These checks tend to add a large amount " "of overhead to the runtime so they are not enabled by default." msgstr "" -#: ../../c-api/intro.rst:1168 +#: ../../c-api/intro.rst:1162 msgid "" "A full list of the various types of debugging builds is in the " "file :file:`Misc/SpecialBuilds.txt` in the Python source distribution. " @@ -1460,21 +1460,21 @@ msgid "" "section." msgstr "" -#: ../../c-api/intro.rst:1176 +#: ../../c-api/intro.rst:1170 msgid "" "Compiling the interpreter with the :c:macro:`!Py_DEBUG` macro defined " "produces what is generally meant by :ref:`a debug build of Python `." msgstr "" -#: ../../c-api/intro.rst:1179 +#: ../../c-api/intro.rst:1173 msgid "" "On Unix, :c:macro:`!Py_DEBUG` can be enabled by adding :option:`--with-" "pydebug` to the :file:`./configure` command. This will also disable compiler " "optimization." msgstr "" -#: ../../c-api/intro.rst:1182 +#: ../../c-api/intro.rst:1176 msgid "" "On Windows, selecting a debug build (e.g., by passing the :option:`-d` " "option to :file:`PCbuild/build.bat`) automatically enables :c:macro:`!" @@ -1483,13 +1483,13 @@ msgid "" "enable :c:macro:`!Py_DEBUG`." msgstr "" -#: ../../c-api/intro.rst:1187 +#: ../../c-api/intro.rst:1181 msgid "" "In addition to the reference count debugging described below, extra checks " "are performed. See :ref:`Python Debug Build ` for more details." msgstr "" -#: ../../c-api/intro.rst:1190 +#: ../../c-api/intro.rst:1184 msgid "" "Defining ``Py_TRACE_REFS`` enables reference tracing (see " "the :option:`configure --with-trace-refs option <--with-trace-refs>`). When " @@ -1499,55 +1499,55 @@ msgid "" "interactive mode this happens after every statement run by the interpreter.)" msgstr "" -#: ../../c-api/intro.rst:1197 +#: ../../c-api/intro.rst:1191 msgid "" "Please refer to :file:`Misc/SpecialBuilds.txt` in the Python source " "distribution for more detailed information." msgstr "" -#: ../../c-api/intro.rst:1204 +#: ../../c-api/intro.rst:1198 msgid "Recommended third party tools" msgstr "" -#: ../../c-api/intro.rst:1206 +#: ../../c-api/intro.rst:1200 msgid "" "The following third party tools offer both simpler and more sophisticated " "approaches to creating C, C++ and Rust extensions for Python:" msgstr "" -#: ../../c-api/intro.rst:1209 +#: ../../c-api/intro.rst:1203 msgid "`Cython `_" msgstr "" -#: ../../c-api/intro.rst:1210 +#: ../../c-api/intro.rst:1204 msgid "`cffi `_" msgstr "" -#: ../../c-api/intro.rst:1211 +#: ../../c-api/intro.rst:1205 msgid "`HPy `_" msgstr "" -#: ../../c-api/intro.rst:1212 +#: ../../c-api/intro.rst:1206 msgid "`nanobind `_ (C++)" msgstr "" -#: ../../c-api/intro.rst:1213 +#: ../../c-api/intro.rst:1207 msgid "`Numba `_" msgstr "" -#: ../../c-api/intro.rst:1214 +#: ../../c-api/intro.rst:1208 msgid "`pybind11 `_ (C++)" msgstr "" -#: ../../c-api/intro.rst:1215 +#: ../../c-api/intro.rst:1209 msgid "`PyO3 `_ (Rust)" msgstr "" -#: ../../c-api/intro.rst:1216 +#: ../../c-api/intro.rst:1210 msgid "`SWIG `_" msgstr "" -#: ../../c-api/intro.rst:1218 +#: ../../c-api/intro.rst:1212 msgid "" "Using tools such as these can help avoid writing code that is tightly bound " "to a particular version of CPython, avoid reference counting errors, and " @@ -1558,7 +1558,7 @@ msgid "" "sources." msgstr "" -#: ../../c-api/intro.rst:1225 +#: ../../c-api/intro.rst:1219 msgid "" "These projects are not supported by the same people who maintain Python, and " "issues need to be raised with the projects directly. Remember to check that " @@ -1566,123 +1566,123 @@ msgid "" "outdated." msgstr "" -#: ../../c-api/intro.rst:1232 +#: ../../c-api/intro.rst:1226 msgid "" "`Python Packaging User Guide: Binary Extensions `_" msgstr "" -#: ../../c-api/intro.rst:1233 +#: ../../c-api/intro.rst:1227 msgid "" "The Python Packaging User Guide not only covers several available tools that " "simplify the creation of binary extensions, but also discusses the various " "reasons why creating an extension module may be desirable in the first place." msgstr "" -#: ../../c-api/intro.rst:635 +#: ../../c-api/intro.rst:629 msgid "object" msgstr "" -#: ../../c-api/intro.rst:635 +#: ../../c-api/intro.rst:629 msgid "type" msgstr "Typ" -#: ../../c-api/intro.rst:674 +#: ../../c-api/intro.rst:668 msgid "Py_INCREF (C function)" msgstr "" -#: ../../c-api/intro.rst:674 +#: ../../c-api/intro.rst:668 msgid "Py_DECREF (C function)" msgstr "" -#: ../../c-api/intro.rst:753 +#: ../../c-api/intro.rst:747 msgid "PyList_SetItem (C function)" msgstr "" -#: ../../c-api/intro.rst:753 +#: ../../c-api/intro.rst:747 msgid "PyTuple_SetItem (C function)" msgstr "" -#: ../../c-api/intro.rst:824 +#: ../../c-api/intro.rst:818 msgid "set_all()" msgstr "" -#: ../../c-api/intro.rst:843 +#: ../../c-api/intro.rst:837 msgid "PyList_GetItem (C function)" msgstr "" -#: ../../c-api/intro.rst:843 +#: ../../c-api/intro.rst:837 msgid "PySequence_GetItem (C function)" msgstr "" -#: ../../c-api/intro.rst:873 +#: ../../c-api/intro.rst:867 msgid "sum_list()" msgstr "" -#: ../../c-api/intro.rst:905 ../../c-api/intro.rst:1015 +#: ../../c-api/intro.rst:899 ../../c-api/intro.rst:1009 msgid "sum_sequence()" msgstr "" -#: ../../c-api/intro.rst:958 +#: ../../c-api/intro.rst:952 msgid "PyErr_Occurred (C function)" msgstr "" -#: ../../c-api/intro.rst:971 +#: ../../c-api/intro.rst:965 msgid "PyErr_SetString (C function)" msgstr "" -#: ../../c-api/intro.rst:971 ../../c-api/intro.rst:1079 +#: ../../c-api/intro.rst:965 ../../c-api/intro.rst:1073 msgid "PyErr_Clear (C function)" msgstr "" -#: ../../c-api/intro.rst:995 +#: ../../c-api/intro.rst:989 msgid "exc_info (in module sys)" msgstr "" -#: ../../c-api/intro.rst:1030 ../../c-api/intro.rst:1077 +#: ../../c-api/intro.rst:1024 ../../c-api/intro.rst:1071 msgid "incr_item()" msgstr "" -#: ../../c-api/intro.rst:1079 +#: ../../c-api/intro.rst:1073 msgid "PyErr_ExceptionMatches (C function)" msgstr "" -#: ../../c-api/intro.rst:1079 +#: ../../c-api/intro.rst:1073 msgid "Py_XDECREF (C function)" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "Py_Initialize (C function)" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "module" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "builtins" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "__main__" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "sys" msgstr "sys" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "search" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "path" msgstr "" -#: ../../c-api/intro.rst:1105 +#: ../../c-api/intro.rst:1099 msgid "path (in module sys)" msgstr "" -#: ../../c-api/intro.rst:1146 +#: ../../c-api/intro.rst:1140 msgid "Py_IsInitialized (C function)" msgstr "" diff --git a/c-api/stable.po b/c-api/stable.po index e66a3496..41ffe75d 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-14 20:17+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+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" @@ -104,31 +104,33 @@ msgstr "" #: ../../c-api/stable.rst:65 msgid "" "For simplicity, this document talks about *extensions*, but Stable ABI works " -"the same way for all uses of the API – for example, embedding Python." +"the same way for all uses of the API – for example, embedding Python. When " +"embedding Python on Linux, see :ref:`embedding-python-versions` for how to " +"link the application and for limitations." msgstr "" -#: ../../c-api/stable.rst:68 +#: ../../c-api/stable.rst:70 msgid "There are two Stable ABIs:" msgstr "" -#: ../../c-api/stable.rst:70 +#: ../../c-api/stable.rst:72 msgid "" "``abi3``, introduced in Python 3.2, is compatible with **non**-:term:`free-" "threaded ` builds of CPython." msgstr "" -#: ../../c-api/stable.rst:73 +#: ../../c-api/stable.rst:75 msgid "" "``abi3t``, introduced in Python 3.15, is compatible with :term:`free-" "threaded ` builds of CPython. It has stricter API " "limitations than ``abi3``." msgstr "" -#: ../../c-api/stable.rst:79 +#: ../../c-api/stable.rst:81 msgid "``abi3t`` was added in :pep:`803`" msgstr "" -#: ../../c-api/stable.rst:81 +#: ../../c-api/stable.rst:83 msgid "" "It is possible for an extension to be compiled for *both* ``abi3`` and " "``abi3t`` at the same time; the result will be compatible with both free-" @@ -136,7 +138,7 @@ msgid "" "downsides compared to compiling for ``abi3t`` only." msgstr "" -#: ../../c-api/stable.rst:86 +#: ../../c-api/stable.rst:88 msgid "" "Each Stable ABI is versioned using the first two numbers of the Python " "version. For example, Stable ABI 3.14 corresponds to Python 3.14. An " @@ -144,21 +146,21 @@ msgid "" "above." msgstr "" -#: ../../c-api/stable.rst:91 +#: ../../c-api/stable.rst:93 msgid "" "Extensions that target a stable ABI must only use a limited subset of the C " "API. This subset is known as the :dfn:`Limited API`; its contents " "are :ref:`listed below `." msgstr "" -#: ../../c-api/stable.rst:95 +#: ../../c-api/stable.rst:97 msgid "" "On Windows, extensions that use a Stable ABI should be linked against " "``python3.dll`` rather than a version-specific library such as " "``python39.dll``. This library only exposes the relevant symbols." msgstr "" -#: ../../c-api/stable.rst:100 +#: ../../c-api/stable.rst:102 msgid "" "On some platforms, Python will look for and load shared library files named " "with the ``abi3`` or ``abi3t`` tag (for example, " @@ -168,7 +170,7 @@ msgid "" "with both ABIs should use the ``abi3t`` tag." msgstr "" -#: ../../c-api/stable.rst:107 +#: ../../c-api/stable.rst:109 msgid "" "Python does not necessarily check that extensions it loads have compatible " "ABI. Extension authors are encouraged to add a check using " @@ -178,18 +180,18 @@ msgid "" "installed for lower versions of Python." msgstr "" -#: ../../c-api/stable.rst:115 +#: ../../c-api/stable.rst:117 msgid "" "All functions in Stable ABI are present as functions in Python's shared " "library, not solely as macros. This makes them usable in languages that " "don't use the C preprocessor, including Python's :py:mod:`ctypes`." msgstr "" -#: ../../c-api/stable.rst:124 +#: ../../c-api/stable.rst:126 msgid "Compiling for Stable ABI" msgstr "" -#: ../../c-api/stable.rst:128 +#: ../../c-api/stable.rst:130 msgid "" "Build tools (such as, for example, meson-python, scikit-build-core, or " "Setuptools) often have a mechanism for setting macros and synchronizing them " @@ -197,17 +199,17 @@ msgid "" "if it exists, over defining the macros manually." msgstr "" -#: ../../c-api/stable.rst:134 +#: ../../c-api/stable.rst:136 msgid "" "The rest of this section is mainly relevant for tool authors, and for people " "who compile extensions manually." msgstr "" -#: ../../c-api/stable.rst:137 +#: ../../c-api/stable.rst:139 msgid "`list of recommended tools`_ in the Python Packaging User Guide" msgstr "" -#: ../../c-api/stable.rst:141 +#: ../../c-api/stable.rst:143 msgid "" "To compile for a Stable ABI, define one or both of the following macros to " "the lowest Python version your extension should support, " @@ -216,7 +218,7 @@ msgid "" "compiling against." msgstr "" -#: ../../c-api/stable.rst:147 +#: ../../c-api/stable.rst:149 msgid "" "The macros must be defined before including ``Python.h``. " "Since :c:macro:`Py_PACK_VERSION` is not available at this point, you will " @@ -234,7 +236,7 @@ msgid "" "0x30f0000 /* Py_PACK_VERSION(3,15) */" msgstr "" -#: ../../c-api/stable.rst:154 +#: ../../c-api/stable.rst:156 msgid "" "When one of the macros is defined, ``Python.h`` will only expose API that is " "compatible with the given Stable ABI -- that is, the :ref:`Limited API " @@ -243,41 +245,41 @@ msgid "" "``Python.h`` will only expose API compatible with both Stable ABIs." msgstr "" -#: ../../c-api/stable.rst:163 +#: ../../c-api/stable.rst:165 msgid "" "Target ``abi3``, that is, non-:term:`free-threaded builds ` of CPython. See :ref:`above ` for common information." msgstr "" -#: ../../c-api/stable.rst:169 +#: ../../c-api/stable.rst:171 msgid "" "Target ``abi3t``, that is, :term:`free-threaded builds ` of CPython. See :ref:`above ` for common information." msgstr "" -#: ../../c-api/stable.rst:175 +#: ../../c-api/stable.rst:177 msgid "" "Both macros specify a target ABI; the different naming style is due to " "backwards compatibility." msgstr "" -#: ../../c-api/stable.rst:178 +#: ../../c-api/stable.rst:180 msgid "Historical note" msgstr "" -#: ../../c-api/stable.rst:180 +#: ../../c-api/stable.rst:182 msgid "" "You can also define ``Py_LIMITED_API`` as ``3``. This works the same as " "``0x03020000`` (Python 3.2, the version that introduced Stable ABI)." msgstr "" -#: ../../c-api/stable.rst:183 +#: ../../c-api/stable.rst:185 msgid "" "When both are defined, ``Python.h`` may, or may not, redefine :c:macro:`!" "Py_LIMITED_API` to match :c:macro:`!Py_TARGET_ABI3T`." msgstr "" -#: ../../c-api/stable.rst:186 +#: ../../c-api/stable.rst:188 msgid "" "On a :term:`free-threaded build` -- that is, when :c:macro:`Py_GIL_DISABLED` " "is defined -- :c:macro:`!Py_TARGET_ABI3T` defaults to the value " @@ -285,28 +287,28 @@ msgid "" "for both ``abi3`` and ``abi3t``:" msgstr "" -#: ../../c-api/stable.rst:191 +#: ../../c-api/stable.rst:193 msgid "" "define both :c:macro:`!Py_LIMITED_API` and :c:macro:`!Py_TARGET_ABI3T`, or" msgstr "" -#: ../../c-api/stable.rst:192 +#: ../../c-api/stable.rst:194 msgid "define only :c:macro:`!Py_LIMITED_API` and:" msgstr "" -#: ../../c-api/stable.rst:194 +#: ../../c-api/stable.rst:196 msgid "on Windows, define :c:macro:`!Py_GIL_DISABLED`;" msgstr "" -#: ../../c-api/stable.rst:195 +#: ../../c-api/stable.rst:197 msgid "on other systems, use the headers of free-threaded build of Python." msgstr "" -#: ../../c-api/stable.rst:201 +#: ../../c-api/stable.rst:203 msgid "Stable ABI Scope and Performance" msgstr "" -#: ../../c-api/stable.rst:203 +#: ../../c-api/stable.rst:205 msgid "" "The goal for Stable ABI is to allow everything that is possible with the " "full C API, but possibly with a performance penalty. Generally, " @@ -314,7 +316,7 @@ msgid "" "source code." msgstr "" -#: ../../c-api/stable.rst:208 +#: ../../c-api/stable.rst:210 msgid "" "For example, while :c:func:`PyList_GetItem` is available, its \"unsafe\" " "macro variant :c:func:`PyList_GET_ITEM` is not. The macro can be faster " @@ -322,7 +324,7 @@ msgid "" "object." msgstr "" -#: ../../c-api/stable.rst:213 +#: ../../c-api/stable.rst:215 msgid "" "For another example, when *not* compiling for Stable ABI, some C API " "functions are inlined or replaced by macros. Compiling for Stable ABI " @@ -330,7 +332,7 @@ msgid "" "improved, but possibly reducing performance." msgstr "" -#: ../../c-api/stable.rst:218 +#: ../../c-api/stable.rst:220 msgid "" "By leaving out the :c:macro:`!Py_LIMITED_API` or :c:macro:`!Py_TARGET_ABI3T` " "definition, it is possible to compile Stable-ABI-compatible source for a " @@ -339,11 +341,11 @@ msgid "" "but more compatible fallback." msgstr "" -#: ../../c-api/stable.rst:229 +#: ../../c-api/stable.rst:231 msgid "Stable ABI Caveats" msgstr "" -#: ../../c-api/stable.rst:231 +#: ../../c-api/stable.rst:233 msgid "" "Note that compiling for Stable ABI is *not* a complete guarantee that code " "will be compatible with the expected Python versions. Stable ABI prevents " @@ -352,7 +354,7 @@ msgid "" "changes in Python can change the *behavior* of extensions." msgstr "" -#: ../../c-api/stable.rst:238 +#: ../../c-api/stable.rst:240 msgid "" "One issue that the :c:macro:`Py_TARGET_ABI3T` and :c:macro:`Py_LIMITED_API` " "macros do not guard against is calling a function with arguments that are " @@ -363,13 +365,13 @@ msgid "" "for fields of structs." msgstr "" -#: ../../c-api/stable.rst:246 +#: ../../c-api/stable.rst:248 msgid "" "For these reasons, we recommend testing an extension with *all* minor Python " "versions it supports." msgstr "" -#: ../../c-api/stable.rst:249 +#: ../../c-api/stable.rst:251 msgid "" "We also recommend reviewing documentation of all used API to check if it is " "explicitly part of the Limited API. Even with ``Py_LIMITED_API`` defined, a " @@ -377,7 +379,7 @@ msgid "" "unintentionally, as bugs)." msgstr "" -#: ../../c-api/stable.rst:254 +#: ../../c-api/stable.rst:256 msgid "" "Also note that while compiling with ``Py_LIMITED_API`` 3.8 means that the " "extension should *load* on Python 3.12, and *compile* with Python 3.12, the " @@ -386,11 +388,11 @@ msgid "" "provided that Stable ABI stays stable." msgstr "" -#: ../../c-api/stable.rst:265 +#: ../../c-api/stable.rst:267 msgid "Platform Considerations" msgstr "" -#: ../../c-api/stable.rst:267 +#: ../../c-api/stable.rst:269 msgid "" "ABI stability depends not only on Python, but also on the compiler used, " "lower-level libraries and compiler options. For the purposes of " @@ -398,7 +400,7 @@ msgid "" "usually depend on the OS type and processor architecture" msgstr "" -#: ../../c-api/stable.rst:272 +#: ../../c-api/stable.rst:274 msgid "" "It is the responsibility of each particular distributor of Python to ensure " "that all Python versions on a particular platform are built in a way that " @@ -407,15 +409,15 @@ msgid "" "party distributors." msgstr "" -#: ../../c-api/stable.rst:280 +#: ../../c-api/stable.rst:282 msgid "ABI Checking" msgstr "" -#: ../../c-api/stable.rst:284 +#: ../../c-api/stable.rst:286 msgid "Python includes a rudimentary check for ABI compatibility." msgstr "" -#: ../../c-api/stable.rst:286 +#: ../../c-api/stable.rst:288 msgid "" "This check is not comprehensive. It only guards against common cases of " "incompatible modules being installed for the wrong interpreter. It also does " @@ -423,20 +425,20 @@ msgid "" "account. It can only be done after an extension is successfully loaded." msgstr "" -#: ../../c-api/stable.rst:293 +#: ../../c-api/stable.rst:295 msgid "" "Despite these limitations, it is recommended that extension modules use this " "mechanism, so that detectable incompatibilities raise exceptions rather than " "crash." msgstr "" -#: ../../c-api/stable.rst:297 +#: ../../c-api/stable.rst:299 msgid "" "Most modules can use this check via the :c:data:`Py_mod_abi` slot and " "the :c:macro:`PyABIInfo_VAR` macro, for example like this:" msgstr "" -#: ../../c-api/stable.rst:300 +#: ../../c-api/stable.rst:302 msgid "" "PyABIInfo_VAR(abi_info);\n" "\n" @@ -446,33 +448,33 @@ msgid "" "};" msgstr "" -#: ../../c-api/stable.rst:310 +#: ../../c-api/stable.rst:312 msgid "The full API is described below for advanced use cases." msgstr "" -#: ../../c-api/stable.rst:314 +#: ../../c-api/stable.rst:316 msgid "" "Verify that the given *info* is compatible with the currently running " "interpreter." msgstr "" -#: ../../c-api/stable.rst:317 +#: ../../c-api/stable.rst:319 msgid "Return 0 on success. On failure, raise an exception and return -1." msgstr "" -#: ../../c-api/stable.rst:319 +#: ../../c-api/stable.rst:321 msgid "" "If the ABI is incompatible, the raised exception will " "be :py:exc:`ImportError`." msgstr "" -#: ../../c-api/stable.rst:321 +#: ../../c-api/stable.rst:323 msgid "" "The *module_name* argument can be ``NULL``, or point to a NUL-terminated " "UTF-8-encoded string used for error messages." msgstr "" -#: ../../c-api/stable.rst:324 +#: ../../c-api/stable.rst:326 msgid "" "Note that if *info* describes the ABI that the current code uses (as defined " "by :c:macro:`PyABIInfo_VAR`, for example), using any other Python C API may " @@ -480,13 +482,13 @@ msgid "" "exception." msgstr "" -#: ../../c-api/stable.rst:333 +#: ../../c-api/stable.rst:335 msgid "" "Define a static :c:struct:`PyABIInfo` variable with the given *NAME* that " "describes the ABI that the current code will use. This macro expands to:" msgstr "" -#: ../../c-api/stable.rst:337 +#: ../../c-api/stable.rst:339 msgid "" "static PyABIInfo NAME = {\n" " 1, 0,\n" @@ -496,95 +498,95 @@ msgid "" "}" msgstr "" -#: ../../c-api/stable.rst:352 +#: ../../c-api/stable.rst:354 msgid "The major version of :c:struct:`PyABIInfo`. Can be set to:" msgstr "" -#: ../../c-api/stable.rst:354 +#: ../../c-api/stable.rst:356 msgid "``0`` to skip all checking, or" msgstr "" -#: ../../c-api/stable.rst:355 +#: ../../c-api/stable.rst:357 msgid "``1`` to specify this version of :c:struct:`!PyABIInfo`." msgstr "" -#: ../../c-api/stable.rst:359 +#: ../../c-api/stable.rst:361 msgid "" "The minor version of :c:struct:`PyABIInfo`. Must be set to ``0``; larger " "values are reserved for backwards-compatible future versions of :c:struct:`!" "PyABIInfo`." msgstr "" -#: ../../c-api/stable.rst:367 +#: ../../c-api/stable.rst:369 msgid "This field is usually set to the following macro:" msgstr "" -#: ../../c-api/stable.rst:371 +#: ../../c-api/stable.rst:373 msgid "" "Default flags, based on current values of macros such " "as :c:macro:`Py_LIMITED_API` and :c:macro:`Py_GIL_DISABLED`." msgstr "" -#: ../../c-api/stable.rst:374 +#: ../../c-api/stable.rst:376 msgid "" "Alternately, the field can be set to the following flags, combined by " "bitwise OR. Unused bits must be set to zero." msgstr "" -#: ../../c-api/stable.rst:378 +#: ../../c-api/stable.rst:380 msgid "ABI variant -- one of:" msgstr "" -#: ../../c-api/stable.rst:382 +#: ../../c-api/stable.rst:384 msgid "Specifies that Stable ABI is used." msgstr "" -#: ../../c-api/stable.rst:386 +#: ../../c-api/stable.rst:388 msgid "" "Specifies ABI specific to a particular build of CPython. Internal use only." msgstr "" -#: ../../c-api/stable.rst:389 +#: ../../c-api/stable.rst:391 msgid "Free-threading compatibility -- one of:" msgstr "" -#: ../../c-api/stable.rst:393 +#: ../../c-api/stable.rst:395 msgid "" "Specifies ABI compatible with :term:`free-threaded builds ` of CPython. (That is, ones compiled with :option:`--disable-gil`; " "with ``t`` in :py:data:`sys.abiflags`)" msgstr "" -#: ../../c-api/stable.rst:400 +#: ../../c-api/stable.rst:402 msgid "" "Specifies ABI compatible with non-free-threaded builds of CPython (ones " "compiled *without* :option:`--disable-gil`)." msgstr "" -#: ../../c-api/stable.rst:405 +#: ../../c-api/stable.rst:407 msgid "" "Specifies ABI compatible with both free-threaded and non-free-threaded " "builds of CPython, that is, both ``abi3`` and ``abi3t``." msgstr "" -#: ../../c-api/stable.rst:411 +#: ../../c-api/stable.rst:413 msgid "" "The version of the Python headers used to build the code, in the format used " "by :c:macro:`PY_VERSION_HEX`." msgstr "" -#: ../../c-api/stable.rst:414 +#: ../../c-api/stable.rst:416 msgid "" "This can be set to ``0`` to skip any checks related to this field. This " "option is meant mainly for projects that do not use the CPython headers " "directly, and do not emulate a specific version of them." msgstr "" -#: ../../c-api/stable.rst:420 +#: ../../c-api/stable.rst:422 msgid "The ABI version." msgstr "" -#: ../../c-api/stable.rst:422 +#: ../../c-api/stable.rst:424 msgid "" "For Stable ABI, this field should be the value of :c:macro:`Py_LIMITED_API` " "or :c:macro:`Py_TARGET_ABI3T`. If both are defined, use the smaller value. " @@ -592,26 +594,26 @@ msgid "" "instead of ``3``.)" msgstr "" -#: ../../c-api/stable.rst:428 +#: ../../c-api/stable.rst:430 msgid "Otherwise, it should be set to :c:macro:`PY_VERSION_HEX`." msgstr "" -#: ../../c-api/stable.rst:430 +#: ../../c-api/stable.rst:432 msgid "It can also be set to ``0`` to skip any checks related to this field." msgstr "" -#: ../../c-api/stable.rst:436 +#: ../../c-api/stable.rst:438 msgid "" "The value that should be used for this field, based on current values of " "macros such as :c:macro:`Py_LIMITED_API`, :c:macro:`PY_VERSION_HEX` " "and :c:macro:`Py_GIL_DISABLED`." msgstr "" -#: ../../c-api/stable.rst:447 +#: ../../c-api/stable.rst:449 msgid "Contents of Limited API" msgstr "" -#: ../../c-api/stable.rst:449 +#: ../../c-api/stable.rst:451 msgid "" "This is the definitive list of :ref:`Limited API ` for Python " "|version|:" diff --git a/extending/embedding.po b/extending/embedding.po index 96f60d22..85ecca81 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:00+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -887,3 +887,226 @@ msgstr "" "'-lpthread -ldl -lutil'\n" ">>> sysconfig.get_config_var('LINKFORSHARED')\n" "'-Xlinker -export-dynamic'" + +#: ../../extending/embedding.rst:364 +msgid "Linking for one or several Python versions on Linux" +msgstr "" + +#: ../../extending/embedding.rst:366 +msgid "" +"The flags obtained from ``pythonX.Y-config --ldflags --embed`` link the " +"application against one minor version of Python. If that Python was built as " +"a shared library, the executable records a dependency on the versioned " +"library, such as :file:`libpython3.12.so.1.0`, and expected that specific " +"minor version at runtime. This is the recommended setup for most host " +"(embedding) applications. Build the application for each Python version that " +"it supports, or distribute it together with the Python that it was built " +"with." +msgstr "" + +#: ../../extending/embedding.rst:375 +msgid "" +"Using the :ref:`Limited API ` does not change this. " +"Defining :c:macro:`Py_LIMITED_API` restricts your source code to API that is " +"compatible across minor versions, but the library dependency is recorded " +"when linking, so the executable still requires :file:`libpython3.12.so.1.0`." +msgstr "" + +#: ../../extending/embedding.rst:380 +msgid "" +"A binary that needs to run with several minor Python versions must use only " +"the Limited API and must *also* avoid the versioned dependency." +msgstr "" + +#: ../../extending/embedding.rst:385 +msgid "" +"Host applications that use the :ref:`Limited API ` must be " +"aware of the following limitations:" +msgstr "" + +#: ../../extending/embedding.rst:388 +msgid "" +"It can only initialize Python with :c:func:`Py_Initialize` " +"or :c:func:`Py_InitializeEx`, which set Python up much like " +"the :program:`python` command does. They honor :envvar:`PYTHONHOME` " +"and :envvar:`PYTHONPATH`, add the :data:`user site-packages directory " +"` to :data:`sys.path`, and terminate the process if " +"initialization fails. They set :data:`sys.executable` to " +"the :program:`python3` program found on :envvar:`!PATH`, which can belong to " +"a different Python installation than the library that was loaded. The " +"functions that accept an :ref:`isolated configuration `, :c:func:`Py_InitializeFromConfig` " +"and :c:func:`Py_InitializeFromInitConfig`, are not part of the Limited API." +msgstr "" + +#: ../../extending/embedding.rst:401 +msgid "" +"The Python that gets loaded is only known at run-time. Checking that it is " +"suitable is up to the application. An incompatible Python, such as a too-old " +"or too-new version, is not rejected automatically." +msgstr "" + +#: ../../extending/embedding.rst:405 +msgid "" +"The Stable ABI keeps functions available in later versions, but it does not " +"guarantee identical behavior. The default configuration and the " +"way :data:`sys.path` is computed can change between Python versions, and " +"between installations of the same version. Test the application with every " +"Python version and installation that it is meant to support. See " +"also :ref:`limited-api-caveats`." +msgstr "" + +#: ../../extending/embedding.rst:414 +msgid "" +"A Python built with :option:`--enable-shared` and without :option:`--with-" +"pydebug` installs :file:`libpython3.so` next to the versioned library. When " +"the dynamic loader loads this library, it also loads the versioned library " +"that it was built with, and symbols looked up through :file:`libpython3.so` " +"are found in the versioned library. An application can therefore " +"load :file:`libpython3.so` with :manpage:`dlopen(3)` and look up each " +"function that it uses with :manpage:`dlsym(3)`." +msgstr "" + +#: ../../extending/embedding.rst:424 +msgid "" +"This only works at run time. When linking an executable, the linker does not " +"use the dependencies of a library to resolve symbols, " +"and :file:`libpython3.so` defines no Python symbols of its own, so linking " +"with ``-lpython3`` fails with ``undefined reference`` errors." +msgstr "" + +#: ../../extending/embedding.rst:430 +msgid "For example, with Python 3.12 as the oldest supported version::" +msgstr "" + +#: ../../extending/embedding.rst:432 +msgid "" +"#define Py_LIMITED_API 0x030c0000 /* Limited API 3.12 */\n" +"#include \n" +"#include \n" +"#include \n" +"\n" +"/* The API this application uses, declared as in Python.h.\n" +" Everything is reached through these pointers. */\n" +"static struct {\n" +" const unsigned long *Version;\n" +" const char *(*GetVersion)(void);\n" +" void (*InitializeEx)(int);\n" +" int (*FinalizeEx)(void);\n" +"} py;\n" +"\n" +"#define LOAD(lib, pointer, name) \\\n" +" ((*(void **)&(pointer) = dlsym(lib, name)) != NULL)\n" +"\n" +"int\n" +"main(int argc, char *argv[])\n" +"{\n" +" /* For brevity, the path comes from the command line. A real\n" +" application reads it from its own configuration. */\n" +" if (argc != 2 || argv[1][0] != '/') {\n" +" fprintf(stderr, \"usage: %s /absolute/path/to/libpython3.so\\n\",\n" +" argv[0]);\n" +" return 2;\n" +" }\n" +" /* RTLD_GLOBAL is required: it lets the extension modules that\n" +" Python imports find Python's symbols. */\n" +" void *lib = dlopen(argv[1], RTLD_NOW | RTLD_GLOBAL);\n" +" if (lib == NULL) {\n" +" fprintf(stderr, \"Python is not available: %s\\n\", dlerror());\n" +" return 1;\n" +" }\n" +" if (!LOAD(lib, py.Version, \"Py_Version\")\n" +" || !LOAD(lib, py.GetVersion, \"Py_GetVersion\")\n" +" || !LOAD(lib, py.InitializeEx, \"Py_InitializeEx\")\n" +" || !LOAD(lib, py.FinalizeEx, \"Py_FinalizeEx\"))\n" +" {\n" +" fprintf(stderr, \"Unsupported Python: %s\\n\", dlerror());\n" +" return 1;\n" +" }\n" +" if (*py.Version < Py_LIMITED_API) {\n" +" fprintf(stderr, \"Python %s is older than 3.12\\n\", " +"py.GetVersion());\n" +" return 1;\n" +" }\n" +"\n" +" py.InitializeEx(0);\n" +" printf(\"Loaded Python %s\\n\", py.GetVersion());\n" +" return py.FinalizeEx() < 0 ? 120 : 0;\n" +"}" +msgstr "" + +#: ../../extending/embedding.rst:484 +msgid "" +"Compile the program with Python's headers, but without the output of ``--" +"ldflags``:" +msgstr "" + +#: ../../extending/embedding.rst:487 +msgid "" +"$ gcc $(/opt/bin/python3.12-config --includes) -o myapp myapp.c\n" +"$ ./myapp /usr/local/lib/libpython3.so\n" +"Loaded Python 3.14.10 (main, Nov 5 2026, 09:47:10) [GCC 14.2.0]" +msgstr "" + +#: ../../extending/embedding.rst:493 +msgid "" +"No Python library is passed to the linker, so the executable does not depend " +"on one. You can check this with ``readelf``:" +msgstr "" + +#: ../../extending/embedding.rst:497 +msgid "" +"$ readelf -d myapp | grep NEEDED\n" +" 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]" +msgstr "" + +#: ../../extending/embedding.rst:502 +msgid "" +"For the same reason, Python functions can only be called through such " +"pointers. This includes the functions that macros in :file:`Python.h` expand " +"to: for example, call :c:func:`Py_DecRef` through a pointer instead of " +"using :c:func:`Py_DECREF`." +msgstr "" + +#: ../../extending/embedding.rst:508 +msgid "" +"The path passed to ``dlopen()`` selects the code that runs in your process. " +"It should come from a trusted source and name a file that only trusted users " +"can replace." +msgstr "" + +#: ../../extending/embedding.rst:511 +msgid "" +"Use an absolute path. The dynamic loader looks for a name without a slash in " +"its usual search path, such as :envvar:`!LD_LIBRARY_PATH` and the system " +"library directories. It looks for the versioned library " +"that :file:`libpython3.so` depends on in the same way, and not next " +"to :file:`libpython3.so`. To choose the exact file, pass the absolute path " +"of the versioned library to ``dlopen()`` instead." +msgstr "" + +#: ../../extending/embedding.rst:518 +msgid "" +"``RTLD_GLOBAL`` is required. Extension modules are generally not linked " +"against a Python library, so Python can only import them if its symbols are " +"visible globally." +msgstr "" + +#: ../../extending/embedding.rst:523 +msgid "Unsupported workaround: renaming the dependency after linking" +msgstr "" + +#: ../../extending/embedding.rst:524 +msgid "" +"Some applications are instead linked against a versioned library as " +"described :ref:`above `, and the dependency recorded in the " +"executable is then renamed to :file:`libpython3.so`, for example with " +"``patchelf``." +msgstr "" + +#: ../../extending/embedding.rst:530 +msgid "" +"Renaming the dependency this way is unsupported. Nothing checks that such an " +"executable only uses the Stable ABI, and it can contain copies of Python " +"data, such as ``PyLong_Type``, whose size differs between Python versions." +msgstr "" diff --git a/faq/design.po b/faq/design.po index 3e856945..cadf400a 100644 --- a/faq/design.po +++ b/faq/design.po @@ -1033,17 +1033,17 @@ msgid "" "values, this means that dictionaries take constant time -- *O*\\ (1), in Big-" "O notation -- to retrieve a key." msgstr "" -"Dictionaries arbeiten so, dass sie mit der integrierten Funktion :func:`hash` " -"für jeden im Dictionary gespeicherten Schlüssel einen Hashwert berechnen. " -"Der Hashwert unterscheidet sich stark je nach Schlüssel und je nach einem " -"prozessweiten Startwert. So könnte ``'Python'`` zu ``-539294296`` hashen, " -"während ``'python'``, eine Zeichenkette, die sich nur um ein einziges Bit " -"unterscheidet, zu ``1142331976`` hashen könnte. Der Hashwert wird dann " -"verwendet, um eine Position in einem internen Array zu berechnen, an der der " -"Wert gespeichert wird. Angenommen, du speicherst Schlüssel, die alle " -"unterschiedliche Hashwerte haben, dann bedeutet das, dass Dictionaries zum " -"Abrufen eines Schlüssels konstante Zeit brauchen -- *O*\\ (1) in der Groß-O-" -"Schreibweise." +"Dictionaries arbeiten so, dass sie mit der integrierten " +"Funktion :func:`hash` für jeden im Dictionary gespeicherten Schlüssel einen " +"Hashwert berechnen. Der Hashwert unterscheidet sich stark je nach Schlüssel " +"und je nach einem prozessweiten Startwert. So könnte ``'Python'`` zu " +"``-539294296`` hashen, während ``'python'``, eine Zeichenkette, die sich nur " +"um ein einziges Bit unterscheidet, zu ``1142331976`` hashen könnte. Der " +"Hashwert wird dann verwendet, um eine Position in einem internen Array zu " +"berechnen, an der der Wert gespeichert wird. Angenommen, du speicherst " +"Schlüssel, die alle unterschiedliche Hashwerte haben, dann bedeutet das, " +"dass Dictionaries zum Abrufen eines Schlüssels konstante Zeit brauchen -- " +"*O*\\ (1) in der Groß-O-Schreibweise." #: ../../faq/design.rst:472 msgid "" diff --git a/faq/library.po b/faq/library.po index e0075754..64933dfb 100644 --- a/faq/library.po +++ b/faq/library.po @@ -609,8 +609,8 @@ msgstr "" "Theoretisch bedeutet das, dass eine genaue Abrechnung ein genaues " "Verständnis der Bytecode-Umsetzung der PVM erfordert. In der Praxis bedeutet " "es, dass Operationen auf gemeinsam genutzten Variablen integrierter " -"Datentypen (ints, Listen, Dictionaries und so weiter), die „atomar aussehen“, " -"es wirklich sind." +"Datentypen (ints, Listen, Dictionaries und so weiter), die „atomar " +"aussehen“, es wirklich sind." #: ../../faq/library.rst:333 msgid "" diff --git a/glossary.po b/glossary.po index d3cdd20d..131e4e74 100644 --- a/glossary.po +++ b/glossary.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-08-30 00:02+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -2369,7 +2369,7 @@ msgstr "" msgid "keyword argument" msgstr "Schlüsselwortargument" -#: ../../glossary.rst:925 ../../glossary.rst:1312 +#: ../../glossary.rst:925 ../../glossary.rst:1317 msgid "See :term:`argument`." msgstr "Siehe :term:`Argument `." @@ -2389,10 +2389,22 @@ msgstr "" "expression``" #: ../../glossary.rst:931 +#, fuzzy +msgid "lazy import" +msgstr "Importeur" + +#: ../../glossary.rst:933 +msgid "" +"An import that delays module search and execution until the first use of the " +"imported name. A proxy represents the imported object until resolution. " +"See :ref:`lazy-imports`." +msgstr "" + +#: ../../glossary.rst:936 msgid "LBYL" msgstr "LBYL" -#: ../../glossary.rst:933 +#: ../../glossary.rst:938 msgid "" "Look before you leap. This coding style explicitly tests for pre-conditions " "before making calls or lookups. This style contrasts with the :term:`EAFP` " @@ -2404,7 +2416,7 @@ msgstr "" "bildet den Gegensatz zum Ansatz :term:`EAFP` und ist durch " "viele :keyword:`if`-Anweisungen gekennzeichnet." -#: ../../glossary.rst:938 +#: ../../glossary.rst:943 msgid "" "In a multi-threaded environment, the LBYL approach can risk introducing " "a :term:`race condition` between \"the looking\" and \"the leaping\". For " @@ -2421,19 +2433,19 @@ msgstr "" "lässt sich mit :term:`Sperren ` oder durch Verwendung des :term:`EAFP`-" "Ansatzes lösen. Siehe auch :term:`thread-sicher `." -#: ../../glossary.rst:944 +#: ../../glossary.rst:949 msgid "lexical analyzer" msgstr "Lexikalischer Analysator" -#: ../../glossary.rst:947 +#: ../../glossary.rst:952 msgid "Formal name for the *tokenizer*; see :term:`token`." msgstr "Formale Bezeichnung für den *Tokenizer*. Siehe :term:`token`." -#: ../../glossary.rst:948 +#: ../../glossary.rst:953 msgid "list" msgstr "Liste" -#: ../../glossary.rst:950 +#: ../../glossary.rst:955 msgid "" "A built-in Python :term:`sequence`. Despite its name it is more akin to an " "array in other languages than to a linked list since access to elements is " @@ -2443,11 +2455,11 @@ msgstr "" "ähnelt sie eher einem Array in anderen Sprachen als einer verketteten Liste, " "da der Zugriff auf Elemente *O*\\ (1) ist. Siehe :ref:`time-complexity`." -#: ../../glossary.rst:953 +#: ../../glossary.rst:958 msgid "list comprehension" msgstr "List Comprehension" -#: ../../glossary.rst:955 +#: ../../glossary.rst:960 msgid "" "A compact way to process all or part of the elements in a sequence and " "return a list with the results. ``result = ['{:#04x}'.format(x) for x in " @@ -2462,11 +2474,11 @@ msgstr "" "0 bis 255 enthalten. Die Klausel :keyword:`if` ist optional. Wird sie " "weggelassen, werden alle Elemente in ``range(256)`` verarbeitet." -#: ../../glossary.rst:961 +#: ../../glossary.rst:966 msgid "lock" msgstr "Sperre" -#: ../../glossary.rst:963 +#: ../../glossary.rst:968 msgid "" "A :term:`synchronization primitive` that allows only one thread at a time to " "access a shared resource. A thread must acquire a lock before accessing the " @@ -2495,11 +2507,11 @@ msgstr "" "Muster und thread-lokale Zustände. Siehe auch :term:`Deadlock ` " "und :term:`reentrant `." -#: ../../glossary.rst:974 +#: ../../glossary.rst:979 msgid "lock-free" msgstr "sperrfrei" -#: ../../glossary.rst:976 +#: ../../glossary.rst:981 msgid "" "An operation that does not acquire any :term:`lock` and uses atomic CPU " "instructions to ensure correctness. Lock-free operations can execute " @@ -2520,11 +2532,11 @@ msgstr "" "beobachten können, selbst wenn diese Änderungen die :term:`per-object lock` " "halten." -#: ../../glossary.rst:984 +#: ../../glossary.rst:989 msgid "loader" msgstr "Lader" -#: ../../glossary.rst:986 +#: ../../glossary.rst:991 msgid "" "An object that loads a module. It must define the :meth:`!exec_module` " "and :meth:`!create_module` methods to implement " @@ -2536,23 +2548,23 @@ msgstr "" "Schnittstelle :class:`~importlib.abc.Loader` zu implementieren. Ein Loader " "wird in der Regel von einem :term:`finder` zurückgegeben. Siehe auch:" -#: ../../glossary.rst:992 +#: ../../glossary.rst:997 msgid ":ref:`finders-and-loaders`" msgstr ":ref:`finders-and-loaders`" -#: ../../glossary.rst:993 +#: ../../glossary.rst:998 msgid ":class:`importlib.abc.Loader`" msgstr ":class:`importlib.abc.Loader`" -#: ../../glossary.rst:994 +#: ../../glossary.rst:999 msgid ":pep:`302`" msgstr ":pep:`302`" -#: ../../glossary.rst:995 +#: ../../glossary.rst:1000 msgid "locale encoding" msgstr "Ländereinstellung, Kodierung" -#: ../../glossary.rst:997 +#: ../../glossary.rst:1002 msgid "" "On Unix, it is the encoding of the LC_CTYPE locale. It can be set " "with :func:`locale.setlocale(locale.LC_CTYPE, new_locale) " @@ -2562,43 +2574,43 @@ msgstr "" "mit :func:`locale.setlocale(locale.LC_CTYPE, new_locale) ` " "festgelegt werden." -#: ../../glossary.rst:1000 +#: ../../glossary.rst:1005 msgid "On Windows, it is the ANSI code page (ex: ``\"cp1252\"``)." msgstr "Unter Windows ist dies die ANSI-Codepage (z. B.: ``\"cp1252\"``)." -#: ../../glossary.rst:1002 +#: ../../glossary.rst:1007 msgid "" "On Android and VxWorks, Python uses ``\"utf-8\"`` as the locale encoding." msgstr "" "Unter Android und VxWorks verwendet Python ``\"utf-8\"`` als Locale-" "Kodierung." -#: ../../glossary.rst:1004 +#: ../../glossary.rst:1009 msgid ":func:`locale.getencoding` can be used to get the locale encoding." msgstr "" ":func:`locale.getencoding` kann verwendet werden, um die Kodierung der " "Ländereinstellung abzurufen." -#: ../../glossary.rst:1006 +#: ../../glossary.rst:1011 msgid "See also the :term:`filesystem encoding and error handler`." msgstr "" "Siehe auch den Eintrag :term:`Dateisystem-Kodierung und Fehlerbehandlung " "`." -#: ../../glossary.rst:1007 +#: ../../glossary.rst:1012 msgid "magic method" msgstr "magische Methode" -#: ../../glossary.rst:1011 +#: ../../glossary.rst:1016 msgid "An informal synonym for :term:`special method`." msgstr "" "Ein umgangssprachliches Synonym für :term:`Spezialmethode `." -#: ../../glossary.rst:1012 +#: ../../glossary.rst:1017 msgid "mapping" msgstr "Mapping" -#: ../../glossary.rst:1014 +#: ../../glossary.rst:1019 msgid "" "A container object that supports arbitrary key lookups and implements the " "methods specified in the :class:`collections.abc.Mapping` " @@ -2614,11 +2626,11 @@ msgstr "" "sind :class:`dict`, :class:`collections.defaultdict`, :class:`collections.OrderedDict` " "und :class:`collections.Counter`." -#: ../../glossary.rst:1020 +#: ../../glossary.rst:1025 msgid "meta path finder" msgstr "Meta-Pfadfinder" -#: ../../glossary.rst:1022 +#: ../../glossary.rst:1027 msgid "" "A :term:`finder` returned by a search of :data:`sys.meta_path`. Meta path " "finders are related to, but different from :term:`path entry finders `, unterscheiden sich " "jedoch von diesen." -#: ../../glossary.rst:1026 +#: ../../glossary.rst:1031 msgid "" "See :class:`importlib.abc.MetaPathFinder` for the methods that meta path " "finders implement." @@ -2637,11 +2649,11 @@ msgstr "" "Unter :class:`importlib.abc.MetaPathFinder` findest du die Methoden, die " "Meta-Path-Finder implementieren." -#: ../../glossary.rst:1028 +#: ../../glossary.rst:1033 msgid "metaclass" msgstr "Metaklasse" -#: ../../glossary.rst:1030 +#: ../../glossary.rst:1035 msgid "" "The class of a class. Class definitions create a class name, a class " "dictionary, and a list of base classes. The metaclass is responsible for " @@ -2665,15 +2677,15 @@ msgstr "" "Sicherheit, zur Verfolgung der Objekterstellung, zur Implementierung von " "Singletons und für viele andere Aufgaben eingesetzt." -#: ../../glossary.rst:1040 +#: ../../glossary.rst:1045 msgid "More information can be found in :ref:`metaclasses`." msgstr "Weitere Informationen findest du unter :ref:`metaclasses`." -#: ../../glossary.rst:1009 ../../glossary.rst:1041 ../../glossary.rst:1495 +#: ../../glossary.rst:1014 ../../glossary.rst:1046 ../../glossary.rst:1500 msgid "method" msgstr "Methode" -#: ../../glossary.rst:1043 +#: ../../glossary.rst:1048 msgid "" "A function which is defined inside a class body. If called as an attribute " "of an instance of that class, the method will get the instance object as its " @@ -2685,11 +2697,11 @@ msgstr "" "Instanzobjekt als erstes :term:`Argument ` (das üblicherweise als " "``self`` bezeichnet wird). Siehe :term:`function` und :term:`nested scope`." -#: ../../glossary.rst:1047 +#: ../../glossary.rst:1052 msgid "method resolution order" msgstr "Reihenfolge der Methodenauflösung" -#: ../../glossary.rst:1049 +#: ../../glossary.rst:1054 msgid "" "Method Resolution Order is the order in which base classes are searched for " "a member during lookup. See :ref:`python_2.3_mro` for details of the " @@ -2700,11 +2712,11 @@ msgstr "" "Informationen zu dem Algorithmus, der seit der Version 2.3 vom Python-" "Interpreter verwendet wird, findest du unter :ref:`python_2.3_mro`." -#: ../../glossary.rst:1052 +#: ../../glossary.rst:1057 msgid "module" msgstr "Modul" -#: ../../glossary.rst:1054 +#: ../../glossary.rst:1059 msgid "" "An object that serves as an organizational unit of Python code. Modules " "have a namespace containing arbitrary Python objects. Modules are loaded " @@ -2715,15 +2727,15 @@ msgstr "" "werden durch den Vorgang des :term:`Importierens ` in Python " "geladen." -#: ../../glossary.rst:1058 +#: ../../glossary.rst:1063 msgid "See also :term:`package`." msgstr "Siehe auch :term:`Paket `." -#: ../../glossary.rst:1059 +#: ../../glossary.rst:1064 msgid "module spec" msgstr "Modulspezifikation" -#: ../../glossary.rst:1061 +#: ../../glossary.rst:1066 msgid "" "A namespace containing the import-related information used to load a module. " "An instance of :class:`importlib.machinery.ModuleSpec`." @@ -2732,24 +2744,24 @@ msgstr "" "eines Moduls verwendet werden. Eine Instanz " "von :class:`importlib.machinery.ModuleSpec`." -#: ../../glossary.rst:1064 +#: ../../glossary.rst:1069 msgid "See also :ref:`module-specs`." msgstr "Siehe auch :ref:`module-specs`." -#: ../../glossary.rst:1065 +#: ../../glossary.rst:1070 msgid "MRO" msgstr "MRO" -#: ../../glossary.rst:1067 +#: ../../glossary.rst:1072 msgid "See :term:`method resolution order`." msgstr "" "Siehe :term:`Reihenfolge der Methodenauflösung `." -#: ../../glossary.rst:1068 +#: ../../glossary.rst:1073 msgid "mutable" msgstr "veränderlich" -#: ../../glossary.rst:1070 +#: ../../glossary.rst:1075 msgid "" "An :term:`object` with state that is allowed to change during the course of " "the program. In multi-threaded programs, mutable objects that are shared " @@ -2764,11 +2776,11 @@ msgstr "" "Siehe auch :term:`unveränderlich `, :term:`thread-sicher ` und :term:`parallele Änderung `." -#: ../../glossary.rst:1075 +#: ../../glossary.rst:1080 msgid "named tuple" msgstr "benanntes Tupel" -#: ../../glossary.rst:1077 +#: ../../glossary.rst:1082 msgid "" "The term \"named tuple\" applies to any type or class that inherits from " "tuple and whose indexable elements are also accessible using named " @@ -2779,7 +2791,7 @@ msgstr "" "Attribute zugänglich sind. Der Typ oder die Klasse kann darüber hinaus noch " "weitere Merkmale aufweisen." -#: ../../glossary.rst:1081 +#: ../../glossary.rst:1086 msgid "" "Several built-in types are named tuples, including the values returned " "by :func:`time.localtime` and :func:`os.stat`. Another example " @@ -2789,7 +2801,7 @@ msgstr "" "von :func:`time.localtime` und :func:`os.stat` zurückgegebenen Werte. Ein " "weiteres Beispiel ist :data:`sys.float_info`: ::" -#: ../../glossary.rst:1085 +#: ../../glossary.rst:1090 msgid "" ">>> sys.float_info[1] # indexed access\n" "1024\n" @@ -2805,7 +2817,7 @@ msgstr "" ">>> isinstance(sys.float_info, tuple) # Typ eines Tupels\n" "True" -#: ../../glossary.rst:1092 +#: ../../glossary.rst:1097 msgid "" "Some named tuples are built-in types (such as the above examples). " "Alternatively, a named tuple can be created from a regular class definition " @@ -2826,11 +2838,11 @@ msgstr "" "geschriebenen oder integrierten benannten Tupeln möglicherweise nicht " "vorhanden sind." -#: ../../glossary.rst:1100 +#: ../../glossary.rst:1105 msgid "namespace" msgstr "Namensraum" -#: ../../glossary.rst:1102 +#: ../../glossary.rst:1107 msgid "" "The place where a variable is stored. Namespaces are implemented as " "dictionaries. There are the local, global and built-in namespaces as well " @@ -2855,11 +2867,11 @@ msgstr "" "schreibst, wird deutlich, dass diese Funktionen jeweils von den " "Modulen :mod:`random` und :mod:`itertools` implementiert werden." -#: ../../glossary.rst:1112 +#: ../../glossary.rst:1117 msgid "namespace package" msgstr "Namespace-Paket" -#: ../../glossary.rst:1114 +#: ../../glossary.rst:1119 msgid "" "A :term:`package` which serves only as a container for subpackages. " "Namespace packages may have no physical representation, and specifically are " @@ -2870,7 +2882,7 @@ msgstr "" "Darstellung und unterscheiden sich insbesondere von einem :term:`normalen " "Paket `, da sie keine Datei ``__init__.py`` enthalten." -#: ../../glossary.rst:1119 +#: ../../glossary.rst:1124 msgid "" "Namespace packages allow several individually installable packages to have a " "common parent package. Otherwise, it is recommended to use a :term:`regular " @@ -2880,22 +2892,22 @@ msgstr "" "ein gemeinsames übergeordnetes Paket haben. Andernfalls wird empfohlen, " "ein :term:`normales Paket ` zu verwenden." -#: ../../glossary.rst:1122 +#: ../../glossary.rst:1127 msgid "" "For more information, see :pep:`420` and :ref:`reference-namespace-package`." msgstr "" "Weitere Informationen findest du unter :pep:`420` und :ref:`reference-" "namespace-package`." -#: ../../glossary.rst:1124 +#: ../../glossary.rst:1129 msgid "See also :term:`module`." msgstr "Siehe auch :term:`Modul `." -#: ../../glossary.rst:1125 +#: ../../glossary.rst:1130 msgid "native code" msgstr "Nativcode" -#: ../../glossary.rst:1127 +#: ../../glossary.rst:1132 msgid "" "Code that is compiled to machine instructions and runs directly on the " "processor, as opposed to code that is interpreted or runs in a virtual " @@ -2911,11 +2923,11 @@ msgstr "" "aufgerufen werden kann. Siehe auch :term:`Erweiterungsmodul `." -#: ../../glossary.rst:1132 +#: ../../glossary.rst:1137 msgid "nested scope" msgstr "verschachtelter Geltungsbereich" -#: ../../glossary.rst:1134 +#: ../../glossary.rst:1139 msgid "" "The ability to refer to a variable in an enclosing definition. For " "instance, a function defined inside another function can refer to variables " @@ -2933,11 +2945,11 @@ msgstr "" "globalen Namensraum. Die Anweisung :keyword:`nonlocal` ermöglicht das " "Schreiben in äußere Geltungsbereiche." -#: ../../glossary.rst:1141 +#: ../../glossary.rst:1146 msgid "new-style class" msgstr "New-Style-Klasse" -#: ../../glossary.rst:1143 +#: ../../glossary.rst:1148 msgid "" "Old name for the flavor of classes now used for all class objects. In " "earlier Python versions, only new-style classes could use Python's newer, " @@ -2952,11 +2964,11 @@ msgstr "" "Eigenschaften, :meth:`~object.__getattribute__` , Klassenmethoden und " "statische Methoden." -#: ../../glossary.rst:1148 +#: ../../glossary.rst:1153 msgid "non-deterministic" msgstr "nicht deterministisch" -#: ../../glossary.rst:1150 +#: ../../glossary.rst:1155 msgid "" "Behavior where the outcome of a program can vary between executions with the " "same inputs. In multi-threaded programs, non-deterministic behavior often " @@ -2974,11 +2986,11 @@ msgstr "" "anderen :term:`Synchronisationsprimitiven ` " "hilft, deterministisches Verhalten sicherzustellen." -#: ../../glossary.rst:1157 +#: ../../glossary.rst:1162 msgid "object" msgstr "Objekt" -#: ../../glossary.rst:1159 +#: ../../glossary.rst:1164 msgid "" "Any data with state (attributes or value) and defined behavior (methods). " "Also the ultimate base class of any :term:`new-style class`." @@ -2987,11 +2999,11 @@ msgstr "" "Verhalten (Methoden). Außerdem die oberste Basisklasse jeder :term:`Klasse " "neuen Stils `." -#: ../../glossary.rst:1162 +#: ../../glossary.rst:1167 msgid "optimized scope" msgstr "optimierter Umfang" -#: ../../glossary.rst:1164 +#: ../../glossary.rst:1169 msgid "" "A scope where target local variable names are reliably known to the compiler " "when the code is compiled, allowing optimization of read and write access to " @@ -3010,11 +3022,11 @@ msgstr "" "diejenigen, die auf einer bekannten Menge lokaler und nichtlokaler " "Variablennamen beruhen, sind auf optimierte Geltungsbereiche beschränkt." -#: ../../glossary.rst:1171 +#: ../../glossary.rst:1176 msgid "optional module" msgstr "optionales Modul" -#: ../../glossary.rst:1173 +#: ../../glossary.rst:1178 msgid "" "An :term:`extension module` that is part of the :term:`standard library`, " "but may be absent in some builds of :term:`CPython`, usually due to missing " @@ -3027,7 +3039,7 @@ msgstr "" "fehlender Bibliotheken von Drittanbietern oder weil das Modul für eine " "bestimmte Plattform nicht verfügbar ist." -#: ../../glossary.rst:1178 +#: ../../glossary.rst:1183 msgid "" "See :ref:`optional-module-requirements` for a list of optional modules that " "require third-party libraries." @@ -3035,11 +3047,11 @@ msgstr "" "Eine Liste der optionalen Module, für die Bibliotheken von Drittanbietern " "erforderlich sind, findest du unter :ref:`optional-module-requirements`." -#: ../../glossary.rst:1180 +#: ../../glossary.rst:1185 msgid "package" msgstr "Paket" -#: ../../glossary.rst:1182 +#: ../../glossary.rst:1187 msgid "" "A Python :term:`module` which can contain submodules or recursively, " "subpackages. Technically, a package is a Python module with a ``__path__`` " @@ -3049,17 +3061,17 @@ msgstr "" "Unterpakete enthalten kann. Technisch gesehen ist ein Paket ein Python-Modul " "mit einem Attribut vom Typ ``__path__`` ." -#: ../../glossary.rst:1186 +#: ../../glossary.rst:1191 msgid "See also :term:`regular package` and :term:`namespace package`." msgstr "" "Siehe auch :term:`reguläres Paket ` und :term:`Namensraum-" "Paket `." -#: ../../glossary.rst:1187 +#: ../../glossary.rst:1192 msgid "parallelism" msgstr "Parallelität" -#: ../../glossary.rst:1189 +#: ../../glossary.rst:1194 msgid "" "Executing multiple operations at the same time (e.g. on multiple CPU " "cores). In Python builds with the :term:`global interpreter lock (GIL) " @@ -3078,11 +3090,11 @@ msgstr "" "threading>` Python können mehrere Python-Threads Python-Code gleichzeitig " "auf verschiedenen Kernen ausführen." -#: ../../glossary.rst:1197 +#: ../../glossary.rst:1202 msgid "parameter" msgstr "Parameter" -#: ../../glossary.rst:1199 +#: ../../glossary.rst:1204 msgid "" "A named entity in a :term:`function` (or method) definition that specifies " "an :term:`argument` (or in some cases, arguments) that the function can " @@ -3093,7 +3105,7 @@ msgstr "" "Fällen mehrere Argumente) angibt, das bzw. die die Funktion entgegennehmen " "kann. Es gibt fünf Arten von Parametern:" -#: ../../glossary.rst:1203 +#: ../../glossary.rst:1208 msgid "" ":dfn:`positional-or-keyword`: specifies an argument that can be passed " "either :term:`positionally ` or as a :term:`keyword argument " @@ -3105,11 +3117,11 @@ msgstr "" "als :term:`Schlüsselwortargument ` übergeben werden kann. Das ist " "die Standardart von Parametern, zum Beispiel *foo* und *bar* im Folgenden::" -#: ../../glossary.rst:1208 +#: ../../glossary.rst:1213 msgid "def func(foo, bar=None): ..." msgstr "def func(foo, bar=None): ..." -#: ../../glossary.rst:1212 +#: ../../glossary.rst:1217 msgid "" ":dfn:`positional-only`: specifies an argument that can be supplied only by " "position. Positional-only parameters can be defined by including a ``/`` " @@ -3122,11 +3134,11 @@ msgstr "" "Parameterliste der Funktionsdefinition hinter ihnen das Zeichen ``/`` " "einfügt, zum Beispiel *posonly1* und *posonly2* im folgenden Beispiel::" -#: ../../glossary.rst:1217 +#: ../../glossary.rst:1222 msgid "def func(posonly1, posonly2, /, positional_or_keyword): ..." msgstr "def func(posonly1, posonly2, /, positional_or_keyword): ..." -#: ../../glossary.rst:1221 +#: ../../glossary.rst:1226 msgid "" ":dfn:`keyword-only`: specifies an argument that can be supplied only by " "keyword. Keyword-only parameters can be defined by including a single var-" @@ -3140,11 +3152,11 @@ msgstr "" "positional-Parameter oder ein bloßes ``*`` steht, zum Beispiel *kw_only1* " "und *kw_only2* im Folgenden::" -#: ../../glossary.rst:1227 +#: ../../glossary.rst:1232 msgid "def func(arg, *, kw_only1, kw_only2): ..." msgstr "def func(arg, *, kw_only1, kw_only2): ..." -#: ../../glossary.rst:1229 +#: ../../glossary.rst:1234 msgid "" ":dfn:`var-positional`: specifies that an arbitrary sequence of positional " "arguments can be provided (in addition to any positional arguments already " @@ -3158,11 +3170,11 @@ msgstr "" "Ein solcher Parameter kann definiert werden, indem dem Parameternamen ``*`` " "vorangestellt wird, zum Beispiel *args* im folgenden Beispiel::" -#: ../../glossary.rst:1235 +#: ../../glossary.rst:1240 msgid "def func(*args, **kwargs): ..." msgstr "def func(*args, **kwargs): ..." -#: ../../glossary.rst:1237 +#: ../../glossary.rst:1242 msgid "" ":dfn:`var-keyword`: specifies that arbitrarily many keyword arguments can be " "provided (in addition to any keyword arguments already accepted by other " @@ -3175,7 +3187,7 @@ msgstr "" "kann definiert werden, indem dem Parameternamen ``**`` vorangestellt wird, " "beispielsweise *kwargs* im obigen Beispiel." -#: ../../glossary.rst:1243 +#: ../../glossary.rst:1248 msgid "" "Parameters can specify both optional and required arguments, as well as " "default values for some optional arguments." @@ -3183,7 +3195,7 @@ msgstr "" "Parameter können sowohl optionale als auch erforderliche Argumente sowie " "Standardwerte für einige optionale Argumente festlegen." -#: ../../glossary.rst:1246 +#: ../../glossary.rst:1251 msgid "" "See also the :term:`argument` glossary entry, the FAQ question on :ref:`the " "difference between arguments and parameters `, " @@ -3195,11 +3207,11 @@ msgstr "" "die Klasse :class:`inspect.Parameter`, den Abschnitt :ref:`function` " "sowie :pep:`362`." -#: ../../glossary.rst:1250 +#: ../../glossary.rst:1255 msgid "per-object lock" msgstr "objektspezifische Sperre" -#: ../../glossary.rst:1252 +#: ../../glossary.rst:1257 msgid "" "A :term:`lock` associated with an individual object instance rather than a " "global lock shared across all objects. In :term:`free-threaded ` abfragt, um Module zum " "Importieren zu finden." -#: ../../glossary.rst:1264 +#: ../../glossary.rst:1269 msgid "path entry finder" msgstr "Pfadeintrags-Finder" -#: ../../glossary.rst:1266 +#: ../../glossary.rst:1271 msgid "" "A :term:`finder` returned by a callable on :data:`sys.path_hooks` (i.e. " "a :term:`path entry hook`) which knows how to locate modules given " @@ -3246,7 +3258,7 @@ msgstr "" "Funktion (d. h. einem :term:`path entry hook`) zurückgegeben wird, die weiß, " "wie man Module anhand eines :term:`path entry` findet." -#: ../../glossary.rst:1270 +#: ../../glossary.rst:1275 msgid "" "See :class:`importlib.abc.PathEntryFinder` for the methods that path entry " "finders implement." @@ -3254,11 +3266,11 @@ msgstr "" "Unter :class:`importlib.abc.PathEntryFinder` findest du die Methoden, die " "von Path-Entry-Findern implementiert werden." -#: ../../glossary.rst:1272 +#: ../../glossary.rst:1277 msgid "path entry hook" msgstr "Pfadeintrag-Hook" -#: ../../glossary.rst:1274 +#: ../../glossary.rst:1279 msgid "" "A callable on the :data:`sys.path_hooks` list which returns a :term:`path " "entry finder` if it knows how to find modules on a specific :term:`path " @@ -3269,11 +3281,11 @@ msgstr "" "weiß, wie Module auf einem bestimmten :term:`Pfadeintrag ` " "gefunden werden können." -#: ../../glossary.rst:1277 +#: ../../glossary.rst:1282 msgid "path based finder" msgstr "pfadbasierter Finder" -#: ../../glossary.rst:1279 +#: ../../glossary.rst:1284 msgid "" "One of the default :term:`meta path finders ` which " "searches an :term:`import path` for modules." @@ -3281,11 +3293,11 @@ msgstr "" "Einer der standardmäßigen :term:`Meta-Pfadfinder `, der " "einen :term:`Importpfad ` nach Modulen durchsucht." -#: ../../glossary.rst:1281 +#: ../../glossary.rst:1286 msgid "path-like object" msgstr "pfadähnliches Objekt" -#: ../../glossary.rst:1283 +#: ../../glossary.rst:1288 msgid "" "An object representing a file system path. A path-like object is either " "a :class:`str` or :class:`bytes` object representing a path, or an object " @@ -3306,11 +3318,11 @@ msgstr "" "ein :class:`str`- bzw. :class:`bytes`-Ergebnis gewährleisten. Eingeführt " "durch :pep:`519` ." -#: ../../glossary.rst:1291 +#: ../../glossary.rst:1296 msgid "PEP" msgstr "PEP" -#: ../../glossary.rst:1293 +#: ../../glossary.rst:1298 msgid "" "Python Enhancement Proposal. A PEP is a design document providing " "information to the Python community, or describing a new feature for Python " @@ -3323,7 +3335,7 @@ msgstr "" "technische Spezifikation sowie eine Begründung für die vorgeschlagenen " "Funktionen enthalten." -#: ../../glossary.rst:1299 +#: ../../glossary.rst:1304 msgid "" "PEPs are intended to be the primary mechanisms for proposing major new " "features, for collecting community input on an issue, and for documenting " @@ -3337,15 +3349,15 @@ msgstr "" "PEP-Autor ist dafür verantwortlich, einen Konsens innerhalb der Community " "herzustellen und abweichende Meinungen zu dokumentieren." -#: ../../glossary.rst:1305 +#: ../../glossary.rst:1310 msgid "See :pep:`1`." msgstr "Siehe :pep:`1`." -#: ../../glossary.rst:1306 +#: ../../glossary.rst:1311 msgid "portion" msgstr "Anteil" -#: ../../glossary.rst:1308 +#: ../../glossary.rst:1313 msgid "" "A set of files in a single directory (possibly stored in a zip file) that " "contribute to a namespace package, as defined in :pep:`420`." @@ -3354,15 +3366,15 @@ msgstr "" "in einer ZIP-Datei gespeichert sind), die zu einem Namespace-Paket " "beitragen, wie unter :pep:`420` definiert." -#: ../../glossary.rst:1310 +#: ../../glossary.rst:1315 msgid "positional argument" msgstr "Positionsargument" -#: ../../glossary.rst:1313 +#: ../../glossary.rst:1318 msgid "provisional API" msgstr "vorläufige API" -#: ../../glossary.rst:1315 +#: ../../glossary.rst:1320 msgid "" "A provisional API is one which has been deliberately excluded from the " "standard library's backwards compatibility guarantees. While major changes " @@ -3382,7 +3394,7 @@ msgstr "" "erfolgen nur, wenn schwerwiegende grundlegende Mängel aufgedeckt werden, die " "vor der Aufnahme der API übersehen wurden." -#: ../../glossary.rst:1324 +#: ../../glossary.rst:1329 msgid "" "Even for provisional APIs, backwards incompatible changes are seen as a " "\"solution of last resort\" - every attempt will still be made to find a " @@ -3392,7 +3404,7 @@ msgstr "" "„letztes Mittel\" – es wird weiterhin jeder Versuch unternommen, für " "erkannte Probleme eine rückwärtskompatible Lösung zu finden." -#: ../../glossary.rst:1328 +#: ../../glossary.rst:1333 msgid "" "This process allows the standard library to continue to evolve over time, " "without locking in problematic design errors for extended periods of time. " @@ -3403,19 +3415,19 @@ msgstr "" "über längere Zeiträume hinweg festgeschrieben werden. Weitere Einzelheiten " "findest du unter :pep:`411`." -#: ../../glossary.rst:1331 +#: ../../glossary.rst:1336 msgid "provisional package" msgstr "vorläufiges Paket" -#: ../../glossary.rst:1333 +#: ../../glossary.rst:1338 msgid "See :term:`provisional API`." msgstr "Siehe :term:`vorläufige API `." -#: ../../glossary.rst:1334 +#: ../../glossary.rst:1339 msgid "Python 3000" msgstr "Python 3000" -#: ../../glossary.rst:1336 +#: ../../glossary.rst:1341 msgid "" "Nickname for the Python 3.x release line (coined long ago when the release " "of version 3 was something in the distant future.) This is also abbreviated " @@ -3425,11 +3437,11 @@ msgstr "" "wurde, als die Veröffentlichung von Version 3 noch in ferner Zukunft lag). " "Er wird auch mit \"Py3k\" abgekürzt." -#: ../../glossary.rst:1339 +#: ../../glossary.rst:1344 msgid "Pythonic" msgstr "pythonisch" -#: ../../glossary.rst:1341 +#: ../../glossary.rst:1346 msgid "" "An idea or piece of code which closely follows the most common idioms of the " "Python language, rather than implementing code using concepts common to " @@ -3447,7 +3459,7 @@ msgstr "" "eine solche Konstruktion, sodass Personen, die mit Python nicht vertraut " "sind, manchmal stattdessen einen numerischen Zähler verwenden::" -#: ../../glossary.rst:1348 +#: ../../glossary.rst:1353 msgid "" "for i in range(len(food)):\n" " print(food[i])" @@ -3455,11 +3467,11 @@ msgstr "" "for i in range(len(food)):\n" " print(food[i])" -#: ../../glossary.rst:1351 +#: ../../glossary.rst:1356 msgid "As opposed to the cleaner, Pythonic method::" msgstr "Im Gegensatz zu der übersichtlicheren, pythonischen Methode::" -#: ../../glossary.rst:1353 +#: ../../glossary.rst:1358 msgid "" "for piece in food:\n" " print(piece)" @@ -3467,11 +3479,11 @@ msgstr "" "für Stück in Essen:\n" " print(Stück)" -#: ../../glossary.rst:1355 +#: ../../glossary.rst:1360 msgid "qualified name" msgstr "qualifizierter Name" -#: ../../glossary.rst:1357 +#: ../../glossary.rst:1362 msgid "" "A dotted name showing the \"path\" from a module's global scope to a class, " "function or method defined in that module, as defined in :pep:`3155`. For " @@ -3484,7 +3496,7 @@ msgstr "" "definiert. Bei Funktionen und Klassen der obersten Ebene entspricht der " "qualifizierte Name dem Namen des Objekts::" -#: ../../glossary.rst:1362 +#: ../../glossary.rst:1367 msgid "" ">>> class C:\n" "... class D:\n" @@ -3510,7 +3522,7 @@ msgstr "" ">>> C.D.meth.__qualname__\n" "'C.D.meth'" -#: ../../glossary.rst:1374 +#: ../../glossary.rst:1379 msgid "" "When used to refer to modules, the *fully qualified name* means the entire " "dotted path to the module, including any parent packages, e.g. " @@ -3520,7 +3532,7 @@ msgstr "" "durch Punkte getrennten Pfad zum Modul, einschließlich aller übergeordneten " "Pakete, z. B. ``email.mime.text``::" -#: ../../glossary.rst:1378 +#: ../../glossary.rst:1383 msgid "" ">>> import email.mime.text\n" ">>> email.mime.text.__name__\n" @@ -3530,11 +3542,11 @@ msgstr "" ">>> email.mime.text.__name__\n" "'email.mime.text'" -#: ../../glossary.rst:1381 +#: ../../glossary.rst:1386 msgid "race condition" msgstr "Race-Condition" -#: ../../glossary.rst:1383 +#: ../../glossary.rst:1388 msgid "" "A condition of a program where the behavior depends on the relative timing " "or ordering of events, particularly in multi-threaded programs. Race " @@ -3557,11 +3569,11 @@ msgstr "" "von :term:`Locks ` und anderen :term:`Synchronisationsprimitiven " "` hilft, Race Conditions zu vermeiden." -#: ../../glossary.rst:1393 +#: ../../glossary.rst:1398 msgid "reference count" msgstr "Referenzanzahl" -#: ../../glossary.rst:1395 +#: ../../glossary.rst:1400 msgid "" "The number of references to an object. When the reference count of an " "object drops to zero, it is deallocated. Some objects are :term:`immortal` " @@ -3580,7 +3592,7 @@ msgstr "" "Programmierer können die Funktion :func:`sys.getrefcount` aufrufen, um die " "Referenzanzahl für ein bestimmtes Objekt abzurufen." -#: ../../glossary.rst:1404 +#: ../../glossary.rst:1409 msgid "" "In :term:`CPython`, reference counts are not considered to be stable or well-" "defined values; the number of references to an object, and how that number " @@ -3591,11 +3603,11 @@ msgstr "" "Weise, wie diese Anzahl durch Python-Code beeinflusst wird, kann je nach " "Version variieren." -#: ../../glossary.rst:1408 +#: ../../glossary.rst:1413 msgid "regular package" msgstr "Standardpaket" -#: ../../glossary.rst:1410 +#: ../../glossary.rst:1415 msgid "" "A traditional :term:`package`, such as a directory containing an " "``__init__.py`` file." @@ -3603,15 +3615,15 @@ msgstr "" "Ein herkömmliches :term:`Paket `, beispielsweise ein Verzeichnis, " "das eine Datei vom Typ ``__init__.py`` enthält." -#: ../../glossary.rst:1413 +#: ../../glossary.rst:1418 msgid "See also :term:`namespace package`." msgstr "Siehe auch: :term:`Namespace-Paket `." -#: ../../glossary.rst:1414 +#: ../../glossary.rst:1419 msgid "reentrant" msgstr "wiedereintrittsfähig (reentrant)" -#: ../../glossary.rst:1416 +#: ../../glossary.rst:1421 msgid "" "A property of a function or :term:`lock` that allows it to be called or " "acquired multiple times by the same thread without causing errors or " @@ -3621,7 +3633,7 @@ msgstr "" "dass diese mehrfach vom selben Thread aufgerufen bzw. erworben wird, ohne " "dass dabei Fehler oder ein :term:`Deadlock ` auftreten." -#: ../../glossary.rst:1420 +#: ../../glossary.rst:1425 msgid "" "For functions, reentrancy means the function can be safely called again " "before a previous invocation has completed, which is important when " @@ -3636,7 +3648,7 @@ msgstr "" "deterministisch ` sein, wenn sie in einem Multithread-" "Programm reentrant aufgerufen werden." -#: ../../glossary.rst:1426 +#: ../../glossary.rst:1431 msgid "" "For locks, Python's :class:`threading.RLock` (reentrant lock) is reentrant, " "meaning a thread that already holds the lock can acquire it again without " @@ -3649,15 +3661,15 @@ msgstr "" "nicht reentrant – der Versuch, es zweimal aus demselben Thread zu erwerben, " "führt zu einem Deadlock." -#: ../../glossary.rst:1432 +#: ../../glossary.rst:1437 msgid "See also :term:`lock` and :term:`deadlock`." msgstr "Siehe auch :term:`lock` und :term:`deadlock`." -#: ../../glossary.rst:1433 +#: ../../glossary.rst:1438 msgid "REPL" msgstr "REPL" -#: ../../glossary.rst:1435 +#: ../../glossary.rst:1440 msgid "" "An acronym for the \"read–eval–print loop\", another name for " "the :term:`interactive` interpreter shell." @@ -3666,11 +3678,11 @@ msgstr "" "Schleife), eine andere Bezeichnung für die :term:`interaktive ` " "Interpreter-Shell." -#: ../../glossary.rst:1437 +#: ../../glossary.rst:1442 msgid "__slots__" msgstr "__slots__" -#: ../../glossary.rst:1439 +#: ../../glossary.rst:1444 msgid "" "A declaration inside a class that saves memory by pre-declaring space for " "instance attributes and eliminating instance dictionaries. Though popular, " @@ -3685,11 +3697,11 @@ msgstr "" "Fällen eingesetzt werden, in denen in einer speicherintensiven Anwendung " "eine große Anzahl von Instanzen vorliegt." -#: ../../glossary.rst:1444 +#: ../../glossary.rst:1449 msgid "sequence" msgstr "Sequenz" -#: ../../glossary.rst:1446 +#: ../../glossary.rst:1451 msgid "" "An :term:`iterable` which supports efficient element access using integer " "indices via the :meth:`~object.__getitem__` special method and defines " @@ -3710,7 +3722,7 @@ msgstr "" "betrachtet wird, da die Suchvorgänge beliebige :term:`hashable`-Schlüssel " "anstelle von Ganzzahlen verwenden." -#: ../../glossary.rst:1455 +#: ../../glossary.rst:1460 msgid "" "The :class:`collections.abc.Sequence` abstract base class defines a much " "richer interface that goes beyond just :meth:`~object.__getitem__` " @@ -3732,11 +3744,11 @@ msgstr "" "zu Sequenzmethoden im Allgemeinen findest du unter :ref:`Common Sequence " "Operations `." -#: ../../glossary.rst:1465 +#: ../../glossary.rst:1470 msgid "set comprehension" msgstr "Set Comprehension" -#: ../../glossary.rst:1467 +#: ../../glossary.rst:1472 msgid "" "A compact way to process all or part of the elements in an iterable and " "return a set with the results. ``results = {c for c in 'abracadabra' if c " @@ -3749,11 +3761,11 @@ msgstr "" "erzeugt die Menge der Zeichenfolgen ``{'r', 'd'}``. " "Siehe :ref:`comprehensions`." -#: ../../glossary.rst:1471 +#: ../../glossary.rst:1476 msgid "single dispatch" msgstr "Single Dispatch" -#: ../../glossary.rst:1473 +#: ../../glossary.rst:1478 msgid "" "A form of :term:`generic function` dispatch where the implementation is " "chosen based on the type of a single argument." @@ -3762,11 +3774,11 @@ msgstr "" "der die Implementierung anhand des Typs eines einzelnen Arguments ausgewählt " "wird." -#: ../../glossary.rst:1475 +#: ../../glossary.rst:1480 msgid "slice" msgstr "Slice" -#: ../../glossary.rst:1477 +#: ../../glossary.rst:1482 msgid "" "An object of type :class:`slice`, used to describe a portion of " "a :term:`sequence`. A slice object is created when using the :ref:`slicing " @@ -3779,11 +3791,11 @@ msgstr "" "` verwendet wird, bei der Doppelpunkte in eckigen Klammern " "stehen, wie beispielsweise in ``variable_name[1:3:5]``." -#: ../../glossary.rst:1482 +#: ../../glossary.rst:1487 msgid "soft deprecated" msgstr "sanft abgekündigt" -#: ../../glossary.rst:1484 +#: ../../glossary.rst:1489 msgid "" "A soft deprecated API should not be used in new code, but it is safe for " "already existing code to use it. The API remains documented and tested, but " @@ -3794,7 +3806,7 @@ msgstr "" "API bleibt dokumentiert und wird weiterhin getestet, wird jedoch nicht mehr " "weiterentwickelt." -#: ../../glossary.rst:1488 +#: ../../glossary.rst:1493 msgid "" "Soft deprecation, unlike normal deprecation, does not plan on removing the " "API and will not emit warnings." @@ -3802,7 +3814,7 @@ msgstr "" "Im Gegensatz zur normalen Veralterung ist bei einer Soft Deprecation nicht " "vorgesehen, die API zu entfernen, und es werden keine Warnungen ausgegeben." -#: ../../glossary.rst:1491 +#: ../../glossary.rst:1496 msgid "" "See `PEP 387: Soft Deprecation `_." @@ -3810,11 +3822,11 @@ msgstr "" "Siehe `PEP 387: Soft Deprecation `_." -#: ../../glossary.rst:1493 +#: ../../glossary.rst:1498 msgid "special method" msgstr "spezielle Methode" -#: ../../glossary.rst:1497 +#: ../../glossary.rst:1502 msgid "" "A method that is called implicitly by Python to execute a certain operation " "on a type, such as addition. Such methods have names starting and ending " @@ -3826,11 +3838,11 @@ msgstr "" "solcher Methoden beginnen und enden mit zwei Unterstrichen. Spezielle " "Methoden sind unter :ref:`specialnames` dokumentiert." -#: ../../glossary.rst:1501 +#: ../../glossary.rst:1506 msgid "standard library" msgstr "Standardbibliothek" -#: ../../glossary.rst:1503 +#: ../../glossary.rst:1508 msgid "" "The collection of :term:`packages `, :term:`modules ` " "and :term:`extension modules ` distributed as a part of " @@ -3845,7 +3857,7 @@ msgstr "" "anderen Kriterien variieren. Die Dokumentation findest du " "unter :ref:`library-index`." -#: ../../glossary.rst:1509 +#: ../../glossary.rst:1514 msgid "" "See also :data:`sys.stdlib_module_names` for a list of all possible standard " "library module names." @@ -3853,11 +3865,11 @@ msgstr "" "Eine Liste aller möglichen Namen von Standardbibliotheksmodulen findest du " "unter :data:`sys.stdlib_module_names`." -#: ../../glossary.rst:1511 +#: ../../glossary.rst:1516 msgid "statement" msgstr "Erklärung" -#: ../../glossary.rst:1513 +#: ../../glossary.rst:1518 msgid "" "A statement is part of a suite (a \"block\" of code). A statement is either " "an :term:`expression` or one of several constructs with a keyword, such " @@ -3868,11 +3880,11 @@ msgstr "" "Konstrukten mit einem Schlüsselwort, wie " "beispielsweise :keyword:`if` , :keyword:`while` oder :keyword:`for` ." -#: ../../glossary.rst:1516 +#: ../../glossary.rst:1521 msgid "static type checker" msgstr "statischer Typprüfer" -#: ../../glossary.rst:1518 +#: ../../glossary.rst:1523 msgid "" "An external tool that reads Python code and analyzes it, looking for issues " "such as incorrect types. See also :term:`type hints ` and " @@ -3882,19 +3894,19 @@ msgstr "" "beispielsweise falsche Typen zu erkennen. Siehe auch :term:`Typangaben ` und das Modul :mod:`typing` ." -#: ../../glossary.rst:1521 +#: ../../glossary.rst:1526 msgid "stdlib" msgstr "stdlib" -#: ../../glossary.rst:1523 +#: ../../glossary.rst:1528 msgid "An abbreviation of :term:`standard library`." msgstr "Eine Abkürzung für :term:`Standardbibliothek `." -#: ../../glossary.rst:1524 +#: ../../glossary.rst:1529 msgid "steal" msgstr "stehlen" -#: ../../glossary.rst:1526 +#: ../../glossary.rst:1531 msgid "" "In Python's C API, \"*stealing*\" an argument means that ownership of the " "argument is transferred to the called function. The caller must not use that " @@ -3907,16 +3919,16 @@ msgstr "" "Allgemeinen tun Funktionen, die ein Argument stehlen, dies auch dann, wenn " "sie fehlschlagen." -#: ../../glossary.rst:1531 +#: ../../glossary.rst:1536 msgid "See :ref:`api-refcountdetails` for a full explanation." msgstr "" "Eine ausführliche Erläuterung findest du unter :ref:`api-refcountdetails`." -#: ../../glossary.rst:1532 +#: ../../glossary.rst:1537 msgid "strong reference" msgstr "starke Referenz" -#: ../../glossary.rst:1534 +#: ../../glossary.rst:1539 msgid "" "In Python's C API, a strong reference is a reference to an object which is " "owned by the code holding the reference. The strong reference is taken by " @@ -3929,7 +3941,7 @@ msgstr "" "hergestellt und durch den Aufruf von :c:func:`Py_DECREF` beim Löschen der " "Referenz freigegeben." -#: ../../glossary.rst:1540 +#: ../../glossary.rst:1545 msgid "" "The :c:func:`Py_NewRef` function can be used to create a strong reference to " "an object. Usually, the :c:func:`Py_DECREF` function must be called on the " @@ -3941,15 +3953,15 @@ msgstr "" "starke Referenz aufgerufen werden, bevor der Geltungsbereich der starken " "Referenz verlassen wird, um ein Referenzleck zu vermeiden." -#: ../../glossary.rst:1545 +#: ../../glossary.rst:1550 msgid "See also :term:`borrowed reference`." msgstr "Siehe auch: :term:`entlehnte Referenz `." -#: ../../glossary.rst:1546 +#: ../../glossary.rst:1551 msgid "subscript" msgstr "Indexzugriff" -#: ../../glossary.rst:1548 +#: ../../glossary.rst:1553 msgid "" "The expression in square brackets of a :ref:`subscription expression " "`, for example, the ``3`` in ``items[3]``. Usually used to " @@ -3964,11 +3976,11 @@ msgstr "" "` zugegriffen wird, oder als :term:`Index `, wenn auf " "eine :term:`Sequenz ` zugegriffen wird." -#: ../../glossary.rst:1554 +#: ../../glossary.rst:1559 msgid "synchronization primitive" msgstr "Synchronisationsprimitiv" -#: ../../glossary.rst:1556 +#: ../../glossary.rst:1561 msgid "" "A basic building block for coordinating (synchronizing) the execution of " "multiple threads to ensure :term:`thread-safe` access to shared resources. " @@ -3990,15 +4002,15 @@ msgstr "" "dazu bei, :term:`Race-Conditions ` zu verhindern und die " "Thread-Ausführung zu koordinieren. Siehe auch :term:`Sperre `." -#: ../../glossary.rst:1566 +#: ../../glossary.rst:1571 msgid "t-string" msgstr "t-String" -#: ../../glossary.rst:1567 +#: ../../glossary.rst:1572 msgid "t-strings" msgstr "t-Strings" -#: ../../glossary.rst:1569 +#: ../../glossary.rst:1574 msgid "" "String literals prefixed with ``t`` or ``T`` are commonly called \"t-" "strings\" which is short for :ref:`template string literals `." @@ -4007,11 +4019,11 @@ msgstr "" "t-Strings bezeichnet, was die Abkürzung für :ref:`Template-" "Zeichenfolgenliterale ` ist." -#: ../../glossary.rst:1572 +#: ../../glossary.rst:1577 msgid "text encoding" msgstr "Textkodierung" -#: ../../glossary.rst:1574 +#: ../../glossary.rst:1579 msgid "" "A string in Python is a sequence of Unicode code points (in range " "``U+0000``--``U+10FFFF``). To store or transfer a string, it needs to be " @@ -4021,7 +4033,7 @@ msgstr "" "Bereich ``U+0000``--``U+10FFFF``). Um eine Zeichenkette zu speichern oder zu " "übertragen, muss sie als Bytefolge serialisiert werden." -#: ../../glossary.rst:1578 +#: ../../glossary.rst:1583 msgid "" "Serializing a string into a sequence of bytes is known as \"encoding\", and " "recreating the string from the sequence of bytes is known as \"decoding\"." @@ -4030,7 +4042,7 @@ msgstr "" "bezeichnet, und die Rekonstruktion der Zeichenkette aus der Bytefolge wird " "als \"Dekodierung\" bezeichnet." -#: ../../glossary.rst:1581 +#: ../../glossary.rst:1586 msgid "" "There are a variety of different text serialization :ref:`codecs `, which are collectively referred to as \"text encodings\"." @@ -4039,11 +4051,11 @@ msgstr "" "Serialisierungsverfahren :ref:`Codecs `, die " "zusammenfassend als \"Textkodierungen\" bezeichnet werden." -#: ../../glossary.rst:1584 +#: ../../glossary.rst:1589 msgid "text file" msgstr "Textdatei" -#: ../../glossary.rst:1586 +#: ../../glossary.rst:1591 msgid "" "A :term:`file object` able to read and write :class:`str` objects. Often, a " "text file actually accesses a byte-oriented datastream and handles " @@ -4060,7 +4072,7 @@ msgstr "" "``'w'``), :data:`sys.stdin`, :data:`sys.stdout` sowie Instanzen " "von :class:`io.StringIO`." -#: ../../glossary.rst:1593 +#: ../../glossary.rst:1598 msgid "" "See also :term:`binary file` for a file object able to read and " "write :term:`bytes-like objects `." @@ -4069,11 +4081,11 @@ msgstr "" "das :term:`byteähnliche Objekte ` lesen und schreiben " "kann." -#: ../../glossary.rst:1595 +#: ../../glossary.rst:1600 msgid "thread state" msgstr "Thread-Zustand" -#: ../../glossary.rst:1598 +#: ../../glossary.rst:1603 msgid "" "The information used by the :term:`CPython` runtime to run in an OS thread. " "For example, this includes the current exception, if any, and the state of " @@ -4084,7 +4096,7 @@ msgstr "" "beispielsweise die aktuelle Ausnahme (falls vorhanden) und der Zustand des " "Bytecode-Interpreters." -#: ../../glossary.rst:1602 +#: ../../glossary.rst:1607 msgid "" "Each thread state is bound to a single OS thread, but threads may have many " "thread states available. At most, one of them may be :term:`attached " @@ -4095,7 +4107,7 @@ msgstr "" "Höchstens einer von ihnen darf zugleich :term:`angehängt ` sein." -#: ../../glossary.rst:1606 +#: ../../glossary.rst:1611 msgid "" "An :term:`attached thread state` is required to call most of Python's C API, " "unless a function explicitly documents otherwise. The bytecode interpreter " @@ -4107,7 +4119,7 @@ msgstr "" "etwas anderes angegeben ist. Der Bytecode-Interpreter läuft nur unter einem " "angeschlossenen Thread-Zustand." -#: ../../glossary.rst:1610 +#: ../../glossary.rst:1615 msgid "" "Each thread state belongs to a single interpreter, but each interpreter may " "have many thread states, including multiple for the same OS thread. Thread " @@ -4121,7 +4133,7 @@ msgstr "" "können an denselben Thread gebunden sein, aber zu jedem Zeitpunkt kann nur " "einer in diesem Thread :term:`angeschlossen ` sein." -#: ../../glossary.rst:1616 +#: ../../glossary.rst:1621 msgid "" "See :ref:`Thread State and the Global Interpreter Lock ` for more " "information." @@ -4129,11 +4141,11 @@ msgstr "" "Weitere Informationen findest du unter :ref:`Thread-Zustand und das Global " "Interpreter Lock `." -#: ../../glossary.rst:1618 +#: ../../glossary.rst:1623 msgid "thread-safe" msgstr "thread-sicher" -#: ../../glossary.rst:1620 +#: ../../glossary.rst:1625 msgid "" "A module, function, or class that behaves correctly when used by multiple " "threads concurrently. Thread-safe code uses " @@ -4159,11 +4171,11 @@ msgstr "" "Verwendung in Multithread-Programmen zu :term:`Race-Conditions ` und :term:`Datenkonflikten ` führen." -#: ../../glossary.rst:1631 +#: ../../glossary.rst:1636 msgid "token" msgstr "Token" -#: ../../glossary.rst:1634 +#: ../../glossary.rst:1639 msgid "" "A small unit of source code, generated by the :ref:`lexical analyzer " "` (also called the *tokenizer*). Names, numbers, strings, " @@ -4174,7 +4186,7 @@ msgstr "" "Zeichenketten, Operatoren, Zeilenumbrüche und Ähnliches werden durch Token " "dargestellt." -#: ../../glossary.rst:1639 +#: ../../glossary.rst:1644 msgid "" "The :mod:`tokenize` module exposes Python's lexical analyzer. " "The :mod:`token` module contains information on the various types of tokens." @@ -4183,11 +4195,11 @@ msgstr "" "bereit. Das Modul :mod:`token` enthält Informationen zu den verschiedenen " "Token-Typen." -#: ../../glossary.rst:1642 +#: ../../glossary.rst:1647 msgid "triple-quoted string" msgstr "Zeichenkette in dreifachen Anführungszeichen" -#: ../../glossary.rst:1644 +#: ../../glossary.rst:1649 msgid "" "A string which is bound by three instances of either a quotation mark (\") " "or an apostrophe ('). While they don't provide any functionality not " @@ -4206,11 +4218,11 @@ msgstr "" "erstrecken, ohne dass das Fortsetzungszeichen verwendet werden muss, was sie " "besonders nützlich beim Schreiben von Docstrings macht." -#: ../../glossary.rst:1651 +#: ../../glossary.rst:1656 msgid "type" msgstr "Typ" -#: ../../glossary.rst:1653 +#: ../../glossary.rst:1658 msgid "" "The type of a Python object determines what kind of object it is; every " "object has a type. An object's type is accessible as " @@ -4222,17 +4234,17 @@ msgstr "" "Attribut :attr:`~object.__class__` zugänglich oder kann mit ``type(obj)`` " "abgerufen werden." -#: ../../glossary.rst:1657 +#: ../../glossary.rst:1662 msgid "type alias" msgstr "Typalias" -#: ../../glossary.rst:1659 +#: ../../glossary.rst:1664 msgid "A synonym for a type, created by assigning the type to an identifier." msgstr "" "Ein Synonym für einen Typ, das durch die Zuweisung des Typs zu einem " "Bezeichner erstellt wird." -#: ../../glossary.rst:1661 +#: ../../glossary.rst:1666 msgid "" "Type aliases are useful for simplifying :term:`type hints `. For " "example::" @@ -4240,7 +4252,7 @@ msgstr "" "Typ-Aliase sind nützlich, um :term:`Typ-Hinweise ` zu " "vereinfachen. Zum Beispiel::" -#: ../../glossary.rst:1664 +#: ../../glossary.rst:1669 msgid "" "def remove_gray_shades(\n" " colors: list[tuple[int, int, int]]) -> list[tuple[int, int, int]]:\n" @@ -4250,11 +4262,11 @@ msgstr "" " colors: list[tuple[int, int, int]]) -> list[tuple[int, int, int]]:\n" " pass" -#: ../../glossary.rst:1668 +#: ../../glossary.rst:1673 msgid "could be made more readable like this::" msgstr "könnte so lesbarer gestaltet werden::" -#: ../../glossary.rst:1670 +#: ../../glossary.rst:1675 msgid "" "Color = tuple[int, int, int]\n" "\n" @@ -4266,16 +4278,16 @@ msgstr "" "def remove_gray_shades(colors: Liste[Farbe]) -> Liste[Farbe]:\n" " pass" -#: ../../glossary.rst:1675 ../../glossary.rst:1689 +#: ../../glossary.rst:1680 ../../glossary.rst:1694 msgid "See :mod:`typing` and :pep:`484`, which describe this functionality." msgstr "" "Siehe :mod:`typing` und :pep:`484`, wo diese Funktion beschrieben wird." -#: ../../glossary.rst:1676 +#: ../../glossary.rst:1681 msgid "type hint" msgstr "Typhinweis" -#: ../../glossary.rst:1678 +#: ../../glossary.rst:1683 msgid "" "An :term:`annotation` that specifies the expected type for a variable, a " "class attribute, or a function parameter or return value." @@ -4284,7 +4296,7 @@ msgstr "" "Variable, ein Klassenattribut oder einen Funktionsparameter bzw. " "Rückgabewert angibt." -#: ../../glossary.rst:1681 +#: ../../glossary.rst:1686 msgid "" "Type hints are optional and are not enforced by Python but they are useful " "to :term:`static type checkers `. They can also aid " @@ -4295,7 +4307,7 @@ msgstr "" "können sie IDEs bei der Code-Vervollständigung und beim Refactoring " "unterstützen." -#: ../../glossary.rst:1685 +#: ../../glossary.rst:1690 msgid "" "Type hints of global variables, class attributes, and functions, but not " "local variables, can be accessed using :func:`typing.get_type_hints`." @@ -4304,11 +4316,11 @@ msgstr "" "jedoch für lokale Variablen, können über :func:`typing.get_type_hints` " "abgerufen werden." -#: ../../glossary.rst:1690 +#: ../../glossary.rst:1695 msgid "universal newlines" msgstr "universelle Zeilenumbrüche" -#: ../../glossary.rst:1692 +#: ../../glossary.rst:1697 msgid "" "A manner of interpreting text streams in which all of the following are " "recognized as ending a line: the Unix end-of-line convention ``'\\n'``, the " @@ -4322,24 +4334,24 @@ msgstr "" "Konvention ``'\\r'``. Siehe :pep:`278` und :pep:`3116` " "sowie :func:`bytes.splitlines` für eine weitere Anwendungsmöglichkeit." -#: ../../glossary.rst:1697 +#: ../../glossary.rst:1702 msgid "variable annotation" msgstr "Variablenbeschriftung" -#: ../../glossary.rst:1699 +#: ../../glossary.rst:1704 msgid "An :term:`annotation` of a variable or a class attribute." msgstr "" "Eine :term:`Annotation ` einer Variablen oder eines " "Klassenattributs." -#: ../../glossary.rst:1701 +#: ../../glossary.rst:1706 msgid "" "When annotating a variable or a class attribute, assignment is optional::" msgstr "" "Bei der Annotation einer Variablen oder eines Klassenattributs ist die " "Zuweisung optional::" -#: ../../glossary.rst:1703 +#: ../../glossary.rst:1708 msgid "" "class C:\n" " field: 'annotation'" @@ -4347,7 +4359,7 @@ msgstr "" "class C:\n" " field: 'annotation'" -#: ../../glossary.rst:1706 +#: ../../glossary.rst:1711 msgid "" "Variable annotations are usually used for :term:`type hints `: " "for example this variable is expected to take :class:`int` values::" @@ -4356,17 +4368,17 @@ msgstr "" "verwendet – beispielsweise wird erwartet, dass diese Variable Werte vom " "Typ :class:`int` annimmt::" -#: ../../glossary.rst:1710 +#: ../../glossary.rst:1715 msgid "count: int = 0" msgstr "Zähler: int = 0" -#: ../../glossary.rst:1712 +#: ../../glossary.rst:1717 msgid "Variable annotation syntax is explained in section :ref:`annassign`." msgstr "" "Die Syntax für die Annotation von Variablen wird im " "Abschnitt :ref:`annassign` erläutert." -#: ../../glossary.rst:1714 +#: ../../glossary.rst:1719 msgid "" "See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe " "this functionality. Also see :ref:`annotations-howto` for best practices on " @@ -4377,11 +4389,11 @@ msgstr "" "auch :ref:`annotations-howto` für bewährte Vorgehensweisen beim Umgang mit " "Annotationen." -#: ../../glossary.rst:1718 +#: ../../glossary.rst:1723 msgid "virtual environment" msgstr "virtuelle Umgebung" -#: ../../glossary.rst:1720 +#: ../../glossary.rst:1725 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -4393,15 +4405,15 @@ msgstr "" "aktualisieren, ohne das Verhalten anderer Python-Anwendungen zu " "beeinträchtigen, die auf demselben System ausgeführt werden." -#: ../../glossary.rst:1725 +#: ../../glossary.rst:1730 msgid "See also :mod:`venv`." msgstr "Siehe auch :mod:`venv`." -#: ../../glossary.rst:1726 +#: ../../glossary.rst:1731 msgid "virtual machine" msgstr "virtuelle Maschine" -#: ../../glossary.rst:1728 +#: ../../glossary.rst:1733 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -4410,11 +4422,11 @@ msgstr "" "Python führt den vom Bytecode-Compiler erzeugten :term:`Bytecode ` " "aus." -#: ../../glossary.rst:1730 +#: ../../glossary.rst:1735 msgid "virtual subclass" msgstr "virtuelle Unterklasse" -#: ../../glossary.rst:1732 +#: ../../glossary.rst:1737 msgid "" "A class that :func:`issubclass` and :func:`isinstance` treat as a subclass " "of an :term:`abstract base class` even though it does not inherit from it. " @@ -4426,11 +4438,11 @@ msgstr "" "sie nicht von ihr erbt. Zur virtuellen Unterklasse wird eine Klasse, indem " "man sie mit der Methode :meth:`~abc.ABCMeta.register` der ABC registriert." -#: ../../glossary.rst:1736 +#: ../../glossary.rst:1741 msgid "walrus operator" msgstr "Walross-Betreiber" -#: ../../glossary.rst:1738 +#: ../../glossary.rst:1743 msgid "" "A light-hearted way to refer to the :ref:`assignment expression ` operator ``:=`` because it looks a bit like a walrus if you " @@ -4440,11 +4452,11 @@ msgstr "" "expressions>` Operator ``:=``, da er ein bisschen wie ein Walross aussieht, " "wenn man den Kopf etwas dreht." -#: ../../glossary.rst:1741 +#: ../../glossary.rst:1746 msgid "Zen of Python" msgstr "Zen von Python" -#: ../../glossary.rst:1743 +#: ../../glossary.rst:1748 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " @@ -4471,10 +4483,10 @@ msgstr "C-zusammenhängend" msgid "Fortran contiguous" msgstr "Fortran–zusammenhängend" -#: ../../glossary.rst:1009 +#: ../../glossary.rst:1014 msgid "magic" msgstr "Magie" -#: ../../glossary.rst:1495 +#: ../../glossary.rst:1500 msgid "special" msgstr "besonders" diff --git a/howto/abi3t-migration.po b/howto/abi3t-migration.po index 5f9a4dae..5c780913 100644 --- a/howto/abi3t-migration.po +++ b/howto/abi3t-migration.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-05 06:38+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-11-01 16:00+0100\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -567,10 +567,11 @@ msgstr "" "Informationen stehen in der :ref:`PyInit-Dokumentation `." #: ../../howto/abi3t-migration.rst:256 +#, fuzzy msgid "" "The function references a ``PyModuleDef`` object (```` in the code " "above). Its definition should be similar to the following, with different " -"values and perhaps some fields unnnamed or left out:" +"values and perhaps some fields unnamed or left out:" msgstr "" "Die Funktion verweist auf ein ``PyModuleDef``-Objekt (```` im obigen " "Code). Dessen Definition dürfte dem Folgenden ähneln, mit anderen Werten und " diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 590b4850..47f5d8d3 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-15 06:30+0200\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -712,13 +712,12 @@ msgstr "" "}" #: ../../howto/logging-cookbook.rst:333 +#, fuzzy msgid "" "This configuration does *almost* what we want, except that ``sys.stdout`` " -"would show messages of severity ``ERROR`` and only events of this severity " -"and higher will be tracked as well as ``INFO`` and ``WARNING`` messages. To " -"prevent this, we can set up a filter which excludes those messages and add " -"it to the relevant handler. This can be configured by adding a ``filters`` " -"section parallel to ``formatters`` and ``handlers``:" +"would also show messages of severity ``ERROR`` and above. To exclude those " +"messages, we can add a filter to the stdout handler. This can be configured " +"by adding a ``filters`` section parallel to ``formatters`` and ``handlers``:" msgstr "" "Diese Konfiguration tut *fast* das, was wir wollen, nur würde ``sys.stdout`` " "auch Meldungen mit Schweregrad ``ERROR`` anzeigen, und es würden neben den " @@ -728,7 +727,7 @@ msgstr "" "Handler hinzufügen. Das lässt sich konfigurieren, indem wir einen Abschnitt " "``filters`` parallel zu ``formatters`` und ``handlers`` ergänzen:" -#: ../../howto/logging-cookbook.rst:339 +#: ../../howto/logging-cookbook.rst:338 msgid "" "{\n" " \"filters\": {\n" @@ -748,12 +747,12 @@ msgstr "" " }\n" "}" -#: ../../howto/logging-cookbook.rst:350 +#: ../../howto/logging-cookbook.rst:349 msgid "and changing the section on the ``stdout`` handler to add it:" msgstr "" "und den Abschnitt zum Handler ``stdout`` so ändern, dass er ihn aufnimmt:" -#: ../../howto/logging-cookbook.rst:352 +#: ../../howto/logging-cookbook.rst:351 msgid "" "{\n" " \"stdout\": {\n" @@ -775,7 +774,7 @@ msgstr "" " }\n" "}" -#: ../../howto/logging-cookbook.rst:364 +#: ../../howto/logging-cookbook.rst:363 msgid "" "A filter is just a function, so we can define the ``filter_maker`` (a " "factory function) as follows:" @@ -783,7 +782,7 @@ msgstr "" "Ein Filter ist einfach eine Funktion, wir können ``filter_maker`` (eine " "Factory-Funktion) also so festlegen:" -#: ../../howto/logging-cookbook.rst:367 +#: ../../howto/logging-cookbook.rst:366 msgid "" "def filter_maker(level):\n" " level = getattr(logging, level)\n" @@ -801,7 +800,7 @@ msgstr "" "\n" " return filter" -#: ../../howto/logging-cookbook.rst:377 +#: ../../howto/logging-cookbook.rst:376 msgid "" "This converts the string argument passed in to a numeric level, and returns " "a function which only returns ``True`` if the level of the passed in record " @@ -820,13 +819,13 @@ msgstr "" "``__main__.filter_maker`` in der Filterkonfiguration. Das musst du ändern, " "wenn du es in einem anderen Modul festlegst." -#: ../../howto/logging-cookbook.rst:385 +#: ../../howto/logging-cookbook.rst:384 msgid "With the filter added, we can run ``main.py``, which in full is:" msgstr "" "Mit dem ergänzten Filter können wir ``main.py`` ausführen, das vollständig " "so aussieht:" -#: ../../howto/logging-cookbook.rst:387 +#: ../../howto/logging-cookbook.rst:386 msgid "" "import json\n" "import logging\n" @@ -960,19 +959,19 @@ msgstr "" "logging.error('An ERROR message')\n" "logging.critical('A CRITICAL message')" -#: ../../howto/logging-cookbook.rst:455 +#: ../../howto/logging-cookbook.rst:454 msgid "And after running it like this:" msgstr "Und nach einem Aufruf wie diesem:" -#: ../../howto/logging-cookbook.rst:457 +#: ../../howto/logging-cookbook.rst:456 msgid "python main.py 2>stderr.log >stdout.log" msgstr "python main.py 2>stderr.log >stdout.log" -#: ../../howto/logging-cookbook.rst:461 +#: ../../howto/logging-cookbook.rst:460 msgid "We can see the results are as expected:" msgstr "sehen wir, dass die Ergebnisse den Erwartungen entsprechen:" -#: ../../howto/logging-cookbook.rst:463 +#: ../../howto/logging-cookbook.rst:462 msgid "" "$ more *.log\n" "::::::::::::::\n" @@ -1014,17 +1013,17 @@ msgstr "" "INFO - An INFO message\n" "WARNING - A WARNING message" -#: ../../howto/logging-cookbook.rst:487 +#: ../../howto/logging-cookbook.rst:486 msgid "Configuration server example" msgstr "Beispiel für einen Konfigurationsserver" -#: ../../howto/logging-cookbook.rst:489 +#: ../../howto/logging-cookbook.rst:488 msgid "Here is an example of a module using the logging configuration server::" msgstr "" "Hier ein Beispiel für ein Modul, das den Konfigurationsserver der " "Protokollierung verwendet::" -#: ../../howto/logging-cookbook.rst:491 +#: ../../howto/logging-cookbook.rst:490 msgid "" "import logging\n" "import logging.config\n" @@ -1084,7 +1083,7 @@ msgstr "" " logging.config.stopListening()\n" " t.join()" -#: ../../howto/logging-cookbook.rst:520 +#: ../../howto/logging-cookbook.rst:519 msgid "" "And here is a script that takes a filename and sends that file to the " "server, properly preceded with the binary-encoded length, as the new logging " @@ -1094,7 +1093,7 @@ msgstr "" "die binär kodierte Länge vorangestellt – als neue " "Protokollierungskonfiguration an den Server sendet::" -#: ../../howto/logging-cookbook.rst:524 +#: ../../howto/logging-cookbook.rst:523 msgid "" "#!/usr/bin/env python\n" "import socket, sys, struct\n" @@ -1130,11 +1129,11 @@ msgstr "" "s.close()\n" "print('complete')" -#: ../../howto/logging-cookbook.rst:545 +#: ../../howto/logging-cookbook.rst:544 msgid "Dealing with handlers that block" msgstr "Mit Handlern umgehen, die blockieren" -#: ../../howto/logging-cookbook.rst:549 +#: ../../howto/logging-cookbook.rst:548 msgid "" "Sometimes you have to get your logging handlers to do their work without " "blocking the thread you're logging from. This is common in web applications, " @@ -1145,7 +1144,7 @@ msgstr "" "kommt in Webanwendungen häufig vor, tritt natürlich aber auch in anderen " "Fällen auf." -#: ../../howto/logging-cookbook.rst:553 +#: ../../howto/logging-cookbook.rst:552 msgid "" "A common culprit which demonstrates sluggish behaviour is " "the :class:`SMTPHandler`: sending emails can take a long time, for a number " @@ -1164,15 +1163,16 @@ msgstr "" "Abfrage kann tief im Code der Socket-Bibliothek liegen, unterhalb der Python-" "Schicht und außerhalb deiner Kontrolle)." -#: ../../howto/logging-cookbook.rst:561 +#: ../../howto/logging-cookbook.rst:560 +#, fuzzy msgid "" "One solution is to use a two-part approach. For the first part, attach only " "a :class:`QueueHandler` to those loggers which are accessed from performance-" "critical threads. They simply write to their queue, which can be sized to a " "large enough capacity or initialized with no upper bound to their size. The " -"write to the queue will typically be accepted quickly, though you will " -"probably need to catch the :exc:`queue.Full` exception as a precaution in " -"your code. If you are a library developer who has performance-critical " +"write to the queue will typically be accepted quickly. If a bounded queue is " +"full, :class:`QueueHandler` calls :meth:`~logging.Handler.handleError` with " +"the record. If you are a library developer who has performance-critical " "threads in their code, be sure to document this (together with a suggestion " "to attach only ``QueueHandlers`` to your loggers) for the benefit of other " "developers who will use your code." @@ -1189,7 +1189,7 @@ msgstr "" "``QueueHandlers`` zu hängen), damit andere Entwickler, die deinen Code " "verwenden, davon profitieren." -#: ../../howto/logging-cookbook.rst:572 +#: ../../howto/logging-cookbook.rst:571 msgid "" "The second part of the solution is :class:`QueueListener`, which has been " "designed as the counterpart to :class:`QueueHandler`. " @@ -1208,7 +1208,7 @@ msgstr "" "werden aus der Warteschlange genommen und zur Verarbeitung an die Handler " "übergeben." -#: ../../howto/logging-cookbook.rst:580 +#: ../../howto/logging-cookbook.rst:579 msgid "" "The advantage of having a separate :class:`QueueListener` class is that you " "can use the same instance to service multiple ``QueueHandlers``. This is " @@ -1222,13 +1222,13 @@ msgstr "" "Klassen, die ohne besonderen Nutzen einen Thread je Handler verbrauchen " "würden." -#: ../../howto/logging-cookbook.rst:585 +#: ../../howto/logging-cookbook.rst:584 msgid "An example of using these two classes follows (imports omitted)::" msgstr "" "Ein Beispiel für die Verwendung dieser beiden Klassen folgt (Importe " "weggelassen)::" -#: ../../howto/logging-cookbook.rst:587 +#: ../../howto/logging-cookbook.rst:586 msgid "" "que = queue.Queue(-1) # no limit on size\n" "queue_handler = QueueHandler(que)\n" @@ -1262,15 +1262,15 @@ msgstr "" "root.warning('Look out!')\n" "listener.stop()" -#: ../../howto/logging-cookbook.rst:603 +#: ../../howto/logging-cookbook.rst:602 msgid "which, when run, will produce:" msgstr "was beim Ausführen Folgendes ergibt:" -#: ../../howto/logging-cookbook.rst:605 +#: ../../howto/logging-cookbook.rst:604 msgid "MainThread: Look out!" msgstr "MainThread: Look out!" -#: ../../howto/logging-cookbook.rst:609 +#: ../../howto/logging-cookbook.rst:608 msgid "" "Although the earlier discussion wasn't specifically talking about async " "code, but rather about slow logging handlers, it should be noted that when " @@ -1289,7 +1289,7 @@ msgstr "" "die Protokollierung den oben beschriebenen Ansatz zu nehmen, damit " "blockierender Code nur im Thread des ``QueueListener`` läuft." -#: ../../howto/logging-cookbook.rst:617 +#: ../../howto/logging-cookbook.rst:616 msgid "" "Prior to Python 3.5, the :class:`QueueListener` always passed every message " "received from the queue to every handler it was initialized with. (This was " @@ -1310,7 +1310,7 @@ msgstr "" "Handlers und gibt eine Meldung nur dann an einen Handler weiter, wenn es " "angemessen ist." -#: ../../howto/logging-cookbook.rst:627 +#: ../../howto/logging-cookbook.rst:626 msgid "" "The :class:`QueueListener` can be started (and stopped) via " "the :keyword:`with` statement. For example:" @@ -1318,7 +1318,7 @@ msgstr "" ":class:`QueueListener` lässt sich über die :keyword:`with`-Anweisung starten " "(und stoppen). Zum Beispiel:" -#: ../../howto/logging-cookbook.rst:631 +#: ../../howto/logging-cookbook.rst:630 msgid "" "with QueueListener(que, handler) as listener:\n" " # The queue listener automatically starts\n" @@ -1334,11 +1334,11 @@ msgstr "" "# The queue listener automatically stops once\n" "# the 'with' block is exited." -#: ../../howto/logging-cookbook.rst:643 +#: ../../howto/logging-cookbook.rst:642 msgid "Sending and receiving logging events across a network" msgstr "Protokollierungsereignisse über ein Netz senden und empfangen" -#: ../../howto/logging-cookbook.rst:645 +#: ../../howto/logging-cookbook.rst:644 msgid "" "Let's say you want to send logging events across a network, and handle them " "at the receiving end. A simple way of doing this is attaching " @@ -1348,7 +1348,7 @@ msgstr "" "am Empfangsende verarbeiten. Ein einfacher Weg dazu ist, am Sendeende eine " "Instanz von :class:`SocketHandler` an den Wurzel-Logger zu hängen::" -#: ../../howto/logging-cookbook.rst:649 +#: ../../howto/logging-cookbook.rst:648 msgid "" "import logging, logging.handlers\n" "\n" @@ -1400,7 +1400,7 @@ msgstr "" "logger2.warning('Jail zesty vixen who grabbed pay from quack.')\n" "logger2.error('The five boxing wizards jump quickly.')" -#: ../../howto/logging-cookbook.rst:673 +#: ../../howto/logging-cookbook.rst:672 msgid "" "At the receiving end, you can set up a receiver using " "the :mod:`socketserver` module. Here is a basic working example::" @@ -1408,7 +1408,7 @@ msgstr "" "Am Empfangsende kannst du mit dem Modul :mod:`socketserver` einen Empfänger " "einrichten. Hier ein einfaches, funktionierendes Beispiel::" -#: ../../howto/logging-cookbook.rst:676 +#: ../../howto/logging-cookbook.rst:675 msgid "" "import pickle\n" "import logging\n" @@ -1586,7 +1586,7 @@ msgstr "" "if __name__ == '__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:761 +#: ../../howto/logging-cookbook.rst:760 msgid "" "First run the server, and then the client. On the client side, nothing is " "printed on the console; on the server side, you should see something like:" @@ -1595,7 +1595,7 @@ msgstr "" "auf der Konsole ausgegeben. Auf der Server-Seite solltest du etwa Folgendes " "sehen:" -#: ../../howto/logging-cookbook.rst:764 +#: ../../howto/logging-cookbook.rst:763 msgid "" "About to start TCP server...\n" " 59 root INFO Jackdaws love my big sphinx of quartz.\n" @@ -1611,7 +1611,7 @@ msgstr "" " 69 myapp.area2 WARNING Jail zesty vixen who grabbed pay from quack.\n" " 69 myapp.area2 ERROR The five boxing wizards jump quickly." -#: ../../howto/logging-cookbook.rst:773 +#: ../../howto/logging-cookbook.rst:772 msgid "" "Note that there are some security issues with pickle in some scenarios. If " "these affect you, you can use an alternative serialization scheme by " @@ -1624,13 +1624,13 @@ msgstr "" "verwenden. Überschreibe dazu die Methode :meth:`~SocketHandler.makePickle`, " "setze dein Verfahren dort um und passe das obige Skript entsprechend an." -#: ../../howto/logging-cookbook.rst:781 +#: ../../howto/logging-cookbook.rst:780 msgid "Running a logging socket listener in production" msgstr "" "Einen Socket-Listener für die Protokollierung im Produktivbetrieb laufen " "lassen" -#: ../../howto/logging-cookbook.rst:785 +#: ../../howto/logging-cookbook.rst:784 msgid "" "To run a logging listener in production, you may need to use a process-" "management tool such as `Supervisor `_. `Here is a " @@ -1643,27 +1643,27 @@ msgstr "" "gist_>`__ mit den nötigsten Dateien, um die obige Funktionalität mit " "Supervisor zu betreiben. Es besteht aus den folgenden Dateien:" -#: ../../howto/logging-cookbook.rst:792 +#: ../../howto/logging-cookbook.rst:791 msgid "File" msgstr "Datei" -#: ../../howto/logging-cookbook.rst:792 +#: ../../howto/logging-cookbook.rst:791 msgid "Purpose" msgstr "Zweck" -#: ../../howto/logging-cookbook.rst:794 +#: ../../howto/logging-cookbook.rst:793 msgid ":file:`prepare.sh`" msgstr ":file:`prepare.sh`" -#: ../../howto/logging-cookbook.rst:794 +#: ../../howto/logging-cookbook.rst:793 msgid "A Bash script to prepare the environment for testing" msgstr "Ein Bash-Skript, das die Umgebung für Tests vorbereitet" -#: ../../howto/logging-cookbook.rst:797 +#: ../../howto/logging-cookbook.rst:796 msgid ":file:`supervisor.conf`" msgstr ":file:`supervisor.conf`" -#: ../../howto/logging-cookbook.rst:797 +#: ../../howto/logging-cookbook.rst:796 msgid "" "The Supervisor configuration file, which has entries for the listener and a " "multi-process web application" @@ -1671,11 +1671,11 @@ msgstr "" "Die Konfigurationsdatei von Supervisor mit Einträgen für den Listener und " "eine Webanwendung mit mehreren Prozessen" -#: ../../howto/logging-cookbook.rst:801 +#: ../../howto/logging-cookbook.rst:800 msgid ":file:`ensure_app.sh`" msgstr ":file:`ensure_app.sh`" -#: ../../howto/logging-cookbook.rst:801 +#: ../../howto/logging-cookbook.rst:800 msgid "" "A Bash script to ensure that Supervisor is running with the above " "configuration" @@ -1683,11 +1683,11 @@ msgstr "" "Ein Bash-Skript, das sicherstellt, dass Supervisor mit der obigen " "Konfiguration läuft" -#: ../../howto/logging-cookbook.rst:804 +#: ../../howto/logging-cookbook.rst:803 msgid ":file:`log_listener.py`" msgstr ":file:`log_listener.py`" -#: ../../howto/logging-cookbook.rst:804 +#: ../../howto/logging-cookbook.rst:803 msgid "" "The socket listener program which receives log events and records them to a " "file" @@ -1695,11 +1695,11 @@ msgstr "" "Das Socket-Listener-Programm, das Protokollierungsereignisse empfängt und in " "eine Datei schreibt" -#: ../../howto/logging-cookbook.rst:807 +#: ../../howto/logging-cookbook.rst:806 msgid ":file:`main.py`" msgstr ":file:`main.py`" -#: ../../howto/logging-cookbook.rst:807 +#: ../../howto/logging-cookbook.rst:806 msgid "" "A simple web application which performs logging via a socket connected to " "the listener" @@ -1707,23 +1707,23 @@ msgstr "" "Eine einfache Webanwendung, die über ein mit dem Listener verbundenes Socket " "protokolliert" -#: ../../howto/logging-cookbook.rst:810 +#: ../../howto/logging-cookbook.rst:809 msgid ":file:`webapp.json`" msgstr ":file:`webapp.json`" -#: ../../howto/logging-cookbook.rst:810 +#: ../../howto/logging-cookbook.rst:809 msgid "A JSON configuration file for the web application" msgstr "Eine JSON-Konfigurationsdatei für die Webanwendung" -#: ../../howto/logging-cookbook.rst:812 +#: ../../howto/logging-cookbook.rst:811 msgid ":file:`client.py`" msgstr ":file:`client.py`" -#: ../../howto/logging-cookbook.rst:812 +#: ../../howto/logging-cookbook.rst:811 msgid "A Python script to exercise the web application" msgstr "Ein Python-Skript, das die Webanwendung auf Trab bringt" -#: ../../howto/logging-cookbook.rst:815 +#: ../../howto/logging-cookbook.rst:814 msgid "" "The web application uses `Gunicorn `_, which is a " "popular web application server that starts multiple worker processes to " @@ -1738,11 +1738,11 @@ msgstr "" "sich gegenseitig in die Quere zu kommen --- sie gehen alle über den Socket-" "Listener." -#: ../../howto/logging-cookbook.rst:820 +#: ../../howto/logging-cookbook.rst:819 msgid "To test these files, do the following in a POSIX environment:" msgstr "Um diese Dateien zu testen, gehe in einer POSIX-Umgebung so vor:" -#: ../../howto/logging-cookbook.rst:822 +#: ../../howto/logging-cookbook.rst:821 msgid "" "Download `the Gist `__ as a ZIP archive using " "the :guilabel:`Download ZIP` button." @@ -1750,11 +1750,11 @@ msgstr "" "Lade `das Gist `__ über die " "Schaltfläche :guilabel:`Download ZIP` als ZIP-Archiv herunter." -#: ../../howto/logging-cookbook.rst:825 +#: ../../howto/logging-cookbook.rst:824 msgid "Unzip the above files from the archive into a scratch directory." msgstr "Entpacke die obigen Dateien aus dem Archiv in ein Arbeitsverzeichnis." -#: ../../howto/logging-cookbook.rst:827 +#: ../../howto/logging-cookbook.rst:826 msgid "" "In the scratch directory, run ``bash prepare.sh`` to get things ready. This " "creates a :file:`run` subdirectory to contain Supervisor-related and log " @@ -1767,7 +1767,7 @@ msgstr "" "Umgebung, in die ``bottle``, ``gunicorn`` und ``supervisor`` installiert " "werden." -#: ../../howto/logging-cookbook.rst:832 +#: ../../howto/logging-cookbook.rst:831 msgid "" "Run ``bash ensure_app.sh`` to ensure that Supervisor is running with the " "above configuration." @@ -1775,7 +1775,7 @@ msgstr "" "Führe ``bash ensure_app.sh`` aus, um sicherzustellen, dass Supervisor mit " "der obigen Konfiguration läuft." -#: ../../howto/logging-cookbook.rst:835 +#: ../../howto/logging-cookbook.rst:834 msgid "" "Run ``venv/bin/python client.py`` to exercise the web application, which " "will lead to records being written to the log." @@ -1783,7 +1783,7 @@ msgstr "" "Führe ``venv/bin/python client.py`` aus, um die Webanwendung auf Trab zu " "bringen. Dadurch werden Datensätze ins Protokoll geschrieben." -#: ../../howto/logging-cookbook.rst:838 +#: ../../howto/logging-cookbook.rst:837 msgid "" "Inspect the log files in the :file:`run` subdirectory. You should see the " "most recent log lines in files matching the pattern :file:`app.log*`. They " @@ -1796,7 +1796,7 @@ msgstr "" "weil sie von verschiedenen Arbeiterprozessen nebenläufig und nicht " "deterministisch verarbeitet wurden." -#: ../../howto/logging-cookbook.rst:843 +#: ../../howto/logging-cookbook.rst:842 msgid "" "You can shut down the listener and the web application by running ``venv/bin/" "supervisorctl -c supervisor.conf shutdown``." @@ -1804,7 +1804,7 @@ msgstr "" "Den Listener und die Webanwendung fährst du mit ``venv/bin/supervisorctl -c " "supervisor.conf shutdown`` herunter." -#: ../../howto/logging-cookbook.rst:846 +#: ../../howto/logging-cookbook.rst:845 msgid "" "You may need to tweak the configuration files in the unlikely event that the " "configured ports clash with something else in your test environment." @@ -1813,7 +1813,7 @@ msgstr "" "anderem in deiner Testumgebung kollidieren, musst du die " "Konfigurationsdateien anpassen." -#: ../../howto/logging-cookbook.rst:849 +#: ../../howto/logging-cookbook.rst:848 msgid "" "The default configuration uses a TCP socket on port 9020. You can use a Unix " "Domain socket instead of a TCP socket by doing the following:" @@ -1821,7 +1821,7 @@ msgstr "" "Die Standardkonfiguration verwendet ein TCP-Socket auf Port 9020. Statt " "eines TCP-Sockets kannst du folgendermaßen ein Unix-Domain-Socket verwenden:" -#: ../../howto/logging-cookbook.rst:852 +#: ../../howto/logging-cookbook.rst:851 msgid "" "In :file:`listener.json`, add a ``socket`` key with the path to the domain " "socket you want to use. If this key is present, the listener listens on the " @@ -1833,7 +1833,7 @@ msgstr "" "Listener am entsprechenden Domain-Socket und nicht an einem TCP-Socket (der " "Schlüssel ``port`` wird ignoriert)." -#: ../../howto/logging-cookbook.rst:857 +#: ../../howto/logging-cookbook.rst:856 msgid "" "In :file:`webapp.json`, change the socket handler configuration dictionary " "so that the ``host`` value is the path to the domain socket, and set the " @@ -1843,11 +1843,11 @@ msgstr "" "Handlers so, dass der Wert von ``host`` der Pfad zum Domain-Socket ist, und " "setze den Wert von ``port`` auf ``null``." -#: ../../howto/logging-cookbook.rst:867 +#: ../../howto/logging-cookbook.rst:866 msgid "Adding contextual information to your logging output" msgstr "Kontextinformationen zu deiner Protokollausgabe hinzufügen" -#: ../../howto/logging-cookbook.rst:869 +#: ../../howto/logging-cookbook.rst:868 msgid "" "Sometimes you want logging output to contain contextual information in " "addition to the parameters passed to the logging call. For example, in a " @@ -1876,11 +1876,11 @@ msgstr "" "Protokollierung einer Anwendung abhängt. Wird die Anzahl der :class:`Logger`-" "Instanzen aber praktisch unbegrenzt, kann es schwer zu handhaben werden." -#: ../../howto/logging-cookbook.rst:884 +#: ../../howto/logging-cookbook.rst:883 msgid "Using LoggerAdapters to impart contextual information" msgstr "Mit LoggerAdapter Kontextinformationen mitgeben" -#: ../../howto/logging-cookbook.rst:886 +#: ../../howto/logging-cookbook.rst:885 msgid "" "An easy way in which you can pass contextual information to be output along " "with logging event information is to use the :class:`LoggerAdapter` class. " @@ -1899,7 +1899,7 @@ msgstr "" "Gegenstücke in :class:`Logger`, du kannst die beiden Arten von Instanzen " "also austauschbar verwenden." -#: ../../howto/logging-cookbook.rst:894 +#: ../../howto/logging-cookbook.rst:893 msgid "" "When you create an instance of :class:`LoggerAdapter`, you pass it " "a :class:`Logger` instance and a dict-like object which contains your " @@ -1918,7 +1918,7 @@ msgstr "" "Aufruf mitkommen. Hier ein Ausschnitt aus dem Code " "von :class:`LoggerAdapter`::" -#: ../../howto/logging-cookbook.rst:902 +#: ../../howto/logging-cookbook.rst:901 msgid "" "def debug(self, msg, /, *args, **kwargs):\n" " \"\"\"\n" @@ -1936,7 +1936,7 @@ msgstr "" " msg, kwargs = self.process(msg, kwargs)\n" " self.logger.debug(msg, *args, **kwargs)" -#: ../../howto/logging-cookbook.rst:910 +#: ../../howto/logging-cookbook.rst:909 msgid "" "The :meth:`~LoggerAdapter.process` method of :class:`LoggerAdapter` is where " "the contextual information is added to the logging output. It's passed the " @@ -1959,7 +1959,7 @@ msgstr "" "Adapters natürlich selbst ein Schlüsselwortargument „extra“ übergeben, wird " "es stillschweigend überschrieben." -#: ../../howto/logging-cookbook.rst:919 +#: ../../howto/logging-cookbook.rst:918 msgid "" "The advantage of using 'extra' is that the values in the dict-like object " "are merged into the :class:`LogRecord` instance's __dict__, allowing you to " @@ -1979,7 +1979,7 @@ msgstr "" "von :class:`LoggerAdapter` bilden und :meth:`~LoggerAdapter.process` so " "überschreiben, dass sie tut, was du brauchst. Hier ein einfaches Beispiel::" -#: ../../howto/logging-cookbook.rst:927 +#: ../../howto/logging-cookbook.rst:926 msgid "" "class CustomAdapter(logging.LoggerAdapter):\n" " \"\"\"\n" @@ -1997,11 +1997,11 @@ msgstr "" " def process(self, msg, kwargs):\n" " return '[%s] %s' % (self.extra['connid'], msg), kwargs" -#: ../../howto/logging-cookbook.rst:935 +#: ../../howto/logging-cookbook.rst:934 msgid "which you can use like this::" msgstr "das du so verwenden kannst::" -#: ../../howto/logging-cookbook.rst:937 +#: ../../howto/logging-cookbook.rst:936 msgid "" "logger = logging.getLogger(__name__)\n" "adapter = CustomAdapter(logger, {'connid': some_conn_id})" @@ -2009,7 +2009,7 @@ msgstr "" "logger = logging.getLogger(__name__)\n" "adapter = CustomAdapter(logger, {'connid': some_conn_id})" -#: ../../howto/logging-cookbook.rst:940 +#: ../../howto/logging-cookbook.rst:939 msgid "" "Then any events that you log to the adapter will have the value of " "``some_conn_id`` prepended to the log messages." @@ -2017,13 +2017,13 @@ msgstr "" "Alle Ereignisse, die du dann über den Adapter protokollierst, haben den Wert " "von ``some_conn_id`` vor der Protokollmeldung stehen." -#: ../../howto/logging-cookbook.rst:944 +#: ../../howto/logging-cookbook.rst:943 msgid "Using objects other than dicts to pass contextual information" msgstr "" "Andere Objekte als Dictionaries verwenden, um Kontextinformationen zu " "übergeben" -#: ../../howto/logging-cookbook.rst:946 +#: ../../howto/logging-cookbook.rst:945 msgid "" "You don't need to pass an actual dict to a :class:`LoggerAdapter` - you " "could pass an instance of a class which implements ``__getitem__`` and " @@ -2037,11 +2037,11 @@ msgstr "" "aussieht. Das ist nützlich, wenn du Werte dynamisch erzeugen willst (während " "die Werte in einem Dictionary feststehen würden)." -#: ../../howto/logging-cookbook.rst:955 +#: ../../howto/logging-cookbook.rst:954 msgid "Using Filters to impart contextual information" msgstr "Mit Filtern Kontextinformationen mitgeben" -#: ../../howto/logging-cookbook.rst:957 +#: ../../howto/logging-cookbook.rst:956 msgid "" "You can also add contextual information to log output using a user-" "defined :class:`Filter`. ``Filter`` instances are allowed to modify the " @@ -2056,7 +2056,7 @@ msgstr "" "Formatzeichenkette oder, falls nötig, über einen eigenen :class:`Formatter` " "ausgeben lassen." -#: ../../howto/logging-cookbook.rst:962 +#: ../../howto/logging-cookbook.rst:961 msgid "" "For example in a web application, the request being processed (or at least, " "the interesting parts of it) can be stored in a threadlocal " @@ -2077,7 +2077,7 @@ msgstr "" "Formatzeichenkette verwenden, um eine ähnliche Ausgabe wie oben zu erhalten. " "Hier ein Beispielskript::" -#: ../../howto/logging-cookbook.rst:971 +#: ../../howto/logging-cookbook.rst:970 msgid "" "import logging\n" "from random import choice\n" @@ -2159,11 +2159,11 @@ msgstr "" " a2.log(lvl, 'A message at %s level with %d %s', lvlname, 2, " "'parameters')" -#: ../../howto/logging-cookbook.rst:1008 +#: ../../howto/logging-cookbook.rst:1007 msgid "which, when run, produces something like:" msgstr "was beim Ausführen etwa Folgendes ergibt:" -#: ../../howto/logging-cookbook.rst:1010 +#: ../../howto/logging-cookbook.rst:1009 msgid "" "2010-09-06 22:38:15,292 a.b.c DEBUG IP: 123.231.231.123 User: fred A " "debug message\n" @@ -2215,11 +2215,11 @@ msgstr "" "2010-09-06 22:38:15,301 d.e.f INFO IP: 123.231.231.123 User: fred A " "message at INFO level with 2 parameters" -#: ../../howto/logging-cookbook.rst:1026 +#: ../../howto/logging-cookbook.rst:1025 msgid "Use of ``contextvars``" msgstr "Verwendung von ``contextvars``" -#: ../../howto/logging-cookbook.rst:1028 +#: ../../howto/logging-cookbook.rst:1027 msgid "" "Since Python 3.7, the :mod:`contextvars` module has provided context-local " "storage which works for both :mod:`threading` and :mod:`asyncio` processing " @@ -2236,7 +2236,7 @@ msgstr "" "füllen lassen, etwa mit Attributen von Anfragen, die Webanwendungen " "bearbeiten." -#: ../../howto/logging-cookbook.rst:1034 +#: ../../howto/logging-cookbook.rst:1033 msgid "" "For the purposes of illustration, say that you have different web " "applications, each independent of the other but running in the same Python " @@ -2255,12 +2255,12 @@ msgstr "" "zusätzliche Kontextinformationen wie Client-IP, HTTP-Anfragemethode und " "Client-Benutzername im Protokoll stehen?" -#: ../../howto/logging-cookbook.rst:1041 +#: ../../howto/logging-cookbook.rst:1040 msgid "Let's assume that the library can be simulated by the following code:" msgstr "" "Nehmen wir an, die Bibliothek lässt sich durch folgenden Code nachbilden:" -#: ../../howto/logging-cookbook.rst:1043 +#: ../../howto/logging-cookbook.rst:1042 msgid "" "# webapplib.py\n" "import logging\n" @@ -2286,7 +2286,7 @@ msgstr "" " # Just sleep for a bit so other threads get to run\n" " time.sleep(0.01)" -#: ../../howto/logging-cookbook.rst:1057 +#: ../../howto/logging-cookbook.rst:1056 msgid "" "We can simulate the multiple web applications by means of two simple " "classes, ``Request`` and ``WebApp``. These simulate how real threaded web " @@ -2297,7 +2297,7 @@ msgstr "" "Webanwendungen mit Threads arbeiten – jede Anfrage wird von einem Thread " "bearbeitet:" -#: ../../howto/logging-cookbook.rst:1061 +#: ../../howto/logging-cookbook.rst:1060 msgid "" "# main.py\n" "import argparse\n" @@ -2603,7 +2603,7 @@ msgstr "" "if __name__ == '__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:1201 +#: ../../howto/logging-cookbook.rst:1200 msgid "" "If you run the above, you should find that roughly half the requests go " "into :file:`app1.log` and the rest into :file:`app2.log`, and the all the " @@ -2622,7 +2622,7 @@ msgstr "" "also immer gemeinsam in einer Protokollzeile). Das zeigt die folgende Shell-" "Ausgabe:" -#: ../../howto/logging-cookbook.rst:1208 +#: ../../howto/logging-cookbook.rst:1207 msgid "" "~/logging-contextual-webapp$ python main.py\n" "app1 processed 51 requests\n" @@ -2728,11 +2728,11 @@ msgstr "" "~/logging-contextual-webapp$ grep app2 app.log | wc -l\n" "147" -#: ../../howto/logging-cookbook.rst:1248 +#: ../../howto/logging-cookbook.rst:1247 msgid "Imparting contextual information in handlers" msgstr "Kontextinformationen in Handlern mitgeben" -#: ../../howto/logging-cookbook.rst:1250 +#: ../../howto/logging-cookbook.rst:1249 msgid "" "Each :class:`~Handler` has its own chain of filters. If you want to add " "contextual information to a :class:`LogRecord` without leaking it to other " @@ -2745,7 +2745,7 @@ msgstr "" "einen neuen :class:`~LogRecord` zurückgibt statt ihn an seinem Platz zu " "verändern, wie das folgende Skript zeigt::" -#: ../../howto/logging-cookbook.rst:1255 +#: ../../howto/logging-cookbook.rst:1254 msgid "" "import copy\n" "import logging\n" @@ -2785,11 +2785,11 @@ msgstr "" "\n" " logger.info('A log message')" -#: ../../howto/logging-cookbook.rst:1277 +#: ../../howto/logging-cookbook.rst:1276 msgid "Logging to a single file from multiple processes" msgstr "Aus mehreren Prozessen in eine einzige Datei protokollieren" -#: ../../howto/logging-cookbook.rst:1279 +#: ../../howto/logging-cookbook.rst:1278 msgid "" "Although logging is thread-safe, and logging to a single file from multiple " "threads in a single process *is* supported, logging to a single file from " @@ -2819,7 +2819,7 @@ msgstr "" "funktionierenden Socket-Empfänger, den du als Ausgangspunkt für eigene " "Anwendungen anpassen kannst." -#: ../../howto/logging-cookbook.rst:1292 +#: ../../howto/logging-cookbook.rst:1291 msgid "" "You could also write your own handler which uses " "the :class:`~multiprocessing.Lock` class from the :mod:`multiprocessing` " @@ -2833,7 +2833,7 @@ msgstr "" "und seine Unterklassen aus der Standardbibliothek " "verwenden :mod:`multiprocessing` nicht." -#: ../../howto/logging-cookbook.rst:1299 +#: ../../howto/logging-cookbook.rst:1298 msgid "" "Alternatively, you can use a ``Queue`` and a :class:`QueueHandler` to send " "all logging events to one of the processes in your multi-process " @@ -2859,7 +2859,7 @@ msgstr "" "die übrigen Prozesse deiner Anwendung und lässt sich als Grundlage für Code " "nehmen, der deine eigenen Anforderungen erfüllt::" -#: ../../howto/logging-cookbook.rst:1310 +#: ../../howto/logging-cookbook.rst:1309 msgid "" "# You'll need these imports in your own code\n" "import logging\n" @@ -3095,7 +3095,7 @@ msgstr "" "if __name__ == '__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:1415 +#: ../../howto/logging-cookbook.rst:1414 msgid "" "A variant of the above script keeps the logging in the main process, in a " "separate thread::" @@ -3103,7 +3103,7 @@ msgstr "" "Eine Abwandlung des obigen Skripts behält die Protokollierung im " "Hauptprozess, in einem eigenen Thread::" -#: ../../howto/logging-cookbook.rst:1418 +#: ../../howto/logging-cookbook.rst:1417 msgid "" "import logging\n" "import logging.config\n" @@ -3293,7 +3293,7 @@ msgstr "" " q.put(None)\n" " lp.join()" -#: ../../howto/logging-cookbook.rst:1510 +#: ../../howto/logging-cookbook.rst:1509 msgid "" "This variant shows how you can e.g. apply configuration for particular " "loggers - e.g. the ``foo`` logger has a special handler which stores all " @@ -3309,11 +3309,11 @@ msgstr "" "(auch wenn die Protokollierungsereignisse in den Arbeiterprozessen " "entstehen), um die Meldungen an die passenden Ziele zu lenken." -#: ../../howto/logging-cookbook.rst:1517 +#: ../../howto/logging-cookbook.rst:1516 msgid "Using concurrent.futures.ProcessPoolExecutor" msgstr "concurrent.futures.ProcessPoolExecutor verwenden" -#: ../../howto/logging-cookbook.rst:1519 +#: ../../howto/logging-cookbook.rst:1518 msgid "" "If you want to use :class:`concurrent.futures.ProcessPoolExecutor` to start " "your worker processes, you need to create the queue slightly differently. " @@ -3323,15 +3323,15 @@ msgstr "" "mit :class:`concurrent.futures.ProcessPoolExecutor` starten, musst du die " "Warteschlange etwas anders anlegen. Statt" -#: ../../howto/logging-cookbook.rst:1523 +#: ../../howto/logging-cookbook.rst:1522 msgid "queue = multiprocessing.Queue(-1)" msgstr "queue = multiprocessing.Queue(-1)" -#: ../../howto/logging-cookbook.rst:1527 +#: ../../howto/logging-cookbook.rst:1526 msgid "you should use" msgstr "solltest du" -#: ../../howto/logging-cookbook.rst:1529 +#: ../../howto/logging-cookbook.rst:1528 msgid "" "queue = multiprocessing.Manager().Queue(-1) # also works with the examples " "above" @@ -3339,13 +3339,13 @@ msgstr "" "queue = multiprocessing.Manager().Queue(-1) # also works with the examples " "above" -#: ../../howto/logging-cookbook.rst:1533 +#: ../../howto/logging-cookbook.rst:1532 msgid "and you can then replace the worker creation from this::" msgstr "" "verwenden, und die Erzeugung der Arbeiter ersetzt du dann von dieser " "Fassung::" -#: ../../howto/logging-cookbook.rst:1535 +#: ../../howto/logging-cookbook.rst:1534 msgid "" "workers = []\n" "for i in range(10):\n" @@ -3365,13 +3365,13 @@ msgstr "" "for w in workers:\n" " w.join()" -#: ../../howto/logging-cookbook.rst:1544 +#: ../../howto/logging-cookbook.rst:1543 msgid "to this (remembering to first import :mod:`concurrent.futures`)::" msgstr "" "durch diese (und denkst daran, zuerst :mod:`concurrent.futures` zu " "importieren)::" -#: ../../howto/logging-cookbook.rst:1546 +#: ../../howto/logging-cookbook.rst:1545 msgid "" "with concurrent.futures.ProcessPoolExecutor(max_workers=10) as executor:\n" " for i in range(10):\n" @@ -3381,11 +3381,11 @@ msgstr "" " for i in range(10):\n" " executor.submit(worker_process, queue, worker_configurer)" -#: ../../howto/logging-cookbook.rst:1551 +#: ../../howto/logging-cookbook.rst:1550 msgid "Deploying web applications using Gunicorn and uWSGI" msgstr "Webanwendungen mit Gunicorn und uWSGI ausliefern" -#: ../../howto/logging-cookbook.rst:1553 +#: ../../howto/logging-cookbook.rst:1552 msgid "" "When deploying web applications using `Gunicorn `_ or " "`uWSGI `_ (or similar), " @@ -3406,11 +3406,11 @@ msgstr "" "zur Prozessverwaltung wie Supervisor einrichten – näheres unter `Einen " "Socket-Listener für die Protokollierung im Produktivbetrieb laufen lassen`_." -#: ../../howto/logging-cookbook.rst:1563 +#: ../../howto/logging-cookbook.rst:1562 msgid "Using file rotation" msgstr "Dateirotation verwenden" -#: ../../howto/logging-cookbook.rst:1565 +#: ../../howto/logging-cookbook.rst:1564 msgid "" "Sometimes you want to let a log file grow to a certain size, then open a new " "file and log to that. You may want to keep a certain number of these files, " @@ -3425,7 +3425,7 @@ msgstr "" "beschränkt bleiben. Für dieses Nutzungsmuster bietet das Paket logging " "einen :class:`RotatingFileHandler`::" -#: ../../howto/logging-cookbook.rst:1571 +#: ../../howto/logging-cookbook.rst:1570 msgid "" "import glob\n" "import logging\n" @@ -3479,7 +3479,7 @@ msgstr "" "for filename in logfiles:\n" " print(filename)" -#: ../../howto/logging-cookbook.rst:1597 +#: ../../howto/logging-cookbook.rst:1596 msgid "" "The result should be 6 separate files, each with part of the log history for " "the application:" @@ -3487,7 +3487,7 @@ msgstr "" "Das Ergebnis sollten 6 einzelne Dateien sein, jede mit einem Teil der " "Protokollgeschichte der Anwendung:" -#: ../../howto/logging-cookbook.rst:1600 +#: ../../howto/logging-cookbook.rst:1599 msgid "" "logging_rotatingfile_example.out\n" "logging_rotatingfile_example.out.1\n" @@ -3503,12 +3503,13 @@ msgstr "" "logging_rotatingfile_example.out.4\n" "logging_rotatingfile_example.out.5" -#: ../../howto/logging-cookbook.rst:1609 +#: ../../howto/logging-cookbook.rst:1608 +#, fuzzy msgid "" "The most current file is always :file:`logging_rotatingfile_example.out`, " "and each time it reaches the size limit it is renamed with the suffix " -"``.1``. Each of the existing backup files is renamed to increment the suffix " -"(``.1`` becomes ``.2``, etc.) and the ``.6`` file is erased." +"``.1``. Before this happens, the oldest backup (``.5``), if present, is " +"deleted and the remaining backups are renamed (``.4`` becomes ``.5``, etc.)." msgstr "" "Die jeweils aktuellste Datei ist " "immer :file:`logging_rotatingfile_example.out`, und jedes Mal, wenn sie die " @@ -3516,7 +3517,7 @@ msgstr "" "vorhandenen Sicherungsdateien wird mit um eins erhöhter Endung umbenannt " "(``.1`` wird zu ``.2`` und so weiter), und die Datei ``.6`` wird gelöscht." -#: ../../howto/logging-cookbook.rst:1614 +#: ../../howto/logging-cookbook.rst:1613 msgid "" "Obviously this example sets the log length much too small as an extreme " "example. You would want to set *maxBytes* to an appropriate value." @@ -3524,11 +3525,11 @@ msgstr "" "Dieses Beispiel setzt die Protokolllänge natürlich viel zu klein, um ein " "Extrem zu zeigen. Du würdest *maxBytes* auf einen angemessenen Wert setzen." -#: ../../howto/logging-cookbook.rst:1622 +#: ../../howto/logging-cookbook.rst:1621 msgid "Use of alternative formatting styles" msgstr "Andere Formatierungsstile verwenden" -#: ../../howto/logging-cookbook.rst:1624 +#: ../../howto/logging-cookbook.rst:1623 msgid "" "When logging was added to the Python standard library, the only way of " "formatting messages with variable content was to use the %-formatting " @@ -3542,7 +3543,7 @@ msgstr "" "erhalten: :class:`string.Template` (hinzugekommen in Python 2.4) " "und :meth:`str.format` (hinzugekommen in Python 2.6)." -#: ../../howto/logging-cookbook.rst:1630 +#: ../../howto/logging-cookbook.rst:1629 msgid "" "Logging (as of 3.2) provides improved support for these two additional " "formatting styles. The :class:`Formatter` class been enhanced to take an " @@ -3565,7 +3566,7 @@ msgstr "" "oder :class:`string.Template` arbeiten. Hier eine Beispielsitzung in der " "Konsole, die die Möglichkeiten zeigt:" -#: ../../howto/logging-cookbook.rst:1640 +#: ../../howto/logging-cookbook.rst:1639 msgid "" ">>> import logging\n" ">>> root = logging.getLogger()\n" @@ -3611,7 +3612,7 @@ msgstr "" "2010-10-28 15:13:11,494 foo.bar CRITICAL This is a CRITICAL message\n" ">>>" -#: ../../howto/logging-cookbook.rst:1664 +#: ../../howto/logging-cookbook.rst:1663 msgid "" "Note that the formatting of logging messages for final output to logs is " "completely independent of how an individual logging message is constructed. " @@ -3622,7 +3623,7 @@ msgstr "" "Protokollmeldung aufgebaut wird. Die kann weiterhin %-Formatierung " "verwenden, wie hier gezeigt::" -#: ../../howto/logging-cookbook.rst:1668 +#: ../../howto/logging-cookbook.rst:1667 msgid "" ">>> logger.error('This is an%s %s %s', 'other,', 'ERROR,', 'message')\n" "2010-10-28 15:19:29,833 foo.bar ERROR This is another, ERROR, message\n" @@ -3632,7 +3633,7 @@ msgstr "" "2010-10-28 15:19:29,833 foo.bar ERROR This is another, ERROR, message\n" ">>>" -#: ../../howto/logging-cookbook.rst:1672 +#: ../../howto/logging-cookbook.rst:1671 msgid "" "Logging calls (``logger.debug()``, ``logger.info()`` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -3661,7 +3662,7 @@ msgstr "" "ohne die Verträglichkeit mit früheren Versionen aufzugeben, denn alle " "Protokollierungsaufrufe im vorhandenen Code verwenden %-Formatzeichenketten." -#: ../../howto/logging-cookbook.rst:1685 +#: ../../howto/logging-cookbook.rst:1684 msgid "" "There is, however, a way that you can use {}- and $- formatting to construct " "your individual log messages. Recall that for a message you can use an " @@ -3676,7 +3677,7 @@ msgstr "" "eigentliche Formatzeichenkette zu erhalten. Betrachte die folgenden zwei " "Klassen::" -#: ../../howto/logging-cookbook.rst:1691 ../../howto/logging-cookbook.rst:2779 +#: ../../howto/logging-cookbook.rst:1690 ../../howto/logging-cookbook.rst:2760 msgid "" "class BraceMessage:\n" " def __init__(self, fmt, /, *args, **kwargs):\n" @@ -3714,7 +3715,7 @@ msgstr "" " from string import Template\n" " return Template(self.fmt).substitute(**self.kwargs)" -#: ../../howto/logging-cookbook.rst:1709 +#: ../../howto/logging-cookbook.rst:1708 msgid "" "Either of these can be used in place of a format string, to allow {}- or $-" "formatting to be used to build the actual \"message\" part which appears in " @@ -3733,7 +3734,7 @@ msgstr "" "nicht zu verwechseln mit _, dem einfachen Unterstrich, der als Synonym bzw. " "Alias für :func:`gettext.gettext` und Verwandte dient)." -#: ../../howto/logging-cookbook.rst:1717 +#: ../../howto/logging-cookbook.rst:1716 msgid "" "The above classes are not included in Python, though they're easy enough to " "copy and paste into your own code. They can be used as follows (assuming " @@ -3743,7 +3744,7 @@ msgstr "" "deinen eigenen Code kopieren. Sie lassen sich so verwenden (unter der " "Annahme, dass sie in einem Modul namens ``wherever`` deklariert sind):" -#: ../../howto/logging-cookbook.rst:1721 +#: ../../howto/logging-cookbook.rst:1720 msgid "" ">>> from wherever import BraceMessage as __\n" ">>> print(__('Message with {0} {name}', 2, name='placeholders'))\n" @@ -3777,7 +3778,7 @@ msgstr "" "Message with 2 placeholders\n" ">>>" -#: ../../howto/logging-cookbook.rst:1739 +#: ../../howto/logging-cookbook.rst:1738 msgid "" "While the above examples use ``print()`` to show how the formatting works, " "you would of course use ``logger.debug()`` or similar to actually log using " @@ -3787,7 +3788,7 @@ msgstr "" "Formatierung zu zeigen. Zum eigentlichen Protokollieren mit diesem Ansatz " "würdest du natürlich ``logger.debug()`` oder Ähnliches verwenden." -#: ../../howto/logging-cookbook.rst:1743 +#: ../../howto/logging-cookbook.rst:1742 msgid "" "One thing to note is that you pay no significant performance penalty with " "this approach: the actual formatting happens not when you make the logging " @@ -3807,7 +3808,7 @@ msgstr "" "dass die __-Schreibweise nur Zuckerguss für einen Konstruktoraufruf einer " "der Klassen :samp:`{XXX}Message` ist." -#: ../../howto/logging-cookbook.rst:1751 +#: ../../howto/logging-cookbook.rst:1750 msgid "" "If you prefer, you can use a :class:`LoggerAdapter` to achieve a similar " "effect to the above, as in the following example::" @@ -3815,7 +3816,7 @@ msgstr "" "Wenn du magst, kannst du mit einem :class:`LoggerAdapter` eine ähnliche " "Wirkung wie oben erreichen, wie im folgenden Beispiel::" -#: ../../howto/logging-cookbook.rst:1754 +#: ../../howto/logging-cookbook.rst:1753 msgid "" "import logging\n" "\n" @@ -3869,7 +3870,7 @@ msgstr "" " logging.basicConfig(level=logging.DEBUG)\n" " main()" -#: ../../howto/logging-cookbook.rst:1780 +#: ../../howto/logging-cookbook.rst:1779 msgid "" "The above script should log the message ``Hello, world!`` when run with " "Python 3.8 or later." @@ -3877,11 +3878,11 @@ msgstr "" "Das obige Skript sollte die Meldung ``Hello, world!`` protokollieren, wenn " "es mit Python 3.8 oder neuer ausgeführt wird." -#: ../../howto/logging-cookbook.rst:1789 +#: ../../howto/logging-cookbook.rst:1788 msgid "Customizing ``LogRecord``" msgstr "``LogRecord`` anpassen" -#: ../../howto/logging-cookbook.rst:1791 +#: ../../howto/logging-cookbook.rst:1790 msgid "" "Every logging event is represented by a :class:`LogRecord` instance. When an " "event is logged and not filtered out by a logger's level, " @@ -3899,7 +3900,7 @@ msgstr "" "Logger, bei dem die weitere Weitergabe in der Hierarchie abgeschaltet ist). " "Vor Python 3.2 gab es nur zwei Stellen, an denen diese Erzeugung geschah:" -#: ../../howto/logging-cookbook.rst:1798 +#: ../../howto/logging-cookbook.rst:1797 msgid "" ":meth:`Logger.makeRecord`, which is called in the normal process of logging " "an event. This invoked :class:`LogRecord` directly to create an instance." @@ -3908,12 +3909,13 @@ msgstr "" "Ereignisses aufgerufen wird. Sie rief :class:`LogRecord` unmittelbar auf, um " "eine Instanz zu erzeugen." -#: ../../howto/logging-cookbook.rst:1801 +#: ../../howto/logging-cookbook.rst:1800 +#, fuzzy msgid "" ":func:`makeLogRecord`, which is called with a dictionary containing " "attributes to be added to the LogRecord. This is typically invoked when a " "suitable dictionary has been received over the network (e.g. in pickle form " -"via a :class:`~handlers.SocketHandler`, or in JSON form via " +"via a :class:`~handlers.SocketHandler`, or as URL-encoded data via " "an :class:`~handlers.HTTPHandler`)." msgstr "" ":func:`makeLogRecord`, die mit einem Dictionary aufgerufen wird, das " @@ -3923,7 +3925,7 @@ msgstr "" "einen :class:`~handlers.SocketHandler` oder in JSON-Form über " "einen :class:`~handlers.HTTPHandler`)." -#: ../../howto/logging-cookbook.rst:1807 +#: ../../howto/logging-cookbook.rst:1806 msgid "" "This has usually meant that if you need to do anything special with " "a :class:`LogRecord`, you've had to do one of the following." @@ -3931,7 +3933,7 @@ msgstr "" "Das bedeutete meist, dass du eines der Folgenden tun musstest, wenn du mit " "einem :class:`LogRecord` etwas Besonderes vorhattest." -#: ../../howto/logging-cookbook.rst:1810 +#: ../../howto/logging-cookbook.rst:1809 msgid "" "Create your own :class:`Logger` subclass, which " "overrides :meth:`Logger.makeRecord`, and set it " @@ -3943,7 +3945,7 @@ msgstr "" "mit :func:`~logging.setLoggerClass` setzen, bevor irgendeiner der Logger, um " "die es dir geht, angelegt wird." -#: ../../howto/logging-cookbook.rst:1813 +#: ../../howto/logging-cookbook.rst:1812 msgid "" "Add a :class:`Filter` to a logger or handler, which does the necessary " "special manipulation you need when its :meth:`~Filter.filter` method is " @@ -3953,7 +3955,7 @@ msgstr "" "seiner Methode :meth:`~Filter.filter` die nötige besondere Bearbeitung " "vornimmt." -#: ../../howto/logging-cookbook.rst:1817 +#: ../../howto/logging-cookbook.rst:1816 msgid "" "The first approach would be a little unwieldy in the scenario where (say) " "several different libraries wanted to do different things. Each would " @@ -3965,7 +3967,7 @@ msgstr "" "ihre eigene Unterklasse von :class:`Logger` zu setzen, und die, die das " "zuletzt täte, würde gewinnen." -#: ../../howto/logging-cookbook.rst:1822 +#: ../../howto/logging-cookbook.rst:1821 msgid "" "The second approach works reasonably well for many cases, but does not allow " "you to e.g. use a specialized subclass of :class:`LogRecord`. Library " @@ -3980,28 +3982,15 @@ msgstr "" "einen neuen Logger einführen (was sie schon dadurch tun, dass sie neue " "Pakete oder Module hinzufügen und ::" -#: ../../howto/logging-cookbook.rst:1828 +#: ../../howto/logging-cookbook.rst:1827 msgid "logger = logging.getLogger(__name__)" msgstr "logger = logging.getLogger(__name__)" -#: ../../howto/logging-cookbook.rst:1830 -msgid "" -"at module level). It's probably one too many things to think about. " -"Developers could also add the filter to a :class:`~logging.NullHandler` " -"attached to their top-level logger, but this would not be invoked if an " -"application developer attached a handler to a lower-level library logger --- " -"so output from that handler would not reflect the intentions of the library " -"developer." +#: ../../howto/logging-cookbook.rst:1829 +msgid "at module level). It's probably one too many things to think about." msgstr "" -"auf Modulebene schreiben). Das ist vermutlich eine Sache zu viel, an die man " -"denken muss. Entwickler könnten den Filter auch " -"einem :class:`~logging.NullHandler` hinzufügen, der an ihrem obersten Logger " -"hängt, aber der würde nicht aufgerufen, wenn ein Anwendungsentwickler einen " -"Handler an einen tieferliegenden Bibliotheks-Logger hängt --- die Ausgabe " -"dieses Handlers würde dann also nicht die Absichten des " -"Bibliotheksentwicklers widerspiegeln." -#: ../../howto/logging-cookbook.rst:1836 +#: ../../howto/logging-cookbook.rst:1831 msgid "" "In Python 3.2 and later, :class:`~logging.LogRecord` creation is done " "through a factory, which you can specify. The factory is just a callable you " @@ -4019,7 +4008,7 @@ msgstr "" "aufgerufen, denn :class:`LogRecord` ist die Standardeinstellung für die " "Factory." -#: ../../howto/logging-cookbook.rst:1843 +#: ../../howto/logging-cookbook.rst:1838 msgid "" "This approach allows a custom factory to control all aspects of LogRecord " "creation. For example, you could return a subclass, or just add some " @@ -4031,7 +4020,7 @@ msgstr "" "zurückgeben oder dem erzeugten Datensatz einfach einige zusätzliche " "Attribute hinzufügen, nach einem Muster wie diesem::" -#: ../../howto/logging-cookbook.rst:1847 +#: ../../howto/logging-cookbook.rst:1842 msgid "" "old_factory = logging.getLogRecordFactory()\n" "\n" @@ -4051,7 +4040,7 @@ msgstr "" "\n" "logging.setLogRecordFactory(record_factory)" -#: ../../howto/logging-cookbook.rst:1856 +#: ../../howto/logging-cookbook.rst:1851 msgid "" "This pattern allows different libraries to chain factories together, and as " "long as they don't overwrite each other's attributes or unintentionally " @@ -4068,16 +4057,16 @@ msgstr "" "Die Technik sollte nur dann eingesetzt werden, wenn ein :class:`Filter` " "nicht das gewünschte Ergebnis liefert." -#: ../../howto/logging-cookbook.rst:1868 +#: ../../howto/logging-cookbook.rst:1863 msgid "Subclassing QueueHandler and QueueListener- a ZeroMQ example" msgstr "" "Unterklassen von QueueHandler und QueueListener bilden – ein ZeroMQ-Beispiel" -#: ../../howto/logging-cookbook.rst:1871 ../../howto/logging-cookbook.rst:2004 +#: ../../howto/logging-cookbook.rst:1866 ../../howto/logging-cookbook.rst:1999 msgid "Subclass ``QueueHandler``" msgstr "Unterklasse von ``QueueHandler``" -#: ../../howto/logging-cookbook.rst:1873 +#: ../../howto/logging-cookbook.rst:1868 msgid "" "You can use a :class:`QueueHandler` subclass to send messages to other kinds " "of queues, for example a ZeroMQ 'publish' socket. In the example below,the " @@ -4088,7 +4077,7 @@ msgstr "" "ZeroMQ. Im Beispiel unten wird das Socket getrennt erzeugt und dem Handler " "(als seine „queue“) übergeben::" -#: ../../howto/logging-cookbook.rst:1877 +#: ../../howto/logging-cookbook.rst:1872 msgid "" "import zmq # using pyzmq, the Python binding for ZeroMQ\n" "import json # for serializing records portably\n" @@ -4118,7 +4107,7 @@ msgstr "" "\n" "handler = ZeroMQSocketHandler(sock)" -#: ../../howto/logging-cookbook.rst:1892 +#: ../../howto/logging-cookbook.rst:1887 msgid "" "Of course there are other ways of organizing this, for example passing in " "the data needed by the handler to create the socket::" @@ -4126,7 +4115,7 @@ msgstr "" "Natürlich gibt es andere Wege, das zu gestalten, etwa indem die Daten " "übergeben werden, die der Handler zum Erzeugen des Sockets braucht::" -#: ../../howto/logging-cookbook.rst:1895 +#: ../../howto/logging-cookbook.rst:1890 msgid "" "class ZeroMQSocketHandler(QueueHandler):\n" " def __init__(self, uri, socktype=zmq.PUB, ctx=None):\n" @@ -4154,11 +4143,11 @@ msgstr "" " def close(self):\n" " self.queue.close()" -#: ../../howto/logging-cookbook.rst:1910 ../../howto/logging-cookbook.rst:1940 +#: ../../howto/logging-cookbook.rst:1905 ../../howto/logging-cookbook.rst:1935 msgid "Subclass ``QueueListener``" msgstr "Unterklasse von ``QueueListener``" -#: ../../howto/logging-cookbook.rst:1912 +#: ../../howto/logging-cookbook.rst:1907 msgid "" "You can also subclass :class:`QueueListener` to get messages from other " "kinds of queues, for example a ZeroMQ 'subscribe' socket. Here's an example::" @@ -4167,19 +4156,20 @@ msgstr "" "Meldungen aus anderen Arten von Warteschlangen zu holen, etwa aus einem " "„subscribe“-Socket von ZeroMQ. Hier ein Beispiel::" -#: ../../howto/logging-cookbook.rst:1915 +#: ../../howto/logging-cookbook.rst:1910 +#, fuzzy msgid "" "class ZeroMQSocketListener(QueueListener):\n" -" def __init__(self, uri, /, *handlers, **kwargs):\n" -" self.ctx = kwargs.get('ctx') or zmq.Context()\n" +" def __init__(self, uri, /, *handlers, ctx=None, **kwargs):\n" +" self.ctx = ctx or zmq.Context()\n" " socket = zmq.Socket(self.ctx, zmq.SUB)\n" " socket.setsockopt_string(zmq.SUBSCRIBE, '') # subscribe to " "everything\n" " socket.connect(uri)\n" " super().__init__(socket, *handlers, **kwargs)\n" "\n" -" def dequeue(self):\n" -" msg = self.queue.recv_json()\n" +" def dequeue(self, block):\n" +" msg = self.queue.recv_json(flags=0 if block else zmq.NOBLOCK)\n" " return logging.makeLogRecord(msg)" msgstr "" "class ZeroMQSocketListener(QueueListener):\n" @@ -4195,13 +4185,13 @@ msgstr "" " msg = self.queue.recv_json()\n" " return logging.makeLogRecord(msg)" -#: ../../howto/logging-cookbook.rst:1930 +#: ../../howto/logging-cookbook.rst:1925 msgid "Subclassing QueueHandler and QueueListener- a ``pynng`` example" msgstr "" "Unterklassen von QueueHandler und QueueListener bilden – ein ``pynng``-" "Beispiel" -#: ../../howto/logging-cookbook.rst:1932 +#: ../../howto/logging-cookbook.rst:1927 msgid "" "In a similar way to the above section, we can implement a listener and " "handler using :pypi:`pynng`, which is a Python binding to `NNG `_ der Django-Dokumentation." -#: ../../howto/logging-cookbook.rst:2178 +#: ../../howto/logging-cookbook.rst:2173 msgid "Using a rotator and namer to customize log rotation processing" msgstr "Mit einem Rotator und einem Namer die Protokollrotation anpassen" -#: ../../howto/logging-cookbook.rst:2180 +#: ../../howto/logging-cookbook.rst:2175 msgid "" "An example of how you can define a namer and rotator is given in the " "following runnable script, which shows gzip compression of the log file::" @@ -4689,7 +4679,7 @@ msgstr "" "gibt das folgende lauffähige Skript, das die Protokolldatei mit gzip " "komprimiert::" -#: ../../howto/logging-cookbook.rst:2183 +#: ../../howto/logging-cookbook.rst:2178 msgid "" "import gzip\n" "import logging\n" @@ -4749,14 +4739,14 @@ msgstr "" "for i in range(1000):\n" " root.info(f'Message no. {i + 1}')" -#: ../../howto/logging-cookbook.rst:2211 +#: ../../howto/logging-cookbook.rst:2206 msgid "" "After running this, you will see six new files, five of which are compressed:" msgstr "" "Nach dem Ausführen siehst du sechs neue Dateien, von denen fünf komprimiert " "sind:" -#: ../../howto/logging-cookbook.rst:2213 +#: ../../howto/logging-cookbook.rst:2208 msgid "" "$ ls rotated.log*\n" "rotated.log rotated.log.2.gz rotated.log.4.gz\n" @@ -4774,11 +4764,11 @@ msgstr "" "2023-01-20 02:28:17,767 Message no. 997\n" "2023-01-20 02:28:17,767 Message no. 998" -#: ../../howto/logging-cookbook.rst:2224 +#: ../../howto/logging-cookbook.rst:2219 msgid "A more elaborate multiprocessing example" msgstr "Ein ausgefeilteres Beispiel mit multiprocessing" -#: ../../howto/logging-cookbook.rst:2226 +#: ../../howto/logging-cookbook.rst:2221 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -4790,7 +4780,7 @@ msgstr "" "Konfigurationen sind recht einfach, verdeutlichen aber, wie sich komplexere " "in einem echten Szenario mit mehreren Prozessen umsetzen ließen." -#: ../../howto/logging-cookbook.rst:2231 +#: ../../howto/logging-cookbook.rst:2226 msgid "" "In the example, the main process spawns a listener process and some worker " "processes. Each of the main process, the listener and the workers have three " @@ -4813,7 +4803,7 @@ msgstr "" "Konfigurationen rein zur Veranschaulichung dienen, du solltest dieses " "Beispiel aber auf dein eigenes Szenario anpassen können." -#: ../../howto/logging-cookbook.rst:2241 +#: ../../howto/logging-cookbook.rst:2236 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" @@ -4821,13 +4811,14 @@ msgstr "" "Hier das Skript – die Docstrings und die Kommentare erklären hoffentlich, " "wie es arbeitet::" -#: ../../howto/logging-cookbook.rst:2244 +#: ../../howto/logging-cookbook.rst:2239 +#, fuzzy msgid "" "import logging\n" "import logging.config\n" "import logging.handlers\n" "from multiprocessing import Process, Queue, Event, current_process\n" -"import os\n" +"from multiprocessing import get_start_method\n" "import random\n" "import time\n" "\n" @@ -4866,13 +4857,8 @@ msgid "" " logging.config.dictConfig(config)\n" " listener = logging.handlers.QueueListener(q, MyHandler())\n" " listener.start()\n" -" if os.name == 'posix':\n" -" # On POSIX, the setup logger will have been configured in the\n" -" # parent process, but should have been disabled following the\n" -" # dictConfig call.\n" -" # On Windows, since fork isn't used, the setup logger won't\n" -" # exist in the child, so it would be created and the message\n" -" # would appear - hence the \"if posix\" clause.\n" +" if get_start_method() == 'fork':\n" +" # dictConfig disables the setup logger inherited from the parent.\n" " logger = logging.getLogger('setup')\n" " logger.critical('Should not appear, because of disabled " "logger ...')\n" @@ -4898,13 +4884,8 @@ msgid "" " logging.CRITICAL]\n" " loggers = ['foo', 'foo.bar', 'foo.bar.baz',\n" " 'spam', 'spam.ham', 'spam.ham.eggs']\n" -" if os.name == 'posix':\n" -" # On POSIX, the setup logger will have been configured in the\n" -" # parent process, but should have been disabled following the\n" -" # dictConfig call.\n" -" # On Windows, since fork isn't used, the setup logger won't\n" -" # exist in the child, so it would be created and the message\n" -" # would appear - hence the \"if posix\" clause.\n" +" if get_start_method() == 'fork':\n" +" # dictConfig disables the setup logger inherited from the parent.\n" " logger = logging.getLogger('setup')\n" " logger.critical('Should not appear, because of disabled " "logger ...')\n" @@ -4934,10 +4915,7 @@ msgid "" " # The worker process configuration is just a QueueHandler attached to " "the\n" " # root logger, which allows all messages to be sent to the queue.\n" -" # We disable existing loggers to disable the \"setup\" logger used in " -"the\n" -" # parent process. This is needed on POSIX because the logger will\n" -" # be there in the child following a fork().\n" +" # Disable the parent's \"setup\" logger if it was inherited via fork.\n" " config_worker = {\n" " 'version': 1,\n" " 'disable_existing_loggers': True,\n" @@ -4956,10 +4934,7 @@ msgid "" " # logging configuration is available to dispatch events to handlers " "however\n" " # you want.\n" -" # We disable existing loggers to disable the \"setup\" logger used in " -"the\n" -" # parent process. This is needed on POSIX because the logger will\n" -" # be there in the child following a fork().\n" +" # Disable the parent's \"setup\" logger if it was inherited via fork.\n" " config_listener = {\n" " 'version': 1,\n" " 'disable_existing_loggers': True,\n" @@ -5263,11 +5238,11 @@ msgstr "" "if __name__ == '__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:2453 +#: ../../howto/logging-cookbook.rst:2434 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "Ein BOM in Meldungen einfügen, die an einen SysLogHandler gehen" -#: ../../howto/logging-cookbook.rst:2455 +#: ../../howto/logging-cookbook.rst:2436 msgid "" ":rfc:`5424` requires that a Unicode message be sent to a syslog daemon as a " "set of bytes which have the following structure: an optional pure-ASCII " @@ -5281,7 +5256,7 @@ msgstr "" "Unicode, kodiert in UTF-8. (Siehe den :rfc:`entsprechenden Abschnitt der " "Spezifikation <5424#section-6>`.)" -#: ../../howto/logging-cookbook.rst:2461 +#: ../../howto/logging-cookbook.rst:2442 msgid "" "In Python 3.1, code was added to :class:`~logging.handlers.SysLogHandler` to " "insert a BOM into the message, but unfortunately, it was implemented " @@ -5293,7 +5268,7 @@ msgstr "" "umgesetzt war: Das BOM erschien am Anfang der Meldung, sodass davor kein " "reiner ASCII-Teil stehen konnte." -#: ../../howto/logging-cookbook.rst:2467 +#: ../../howto/logging-cookbook.rst:2448 msgid "" "As this behaviour is broken, the incorrect BOM insertion code is being " "removed from Python 3.2.4 and later. However, it is not being replaced, and " @@ -5307,7 +5282,7 @@ msgstr "" "optionale reine ASCII-Folge und danach beliebiges, in UTF-8 kodiertes " "Unicode enthalten, dann musst du Folgendes tun:" -#: ../../howto/logging-cookbook.rst:2473 +#: ../../howto/logging-cookbook.rst:2454 msgid "" "Attach a :class:`~logging.Formatter` instance to " "your :class:`~logging.handlers.SysLogHandler` instance, with a format string " @@ -5317,11 +5292,11 @@ msgstr "" "deine :class:`~logging.handlers.SysLogHandler`-Instanz, mit einer " "Formatzeichenkette wie::" -#: ../../howto/logging-cookbook.rst:2477 +#: ../../howto/logging-cookbook.rst:2458 msgid "'ASCII section\\ufeffUnicode section'" msgstr "'ASCII section\\ufeffUnicode section'" -#: ../../howto/logging-cookbook.rst:2479 +#: ../../howto/logging-cookbook.rst:2460 msgid "" "The Unicode code point U+FEFF, when encoded using UTF-8, will be encoded as " "a UTF-8 BOM -- the byte-string ``b'\\xef\\xbb\\xbf'``." @@ -5329,7 +5304,7 @@ msgstr "" "Der Unicode-Codepunkt U+FEFF wird, in UTF-8 kodiert, zu einem UTF-8-BOM -- " "der Bytefolge ``b'\\xef\\xbb\\xbf'``." -#: ../../howto/logging-cookbook.rst:2482 +#: ../../howto/logging-cookbook.rst:2463 msgid "" "Replace the ASCII section with whatever placeholders you like, but make sure " "that the data that appears in there after substitution is always ASCII (that " @@ -5339,7 +5314,7 @@ msgstr "" "die Daten, die nach dem Einsetzen dort erscheinen, immer ASCII sind (so " "bleiben sie nach der UTF-8-Kodierung unverändert)." -#: ../../howto/logging-cookbook.rst:2486 +#: ../../howto/logging-cookbook.rst:2467 msgid "" "Replace the Unicode section with whatever placeholders you like; if the data " "which appears there after substitution contains characters outside the ASCII " @@ -5349,7 +5324,7 @@ msgstr "" "die dort nach dem Einsetzen erscheinen, Zeichen außerhalb des ASCII-" "Bereichs, ist das in Ordnung -- sie werden in UTF-8 kodiert." -#: ../../howto/logging-cookbook.rst:2490 +#: ../../howto/logging-cookbook.rst:2471 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -5363,11 +5338,11 @@ msgstr "" "möglicherweise nicht, aber deine Meldungen entsprechen nicht RFC 5424, und " "dein syslog-Daemon beschwert sich möglicherweise doch." -#: ../../howto/logging-cookbook.rst:2497 +#: ../../howto/logging-cookbook.rst:2478 msgid "Implementing structured logging" msgstr "Strukturierte Protokollierung umsetzen" -#: ../../howto/logging-cookbook.rst:2499 +#: ../../howto/logging-cookbook.rst:2480 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -5387,7 +5362,7 @@ msgstr "" "aber ein einfacher Ansatz, der das Ereignis mit JSON maschinenlesbar " "serialisiert::" -#: ../../howto/logging-cookbook.rst:2507 +#: ../../howto/logging-cookbook.rst:2488 msgid "" "import json\n" "import logging\n" @@ -5421,11 +5396,11 @@ msgstr "" "logging.basicConfig(level=logging.INFO, format='%(message)s')\n" "logging.info(_('message 1', foo='bar', bar='baz', num=123, fnum=123.456))" -#: ../../howto/logging-cookbook.rst:2523 +#: ../../howto/logging-cookbook.rst:2504 msgid "If the above script is run, it prints:" msgstr "Wird das obige Skript ausgeführt, gibt es aus:" -#: ../../howto/logging-cookbook.rst:2525 +#: ../../howto/logging-cookbook.rst:2506 msgid "" "message 1 >>> {\"fnum\": 123.456, \"num\": 123, \"bar\": \"baz\", \"foo\": " "\"bar\"}" @@ -5433,7 +5408,7 @@ msgstr "" "message 1 >>> {\"fnum\": 123.456, \"num\": 123, \"bar\": \"baz\", \"foo\": " "\"bar\"}" -#: ../../howto/logging-cookbook.rst:2529 ../../howto/logging-cookbook.rst:2571 +#: ../../howto/logging-cookbook.rst:2510 ../../howto/logging-cookbook.rst:2552 msgid "" "Note that the order of items might be different according to the version of " "Python used." @@ -5441,7 +5416,7 @@ msgstr "" "Beachte, dass die Reihenfolge der Einträge je nach verwendeter Python-" "Version unterschiedlich sein kann." -#: ../../howto/logging-cookbook.rst:2532 +#: ../../howto/logging-cookbook.rst:2513 msgid "" "If you need more specialised processing, you can use a custom JSON encoder, " "as in the following complete example::" @@ -5449,7 +5424,7 @@ msgstr "" "Brauchst du eine spezialisiertere Verarbeitung, kannst du einen eigenen JSON-" "Kodierer verwenden, wie im folgenden vollständigen Beispiel::" -#: ../../howto/logging-cookbook.rst:2535 +#: ../../howto/logging-cookbook.rst:2516 msgid "" "import json\n" "import logging\n" @@ -5511,19 +5486,19 @@ msgstr "" "if __name__ == '__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:2565 +#: ../../howto/logging-cookbook.rst:2546 msgid "When the above script is run, it prints:" msgstr "Wird das obige Skript ausgeführt, gibt es aus:" -#: ../../howto/logging-cookbook.rst:2567 +#: ../../howto/logging-cookbook.rst:2548 msgid "message 1 >>> {\"snowman\": \"\\u2603\", \"set_value\": [1, 2, 3]}" msgstr "message 1 >>> {\"snowman\": \"\\u2603\", \"set_value\": [1, 2, 3]}" -#: ../../howto/logging-cookbook.rst:2580 +#: ../../howto/logging-cookbook.rst:2561 msgid "Customizing handlers with :func:`dictConfig`" msgstr "Handler mit :func:`dictConfig` anpassen" -#: ../../howto/logging-cookbook.rst:2582 +#: ../../howto/logging-cookbook.rst:2563 msgid "" "There are times when you want to customize logging handlers in particular " "ways, and if you use :func:`dictConfig` you may be able to do this without " @@ -5540,7 +5515,7 @@ msgstr "" "kannst die Erzeugung des Handlers mit einer gewöhnlichen Funktion anpassen, " "etwa so::" -#: ../../howto/logging-cookbook.rst:2589 +#: ../../howto/logging-cookbook.rst:2570 msgid "" "def owned_file_handler(filename, mode='a', encoding=None, owner=None):\n" " if owner:\n" @@ -5556,7 +5531,7 @@ msgstr "" " shutil.chown(filename, *owner)\n" " return logging.FileHandler(filename, mode, encoding)" -#: ../../howto/logging-cookbook.rst:2596 +#: ../../howto/logging-cookbook.rst:2577 msgid "" "You can then specify, in a logging configuration passed " "to :func:`dictConfig`, that a logging handler be created by calling this " @@ -5566,7 +5541,7 @@ msgstr "" "kannst du dann angeben, dass ein Protokollierungs-Handler durch den Aufruf " "dieser Funktion erzeugt wird::" -#: ../../howto/logging-cookbook.rst:2599 +#: ../../howto/logging-cookbook.rst:2580 msgid "" "LOGGING = {\n" " 'version': 1,\n" @@ -5628,7 +5603,7 @@ msgstr "" " },\n" "}" -#: ../../howto/logging-cookbook.rst:2629 +#: ../../howto/logging-cookbook.rst:2610 msgid "" "In this example I am setting the ownership using the ``pulse`` user and " "group, just for the purposes of illustration. Putting it together into a " @@ -5638,7 +5613,7 @@ msgstr "" "den Benutzer und die Gruppe ``pulse``. Zu einem funktionierenden Skript " "zusammengesetzt, ``chowntest.py``::" -#: ../../howto/logging-cookbook.rst:2633 +#: ../../howto/logging-cookbook.rst:2614 msgid "" "import logging, logging.config, os, shutil\n" "\n" @@ -5726,11 +5701,11 @@ msgstr "" "logger = logging.getLogger('mylogger')\n" "logger.debug('A debug message')" -#: ../../howto/logging-cookbook.rst:2676 +#: ../../howto/logging-cookbook.rst:2657 msgid "To run this, you will probably need to run as ``root``:" msgstr "Um das auszuführen, musst du vermutlich als ``root`` arbeiten:" -#: ../../howto/logging-cookbook.rst:2678 +#: ../../howto/logging-cookbook.rst:2659 msgid "" "$ sudo python3.3 chowntest.py\n" "$ cat chowntest.log\n" @@ -5744,7 +5719,7 @@ msgstr "" "$ ls -l chowntest.log\n" "-rw-r--r-- 1 pulse pulse 55 2013-11-05 09:34 chowntest.log" -#: ../../howto/logging-cookbook.rst:2686 +#: ../../howto/logging-cookbook.rst:2667 msgid "" "Note that this example uses Python 3.3 because that's " "where :func:`shutil.chown` makes an appearance. This approach should work " @@ -5758,7 +5733,7 @@ msgstr "" "2.7, 3.2 oder neuer. Mit Versionen vor 3.3 müsstest du den eigentlichen " "Eigentümerwechsel zum Beispiel mit :func:`os.chown` umsetzen." -#: ../../howto/logging-cookbook.rst:2692 +#: ../../howto/logging-cookbook.rst:2673 msgid "" "In practice, the handler-creating function may be in a utility module " "somewhere in your project. Instead of the line in the configuration::" @@ -5767,19 +5742,19 @@ msgstr "" "einem Hilfsmodul irgendwo in deinem Projekt. Statt der Zeile in der " "Konfiguration::" -#: ../../howto/logging-cookbook.rst:2695 +#: ../../howto/logging-cookbook.rst:2676 msgid "'()': owned_file_handler," msgstr "'()': owned_file_handler," -#: ../../howto/logging-cookbook.rst:2697 +#: ../../howto/logging-cookbook.rst:2678 msgid "you could use e.g.::" msgstr "könntest du zum Beispiel schreiben::" -#: ../../howto/logging-cookbook.rst:2699 +#: ../../howto/logging-cookbook.rst:2680 msgid "'()': 'ext://project.util.owned_file_handler'," msgstr "'()': 'ext://project.util.owned_file_handler'," -#: ../../howto/logging-cookbook.rst:2701 +#: ../../howto/logging-cookbook.rst:2682 msgid "" "where ``project.util`` can be replaced with the actual name of the package " "where the function resides. In the above working script, using ``'ext://" @@ -5792,7 +5767,7 @@ msgstr "" "löst :func:`dictConfig` das eigentliche aufrufbare Objekt aus der ``ext://``-" "Angabe auf." -#: ../../howto/logging-cookbook.rst:2706 +#: ../../howto/logging-cookbook.rst:2687 msgid "" "This example hopefully also points the way to how you could implement other " "types of file change - e.g. setting specific POSIX permission bits - in the " @@ -5802,7 +5777,7 @@ msgstr "" "andere Arten von Dateiänderungen umsetzen könntest – etwa das Setzen " "bestimmter POSIX-Rechtebits mit :func:`os.chmod`." -#: ../../howto/logging-cookbook.rst:2710 +#: ../../howto/logging-cookbook.rst:2691 msgid "" "Of course, the approach could also be extended to types of handler other " "than a :class:`~logging.FileHandler` - for example, one of the rotating file " @@ -5812,11 +5787,11 @@ msgstr "" "als :class:`~logging.FileHandler` ausdehnen – zum Beispiel auf einen der " "rotierenden Datei-Handler oder auf eine völlig andere Art von Handler." -#: ../../howto/logging-cookbook.rst:2720 +#: ../../howto/logging-cookbook.rst:2701 msgid "Using particular formatting styles throughout your application" msgstr "In der ganzen Anwendung bestimmte Formatierungsstile verwenden" -#: ../../howto/logging-cookbook.rst:2722 +#: ../../howto/logging-cookbook.rst:2703 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -5834,7 +5809,7 @@ msgstr "" "die endgültige Ausgabe in die Protokolle steuert und völlig unabhängig davon " "ist, wie eine einzelne Protokollmeldung aufgebaut wird." -#: ../../howto/logging-cookbook.rst:2729 +#: ../../howto/logging-cookbook.rst:2710 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -5863,7 +5838,7 @@ msgstr "" "ohne die Verträglichkeit mit früheren Versionen aufzugeben, denn alle " "Protokollierungsaufrufe im vorhandenen Code verwenden %-Formatzeichenketten." -#: ../../howto/logging-cookbook.rst:2741 +#: ../../howto/logging-cookbook.rst:2722 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -5874,7 +5849,7 @@ msgstr "" "auch dieser Ansatz läuft in Verträglichkeitsprobleme, weil vorhandener Code " "einen gegebenen Loggernamen zusammen mit %-Formatierung verwenden könnte." -#: ../../howto/logging-cookbook.rst:2745 +#: ../../howto/logging-cookbook.rst:2726 msgid "" "For logging to work interoperably between any third-party libraries and your " "code, decisions about formatting need to be made at the level of the " @@ -5886,11 +5861,11 @@ msgstr "" "des einzelnen Protokollierungsaufrufs fallen. Das eröffnet ein paar Wege, " "auf denen sich andere Formatierungsstile unterbringen lassen." -#: ../../howto/logging-cookbook.rst:2752 +#: ../../howto/logging-cookbook.rst:2733 msgid "Using LogRecord factories" msgstr "LogRecord-Factorys verwenden" -#: ../../howto/logging-cookbook.rst:2754 +#: ../../howto/logging-cookbook.rst:2735 msgid "" "In Python 3.2, along with the :class:`~logging.Formatter` changes mentioned " "above, the logging package gained the ability to allow users to set their " @@ -5917,7 +5892,7 @@ msgstr "" "Code gewährleistet bleibt. Achte außerdem darauf, ``str(self.msg)`` " "aufzurufen, so wie es die Umsetzung in der Basisklasse tut." -#: ../../howto/logging-cookbook.rst:2765 +#: ../../howto/logging-cookbook.rst:2746 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` " "and :class:`LogRecord` for more information." @@ -5925,11 +5900,11 @@ msgstr "" "Mehr Informationen findest du in der Referenzdokumentation " "zu :func:`setLogRecordFactory` und :class:`LogRecord`." -#: ../../howto/logging-cookbook.rst:2770 +#: ../../howto/logging-cookbook.rst:2751 msgid "Using custom message objects" msgstr "Eigene Meldungsobjekte verwenden" -#: ../../howto/logging-cookbook.rst:2772 +#: ../../howto/logging-cookbook.rst:2753 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall " @@ -5946,7 +5921,7 @@ msgstr "" "anwendet, um die eigentliche Formatzeichenkette zu erhalten. Betrachte die " "folgenden zwei Klassen::" -#: ../../howto/logging-cookbook.rst:2797 +#: ../../howto/logging-cookbook.rst:2778 msgid "" "Either of these can be used in place of a format string, to allow {}- or $-" "formatting to be used to build the actual \"message\" part which appears in " @@ -5965,7 +5940,7 @@ msgstr "" "``M`` oder ``_`` verwendest (oder vielleicht ``__``, wenn du ``_`` für die " "Lokalisierung nutzt)." -#: ../../howto/logging-cookbook.rst:2805 +#: ../../howto/logging-cookbook.rst:2786 msgid "" "Examples of this approach are given below. Firstly, formatting " "with :meth:`str.format`::" @@ -5973,7 +5948,7 @@ msgstr "" "Beispiele für diesen Ansatz folgen unten. Zunächst die Formatierung " "mit :meth:`str.format`::" -#: ../../howto/logging-cookbook.rst:2808 +#: ../../howto/logging-cookbook.rst:2789 msgid "" ">>> __ = BraceMessage\n" ">>> print(__('Message with {0} {1}', 2, 'placeholders'))\n" @@ -5999,11 +5974,11 @@ msgstr "" "point=p))\n" "Message with coordinates: (0.50, 0.50)" -#: ../../howto/logging-cookbook.rst:2819 +#: ../../howto/logging-cookbook.rst:2800 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "Und zweitens die Formatierung mit :class:`string.Template`::" -#: ../../howto/logging-cookbook.rst:2821 +#: ../../howto/logging-cookbook.rst:2802 msgid "" ">>> __ = DollarMessage\n" ">>> print(__('Message with $num $what', num=2, what='placeholders'))\n" @@ -6015,7 +5990,7 @@ msgstr "" "Message with 2 placeholders\n" ">>>" -#: ../../howto/logging-cookbook.rst:2826 +#: ../../howto/logging-cookbook.rst:2807 msgid "" "One thing to note is that you pay no significant performance penalty with " "this approach: the actual formatting happens not when you make the logging " @@ -6036,11 +6011,11 @@ msgstr "" "dass die __-Schreibweise nur Zuckerguss für einen Konstruktoraufruf einer " "der oben gezeigten Klassen :samp:`{XXX}Message` ist." -#: ../../howto/logging-cookbook.rst:2840 +#: ../../howto/logging-cookbook.rst:2821 msgid "Configuring filters with :func:`dictConfig`" msgstr "Filter mit :func:`dictConfig` konfigurieren" -#: ../../howto/logging-cookbook.rst:2842 +#: ../../howto/logging-cookbook.rst:2823 msgid "" "You *can* configure filters using :func:`~logging.config.dictConfig`, though " "it might not be obvious at first glance how to do it (hence this recipe). " @@ -6067,7 +6042,7 @@ msgstr "" "eine :class:`~logging.Filter`-Instanz zurückgibt). Hier ein vollständiges " "Beispiel::" -#: ../../howto/logging-cookbook.rst:2853 +#: ../../howto/logging-cookbook.rst:2834 msgid "" "import logging\n" "import logging.config\n" @@ -6153,7 +6128,7 @@ msgstr "" " logging.debug('hello')\n" " logging.debug('hello - noshow')" -#: ../../howto/logging-cookbook.rst:2895 +#: ../../howto/logging-cookbook.rst:2876 msgid "" "This example shows how you can pass configuration data to the callable which " "constructs the instance, in the form of keyword parameters. When run, the " @@ -6163,19 +6138,19 @@ msgstr "" "erzeugt, Konfigurationsdaten in Form von Schlüsselwortparametern übergeben " "kannst. Beim Ausführen gibt das obige Skript aus:" -#: ../../howto/logging-cookbook.rst:2899 +#: ../../howto/logging-cookbook.rst:2880 msgid "changed: hello" msgstr "changed: hello" -#: ../../howto/logging-cookbook.rst:2903 +#: ../../howto/logging-cookbook.rst:2884 msgid "which shows that the filter is working as configured." msgstr "was zeigt, dass der Filter wie konfiguriert arbeitet." -#: ../../howto/logging-cookbook.rst:2905 +#: ../../howto/logging-cookbook.rst:2886 msgid "A couple of extra points to note:" msgstr "Noch ein paar zusätzliche Hinweise:" -#: ../../howto/logging-cookbook.rst:2907 +#: ../../howto/logging-cookbook.rst:2888 msgid "" "If you can't refer to the callable directly in the configuration (e.g. if it " "lives in a different module, and you can't import it directly where the " @@ -6191,7 +6166,7 @@ msgstr "" "dict-externalobj` beschrieben. Du hättest im obigen Beispiel zum Beispiel " "den Text ``'ext://__main__.MyFilter'`` statt ``MyFilter`` verwenden können." -#: ../../howto/logging-cookbook.rst:2914 +#: ../../howto/logging-cookbook.rst:2895 msgid "" "As well as for filters, this technique can also be used to configure custom " "handlers and formatters. See :ref:`logging-config-dict-userdef` for more " @@ -6205,11 +6180,11 @@ msgstr "" "festgelegte Objekte in ihrer Konfiguration unterstützt, und siehe auch das " "andere Rezept :ref:`custom-handlers` weiter oben in diesem Kochbuch." -#: ../../howto/logging-cookbook.rst:2923 +#: ../../howto/logging-cookbook.rst:2904 msgid "Customized exception formatting" msgstr "Eigene Formatierung von Ausnahmen" -#: ../../howto/logging-cookbook.rst:2925 +#: ../../howto/logging-cookbook.rst:2906 msgid "" "There might be times when you want to do customized exception formatting - " "for argument's sake, let's say you want exactly one line per logged event, " @@ -6222,7 +6197,7 @@ msgstr "" "du mit einer eigenen Formatter-Klasse erreichen, wie das folgende Beispiel " "zeigt::" -#: ../../howto/logging-cookbook.rst:2930 +#: ../../howto/logging-cookbook.rst:2911 msgid "" "import logging\n" "\n" @@ -6296,11 +6271,11 @@ msgstr "" "if __name__ == '__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:2966 +#: ../../howto/logging-cookbook.rst:2947 msgid "When run, this produces a file with exactly two lines:" msgstr "Beim Ausführen entsteht eine Datei mit genau zwei Zeilen:" -#: ../../howto/logging-cookbook.rst:2968 +#: ../../howto/logging-cookbook.rst:2949 msgid "" "28/01/2015 07:21:23|INFO|Sample message|\n" "28/01/2015 07:21:23|ERROR|ZeroDivisionError: division by zero|'Traceback " @@ -6312,7 +6287,7 @@ msgstr "" "(most recent call last):\\n File \"logtest7.py\", line 30, in main\\n x " "= 1 / 0\\nZeroDivisionError: division by zero'|" -#: ../../howto/logging-cookbook.rst:2973 +#: ../../howto/logging-cookbook.rst:2954 msgid "" "While the above treatment is simplistic, it points the way to how exception " "information can be formatted to your liking. The :mod:`traceback` module may " @@ -6322,11 +6297,11 @@ msgstr "" "Informationen zu Ausnahmen nach deinem Geschmack formatieren lassen. Bei " "spezielleren Bedürfnissen hilft möglicherweise das Modul :mod:`traceback`." -#: ../../howto/logging-cookbook.rst:2980 +#: ../../howto/logging-cookbook.rst:2961 msgid "Speaking logging messages" msgstr "Protokollmeldungen sprechen lassen" -#: ../../howto/logging-cookbook.rst:2982 +#: ../../howto/logging-cookbook.rst:2963 msgid "" "There might be situations when it is desirable to have logging messages " "rendered in an audible rather than a visible format. This is easy to do if " @@ -6357,7 +6332,7 @@ msgstr "" "müssen. Hier ein kurzes Beispiel für den Ansatz, das voraussetzt, dass das " "TTS-Paket ``espeak`` vorhanden ist::" -#: ../../howto/logging-cookbook.rst:2995 +#: ../../howto/logging-cookbook.rst:2976 msgid "" "import logging\n" "import subprocess\n" @@ -6417,7 +6392,7 @@ msgstr "" " configure_logging()\n" " sys.exit(main())" -#: ../../howto/logging-cookbook.rst:3024 +#: ../../howto/logging-cookbook.rst:3005 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." @@ -6425,7 +6400,7 @@ msgstr "" "Beim Ausführen sollte dieses Skript mit weiblicher Stimme „Hello“ und dann " "„Goodbye“ sagen." -#: ../../howto/logging-cookbook.rst:3026 +#: ../../howto/logging-cookbook.rst:3007 msgid "" "The above approach can, of course, be adapted to other TTS systems and even " "other systems altogether which can process messages via external programs " @@ -6435,11 +6410,11 @@ msgstr "" "ganz andere Systeme übertragen, die Meldungen über externe, von einer " "Befehlszeile gestartete Programme verarbeiten können." -#: ../../howto/logging-cookbook.rst:3034 +#: ../../howto/logging-cookbook.rst:3015 msgid "Buffering logging messages and outputting them conditionally" msgstr "Protokollmeldungen puffern und bedingt ausgeben" -#: ../../howto/logging-cookbook.rst:3036 +#: ../../howto/logging-cookbook.rst:3017 msgid "" "There might be situations where you want to log messages in a temporary area " "and only output them if a certain condition occurs. For example, you may " @@ -6456,7 +6431,7 @@ msgstr "" "aber ein Fehler auf, sollen alle Debug-Informationen zusammen mit dem Fehler " "ausgegeben werden." -#: ../../howto/logging-cookbook.rst:3043 +#: ../../howto/logging-cookbook.rst:3024 msgid "" "Here is an example which shows how you could do this using a decorator for " "your functions where you want logging to behave this way. It makes use of " @@ -6479,7 +6454,7 @@ msgstr "" "ist. Willst du ein eigenes Leerungsverhalten, kannst du dieses Rezept mit " "einer spezialisierteren Unterklasse von ``MemoryHandler`` verwenden." -#: ../../howto/logging-cookbook.rst:3053 +#: ../../howto/logging-cookbook.rst:3034 msgid "" "The example script has a simple function, ``foo``, which just cycles through " "all the logging levels, writing to ``sys.stderr`` to say what level it's " @@ -6494,7 +6469,7 @@ msgstr "" "der, wenn er wahr ist, auch auf den Stufen ERROR und CRITICAL protokolliert " "– andernfalls protokolliert sie nur auf den Stufen DEBUG, INFO und WARNING." -#: ../../howto/logging-cookbook.rst:3059 +#: ../../howto/logging-cookbook.rst:3040 msgid "" "The script just arranges to decorate ``foo`` with a decorator which will do " "the conditional logging that's required. The decorator takes a logger as a " @@ -6515,11 +6490,11 @@ msgstr "" "ein :class:`~logging.StreamHandler`, der auf ``sys.stderr`` schreibt, " "``logging.ERROR`` und ``100``." -#: ../../howto/logging-cookbook.rst:3067 +#: ../../howto/logging-cookbook.rst:3048 msgid "Here's the script::" msgstr "Hier das Skript::" -#: ../../howto/logging-cookbook.rst:3069 +#: ../../howto/logging-cookbook.rst:3050 msgid "" "import logging\n" "from logging.handlers import MemoryHandler\n" @@ -6647,11 +6622,11 @@ msgstr "" " write_line('Calling decorated foo with True')\n" " assert decorated_foo(True)" -#: ../../howto/logging-cookbook.rst:3130 +#: ../../howto/logging-cookbook.rst:3111 msgid "When this script is run, the following output should be observed:" msgstr "Beim Ausführen dieses Skripts sollte folgende Ausgabe zu sehen sein:" -#: ../../howto/logging-cookbook.rst:3132 +#: ../../howto/logging-cookbook.rst:3113 msgid "" "Calling undecorated foo with False\n" "about to log at DEBUG ...\n" @@ -6705,7 +6680,7 @@ msgstr "" "about to log at CRITICAL ...\n" "Actually logged at CRITICAL" -#: ../../howto/logging-cookbook.rst:3160 +#: ../../howto/logging-cookbook.rst:3141 msgid "" "As you can see, actual logging output only occurs when an event is logged " "whose severity is ERROR or greater, but in that case, any previous events at " @@ -6716,12 +6691,12 @@ msgstr "" "Fall werden dann aber auch alle vorherigen Ereignisse mit niedrigerem " "Schweregrad protokolliert." -#: ../../howto/logging-cookbook.rst:3164 +#: ../../howto/logging-cookbook.rst:3145 msgid "You can of course use the conventional means of decoration::" msgstr "" "Natürlich kannst du auch die herkömmliche Art der Dekoration verwenden::" -#: ../../howto/logging-cookbook.rst:3166 +#: ../../howto/logging-cookbook.rst:3147 msgid "" "@log_if_errors(logger)\n" "def foo(fail=False):\n" @@ -6731,11 +6706,11 @@ msgstr "" "def foo(fail=False):\n" " ..." -#: ../../howto/logging-cookbook.rst:3174 +#: ../../howto/logging-cookbook.rst:3155 msgid "Sending logging messages to email, with buffering" msgstr "Protokollmeldungen gepuffert per E-Mail senden" -#: ../../howto/logging-cookbook.rst:3176 +#: ../../howto/logging-cookbook.rst:3157 msgid "" "To illustrate how you can send log messages via email, so that a set number " "of messages are sent per email, you can " @@ -6756,7 +6731,7 @@ msgstr "" "dem Argument ``-h``, um die erforderlichen und die optionalen Argumente zu " "sehen.)" -#: ../../howto/logging-cookbook.rst:3184 +#: ../../howto/logging-cookbook.rst:3165 msgid "" "import logging\n" "import logging.handlers\n" @@ -6888,7 +6863,7 @@ msgstr "" " h.flush()\n" " h.close()" -#: ../../howto/logging-cookbook.rst:3248 +#: ../../howto/logging-cookbook.rst:3229 msgid "" "If you run this script and your SMTP server is correctly set up, you should " "find that it sends eleven emails to the addressee you specify. The first ten " @@ -6900,11 +6875,11 @@ msgstr "" "gehen. Die ersten zehn E-Mails enthalten jeweils zehn Protokollmeldungen, " "die elfte zwei. Das ergibt die 102 Meldungen, die im Skript angegeben sind." -#: ../../howto/logging-cookbook.rst:3256 +#: ../../howto/logging-cookbook.rst:3237 msgid "Formatting times using UTC (GMT) via configuration" msgstr "Zeiten über die Konfiguration in UTC (GMT) formatieren" -#: ../../howto/logging-cookbook.rst:3258 +#: ../../howto/logging-cookbook.rst:3239 msgid "" "Sometimes you want to format times using UTC, which can be done using a " "class such as ``UTCFormatter``, shown below::" @@ -6912,7 +6887,7 @@ msgstr "" "Manchmal willst du Zeiten in UTC formatieren. Das lässt sich mit einer " "Klasse wie ``UTCFormatter`` erreichen, die unten gezeigt wird::" -#: ../../howto/logging-cookbook.rst:3261 +#: ../../howto/logging-cookbook.rst:3242 msgid "" "import logging\n" "import time\n" @@ -6926,7 +6901,7 @@ msgstr "" "class UTCFormatter(logging.Formatter):\n" " converter = time.gmtime" -#: ../../howto/logging-cookbook.rst:3267 +#: ../../howto/logging-cookbook.rst:3248 msgid "" "and you can then use the ``UTCFormatter`` in your code instead " "of :class:`~logging.Formatter`. If you want to do that via configuration, " @@ -6939,7 +6914,7 @@ msgstr "" "API :func:`~logging.config.dictConfig` mit einem Ansatz verwenden, den das " "folgende vollständige Beispiel zeigt::" -#: ../../howto/logging-cookbook.rst:3272 +#: ../../howto/logging-cookbook.rst:3253 msgid "" "import logging\n" "import logging.config\n" @@ -7017,11 +6992,11 @@ msgstr "" " logging.config.dictConfig(LOGGING)\n" " logging.warning('The local time is %s', time.asctime())" -#: ../../howto/logging-cookbook.rst:3310 +#: ../../howto/logging-cookbook.rst:3291 msgid "When this script is run, it should print something like:" msgstr "Beim Ausführen dieses Skripts sollte etwa Folgendes ausgegeben werden:" -#: ../../howto/logging-cookbook.rst:3312 +#: ../../howto/logging-cookbook.rst:3293 msgid "" "2015-10-17 12:53:29,501 The local time is Sat Oct 17 13:53:29 2015\n" "2015-10-17 13:53:29,501 The local time is Sat Oct 17 13:53:29 2015" @@ -7029,7 +7004,7 @@ msgstr "" "2015-10-17 12:53:29,501 The local time is Sat Oct 17 13:53:29 2015\n" "2015-10-17 13:53:29,501 The local time is Sat Oct 17 13:53:29 2015" -#: ../../howto/logging-cookbook.rst:3317 +#: ../../howto/logging-cookbook.rst:3298 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." @@ -7037,11 +7012,11 @@ msgstr "" "was zeigt, wie die Zeit sowohl als Ortszeit als auch in UTC formatiert wird, " "je einmal pro Handler." -#: ../../howto/logging-cookbook.rst:3324 +#: ../../howto/logging-cookbook.rst:3305 msgid "Using a context manager for selective logging" msgstr "Einen Kontextmanager für gezielte Protokollierung verwenden" -#: ../../howto/logging-cookbook.rst:3326 +#: ../../howto/logging-cookbook.rst:3307 msgid "" "There are times when it would be useful to temporarily change the logging " "configuration and revert it back after doing something. For this, a context " @@ -7058,7 +7033,7 @@ msgstr "" "einen Protokollierungs-Handler hinzufügen kannst, und zwar nur im " "Geltungsbereich des Kontextmanagers::" -#: ../../howto/logging-cookbook.rst:3333 +#: ../../howto/logging-cookbook.rst:3314 msgid "" "import logging\n" "import sys\n" @@ -7112,7 +7087,7 @@ msgstr "" " self.handler.close()\n" " # implicit return of None => don't swallow exceptions" -#: ../../howto/logging-cookbook.rst:3359 +#: ../../howto/logging-cookbook.rst:3340 msgid "" "If you specify a level value, the logger's level is set to that value in the " "scope of the with block covered by the context manager. If you specify a " @@ -7127,7 +7102,7 @@ msgstr "" "Manager außerdem bitten, den Handler beim Verlassen des Blocks für dich zu " "schließen – das kannst du tun, wenn du den Handler nicht mehr brauchst." -#: ../../howto/logging-cookbook.rst:3365 +#: ../../howto/logging-cookbook.rst:3346 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" @@ -7135,7 +7110,7 @@ msgstr "" "Um zu zeigen, wie das arbeitet, können wir den folgenden Codeblock an das " "Obige anhängen::" -#: ../../howto/logging-cookbook.rst:3368 +#: ../../howto/logging-cookbook.rst:3349 msgid "" "if __name__ == '__main__':\n" " logger = logging.getLogger('foo')\n" @@ -7171,7 +7146,7 @@ msgstr "" " logger.info('6. This should appear just once on stderr.')\n" " logger.debug('7. This should not appear.')" -#: ../../howto/logging-cookbook.rst:3383 +#: ../../howto/logging-cookbook.rst:3364 msgid "" "We initially set the logger's level to ``INFO``, so message #1 appears and " "message #2 doesn't. We then change the level to ``DEBUG`` temporarily in the " @@ -7195,11 +7170,11 @@ msgstr "" "erscheint Meldung #6 (wie Meldung #1), Meldung #7 aber nicht (genau wie " "Meldung #2)." -#: ../../howto/logging-cookbook.rst:3393 +#: ../../howto/logging-cookbook.rst:3374 msgid "If we run the resulting script, the result is as follows:" msgstr "Führen wir das entstandene Skript aus, ergibt sich Folgendes:" -#: ../../howto/logging-cookbook.rst:3395 +#: ../../howto/logging-cookbook.rst:3376 msgid "" "$ python logctx.py\n" "1. This should appear just once on stderr.\n" @@ -7215,7 +7190,7 @@ msgstr "" "5. This should appear twice - once on stderr and once on stdout.\n" "6. This should appear just once on stderr." -#: ../../howto/logging-cookbook.rst:3404 +#: ../../howto/logging-cookbook.rst:3385 msgid "" "If we run it again, but pipe ``stderr`` to ``/dev/null``, we see the " "following, which is the only message written to ``stdout``:" @@ -7223,7 +7198,7 @@ msgstr "" "Führen wir es erneut aus, leiten aber ``stderr`` nach ``/dev/null``, sehen " "wir Folgendes – die einzige Meldung, die auf ``stdout`` geschrieben wird:" -#: ../../howto/logging-cookbook.rst:3407 +#: ../../howto/logging-cookbook.rst:3388 msgid "" "$ python logctx.py 2>/dev/null\n" "5. This should appear twice - once on stderr and once on stdout." @@ -7231,13 +7206,13 @@ msgstr "" "$ python logctx.py 2>/dev/null\n" "5. This should appear twice - once on stderr and once on stdout." -#: ../../howto/logging-cookbook.rst:3412 +#: ../../howto/logging-cookbook.rst:3393 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" "Und noch einmal, diesmal mit ``stdout`` nach ``/dev/null`` geleitet, " "erhalten wir:" -#: ../../howto/logging-cookbook.rst:3414 +#: ../../howto/logging-cookbook.rst:3395 msgid "" "$ python logctx.py >/dev/null\n" "1. This should appear just once on stderr.\n" @@ -7251,7 +7226,7 @@ msgstr "" "5. This should appear twice - once on stderr and once on stdout.\n" "6. This should appear just once on stderr." -#: ../../howto/logging-cookbook.rst:3422 +#: ../../howto/logging-cookbook.rst:3403 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." @@ -7259,7 +7234,7 @@ msgstr "" "In diesem Fall erscheint die Meldung #5, die auf ``stdout`` ausgegeben wird, " "wie erwartet nicht." -#: ../../howto/logging-cookbook.rst:3424 +#: ../../howto/logging-cookbook.rst:3405 msgid "" "Of course, the approach described here can be generalised, for example to " "attach logging filters temporarily. Note that the above code works in Python " @@ -7269,19 +7244,19 @@ msgstr "" "zeitweise Protokollierungsfilter anzuhängen. Beachte, dass der obige Code " "sowohl in Python 2 als auch in Python 3 funktioniert." -#: ../../howto/logging-cookbook.rst:3432 +#: ../../howto/logging-cookbook.rst:3413 msgid "A CLI application starter template" msgstr "Eine Vorlage für den Start einer CLI-Anwendung" -#: ../../howto/logging-cookbook.rst:3434 +#: ../../howto/logging-cookbook.rst:3415 msgid "Here's an example which shows how you can:" msgstr "Hier ein Beispiel, das zeigt, wie du" -#: ../../howto/logging-cookbook.rst:3436 +#: ../../howto/logging-cookbook.rst:3417 msgid "Use a logging level based on command-line arguments" msgstr "einen Schweregrad anhand von Befehlszeilenargumenten verwendest" -#: ../../howto/logging-cookbook.rst:3437 +#: ../../howto/logging-cookbook.rst:3418 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" @@ -7289,11 +7264,11 @@ msgstr "" "an mehrere Unterbefehle in getrennten Dateien verteilst, die alle auf " "demselben Grad und auf einheitliche Weise protokollieren" -#: ../../howto/logging-cookbook.rst:3439 +#: ../../howto/logging-cookbook.rst:3420 msgid "Make use of simple, minimal configuration" msgstr "eine einfache, knappe Konfiguration nutzt" -#: ../../howto/logging-cookbook.rst:3441 +#: ../../howto/logging-cookbook.rst:3422 msgid "" "Suppose we have a command-line application whose job is to stop, start or " "restart some services. This could be organised for the purposes of " @@ -7312,7 +7287,7 @@ msgstr "" "Befehlszeilenargument steuern, mit ``logging.INFO`` als Vorgabe. So ließe " "sich ``app.py`` schreiben::" -#: ../../howto/logging-cookbook.rst:3449 +#: ../../howto/logging-cookbook.rst:3430 msgid "" "import argparse\n" "import importlib\n" @@ -7402,7 +7377,7 @@ msgstr "" "if __name__ == '__main__':\n" " sys.exit(main())" -#: ../../howto/logging-cookbook.rst:3490 +#: ../../howto/logging-cookbook.rst:3471 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" @@ -7410,7 +7385,7 @@ msgstr "" "Und die Befehle ``start``, ``stop`` und ``restart`` lassen sich in " "getrennten Modulen umsetzen, zum Starten etwa so::" -#: ../../howto/logging-cookbook.rst:3493 +#: ../../howto/logging-cookbook.rst:3474 msgid "" "# start.py\n" "import logging\n" @@ -7432,11 +7407,11 @@ msgstr "" " # actually do the command processing here ...\n" " logger.info('Started the \\'%s\\' service.', options.name)" -#: ../../howto/logging-cookbook.rst:3503 +#: ../../howto/logging-cookbook.rst:3484 msgid "and thus for stopping::" msgstr "und damit zum Stoppen so::" -#: ../../howto/logging-cookbook.rst:3505 +#: ../../howto/logging-cookbook.rst:3486 msgid "" "# stop.py\n" "import logging\n" @@ -7476,11 +7451,11 @@ msgstr "" " # actually do the command processing here ...\n" " logger.info('Stopped the %s service%s.', services, plural)" -#: ../../howto/logging-cookbook.rst:3524 +#: ../../howto/logging-cookbook.rst:3505 msgid "and similarly for restarting::" msgstr "und entsprechend zum Neustarten::" -#: ../../howto/logging-cookbook.rst:3526 +#: ../../howto/logging-cookbook.rst:3507 msgid "" "# restart.py\n" "import logging\n" @@ -7520,7 +7495,7 @@ msgstr "" " # actually do the command processing here ...\n" " logger.info('Restarted the %s service%s.', services, plural)" -#: ../../howto/logging-cookbook.rst:3545 +#: ../../howto/logging-cookbook.rst:3526 msgid "" "If we run this application with the default log level, we get output like " "this:" @@ -7528,7 +7503,7 @@ msgstr "" "Führen wir diese Anwendung mit dem Standard-Schweregrad aus, erhalten wir " "eine Ausgabe wie diese:" -#: ../../howto/logging-cookbook.rst:3547 +#: ../../howto/logging-cookbook.rst:3528 msgid "" "$ python app.py start foo\n" "INFO start Started the 'foo' service.\n" @@ -7548,7 +7523,7 @@ msgstr "" "$ python app.py restart foo bar baz\n" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." -#: ../../howto/logging-cookbook.rst:3558 +#: ../../howto/logging-cookbook.rst:3539 msgid "" "The first word is the logging level, and the second word is the module or " "package name of the place where the event was logged." @@ -7556,7 +7531,7 @@ msgstr "" "Das erste Wort ist der Schweregrad, das zweite der Modul- oder Paketname der " "Stelle, an der das Ereignis protokolliert wurde." -#: ../../howto/logging-cookbook.rst:3561 +#: ../../howto/logging-cookbook.rst:3542 msgid "" "If we change the logging level, then we can change the information sent to " "the log. For example, if we want more information:" @@ -7564,7 +7539,7 @@ msgstr "" "Ändern wir den Schweregrad, ändern wir damit die Informationen, die ins " "Protokoll gehen. Wollen wir zum Beispiel mehr Informationen:" -#: ../../howto/logging-cookbook.rst:3564 +#: ../../howto/logging-cookbook.rst:3545 msgid "" "$ python app.py --log-level DEBUG start foo\n" "DEBUG start About to start foo\n" @@ -7590,11 +7565,11 @@ msgstr "" "DEBUG restart About to restart 'foo', 'bar' and 'baz'\n" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." -#: ../../howto/logging-cookbook.rst:3578 +#: ../../howto/logging-cookbook.rst:3559 msgid "And if we want less:" msgstr "Und wollen wir weniger:" -#: ../../howto/logging-cookbook.rst:3580 +#: ../../howto/logging-cookbook.rst:3561 msgid "" "$ python app.py --log-level WARNING start foo\n" "$ python app.py --log-level WARNING stop foo bar\n" @@ -7604,7 +7579,7 @@ msgstr "" "$ python app.py --log-level WARNING stop foo bar\n" "$ python app.py --log-level WARNING restart foo bar baz" -#: ../../howto/logging-cookbook.rst:3586 +#: ../../howto/logging-cookbook.rst:3567 msgid "" "In this case, the commands don't print anything to the console, since " "nothing at ``WARNING`` level or above is logged by them." @@ -7612,11 +7587,11 @@ msgstr "" "In diesem Fall geben die Befehle nichts auf der Konsole aus, weil sie nichts " "auf dem Grad ``WARNING`` oder darüber protokollieren." -#: ../../howto/logging-cookbook.rst:3592 +#: ../../howto/logging-cookbook.rst:3573 msgid "A Qt GUI for logging" msgstr "Eine Qt-GUI für die Protokollierung" -#: ../../howto/logging-cookbook.rst:3594 +#: ../../howto/logging-cookbook.rst:3575 msgid "" "A question that comes up from time to time is about how to log to a GUI " "application. The `Qt `_ framework is a popular cross-" @@ -7628,7 +7603,7 @@ msgstr "" "verbreitetes plattformübergreifendes UI-Framework mit Python-Anbindungen " "über die Bibliotheken :pypi:`PySide2` oder :pypi:`PyQt5`." -#: ../../howto/logging-cookbook.rst:3599 +#: ../../howto/logging-cookbook.rst:3580 msgid "" "The following example shows how to log to a Qt GUI. This introduces a simple " "``QtHandler`` class which takes a callable, which should be a slot in the " @@ -7646,7 +7621,7 @@ msgstr "" "arbeitet (hier protokolliert er einfach Meldungen auf zufälligen Graden mit " "zufälligen kurzen Pausen dazwischen), in die GUI protokollieren kannst." -#: ../../howto/logging-cookbook.rst:3606 +#: ../../howto/logging-cookbook.rst:3587 msgid "" "The worker thread is implemented using Qt's ``QThread`` class rather than " "the :mod:`threading` module, as there are circumstances where one has to use " @@ -7656,7 +7631,7 @@ msgstr "" "dem Modul :mod:`threading`, denn es gibt Umstände, in denen man ``QThread`` " "verwenden muss, das sich besser in andere ``Qt``-Bestandteile einfügt." -#: ../../howto/logging-cookbook.rst:3610 +#: ../../howto/logging-cookbook.rst:3591 msgid "" "The code should work with recent releases of any of ``PySide6``, ``PyQt6``, " "``PySide2`` or ``PyQt5``. You should be able to adapt the approach to " @@ -7668,7 +7643,7 @@ msgstr "" "Versionen übertragen können. Ausführlichere Hinweise findest du in den " "Kommentaren im Codeausschnitt." -#: ../../howto/logging-cookbook.rst:3615 +#: ../../howto/logging-cookbook.rst:3596 msgid "" "import logging\n" "import random\n" @@ -8164,11 +8139,11 @@ msgstr "" "if __name__=='__main__':\n" " main()" -#: ../../howto/logging-cookbook.rst:3846 +#: ../../howto/logging-cookbook.rst:3827 msgid "Logging to syslog with RFC5424 support" msgstr "Mit Unterstützung für RFC5424 in syslog protokollieren" -#: ../../howto/logging-cookbook.rst:3848 +#: ../../howto/logging-cookbook.rst:3829 msgid "" "Although :rfc:`5424` dates from 2009, most syslog servers are configured by " "default to use the older :rfc:`3164`, which hails from 2001. When " @@ -8186,7 +8161,7 @@ msgstr "" "Funktionalität von :class:`~logging.handlers.SysLogHandler` nicht " "aktualisiert." -#: ../../howto/logging-cookbook.rst:3855 +#: ../../howto/logging-cookbook.rst:3836 msgid "" "RFC 5424 contains some useful features such as support for structured data, " "and if you need to be able to log to a syslog server with support for it, " @@ -8197,7 +8172,7 @@ msgstr "" "das unterstützt, dann geht das mit einem abgeleiteten Handler, der etwa so " "aussieht::" -#: ../../howto/logging-cookbook.rst:3859 +#: ../../howto/logging-cookbook.rst:3840 msgid "" "import datetime as dt\n" "import logging.handlers\n" @@ -8331,7 +8306,7 @@ msgstr "" " return f'{version} {asctime} {hostname} {appname} {procid} {msgid} " "{sdata} {msg}'" -#: ../../howto/logging-cookbook.rst:3921 +#: ../../howto/logging-cookbook.rst:3902 msgid "" "You'll need to be familiar with RFC 5424 to fully understand the above code, " "and it may be that you have slightly different needs (e.g. for how you pass " @@ -8345,7 +8320,7 @@ msgstr "" "Obige auf deine Bedürfnisse anpassen lassen. Mit dem obigen Handler " "übergibst du strukturierte Daten etwa so::" -#: ../../howto/logging-cookbook.rst:3926 +#: ../../howto/logging-cookbook.rst:3907 msgid "" "sd = {\n" " 'foo@12345': {'bar': 'baz', 'baz': 'bozz', 'fizz': r'buzz'},\n" @@ -8363,11 +8338,11 @@ msgstr "" "i = 1\n" "logger.debug('Message %d', i, extra=extra)" -#: ../../howto/logging-cookbook.rst:3935 +#: ../../howto/logging-cookbook.rst:3916 msgid "How to treat a logger like an output stream" msgstr "Wie man einen Logger wie einen Ausgabestrom behandelt" -#: ../../howto/logging-cookbook.rst:3937 +#: ../../howto/logging-cookbook.rst:3918 msgid "" "Sometimes, you need to interface to a third-party API which expects a file-" "like object to write to, but you want to direct the API's output to a " @@ -8379,7 +8354,7 @@ msgstr "" "Logger lenken. Das geht mit einer Klasse, die einen Logger in eine " "dateiartige API hüllt. Hier ein kurzes Skript, das eine solche Klasse zeigt:" -#: ../../howto/logging-cookbook.rst:3942 +#: ../../howto/logging-cookbook.rst:3923 msgid "" "import logging\n" "\n" @@ -8451,11 +8426,11 @@ msgstr "" "if __name__ == \"__main__\":\n" " main()" -#: ../../howto/logging-cookbook.rst:3977 +#: ../../howto/logging-cookbook.rst:3958 msgid "When this script is run, it prints" msgstr "Beim Ausführen gibt dieses Skript aus" -#: ../../howto/logging-cookbook.rst:3979 +#: ../../howto/logging-cookbook.rst:3960 msgid "" "INFO:demo:An INFO message\n" "DEBUG:demo:A DEBUG message" @@ -8463,7 +8438,7 @@ msgstr "" "INFO:demo:An INFO message\n" "DEBUG:demo:A DEBUG message" -#: ../../howto/logging-cookbook.rst:3984 +#: ../../howto/logging-cookbook.rst:3965 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and " "``sys.stderr`` by doing something like this:" @@ -8471,7 +8446,7 @@ msgstr "" "Du könntest ``LoggerWriter`` auch verwenden, um ``sys.stdout`` und " "``sys.stderr`` umzuleiten, etwa so:" -#: ../../howto/logging-cookbook.rst:3987 +#: ../../howto/logging-cookbook.rst:3968 msgid "" "import sys\n" "\n" @@ -8483,7 +8458,7 @@ msgstr "" "sys.stdout = LoggerWriter(logger, logging.INFO)\n" "sys.stderr = LoggerWriter(logger, logging.WARNING)" -#: ../../howto/logging-cookbook.rst:3994 +#: ../../howto/logging-cookbook.rst:3975 msgid "" "You should do this *after* configuring logging for your needs. In the above " "example, the :func:`~logging.basicConfig` call does this (using the " @@ -8496,7 +8471,7 @@ msgstr "" "*bevor* er von einer ``LoggerWriter``-Instanz überschrieben wird). Dann " "erhältst du ein Ergebnis dieser Art:" -#: ../../howto/logging-cookbook.rst:3999 +#: ../../howto/logging-cookbook.rst:3980 msgid "" ">>> print('Foo')\n" "INFO:demo:Foo\n" @@ -8510,7 +8485,7 @@ msgstr "" "WARNING:demo:Bar\n" ">>>" -#: ../../howto/logging-cookbook.rst:4007 +#: ../../howto/logging-cookbook.rst:3988 msgid "" "Of course, the examples above show output according to the format used " "by :func:`~logging.basicConfig`, but you can use a different formatter when " @@ -8520,7 +8495,7 @@ msgstr "" "das :func:`~logging.basicConfig` verwendet, aber du kannst beim " "Konfigurieren der Protokollierung einen anderen Formatter nehmen." -#: ../../howto/logging-cookbook.rst:4011 +#: ../../howto/logging-cookbook.rst:3992 msgid "" "Note that with the above scheme, you are somewhat at the mercy of buffering " "and the sequence of write calls which you are intercepting. For example, " @@ -8530,7 +8505,7 @@ msgstr "" "Folge der Schreibaufrufe ausgeliefert bist, die du abfängst. Hast du zum " "Beispiel mit der obigen Festlegung von ``LoggerWriter`` den Ausschnitt" -#: ../../howto/logging-cookbook.rst:4015 +#: ../../howto/logging-cookbook.rst:3996 msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)\n" "1 / 0" @@ -8538,11 +8513,11 @@ msgstr "" "sys.stderr = LoggerWriter(logger, logging.WARNING)\n" "1 / 0" -#: ../../howto/logging-cookbook.rst:4020 +#: ../../howto/logging-cookbook.rst:4001 msgid "then running the script results in" msgstr "dann ergibt das Ausführen des Skripts" -#: ../../howto/logging-cookbook.rst:4022 +#: ../../howto/logging-cookbook.rst:4003 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "\n" @@ -8576,7 +8551,7 @@ msgstr "" "WARNING:demo::\n" "WARNING:demo:division by zero" -#: ../../howto/logging-cookbook.rst:4038 +#: ../../howto/logging-cookbook.rst:4019 msgid "" "As you can see, this output isn't ideal. That's because the underlying code " "which writes to ``sys.stderr`` makes multiple writes, each of which results " @@ -8592,7 +8567,7 @@ msgstr "" "musst du puffern und Protokollzeilen nur dann ausgeben, wenn Zeilenumbrüche " "auftreten. Nehmen wir eine etwas bessere Umsetzung von ``LoggerWriter``:" -#: ../../howto/logging-cookbook.rst:4044 +#: ../../howto/logging-cookbook.rst:4025 msgid "" "class BufferingLoggerWriter(LoggerWriter):\n" " def __init__(self, logger, level):\n" @@ -8628,7 +8603,7 @@ msgstr "" " for part in parts:\n" " self.logger.log(self.level, part)" -#: ../../howto/logging-cookbook.rst:4063 +#: ../../howto/logging-cookbook.rst:4044 msgid "" "This just buffers up stuff until a newline is seen, and then logs complete " "lines. With this approach, you get better output:" @@ -8636,7 +8611,7 @@ msgstr "" "Die puffert einfach, bis ein Zeilenumbruch auftritt, und protokolliert dann " "vollständige Zeilen. Mit diesem Ansatz erhältst du eine bessere Ausgabe:" -#: ../../howto/logging-cookbook.rst:4066 +#: ../../howto/logging-cookbook.rst:4047 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "WARNING:demo: File \"/home/runner/cookbook-loggerwriter/main.py\", line 55, " @@ -8656,19 +8631,18 @@ msgstr "" "WARNING:demo: 1/0\n" "WARNING:demo:ZeroDivisionError: division by zero" -#: ../../howto/logging-cookbook.rst:4076 +#: ../../howto/logging-cookbook.rst:4057 msgid "How to uniformly handle newlines in logging output" msgstr "Wie man Zeilenumbrüche in der Protokollausgabe einheitlich behandelt" -#: ../../howto/logging-cookbook.rst:4078 +#: ../../howto/logging-cookbook.rst:4059 +#, fuzzy msgid "" "Usually, messages that are logged (say to console or file) consist of a " "single line of text. However, sometimes there is a need to handle messages " -"with multiple lines - whether because a logging format string contains " -"newlines, or logged data contains newlines. If you want to handle such " -"messages uniformly, so that each line in the logged message appears " -"uniformly formatted as if it was logged separately, you can do this using a " -"handler mixin, as in the following snippet:" +"with multiple lines because the message or its arguments contain newlines. " +"To format each line as if it were logged separately, you can use a handler " +"mixin, as in the following snippet:" msgstr "" "Üblicherweise bestehen protokollierte Meldungen (etwa auf der Konsole oder " "in einer Datei) aus einer einzigen Textzeile. Manchmal müssen aber Meldungen " @@ -8679,7 +8653,7 @@ msgstr "" "formatiert erscheint, als wäre sie einzeln protokolliert worden, dann geht " "das mit einem Handler-Mixin, wie im folgenden Ausschnitt:" -#: ../../howto/logging-cookbook.rst:4086 +#: ../../howto/logging-cookbook.rst:4065 msgid "" "# Assume this is in a module mymixins.py\n" "import copy\n" @@ -8713,11 +8687,11 @@ msgstr "" " rec.msg = line\n" " super().emit(rec)" -#: ../../howto/logging-cookbook.rst:4104 +#: ../../howto/logging-cookbook.rst:4083 msgid "You can use the mixin as in the following script:" msgstr "Das Mixin kannst du so verwenden wie im folgenden Skript:" -#: ../../howto/logging-cookbook.rst:4106 +#: ../../howto/logging-cookbook.rst:4085 msgid "" "import logging\n" "\n" @@ -8757,11 +8731,11 @@ msgstr "" " logger.debug('Multiple lines:\\n%s', 'fool me ...\\ncan\\'t get fooled " "again')" -#: ../../howto/logging-cookbook.rst:4125 +#: ../../howto/logging-cookbook.rst:4104 msgid "The script, when run, prints something like:" msgstr "Beim Ausführen gibt das Skript etwa Folgendes aus:" -#: ../../howto/logging-cookbook.rst:4127 +#: ../../howto/logging-cookbook.rst:4106 msgid "" "2025-07-02 13:54:47,234 DEBUG Single line\n" "2025-07-02 13:54:47,234 DEBUG Multiple lines:\n" @@ -8779,7 +8753,7 @@ msgstr "" "2025-07-02 13:54:47,234 DEBUG fool me ...\n" "2025-07-02 13:54:47,234 DEBUG can't get fooled again" -#: ../../howto/logging-cookbook.rst:4137 +#: ../../howto/logging-cookbook.rst:4116 msgid "" "If, on the other hand, you are concerned about `log injection `_, you can use a formatter " @@ -8789,7 +8763,7 @@ msgstr "" "community/attacks/Log_Injection>`_, dann kannst du einen Formatter " "verwenden, der Zeilenumbrüche maskiert, wie im folgenden Beispiel:" -#: ../../howto/logging-cookbook.rst:4141 +#: ../../howto/logging-cookbook.rst:4120 msgid "" "import logging\n" "\n" @@ -8831,7 +8805,7 @@ msgstr "" " logger.debug('Multiple lines:\\n%s', 'fool me ...\\ncan\\'t get fooled " "again')" -#: ../../howto/logging-cookbook.rst:4161 +#: ../../howto/logging-cookbook.rst:4140 msgid "" "You can, of course, use whatever escaping scheme makes the most sense for " "you. The script, when run, should produce output like this:" @@ -8840,7 +8814,7 @@ msgstr "" "sinnvollsten ist. Beim Ausführen sollte das Skript eine Ausgabe wie diese " "erzeugen:" -#: ../../howto/logging-cookbook.rst:4164 +#: ../../howto/logging-cookbook.rst:4143 msgid "" "2025-07-09 06:47:33,783 DEBUG Single line\n" "2025-07-09 06:47:33,783 DEBUG Multiple lines:\\nfool me once ...\n" @@ -8854,7 +8828,7 @@ msgstr "" "2025-07-09 06:47:33,783 DEBUG Multiple lines:\\nfool me ...\\ncan't get " "fooled again" -#: ../../howto/logging-cookbook.rst:4171 +#: ../../howto/logging-cookbook.rst:4150 msgid "" "Escaping behaviour can't be the stdlib default , as it would break backwards " "compatibility." @@ -8862,11 +8836,11 @@ msgstr "" "Dieses Maskierungsverhalten kann nicht die Vorgabe der Standardbibliothek " "sein, weil es die Verträglichkeit mit früheren Versionen brechen würde." -#: ../../howto/logging-cookbook.rst:4177 +#: ../../howto/logging-cookbook.rst:4156 msgid "Patterns to avoid" msgstr "Muster, die man vermeiden sollte" -#: ../../howto/logging-cookbook.rst:4179 +#: ../../howto/logging-cookbook.rst:4158 msgid "" "Although the preceding sections have described ways of doing things you " "might need to do or deal with, it is worth mentioning some usage patterns " @@ -8879,11 +8853,11 @@ msgstr "" "den meisten Fällen vermeiden sollte. Die folgenden Abschnitte stehen in " "keiner bestimmten Reihenfolge." -#: ../../howto/logging-cookbook.rst:4185 +#: ../../howto/logging-cookbook.rst:4164 msgid "Opening the same log file multiple times" msgstr "Dieselbe Protokolldatei mehrmals öffnen" -#: ../../howto/logging-cookbook.rst:4187 +#: ../../howto/logging-cookbook.rst:4166 msgid "" "On Windows, you will generally not be able to open the same file multiple " "times as this will lead to a \"file is in use by another process\" error. " @@ -8896,7 +8870,7 @@ msgstr "" "dieselbe Datei mehrmals öffnest. Das kann versehentlich geschehen, zum " "Beispiel durch:" -#: ../../howto/logging-cookbook.rst:4192 +#: ../../howto/logging-cookbook.rst:4171 msgid "" "Adding a file handler more than once which references the same file (e.g. by " "a copy/paste/forget-to-change error)." @@ -8904,7 +8878,7 @@ msgstr "" "mehrfaches Hinzufügen eines Datei-Handlers, der dieselbe Datei anspricht " "(etwa durch Kopieren, Einfügen und Vergessen, etwas zu ändern)." -#: ../../howto/logging-cookbook.rst:4195 +#: ../../howto/logging-cookbook.rst:4174 msgid "" "Opening two files that look different, as they have different names, but are " "the same because one is a symbolic link to the other." @@ -8913,7 +8887,7 @@ msgstr "" "aussehen, aber dieselbe sind, weil eine ein symbolischer Verweis auf die " "andere ist." -#: ../../howto/logging-cookbook.rst:4198 +#: ../../howto/logging-cookbook.rst:4177 msgid "" "Forking a process, following which both parent and child have a reference to " "the same file. This might be through use of the :mod:`multiprocessing` " @@ -8923,7 +8897,7 @@ msgstr "" "dieselbe Datei haben. Das kann zum Beispiel durch die Verwendung des " "Moduls :mod:`multiprocessing` geschehen." -#: ../../howto/logging-cookbook.rst:4202 +#: ../../howto/logging-cookbook.rst:4181 msgid "" "Opening a file multiple times might *appear* to work most of the time, but " "can lead to a number of problems in practice:" @@ -8931,7 +8905,7 @@ msgstr "" "Eine Datei mehrmals zu öffnen *scheint* meist zu funktionieren, kann in der " "Praxis aber zu einer Reihe von Problemen führen:" -#: ../../howto/logging-cookbook.rst:4205 +#: ../../howto/logging-cookbook.rst:4184 msgid "" "Logging output can be garbled because multiple threads or processes try to " "write to the same file. Although logging guards against concurrent use of " @@ -8946,7 +8920,7 @@ msgstr "" "über zwei verschiedene Handler-Instanzen gleichzeitig schreiben, die " "zufällig auf dieselbe Datei zeigen." -#: ../../howto/logging-cookbook.rst:4211 +#: ../../howto/logging-cookbook.rst:4190 msgid "" "An attempt to delete a file (e.g. during file rotation) silently fails, " "because there is another reference pointing to it. This can lead to " @@ -8962,7 +8936,7 @@ msgstr "" "Oder eine Datei, die verschoben werden sollte, bleibt liegen und wächst " "unerwartet, obwohl eine größenabhängige Rotation eingerichtet sein sollte." -#: ../../howto/logging-cookbook.rst:4218 +#: ../../howto/logging-cookbook.rst:4197 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." @@ -8970,12 +8944,12 @@ msgstr "" "Verwende die unter :ref:`multiple-processes` beschriebenen Techniken, um " "solche Probleme zu umgehen." -#: ../../howto/logging-cookbook.rst:4222 +#: ../../howto/logging-cookbook.rst:4201 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" "Logger als Attribute einer Klasse verwenden oder sie als Parameter übergeben" -#: ../../howto/logging-cookbook.rst:4224 +#: ../../howto/logging-cookbook.rst:4203 msgid "" "While there might be unusual cases where you'll need to do this, in general " "there is no point because loggers are singletons. Code can always access a " @@ -8994,7 +8968,7 @@ msgstr "" "Sinn, denn hier ist das Modul (und nicht die Klasse) die Einheit, in die " "Software zerlegt wird." -#: ../../howto/logging-cookbook.rst:4233 +#: ../../howto/logging-cookbook.rst:4212 msgid "" "Adding handlers other than :class:`~logging.NullHandler` to a logger in a " "library" @@ -9002,7 +8976,7 @@ msgstr "" "Andere Handler als :class:`~logging.NullHandler` an einen Logger in einer " "Bibliothek hängen" -#: ../../howto/logging-cookbook.rst:4235 +#: ../../howto/logging-cookbook.rst:4214 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -9015,11 +8989,11 @@ msgstr "" "keinen deiner Logger einen anderen Handler als " "eine :class:`~logging.NullHandler`-Instanz zu hängen." -#: ../../howto/logging-cookbook.rst:4241 +#: ../../howto/logging-cookbook.rst:4220 msgid "Creating a lot of loggers" msgstr "Viele Logger erzeugen" -#: ../../howto/logging-cookbook.rst:4243 +#: ../../howto/logging-cookbook.rst:4222 msgid "" "Loggers are singletons that are never freed during a script execution, and " "so creating lots of loggers will use up memory which can't then be freed. " @@ -9038,38 +9012,54 @@ msgstr "" "solche, die Bereiche innerhalb deiner Anwendung beschreiben (im Allgemeinen " "Module, gelegentlich etwas feiner)." -#: ../../howto/logging-cookbook.rst:4254 +#: ../../howto/logging-cookbook.rst:4233 msgid "Other resources" msgstr "Weitere Quellen" -#: ../../howto/logging-cookbook.rst:4258 +#: ../../howto/logging-cookbook.rst:4237 msgid "Module :mod:`logging`" msgstr "Modul :mod:`logging`" -#: ../../howto/logging-cookbook.rst:4259 +#: ../../howto/logging-cookbook.rst:4238 msgid "API reference for the logging module." msgstr "API-Referenz für das Modul logging." -#: ../../howto/logging-cookbook.rst:4261 +#: ../../howto/logging-cookbook.rst:4240 msgid "Module :mod:`logging.config`" msgstr "Modul :mod:`logging.config`" -#: ../../howto/logging-cookbook.rst:4262 +#: ../../howto/logging-cookbook.rst:4241 msgid "Configuration API for the logging module." msgstr "Konfigurations-API für das Modul logging." -#: ../../howto/logging-cookbook.rst:4264 +#: ../../howto/logging-cookbook.rst:4243 msgid "Module :mod:`logging.handlers`" msgstr "Modul :mod:`logging.handlers`" -#: ../../howto/logging-cookbook.rst:4265 +#: ../../howto/logging-cookbook.rst:4244 msgid "Useful handlers included with the logging module." msgstr "Nützliche Handler, die mit dem Modul logging ausgeliefert werden." -#: ../../howto/logging-cookbook.rst:4267 +#: ../../howto/logging-cookbook.rst:4246 msgid ":ref:`Basic Tutorial `" msgstr ":ref:`Grundlagen-Tutorial `" -#: ../../howto/logging-cookbook.rst:4269 +#: ../../howto/logging-cookbook.rst:4248 msgid ":ref:`Advanced Tutorial `" msgstr ":ref:`Fortgeschrittenes Tutorial `" + +#~ msgid "" +#~ "at module level). It's probably one too many things to think about. " +#~ "Developers could also add the filter to a :class:`~logging.NullHandler` " +#~ "attached to their top-level logger, but this would not be invoked if an " +#~ "application developer attached a handler to a lower-level library logger " +#~ "--- so output from that handler would not reflect the intentions of the " +#~ "library developer." +#~ msgstr "" +#~ "auf Modulebene schreiben). Das ist vermutlich eine Sache zu viel, an die " +#~ "man denken muss. Entwickler könnten den Filter auch " +#~ "einem :class:`~logging.NullHandler` hinzufügen, der an ihrem obersten " +#~ "Logger hängt, aber der würde nicht aufgerufen, wenn ein " +#~ "Anwendungsentwickler einen Handler an einen tieferliegenden Bibliotheks-" +#~ "Logger hängt --- die Ausgabe dieses Handlers würde dann also nicht die " +#~ "Absichten des Bibliotheksentwicklers widerspiegeln." diff --git a/howto/logging.po b/howto/logging.po index 3173086e..ad81e55e 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-15 06:00+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -170,7 +170,7 @@ msgstr "" "passen sind unten beschrieben (in aufsteigender Reihenfolge des " "Schweregrads):" -#: ../../howto/logging.rst:75 ../../howto/logging.rst:873 +#: ../../howto/logging.rst:75 ../../howto/logging.rst:865 msgid "Level" msgstr "Stufe" @@ -178,7 +178,7 @@ msgstr "Stufe" msgid "When it's used" msgstr "Wann sie verwendet wird" -#: ../../howto/logging.rst:77 ../../howto/logging.rst:883 +#: ../../howto/logging.rst:77 ../../howto/logging.rst:875 msgid "``DEBUG``" msgstr "``DEBUG``" @@ -189,7 +189,7 @@ msgstr "" "Ausführliche Informationen, üblicherweise nur bei der Diagnose von Problemen " "von Interesse." -#: ../../howto/logging.rst:80 ../../howto/logging.rst:881 +#: ../../howto/logging.rst:80 ../../howto/logging.rst:873 msgid "``INFO``" msgstr "``INFO``" @@ -197,7 +197,7 @@ msgstr "``INFO``" msgid "Confirmation that things are working as expected." msgstr "Bestätigung, dass die Dinge wie erwartet funktionieren." -#: ../../howto/logging.rst:83 ../../howto/logging.rst:879 +#: ../../howto/logging.rst:83 ../../howto/logging.rst:871 msgid "``WARNING``" msgstr "``WARNING``" @@ -211,7 +211,7 @@ msgstr "" "für ein Problem in naher Zukunft (etwa „Festplattenplatz knapp“). Die " "Software arbeitet noch wie erwartet." -#: ../../howto/logging.rst:88 ../../howto/logging.rst:877 +#: ../../howto/logging.rst:88 ../../howto/logging.rst:869 msgid "``ERROR``" msgstr "``ERROR``" @@ -223,7 +223,7 @@ msgstr "" "Wegen eines schwerwiegenderen Problems konnte die Software eine Funktion " "nicht ausführen." -#: ../../howto/logging.rst:91 ../../howto/logging.rst:875 +#: ../../howto/logging.rst:91 ../../howto/logging.rst:867 msgid "``CRITICAL``" msgstr "``CRITICAL``" @@ -356,28 +356,13 @@ msgstr "" #: ../../howto/logging.rst:149 msgid "" -"The *encoding* argument was added. In earlier Python versions, or if not " -"specified, the encoding used is the default value used by :func:`open`. " -"While not shown in the above example, an *errors* argument can also now be " -"passed, which determines how encoding errors are handled. For available " -"values and the default, see the documentation for :func:`open`." -msgstr "" -"Das Argument *encoding* wurde ergänzt. In früheren Python-Versionen oder " -"wenn es nicht angegeben ist, wird die Kodierung verwendet, die :func:`open` " -"standardmäßig nutzt. Im obigen Beispiel nicht gezeigt, aber jetzt ebenfalls " -"möglich: ein Argument *errors*, das festlegt, wie Kodierungsfehler behandelt " -"werden. Die verfügbaren Werte und die Vorgabe stehen in der Dokumentation " -"zu :func:`open`." - -#: ../../howto/logging.rst:156 -msgid "" "And now if we open the file and look at what we have, we should find the log " "messages:" msgstr "" "Und wenn wir die Datei nun öffnen und uns ansehen, was wir haben, sollten " "wir die Protokollmeldungen finden:" -#: ../../howto/logging.rst:159 +#: ../../howto/logging.rst:152 msgid "" "DEBUG:__main__:This message should go to the log file\n" "INFO:__main__:So should this\n" @@ -389,7 +374,7 @@ msgstr "" "WARNING:__main__:And this, too\n" "ERROR:__main__:And non-ASCII stuff, too, like Øresund and Malmö" -#: ../../howto/logging.rst:166 +#: ../../howto/logging.rst:159 msgid "" "This example also shows how you can set the logging level which acts as the " "threshold for tracking. In this case, because we set the threshold to " @@ -399,18 +384,18 @@ msgstr "" "kannst, die als Schwelle für das Verfolgen dient. In diesem Fall wurden alle " "Meldungen ausgegeben, weil wir die Schwelle auf ``DEBUG`` gesetzt haben." -#: ../../howto/logging.rst:170 +#: ../../howto/logging.rst:163 msgid "" "If you want to set the logging level from a command-line option such as:" msgstr "" "Wenn du die Protokollierungsstufe über eine Befehlszeilenoption wie diese " "setzen willst:" -#: ../../howto/logging.rst:172 +#: ../../howto/logging.rst:165 msgid "--log=INFO" msgstr "--log=INFO" -#: ../../howto/logging.rst:176 +#: ../../howto/logging.rst:169 msgid "" "and you have the value of the parameter passed for ``--log`` in some " "variable *loglevel*, you can use::" @@ -418,11 +403,11 @@ msgstr "" "und du den für ``--log`` übergebenen Parameterwert in einer Variablen " "*loglevel* hast, kannst du Folgendes verwenden::" -#: ../../howto/logging.rst:179 +#: ../../howto/logging.rst:172 msgid "getattr(logging, loglevel.upper())" msgstr "getattr(logging, loglevel.upper())" -#: ../../howto/logging.rst:181 +#: ../../howto/logging.rst:174 msgid "" "to get the value which you'll pass to :func:`basicConfig` via the *level* " "argument. You may want to error check any user input value, perhaps as in " @@ -432,7 +417,7 @@ msgstr "" "*level* übergibst. Vielleicht willst du jede Benutzereingabe auf Fehler " "prüfen, etwa wie im folgenden Beispiel::" -#: ../../howto/logging.rst:185 +#: ../../howto/logging.rst:178 msgid "" "# assuming loglevel is bound to the string value obtained from the\n" "# command line argument. Convert to upper case to allow the user to\n" @@ -450,7 +435,7 @@ msgstr "" " raise ValueError('Invalid log level: %s' % loglevel)\n" "logging.basicConfig(level=numeric_level, ...)" -#: ../../howto/logging.rst:193 +#: ../../howto/logging.rst:186 msgid "" "The call to :func:`basicConfig` should come *before* any calls to a logger's " "methods such as :meth:`~Logger.debug`, :meth:`~Logger.info`, etc. Otherwise, " @@ -461,7 +446,7 @@ msgstr "" "Andernfalls wird dieses Protokollereignis möglicherweise nicht wie gewünscht " "behandelt." -#: ../../howto/logging.rst:197 +#: ../../howto/logging.rst:190 msgid "" "If you run the above script several times, the messages from successive runs " "are appended to the file *example.log*. If you want each run to start " @@ -474,7 +459,7 @@ msgstr "" "kannst du das Argument *filemode* angeben – indem du den Aufruf im obigen " "Beispiel so änderst::" -#: ../../howto/logging.rst:202 +#: ../../howto/logging.rst:195 msgid "" "logging.basicConfig(filename='example.log', filemode='w', " "level=logging.DEBUG)" @@ -482,7 +467,7 @@ msgstr "" "logging.basicConfig(filename='example.log', filemode='w', " "level=logging.DEBUG)" -#: ../../howto/logging.rst:204 +#: ../../howto/logging.rst:197 msgid "" "The output will be the same as before, but the log file is no longer " "appended to, so the messages from earlier runs are lost." @@ -490,11 +475,11 @@ msgstr "" "Die Ausgabe ist dieselbe wie vorher, aber an die Protokolldatei wird nicht " "mehr angehängt, die Meldungen früherer Läufe gehen also verloren." -#: ../../howto/logging.rst:209 +#: ../../howto/logging.rst:202 msgid "Logging variable data" msgstr "Veränderliche Daten protokollieren" -#: ../../howto/logging.rst:211 +#: ../../howto/logging.rst:204 msgid "" "To log variable data, use a format string for the event description message " "and append the variable data as arguments. For example::" @@ -503,7 +488,7 @@ msgstr "" "für die Beschreibung des Ereignisses und hänge die veränderlichen Daten als " "Argumente an. Zum Beispiel::" -#: ../../howto/logging.rst:214 +#: ../../howto/logging.rst:207 msgid "" "import logging\n" "logging.warning('%s before you %s', 'Look', 'leap!')" @@ -511,15 +496,15 @@ msgstr "" "import logging\n" "logging.warning('%s before you %s', 'Look', 'leap!')" -#: ../../howto/logging.rst:217 +#: ../../howto/logging.rst:210 msgid "will display:" msgstr "zeigt:" -#: ../../howto/logging.rst:219 +#: ../../howto/logging.rst:212 msgid "WARNING:root:Look before you leap!" msgstr "WARNING:root:Look before you leap!" -#: ../../howto/logging.rst:223 +#: ../../howto/logging.rst:216 msgid "" "As you can see, merging of variable data into the event description message " "uses the old, %-style of string formatting. This is for backwards " @@ -536,11 +521,11 @@ msgstr "" "werden *unterstützt*, sie zu erkunden geht aber über den Rahmen dieses " "Tutorials hinaus: Näheres steht unter :ref:`formatting-styles`." -#: ../../howto/logging.rst:232 +#: ../../howto/logging.rst:225 msgid "Changing the format of displayed messages" msgstr "Das Format der angezeigten Meldungen ändern" -#: ../../howto/logging.rst:234 +#: ../../howto/logging.rst:227 msgid "" "To change the format which is used to display messages, you need to specify " "the format you want to use::" @@ -548,7 +533,7 @@ msgstr "" "Um das Format zu ändern, mit dem Meldungen angezeigt werden, musst du das " "gewünschte Format angeben::" -#: ../../howto/logging.rst:237 +#: ../../howto/logging.rst:230 msgid "" "import logging\n" "logging.basicConfig(format='%(levelname)s:%(message)s', " @@ -564,11 +549,11 @@ msgstr "" "logging.info('So should this')\n" "logging.warning('And this, too')" -#: ../../howto/logging.rst:243 +#: ../../howto/logging.rst:236 msgid "which would print:" msgstr "was Folgendes ausgeben würde:" -#: ../../howto/logging.rst:245 +#: ../../howto/logging.rst:238 msgid "" "DEBUG:This message should appear on the console\n" "INFO:So should this\n" @@ -578,7 +563,7 @@ msgstr "" "INFO:So should this\n" "WARNING:And this, too" -#: ../../howto/logging.rst:251 +#: ../../howto/logging.rst:244 msgid "" "Notice that the 'root' which appeared in earlier examples has disappeared. " "For a full set of things that can appear in format strings, you can refer to " @@ -595,11 +580,11 @@ msgstr "" "willst vielleicht anzeigen, wann das Ereignis aufgetreten ist. Das ist im " "nächsten Abschnitt beschrieben." -#: ../../howto/logging.rst:260 +#: ../../howto/logging.rst:253 msgid "Displaying the date/time in messages" msgstr "Datum und Uhrzeit in Meldungen anzeigen" -#: ../../howto/logging.rst:262 +#: ../../howto/logging.rst:255 msgid "" "To display the date and time of an event, you would place '%(asctime)s' in " "your format string::" @@ -607,7 +592,7 @@ msgstr "" "Um Datum und Uhrzeit eines Ereignisses anzuzeigen, würdest du „%(asctime)s“ " "in deine Formatzeichenkette schreiben::" -#: ../../howto/logging.rst:265 +#: ../../howto/logging.rst:258 msgid "" "import logging\n" "logging.basicConfig(format='%(asctime)s %(message)s')\n" @@ -617,15 +602,15 @@ msgstr "" "logging.basicConfig(format='%(asctime)s %(message)s')\n" "logging.warning('is when this event was logged.')" -#: ../../howto/logging.rst:269 +#: ../../howto/logging.rst:262 msgid "which should print something like this:" msgstr "was etwa Folgendes ausgeben sollte:" -#: ../../howto/logging.rst:271 +#: ../../howto/logging.rst:264 msgid "2010-12-12 11:41:42,612 is when this event was logged." msgstr "2010-12-12 11:41:42,612 is when this event was logged." -#: ../../howto/logging.rst:275 +#: ../../howto/logging.rst:268 msgid "" "The default format for date/time display (shown above) is like ISO8601 " "or :rfc:`3339`. If you need more control over the formatting of the date/" @@ -636,7 +621,7 @@ msgstr "" "Formatierung von Datum und Uhrzeit brauchst, gib ``basicConfig`` ein " "Argument *datefmt* mit, wie in diesem Beispiel::" -#: ../../howto/logging.rst:279 +#: ../../howto/logging.rst:272 msgid "" "import logging\n" "logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:" @@ -648,15 +633,15 @@ msgstr "" "%M:%S %p')\n" "logging.warning('is when this event was logged.')" -#: ../../howto/logging.rst:283 +#: ../../howto/logging.rst:276 msgid "which would display something like this:" msgstr "was etwa Folgendes anzeigen würde:" -#: ../../howto/logging.rst:285 +#: ../../howto/logging.rst:278 msgid "12/12/2010 11:46:36 AM is when this event was logged." msgstr "12/12/2010 11:46:36 AM is when this event was logged." -#: ../../howto/logging.rst:289 +#: ../../howto/logging.rst:282 msgid "" "The format of the *datefmt* argument is the same as supported " "by :func:`time.strftime`." @@ -664,11 +649,11 @@ msgstr "" "Das Format des Arguments *datefmt* ist dasselbe, das :func:`time.strftime` " "unterstützt." -#: ../../howto/logging.rst:294 +#: ../../howto/logging.rst:287 msgid "Next Steps" msgstr "Nächste Schritte" -#: ../../howto/logging.rst:296 +#: ../../howto/logging.rst:289 msgid "" "That concludes the basic tutorial. It should be enough to get you up and " "running with logging. There's a lot more that the logging package offers, " @@ -682,7 +667,7 @@ msgstr "" "Lesen der folgenden Abschnitte stecken. Wenn du dazu bereit bist: Hol dir " "eines deiner Lieblingsgetränke und mach weiter." -#: ../../howto/logging.rst:302 +#: ../../howto/logging.rst:295 msgid "" "If your logging needs are simple, then use the above examples to incorporate " "logging into your own scripts, and if you run into problems or don't " @@ -697,7 +682,7 @@ msgstr "" "discuss.python.org/c/help/7>`_ – du solltest nicht lange auf Hilfe warten " "müssen." -#: ../../howto/logging.rst:308 +#: ../../howto/logging.rst:301 msgid "" "Still here? You can carry on reading the next few sections, which provide a " "slightly more advanced/in-depth tutorial than the basic one above. After " @@ -707,11 +692,11 @@ msgstr "" "fortgeschritteneres und tiefergehendes Tutorial bieten als das Grundlagen-" "Tutorial oben. Danach kannst du dir das :ref:`logging-cookbook` ansehen." -#: ../../howto/logging.rst:316 +#: ../../howto/logging.rst:309 msgid "Advanced Logging Tutorial" msgstr "Fortgeschrittenes Tutorial zur Protokollierung" -#: ../../howto/logging.rst:318 +#: ../../howto/logging.rst:311 msgid "" "The logging library takes a modular approach and offers several categories " "of components: loggers, handlers, filters, and formatters." @@ -719,13 +704,13 @@ msgstr "" "Die Bibliothek logging ist modular aufgebaut und bietet mehrere Kategorien " "von Bestandteilen: Logger, Handler, Filter und Formatter." -#: ../../howto/logging.rst:321 +#: ../../howto/logging.rst:314 msgid "Loggers expose the interface that application code directly uses." msgstr "" "Logger legen die Schnittstelle offen, die der Anwendungscode unmittelbar " "verwendet." -#: ../../howto/logging.rst:322 +#: ../../howto/logging.rst:315 msgid "" "Handlers send the log records (created by loggers) to the appropriate " "destination." @@ -733,7 +718,7 @@ msgstr "" "Handler senden die (von Loggern erzeugten) Protokolldatensätze an das " "passende Ziel." -#: ../../howto/logging.rst:324 +#: ../../howto/logging.rst:317 msgid "" "Filters provide a finer grained facility for determining which log records " "to output." @@ -741,13 +726,13 @@ msgstr "" "Filter bieten ein feinkörnigeres Mittel, um zu bestimmen, welche " "Protokolldatensätze ausgegeben werden." -#: ../../howto/logging.rst:326 +#: ../../howto/logging.rst:319 msgid "Formatters specify the layout of log records in the final output." msgstr "" "Formatter legen die Anordnung der Protokolldatensätze in der endgültigen " "Ausgabe fest." -#: ../../howto/logging.rst:328 +#: ../../howto/logging.rst:321 msgid "" "Log event information is passed between loggers, handlers, filters and " "formatters in a :class:`LogRecord` instance." @@ -756,7 +741,7 @@ msgstr "" "Handlern, Filtern und Formattern in einer :class:`LogRecord`-Instanz " "weitergegeben." -#: ../../howto/logging.rst:331 +#: ../../howto/logging.rst:324 msgid "" "Logging is performed by calling methods on instances of the :class:`Logger` " "class (hereafter called :dfn:`loggers`). Each instance has a name, and they " @@ -774,7 +759,7 @@ msgstr "" "„scan.pdf“. Logger-Namen können beliebig sein und bezeichnen den Bereich " "einer Anwendung, aus dem eine protokollierte Meldung stammt." -#: ../../howto/logging.rst:338 +#: ../../howto/logging.rst:331 msgid "" "A good convention to use when naming loggers is to use a module-level " "logger, in each module which uses logging, named as follows::" @@ -783,11 +768,11 @@ msgstr "" "Protokollierung verwendet, einen Logger auf Modulebene zu verwenden, der so " "benannt ist::" -#: ../../howto/logging.rst:341 +#: ../../howto/logging.rst:334 msgid "logger = logging.getLogger(__name__)" msgstr "logger = logging.getLogger(__name__)" -#: ../../howto/logging.rst:343 +#: ../../howto/logging.rst:336 msgid "" "This means that logger names track the package/module hierarchy, and it's " "intuitively obvious where events are logged just from the logger name." @@ -796,7 +781,7 @@ msgstr "" "schon am Logger-Namen naheliegend erkennbar ist, wo Ereignisse protokolliert " "werden." -#: ../../howto/logging.rst:346 +#: ../../howto/logging.rst:339 msgid "" "The root of the hierarchy of loggers is called the root logger. That's the " "logger used by the " @@ -813,7 +798,7 @@ msgstr "" "Signaturen. Der Name des Wurzel-Loggers wird in der Protokollausgabe als " "„root“ ausgegeben." -#: ../../howto/logging.rst:352 +#: ../../howto/logging.rst:345 msgid "" "It is, of course, possible to log messages to different destinations. " "Support is included in the package for writing log messages to files, HTTP " @@ -832,7 +817,7 @@ msgstr "" "Zielklasse bauen, wenn du besondere Anforderungen hast, die keine der " "integrierten Handler-Klassen erfüllt." -#: ../../howto/logging.rst:359 +#: ../../howto/logging.rst:352 msgid "" "By default, no destination is set for any logging messages. You can specify " "a destination (such as console or file) by using :func:`basicConfig` as in " @@ -852,15 +837,15 @@ msgstr "" "Vorgabeformat für die angezeigte Meldung, bevor sie die eigentliche Ausgabe " "dem Wurzel-Logger übertragen." -#: ../../howto/logging.rst:367 +#: ../../howto/logging.rst:360 msgid "The default format set by :func:`basicConfig` for messages is:" msgstr "Das Vorgabeformat, das :func:`basicConfig` für Meldungen setzt, ist:" -#: ../../howto/logging.rst:369 +#: ../../howto/logging.rst:362 msgid "severity:logger name:message" msgstr "severity:logger name:message" -#: ../../howto/logging.rst:373 +#: ../../howto/logging.rst:366 msgid "" "You can change this by passing a format string to :func:`basicConfig` with " "the *format* keyword argument. For all options regarding how a format string " @@ -871,11 +856,11 @@ msgstr "" "Möglichkeiten, wie eine Formatzeichenkette aufgebaut wird, stehen " "unter :ref:`formatter-objects`." -#: ../../howto/logging.rst:378 +#: ../../howto/logging.rst:371 msgid "Logging Flow" msgstr "Der Fluss der Protokollierung" -#: ../../howto/logging.rst:380 +#: ../../howto/logging.rst:373 msgid "" "The flow of log event information in loggers and handlers is illustrated in " "the following diagram." @@ -883,11 +868,11 @@ msgstr "" "Der Fluss der Informationen über Protokollereignisse in Loggern und Handlern " "ist im folgenden Diagramm dargestellt." -#: ../../howto/logging.rst:431 +#: ../../howto/logging.rst:424 msgid "Loggers" msgstr "Logger" -#: ../../howto/logging.rst:433 +#: ../../howto/logging.rst:426 msgid "" ":class:`Logger` objects have a threefold job. First, they expose several " "methods to application code so that applications can log messages at " @@ -904,7 +889,7 @@ msgstr "" "Logger-Objekte die betreffenden Protokollmeldungen an alle interessierten " "Protokoll-Handler weiter." -#: ../../howto/logging.rst:439 +#: ../../howto/logging.rst:432 msgid "" "The most widely used methods on logger objects fall into two categories: " "configuration and message sending." @@ -912,11 +897,11 @@ msgstr "" "Die am häufigsten verwendeten Methoden von Logger-Objekten fallen in zwei " "Kategorien: Konfiguration und Senden von Meldungen." -#: ../../howto/logging.rst:442 +#: ../../howto/logging.rst:435 msgid "These are the most common configuration methods:" msgstr "Dies sind die häufigsten Konfigurationsmethoden:" -#: ../../howto/logging.rst:444 +#: ../../howto/logging.rst:437 msgid "" ":meth:`Logger.setLevel` specifies the lowest-severity log message a logger " "will handle, where debug is the lowest built-in severity level and critical " @@ -930,7 +915,7 @@ msgstr "" "Schweregradstufe zum Beispiel INFO, behandelt der Logger nur INFO-, " "WARNING-, ERROR- und CRITICAL-Meldungen und ignoriert DEBUG-Meldungen." -#: ../../howto/logging.rst:450 +#: ../../howto/logging.rst:443 msgid "" ":meth:`Logger.addHandler` and :meth:`Logger.removeHandler` add and remove " "handler objects from the logger object. Handlers are covered in more detail " @@ -940,7 +925,7 @@ msgstr "" "Objekt Handler-Objekte hinzu und entfernen sie wieder. Handler werden " "ausführlicher unter :ref:`handler-basic` behandelt." -#: ../../howto/logging.rst:454 +#: ../../howto/logging.rst:447 msgid "" ":meth:`Logger.addFilter` and :meth:`Logger.removeFilter` add and remove " "filter objects from the logger object. Filters are covered in more detail " @@ -950,7 +935,7 @@ msgstr "" "Objekt Filterobjekte hinzu und entfernen sie wieder. Filter werden " "ausführlicher unter :ref:`filter` behandelt." -#: ../../howto/logging.rst:458 +#: ../../howto/logging.rst:451 msgid "" "You don't need to always call these methods on every logger you create. See " "the last two paragraphs in this section." @@ -958,24 +943,24 @@ msgstr "" "Du musst diese Methoden nicht immer auf jedem Logger aufrufen, den du " "erzeugst. Siehe die letzten zwei Absätze dieses Abschnitts." -#: ../../howto/logging.rst:461 +#: ../../howto/logging.rst:454 msgid "" "With the logger object configured, the following methods create log messages:" msgstr "" "Ist das Logger-Objekt eingerichtet, erzeugen die folgenden Methoden " "Protokollmeldungen:" -#: ../../howto/logging.rst:463 +#: ../../howto/logging.rst:456 +#, fuzzy msgid "" ":meth:`Logger.debug`, :meth:`Logger.info`, :meth:`Logger.warning`, :meth:`Logger.error`, " "and :meth:`Logger.critical` all create log records with a message and a " "level that corresponds to their respective method names. The message is " "actually a format string, which may contain the standard string substitution " -"syntax of ``%s``, ``%d``, ``%f``, and so on. The rest of their arguments is " -"a list of objects that correspond with the substitution fields in the " -"message. With regard to ``**kwargs``, the logging methods care only about a " -"keyword of ``exc_info`` and use it to determine whether to log exception " -"information." +"syntax of ``%s``, ``%d``, ``%f``, and so on. The remaining positional " +"arguments correspond to the substitution fields in the message. These " +"methods also accept the keyword arguments *exc_info*, *extra*, *stack_info*, " +"and *stacklevel*, described in :meth:`Logger.debug`." msgstr "" ":meth:`Logger.debug`, :meth:`Logger.info`, :meth:`Logger.warning`, :meth:`Logger.error` " "und :meth:`Logger.critical` erzeugen alle Protokolldatensätze mit einer " @@ -987,7 +972,7 @@ msgstr "" "Protokollmethoden nur das Schlüsselwort ``exc_info``, mit dem sie bestimmen, " "ob Informationen über eine Ausnahme protokolliert werden." -#: ../../howto/logging.rst:473 +#: ../../howto/logging.rst:465 msgid "" ":meth:`Logger.exception` creates a log message similar " "to :meth:`Logger.error`. The difference is that :meth:`Logger.exception` " @@ -999,7 +984,7 @@ msgstr "" "zusätzlich einen Stapelauszug ausgibt. Rufe diese Methode nur aus einer " "Ausnahmebehandlung auf." -#: ../../howto/logging.rst:477 +#: ../../howto/logging.rst:469 msgid "" ":meth:`Logger.log` takes a log level as an explicit argument. This is a " "little more verbose for logging messages than using the log level " @@ -1011,7 +996,7 @@ msgstr "" "aufgeführten Hilfsmethoden für die Protokollstufen, aber so protokolliert " "man in eigenen Protokollstufen." -#: ../../howto/logging.rst:481 +#: ../../howto/logging.rst:473 msgid "" ":func:`getLogger` returns a reference to a logger instance with the " "specified name if it is provided, or ``root`` if not. The names are period-" @@ -1032,7 +1017,7 @@ msgstr "" "``foo``, Logger mit den Namen ``foo.bar``, ``foo.bar.baz`` und ``foo.bam`` " "alle Nachkommen von ``foo``." -#: ../../howto/logging.rst:489 +#: ../../howto/logging.rst:481 msgid "" "Loggers have a concept of *effective level*. If a level is not explicitly " "set on a logger, the level of its parent is used instead as its effective " @@ -1053,7 +1038,7 @@ msgstr "" "verarbeitet wird, dient die wirksame Stufe des Loggers dazu, zu bestimmen, " "ob das Ereignis an die Handler des Loggers weitergegeben wird." -#: ../../howto/logging.rst:497 +#: ../../howto/logging.rst:489 msgid "" "Child loggers propagate messages up to the handlers associated with their " "ancestor loggers. Because of this, it is unnecessary to define and configure " @@ -1069,11 +1054,11 @@ msgstr "" "Logger zu erzeugen. (Du kannst die Weitergabe allerdings abschalten, indem " "du das Attribut *propagate* eines Loggers auf ``False`` setzt.)" -#: ../../howto/logging.rst:508 +#: ../../howto/logging.rst:500 msgid "Handlers" msgstr "Handler" -#: ../../howto/logging.rst:510 +#: ../../howto/logging.rst:502 msgid "" ":class:`~logging.Handler` objects are responsible for dispatching the " "appropriate log messages (based on the log messages' severity) to the " @@ -1096,7 +1081,7 @@ msgstr "" "dafür zuständig ist, Meldungen eines bestimmten Schweregrads an einen " "bestimmten Ort zu senden." -#: ../../howto/logging.rst:520 +#: ../../howto/logging.rst:512 msgid "" "The standard library includes quite a few handler types (see :ref:`useful-" "handlers`); the tutorials use mainly :class:`StreamHandler` " @@ -1106,7 +1091,7 @@ msgstr "" "(siehe :ref:`useful-handlers`). Die Tutorials verwenden in ihren Beispielen " "vor allem :class:`StreamHandler` und :class:`FileHandler`." -#: ../../howto/logging.rst:524 +#: ../../howto/logging.rst:516 msgid "" "There are very few methods in a handler for application developers to " "concern themselves with. The only handler methods that seem relevant for " @@ -1119,7 +1104,7 @@ msgstr "" "verwenden (also keine eigenen Handler bauen), sind die folgenden " "Konfigurationsmethoden:" -#: ../../howto/logging.rst:529 +#: ../../howto/logging.rst:521 msgid "" "The :meth:`~Handler.setLevel` method, just as in logger objects, specifies " "the lowest severity that will be dispatched to the appropriate destination. " @@ -1135,7 +1120,7 @@ msgstr "" "Handler weitergibt. Die in jedem Handler gesetzte Stufe bestimmt, welche " "Meldungen dieser Handler weitersendet." -#: ../../howto/logging.rst:535 +#: ../../howto/logging.rst:527 msgid "" ":meth:`~Handler.setFormatter` selects a Formatter object for this handler to " "use." @@ -1143,7 +1128,7 @@ msgstr "" ":meth:`~Handler.setFormatter` wählt ein Formatter-Objekt aus, das dieser " "Handler verwenden soll." -#: ../../howto/logging.rst:538 +#: ../../howto/logging.rst:530 msgid "" ":meth:`~Handler.addFilter` and :meth:`~Handler.removeFilter` respectively " "configure and deconfigure filter objects on handlers." @@ -1151,7 +1136,7 @@ msgstr "" ":meth:`~Handler.addFilter` und :meth:`~Handler.removeFilter` richten " "Filterobjekte auf Handlern ein beziehungsweise entfernen sie wieder." -#: ../../howto/logging.rst:541 +#: ../../howto/logging.rst:533 msgid "" "Application code should not directly instantiate and use instances " "of :class:`Handler`. Instead, the :class:`Handler` class is a base class " @@ -1164,11 +1149,11 @@ msgstr "" "und ein Standardverhalten einrichtet, das Kindklassen verwenden (oder " "überschreiben) können." -#: ../../howto/logging.rst:548 +#: ../../howto/logging.rst:540 msgid "Formatters" msgstr "Formatter" -#: ../../howto/logging.rst:550 +#: ../../howto/logging.rst:542 msgid "" "Formatter objects configure the final order, structure, and contents of the " "log message. Unlike the base :class:`logging.Handler` class, application " @@ -1185,7 +1170,7 @@ msgstr "" "optionale Argumente – eine Formatzeichenkette für die Meldung, eine " "Formatzeichenkette für das Datum und einen Stilanzeiger." -#: ../../howto/logging.rst:559 +#: ../../howto/logging.rst:551 msgid "" "If there is no message format string, the default is to use the raw " "message. If there is no date format string, the default date format is:" @@ -1194,11 +1179,11 @@ msgstr "" "rohe Meldung verwendet. Gibt es keine Formatzeichenkette für das Datum, ist " "das Vorgabeformat für das Datum:" -#: ../../howto/logging.rst:562 +#: ../../howto/logging.rst:554 msgid "%Y-%m-%d %H:%M:%S" msgstr "%Y-%m-%d %H:%M:%S" -#: ../../howto/logging.rst:566 +#: ../../howto/logging.rst:558 msgid "" "with the milliseconds tacked on at the end. The ``style`` is one of ``'%'``, " "``'{'``, or ``'$'``. If one of these is not specified, then ``'%'`` will be " @@ -1208,7 +1193,7 @@ msgstr "" "``'%'``, ``'{'`` oder ``'$'``. Ist keiner davon angegeben, wird ``'%'`` " "verwendet." -#: ../../howto/logging.rst:569 +#: ../../howto/logging.rst:561 msgid "" "If the ``style`` is ``'%'``, the message format string uses ``%()s`` styled string substitution; the possible keys are documented " @@ -1225,11 +1210,11 @@ msgstr "" "der Stil ``'$'``, sollte die Formatzeichenkette dem entsprechen, " "was :meth:`string.Template.substitute` erwartet." -#: ../../howto/logging.rst:576 +#: ../../howto/logging.rst:568 msgid "Added the ``style`` parameter." msgstr "Der Parameter ``style`` wurde ergänzt." -#: ../../howto/logging.rst:579 +#: ../../howto/logging.rst:571 msgid "" "The following message format string will log the time in a human-readable " "format, the severity of the message, and the contents of the message, in " @@ -1239,11 +1224,11 @@ msgstr "" "einem für Menschen lesbaren Format, den Schweregrad der Meldung und den " "Inhalt der Meldung, in dieser Reihenfolge::" -#: ../../howto/logging.rst:583 +#: ../../howto/logging.rst:575 msgid "'%(asctime)s - %(levelname)s - %(message)s'" msgstr "'%(asctime)s - %(levelname)s - %(message)s'" -#: ../../howto/logging.rst:585 +#: ../../howto/logging.rst:577 msgid "" "Formatters use a user-configurable function to convert the creation time of " "a record to a tuple. By default, :func:`time.localtime` is used; to change " @@ -1263,15 +1248,15 @@ msgstr "" "``converter`` in der Klasse Formatter (auf ``time.gmtime`` für die Anzeige " "in GMT)." -#: ../../howto/logging.rst:595 +#: ../../howto/logging.rst:587 msgid "Configuring Logging" msgstr "Protokollierung einrichten" -#: ../../howto/logging.rst:599 +#: ../../howto/logging.rst:591 msgid "Programmers can configure logging in three ways:" msgstr "Programmierer können die Protokollierung auf drei Wege einrichten:" -#: ../../howto/logging.rst:601 +#: ../../howto/logging.rst:593 msgid "" "Creating loggers, handlers, and formatters explicitly using Python code that " "calls the configuration methods listed above." @@ -1279,7 +1264,7 @@ msgstr "" "Logger, Handler und Formatter ausdrücklich in Python-Code erzeugen, der die " "oben aufgeführten Konfigurationsmethoden aufruft." -#: ../../howto/logging.rst:603 +#: ../../howto/logging.rst:595 msgid "" "Creating a logging config file and reading it using the :func:`fileConfig` " "function." @@ -1287,7 +1272,7 @@ msgstr "" "Eine Konfigurationsdatei für die Protokollierung erzeugen und sie mit der " "Funktion :func:`fileConfig` einlesen." -#: ../../howto/logging.rst:605 +#: ../../howto/logging.rst:597 msgid "" "Creating a dictionary of configuration information and passing it to " "the :func:`dictConfig` function." @@ -1295,7 +1280,7 @@ msgstr "" "Ein Wörterbuch mit Konfigurationsinformationen erzeugen und es an die " "Funktion :func:`dictConfig` übergeben." -#: ../../howto/logging.rst:608 +#: ../../howto/logging.rst:600 msgid "" "For the reference documentation on the last two options, see :ref:`logging-" "config-api`. The following example configures a very simple logger, a " @@ -1306,7 +1291,7 @@ msgstr "" "Code einen ganz einfachen Logger, einen Konsolen-Handler und einen einfachen " "Formatter ein::" -#: ../../howto/logging.rst:612 +#: ../../howto/logging.rst:604 msgid "" "import logging\n" "\n" @@ -1362,13 +1347,13 @@ msgstr "" "logger.error('error message')\n" "logger.critical('critical message')" -#: ../../howto/logging.rst:638 +#: ../../howto/logging.rst:630 msgid "" "Running this module from the command line produces the following output:" msgstr "" "Dieses Modul von der Befehlszeile auszuführen erzeugt die folgende Ausgabe:" -#: ../../howto/logging.rst:640 +#: ../../howto/logging.rst:632 msgid "" "$ python simple_logging_module.py\n" "2005-03-19 15:10:26,618 - simple_example - DEBUG - debug message\n" @@ -1384,7 +1369,7 @@ msgstr "" "2005-03-19 15:10:26,697 - simple_example - ERROR - error message\n" "2005-03-19 15:10:26,773 - simple_example - CRITICAL - critical message" -#: ../../howto/logging.rst:649 +#: ../../howto/logging.rst:641 msgid "" "The following Python module creates a logger, handler, and formatter nearly " "identical to those in the example listed above, with the only difference " @@ -1394,7 +1379,7 @@ msgstr "" "Formatter, die denen im oben aufgeführten Beispiel fast gleichen. Der " "einzige Unterschied sind die Namen der Objekte::" -#: ../../howto/logging.rst:653 +#: ../../howto/logging.rst:645 msgid "" "import logging\n" "import logging.config\n" @@ -1426,11 +1411,11 @@ msgstr "" "logger.error('error message')\n" "logger.critical('critical message')" -#: ../../howto/logging.rst:668 +#: ../../howto/logging.rst:660 msgid "Here is the logging.conf file:" msgstr "Hier die Datei logging.conf:" -#: ../../howto/logging.rst:670 +#: ../../howto/logging.rst:662 msgid "" "[loggers]\n" "keys=root,simpleExample\n" @@ -1488,12 +1473,12 @@ msgstr "" "[formatter_simpleFormatter]\n" "format=%(asctime)s - %(name)s - %(levelname)s - %(message)s" -#: ../../howto/logging.rst:700 +#: ../../howto/logging.rst:692 msgid "" "The output is nearly identical to that of the non-config-file-based example:" msgstr "Die Ausgabe gleicht der des Beispiels ohne Konfigurationsdatei fast:" -#: ../../howto/logging.rst:702 +#: ../../howto/logging.rst:694 msgid "" "$ python simple_logging_config.py\n" "2005-03-19 15:38:55,977 - simpleExample - DEBUG - debug message\n" @@ -1509,7 +1494,7 @@ msgstr "" "2005-03-19 15:38:56,055 - simpleExample - ERROR - error message\n" "2005-03-19 15:38:56,130 - simpleExample - CRITICAL - critical message" -#: ../../howto/logging.rst:711 +#: ../../howto/logging.rst:703 msgid "" "You can see that the config file approach has a few advantages over the " "Python code approach, mainly separation of configuration and code and the " @@ -1520,7 +1505,7 @@ msgstr "" "Konfiguration und Code und die Möglichkeit, dass auch Nichtprogrammierer die " "Protokollierungseigenschaften mühelos ändern können." -#: ../../howto/logging.rst:715 +#: ../../howto/logging.rst:707 msgid "" "The :func:`fileConfig` function takes a default parameter, " "``disable_existing_loggers``, which defaults to ``True`` for reasons of " @@ -1539,7 +1524,7 @@ msgstr "" "der Konfiguration genannt sind. Näheres steht in der Referenzdokumentation. " "Gib für diesen Parameter ``False`` an, wenn du das möchtest." -#: ../../howto/logging.rst:723 +#: ../../howto/logging.rst:715 msgid "" "The dictionary passed to :func:`dictConfig` can also specify a Boolean value " "with key ``disable_existing_loggers``, which if not specified explicitly in " @@ -1555,7 +1540,7 @@ msgstr "" "willst. Gib in diesem Fall den Schlüssel ausdrücklich mit dem Wert ``False`` " "an." -#: ../../howto/logging.rst:733 +#: ../../howto/logging.rst:725 msgid "" "Note that the class names referenced in config files need to be either " "relative to the logging module, or absolute values which can be resolved " @@ -1573,7 +1558,7 @@ msgstr "" "die im Paket ``mypackage`` und im Modul ``mymodule`` definiert ist, wobei " "``mypackage`` auf dem Python-Importpfad verfügbar ist)." -#: ../../howto/logging.rst:741 +#: ../../howto/logging.rst:733 msgid "" "In Python 3.2, a new means of configuring logging has been introduced, using " "dictionaries to hold configuration information. This provides a superset of " @@ -1601,7 +1586,7 @@ msgstr "" "Socket in Pickle-Form empfangen oder welchen Weg auch immer nehmen, der für " "deine Anwendung passt." -#: ../../howto/logging.rst:753 +#: ../../howto/logging.rst:745 msgid "" "Here's an example of the same configuration as above, in YAML format for the " "new dictionary-based approach:" @@ -1609,7 +1594,7 @@ msgstr "" "Hier ein Beispiel derselben Konfiguration wie oben, im YAML-Format für den " "neuen, wörterbuchbasierten Weg:" -#: ../../howto/logging.rst:756 +#: ../../howto/logging.rst:748 msgid "" "version: 1\n" "formatters:\n" @@ -1649,7 +1634,7 @@ msgstr "" " level: DEBUG\n" " handlers: [console]" -#: ../../howto/logging.rst:777 +#: ../../howto/logging.rst:769 msgid "" "For more information about logging using a dictionary, see :ref:`logging-" "config-api`." @@ -1657,11 +1642,11 @@ msgstr "" "Mehr Informationen über die Protokollierung mit einem Wörterbuch stehen " "unter :ref:`logging-config-api`." -#: ../../howto/logging.rst:781 +#: ../../howto/logging.rst:773 msgid "What happens if no configuration is provided" msgstr "Was passiert, wenn keine Konfiguration angegeben ist" -#: ../../howto/logging.rst:783 +#: ../../howto/logging.rst:775 msgid "" "If no logging configuration is provided, it is possible to have a situation " "where a logging event needs to be output, but no handlers can be found to " @@ -1671,7 +1656,7 @@ msgstr "" "kommen, in der ein Protokollereignis ausgegeben werden muss, aber kein " "Handler gefunden werden kann, der das Ereignis ausgibt." -#: ../../howto/logging.rst:787 +#: ../../howto/logging.rst:779 msgid "" "The event is output using a 'handler of last resort', stored " "in :data:`lastResort`. This internal handler is not associated with any " @@ -1691,11 +1676,11 @@ msgstr "" "Stufe des Handlers ist auf ``WARNING`` gesetzt, es werden also alle " "Ereignisse dieses und höheren Schweregrads ausgegeben." -#: ../../howto/logging.rst:798 +#: ../../howto/logging.rst:790 msgid "For versions of Python prior to 3.2, the behaviour is as follows:" msgstr "In Python-Versionen vor 3.2 ist das Verhalten wie folgt:" -#: ../../howto/logging.rst:800 +#: ../../howto/logging.rst:792 msgid "" "If :data:`raiseExceptions` is ``False`` (production mode), the event is " "silently dropped." @@ -1703,7 +1688,7 @@ msgstr "" "Ist :data:`raiseExceptions` ``False`` (Produktionsbetrieb), wird das " "Ereignis stillschweigend verworfen." -#: ../../howto/logging.rst:803 +#: ../../howto/logging.rst:795 msgid "" "If :data:`raiseExceptions` is ``True`` (development mode), a message 'No " "handlers could be found for logger X.Y.Z' is printed once." @@ -1711,18 +1696,18 @@ msgstr "" "Ist :data:`raiseExceptions` ``True`` (Entwicklungsbetrieb), wird einmal die " "Meldung „No handlers could be found for logger X.Y.Z“ ausgegeben." -#: ../../howto/logging.rst:806 +#: ../../howto/logging.rst:798 msgid "" "To obtain the pre-3.2 behaviour, :data:`lastResort` can be set to ``None``." msgstr "" "Um das Verhalten von vor 3.2 zu bekommen, lässt sich :data:`lastResort` auf " "``None`` setzen." -#: ../../howto/logging.rst:812 +#: ../../howto/logging.rst:804 msgid "Configuring Logging for a Library" msgstr "Protokollierung für eine Bibliothek einrichten" -#: ../../howto/logging.rst:814 +#: ../../howto/logging.rst:806 msgid "" "When developing a library which uses logging, you should take care to " "document how the library uses logging - for example, the names of loggers " @@ -1741,7 +1726,7 @@ msgstr "" "Ereignisse mit Schweregrad ``WARNING`` und höher auf ``sys.stderr`` " "ausgegeben. Das gilt als bestes Standardverhalten." -#: ../../howto/logging.rst:822 +#: ../../howto/logging.rst:814 msgid "" "If for some reason you *don't* want these messages printed in the absence of " "any logging configuration, you can attach a do-nothing handler to the top-" @@ -1762,7 +1747,7 @@ msgstr "" "eingerichtet sind, senden Protokollaufrufe im Bibliothekscode ihre Ausgabe " "wie üblich an diese Handler." -#: ../../howto/logging.rst:831 +#: ../../howto/logging.rst:823 msgid "" "A do-nothing handler is included in the logging " "package: :class:`~logging.NullHandler` (since Python 3.1). An instance of " @@ -1781,7 +1766,7 @@ msgstr "" "alle Protokollierung einer Bibliothek *foo* über Logger mit Namen wie " "„foo.x“, „foo.x.y“ usw. abgewickelt, dann sollte der Code::" -#: ../../howto/logging.rst:839 +#: ../../howto/logging.rst:831 msgid "" "import logging\n" "logging.getLogger('foo').addHandler(logging.NullHandler())" @@ -1789,7 +1774,7 @@ msgstr "" "import logging\n" "logging.getLogger('foo').addHandler(logging.NullHandler())" -#: ../../howto/logging.rst:842 +#: ../../howto/logging.rst:834 msgid "" "should have the desired effect. If an organisation produces a number of " "libraries, then the logger name specified can be 'orgname.foo' rather than " @@ -1799,7 +1784,7 @@ msgstr "" "Bibliotheken, kann der angegebene Logger-Name „orgname.foo“ anstelle von nur " "„foo“ lauten." -#: ../../howto/logging.rst:846 +#: ../../howto/logging.rst:838 msgid "" "It is strongly advised that you *do not log to the root logger* in your " "library. Instead, use a logger with a unique and easily identifiable name, " @@ -1816,7 +1801,7 @@ msgstr "" "der Protokollierung oder die Handler deiner Bibliothek so einzurichten, wie " "er möchte." -#: ../../howto/logging.rst:853 +#: ../../howto/logging.rst:845 msgid "" "It is strongly advised that you *do not add any handlers other " "than* :class:`~logging.NullHandler` *to your library's loggers*. This is " @@ -1836,11 +1821,11 @@ msgstr "" "Fähigkeit, Unit-Tests durchzuführen und Protokolle zu liefern, die seinen " "Anforderungen entsprechen." -#: ../../howto/logging.rst:864 +#: ../../howto/logging.rst:856 msgid "Logging Levels" msgstr "Protokollierungsstufen" -#: ../../howto/logging.rst:866 +#: ../../howto/logging.rst:858 msgid "" "The numeric values of logging levels are given in the following table. These " "are primarily of interest if you want to define your own levels, and need " @@ -1855,39 +1840,39 @@ msgstr "" "überschreibt sie den vordefinierten Wert. Der vordefinierte Name geht " "verloren." -#: ../../howto/logging.rst:873 +#: ../../howto/logging.rst:865 msgid "Numeric value" msgstr "Zahlenwert" -#: ../../howto/logging.rst:875 +#: ../../howto/logging.rst:867 msgid "50" msgstr "50" -#: ../../howto/logging.rst:877 +#: ../../howto/logging.rst:869 msgid "40" msgstr "40" -#: ../../howto/logging.rst:879 +#: ../../howto/logging.rst:871 msgid "30" msgstr "30" -#: ../../howto/logging.rst:881 +#: ../../howto/logging.rst:873 msgid "20" msgstr "20" -#: ../../howto/logging.rst:883 +#: ../../howto/logging.rst:875 msgid "10" msgstr "10" -#: ../../howto/logging.rst:885 +#: ../../howto/logging.rst:877 msgid "``NOTSET``" msgstr "``NOTSET``" -#: ../../howto/logging.rst:885 +#: ../../howto/logging.rst:877 msgid "0" msgstr "0" -#: ../../howto/logging.rst:888 +#: ../../howto/logging.rst:880 msgid "" "Levels can also be associated with loggers, being set either by the " "developer or through loading a saved logging configuration. When a logging " @@ -1905,7 +1890,7 @@ msgstr "" "der grundlegende Mechanismus, der die Ausführlichkeit der Protokollausgabe " "steuert." -#: ../../howto/logging.rst:895 +#: ../../howto/logging.rst:887 msgid "" "Logging messages are encoded as instances of the :class:`~logging.LogRecord` " "class. When a logger decides to actually log an event, " @@ -1916,7 +1901,7 @@ msgstr "" "Ereignis tatsächlich zu protokollieren, wird aus der Protokollmeldung " "eine :class:`~logging.LogRecord`-Instanz erzeugt." -#: ../../howto/logging.rst:899 +#: ../../howto/logging.rst:891 msgid "" "Logging messages are subjected to a dispatch mechanism through the use " "of :dfn:`handlers`, which are instances of subclasses of " @@ -1946,7 +1931,7 @@ msgstr "" "aufgerufen (sofern das Flag *propagate* eines Loggers nicht auf einen " "falschen Wert gesetzt ist – an diesem Punkt endet die Weitergabe nach oben)." -#: ../../howto/logging.rst:913 +#: ../../howto/logging.rst:905 msgid "" "Just as for loggers, handlers can have levels associated with them. A " "handler's level acts as a filter in the same way as a logger's level does. " @@ -1962,11 +1947,11 @@ msgstr "" "geschriebenen Unterklassen von :class:`Handler` müssen " "dieses :meth:`~Handler.emit` überschreiben." -#: ../../howto/logging.rst:922 +#: ../../howto/logging.rst:914 msgid "Custom Levels" msgstr "Eigene Stufen" -#: ../../howto/logging.rst:924 +#: ../../howto/logging.rst:916 msgid "" "Defining your own levels is possible, but should not be necessary, as the " "existing levels have been chosen on the basis of practical experience. " @@ -1989,11 +1974,11 @@ msgstr "" "deuten ist, weil ein gegebener Zahlenwert in verschiedenen Bibliotheken " "Verschiedenes bedeuten kann." -#: ../../howto/logging.rst:937 +#: ../../howto/logging.rst:929 msgid "Useful Handlers" msgstr "Nützliche Handler" -#: ../../howto/logging.rst:939 +#: ../../howto/logging.rst:931 msgid "" "In addition to the base :class:`Handler` class, many useful subclasses are " "provided:" @@ -2001,7 +1986,7 @@ msgstr "" "Neben der Basisklasse :class:`Handler` werden viele nützliche Unterklassen " "angeboten:" -#: ../../howto/logging.rst:942 +#: ../../howto/logging.rst:934 msgid "" ":class:`StreamHandler` instances send messages to streams (file-like " "objects)." @@ -2009,13 +1994,13 @@ msgstr "" ":class:`StreamHandler`-Instanzen senden Meldungen an Ströme (dateiartige " "Objekte)." -#: ../../howto/logging.rst:945 +#: ../../howto/logging.rst:937 msgid ":class:`FileHandler` instances send messages to disk files." msgstr "" ":class:`FileHandler`-Instanzen senden Meldungen an Dateien auf der " "Festplatte." -#: ../../howto/logging.rst:947 +#: ../../howto/logging.rst:939 msgid "" ":class:`~handlers.BaseRotatingHandler` is the base class for handlers that " "rotate log files at a certain point. It is not meant to be instantiated " @@ -2028,7 +2013,7 @@ msgstr "" "stattdessen :class:`~handlers.RotatingFileHandler` " "oder :class:`~handlers.TimedRotatingFileHandler`." -#: ../../howto/logging.rst:952 +#: ../../howto/logging.rst:944 msgid "" ":class:`~handlers.RotatingFileHandler` instances send messages to disk " "files, with support for maximum log file sizes and log file rotation." @@ -2037,7 +2022,7 @@ msgstr "" "auf der Festplatte und unterstützen eine maximale Größe der Protokolldatei " "sowie das Rollieren von Protokolldateien." -#: ../../howto/logging.rst:955 +#: ../../howto/logging.rst:947 msgid "" ":class:`~handlers.TimedRotatingFileHandler` instances send messages to disk " "files, rotating the log file at certain timed intervals." @@ -2046,7 +2031,7 @@ msgstr "" "Dateien auf der Festplatte und rollieren die Protokolldatei in bestimmten " "Zeitabständen." -#: ../../howto/logging.rst:958 +#: ../../howto/logging.rst:950 msgid "" ":class:`~handlers.SocketHandler` instances send messages to TCP/IP sockets. " "Since 3.4, Unix domain sockets are also supported." @@ -2054,7 +2039,7 @@ msgstr "" ":class:`~handlers.SocketHandler`-Instanzen senden Meldungen an TCP/IP-" "Sockets. Seit 3.4 werden auch Unix-Domain-Sockets unterstützt." -#: ../../howto/logging.rst:961 +#: ../../howto/logging.rst:953 msgid "" ":class:`~handlers.DatagramHandler` instances send messages to UDP sockets. " "Since 3.4, Unix domain sockets are also supported." @@ -2062,7 +2047,7 @@ msgstr "" ":class:`~handlers.DatagramHandler`-Instanzen senden Meldungen an UDP-" "Sockets. Seit 3.4 werden auch Unix-Domain-Sockets unterstützt." -#: ../../howto/logging.rst:964 +#: ../../howto/logging.rst:956 msgid "" ":class:`~handlers.SMTPHandler` instances send messages to a designated email " "address." @@ -2070,7 +2055,7 @@ msgstr "" ":class:`~handlers.SMTPHandler`-Instanzen senden Meldungen an eine bestimmte " "E-Mail-Adresse." -#: ../../howto/logging.rst:967 +#: ../../howto/logging.rst:959 msgid "" ":class:`~handlers.SysLogHandler` instances send messages to a Unix syslog " "daemon, possibly on a remote machine." @@ -2078,7 +2063,7 @@ msgstr "" ":class:`~handlers.SysLogHandler`-Instanzen senden Meldungen an einen Unix-" "syslog-Dienst, möglicherweise auf einem fernen Rechner." -#: ../../howto/logging.rst:970 +#: ../../howto/logging.rst:962 msgid "" ":class:`~handlers.NTEventLogHandler` instances send messages to a Windows NT/" "2000/XP event log." @@ -2086,7 +2071,7 @@ msgstr "" ":class:`~handlers.NTEventLogHandler`-Instanzen senden Meldungen an ein " "Ereignisprotokoll von Windows NT/2000/XP." -#: ../../howto/logging.rst:973 +#: ../../howto/logging.rst:965 msgid "" ":class:`~handlers.MemoryHandler` instances send messages to a buffer in " "memory, which is flushed whenever specific criteria are met." @@ -2094,7 +2079,7 @@ msgstr "" ":class:`~handlers.MemoryHandler`-Instanzen senden Meldungen in einen Puffer " "im Speicher, der geleert wird, sobald bestimmte Bedingungen erfüllt sind." -#: ../../howto/logging.rst:976 +#: ../../howto/logging.rst:968 msgid "" ":class:`~handlers.HTTPHandler` instances send messages to an HTTP server " "using either ``GET`` or ``POST`` semantics." @@ -2102,7 +2087,7 @@ msgstr "" ":class:`~handlers.HTTPHandler`-Instanzen senden Meldungen über ``GET``- oder " "``POST``-Semantik an einen HTTP-Server." -#: ../../howto/logging.rst:979 +#: ../../howto/logging.rst:971 msgid "" ":class:`~handlers.WatchedFileHandler` instances watch the file they are " "logging to. If the file changes, it is closed and reopened using the file " @@ -2114,7 +2099,7 @@ msgstr "" "Dateinamen wieder geöffnet. Dieser Handler ist nur auf Unix-artigen Systemen " "nützlich; Windows unterstützt den zugrunde liegenden Mechanismus nicht." -#: ../../howto/logging.rst:984 +#: ../../howto/logging.rst:976 msgid "" ":class:`~handlers.QueueHandler` instances send messages to a queue, such as " "those implemented in the :mod:`queue` or :mod:`multiprocessing` modules." @@ -2123,7 +2108,7 @@ msgstr "" "Warteschlange, etwa an die in den Modulen :mod:`queue` " "oder :mod:`multiprocessing` umgesetzten." -#: ../../howto/logging.rst:987 +#: ../../howto/logging.rst:979 msgid "" ":class:`NullHandler` instances do nothing with error messages. They are used " "by library developers who want to use logging, but want to avoid the 'No " @@ -2137,15 +2122,15 @@ msgstr "" "erscheinen kann, wenn der Nutzer der Bibliothek keine Protokollierung " "eingerichtet hat. Mehr Informationen stehen unter :ref:`library-config`." -#: ../../howto/logging.rst:993 +#: ../../howto/logging.rst:985 msgid "The :class:`NullHandler` class." msgstr "Die Klasse :class:`NullHandler`." -#: ../../howto/logging.rst:996 +#: ../../howto/logging.rst:988 msgid "The :class:`~handlers.QueueHandler` class." msgstr "Die Klasse :class:`~handlers.QueueHandler`." -#: ../../howto/logging.rst:999 +#: ../../howto/logging.rst:991 msgid "" "The :class:`NullHandler`, :class:`StreamHandler` and :class:`FileHandler` " "classes are defined in the core logging package. The other handlers are " @@ -2158,7 +2143,7 @@ msgstr "" "gibt außerdem ein weiteres Untermodul, :mod:`logging.config`, für die " "Konfigurationsfunktionalität.)" -#: ../../howto/logging.rst:1004 +#: ../../howto/logging.rst:996 msgid "" "Logged messages are formatted for presentation through instances of " "the :class:`Formatter` class. They are initialized with a format string " @@ -2169,19 +2154,21 @@ msgstr "" "Formatzeichenkette initialisiert, die zur Verwendung mit dem %-Operator und " "einem Wörterbuch passt." -#: ../../howto/logging.rst:1008 +#: ../../howto/logging.rst:1000 +#, fuzzy msgid "" "For formatting multiple messages in a batch, instances " -"of :class:`BufferingFormatter` can be used. In addition to the format string " -"(which is applied to each message in the batch), there is provision for " -"header and trailer format strings." +"of :class:`BufferingFormatter` can be used. A line formatter formats each " +"record in the batch. To add a header or footer, " +"override :meth:`~BufferingFormatter.formatHeader` " +"or :meth:`~BufferingFormatter.formatFooter`." msgstr "" "Um mehrere Meldungen in einem Stapel zu formatieren, lassen sich Instanzen " "von :class:`BufferingFormatter` verwenden. Neben der Formatzeichenkette (die " "auf jede Meldung im Stapel angewendet wird) gibt es die Möglichkeit, " "Formatzeichenketten für Kopf und Fuß anzugeben." -#: ../../howto/logging.rst:1013 +#: ../../howto/logging.rst:1005 msgid "" "When filtering based on logger level and/or handler level is not enough, " "instances of :class:`Filter` can be added to both :class:`Logger` " @@ -2198,7 +2185,7 @@ msgstr "" "Filter um Erlaubnis. Gibt irgendein Filter einen falschen Wert zurück, wird " "die Meldung nicht weiter verarbeitet." -#: ../../howto/logging.rst:1020 +#: ../../howto/logging.rst:1012 msgid "" "The basic :class:`Filter` functionality allows filtering by specific logger " "name. If this feature is used, messages sent to the named logger and its " @@ -2209,11 +2196,11 @@ msgstr "" "Filter Meldungen durch, die an den genannten Logger und seine Kind-Logger " "gesendet werden, und verwirft alle anderen." -#: ../../howto/logging.rst:1028 +#: ../../howto/logging.rst:1020 msgid "Exceptions raised during logging" msgstr "Ausnahmen, die während der Protokollierung ausgelöst werden" -#: ../../howto/logging.rst:1030 +#: ../../howto/logging.rst:1022 msgid "" "The logging package is designed to swallow exceptions which occur while " "logging in production. This is so that errors which occur while handling " @@ -2226,7 +2213,7 @@ msgstr "" "falsche Protokollierungskonfiguration, Netzwerkfehler oder ähnliche Fehler " "–, die Anwendung, die Protokollierung verwendet, vorzeitig beenden." -#: ../../howto/logging.rst:1035 +#: ../../howto/logging.rst:1027 msgid "" ":class:`SystemExit` and :class:`KeyboardInterrupt` exceptions are never " "swallowed. Other exceptions which occur during the :meth:`~Handler.emit` " @@ -2238,7 +2225,7 @@ msgstr "" "Methode :meth:`~Handler.emit` einer :class:`Handler`-Unterklasse auftreten, " "werden an deren Methode :meth:`~Handler.handleError` übergeben." -#: ../../howto/logging.rst:1040 +#: ../../howto/logging.rst:1032 msgid "" "The default implementation of :meth:`~Handler.handleError` " "in :class:`Handler` checks to see if a module-level " @@ -2250,7 +2237,7 @@ msgstr "" "ist. Ist sie gesetzt, wird ein Traceback auf :data:`sys.stderr` ausgegeben. " "Ist sie nicht gesetzt, wird die Ausnahme verschluckt." -#: ../../howto/logging.rst:1046 +#: ../../howto/logging.rst:1038 msgid "" "The default value of :data:`raiseExceptions` is ``True``. This is because " "during development, you typically want to be notified of any exceptions that " @@ -2262,20 +2249,18 @@ msgstr "" "Bescheid wissen. Es ist ratsam, :data:`raiseExceptions` für den " "Produktionsbetrieb auf ``False`` zu setzen." -#: ../../howto/logging.rst:1056 +#: ../../howto/logging.rst:1048 msgid "Using arbitrary objects as messages" msgstr "Beliebige Objekte als Meldungen verwenden" -#: ../../howto/logging.rst:1058 +#: ../../howto/logging.rst:1050 +#, fuzzy msgid "" "In the preceding sections and examples, it has been assumed that the message " "passed when logging the event is a string. However, this is not the only " "possibility. You can pass an arbitrary object as a message, and " "its :meth:`~object.__str__` method will be called when the logging system " -"needs to convert it to a string representation. In fact, if you want to, you " -"can avoid computing a string representation altogether - for example, " -"the :class:`~handlers.SocketHandler` emits an event by pickling it and " -"sending it over the wire." +"needs to convert it to a string representation." msgstr "" "In den vorangegangenen Abschnitten und Beispielen wurde angenommen, dass die " "beim Protokollieren des Ereignisses übergebene Meldung eine Zeichenkette " @@ -2287,11 +2272,11 @@ msgstr "" "der :class:`~handlers.SocketHandler` zum Beispiel ein Ereignis aus, indem er " "es mit pickle serialisiert und über die Leitung sendet." -#: ../../howto/logging.rst:1069 +#: ../../howto/logging.rst:1058 msgid "Optimization" msgstr "Optimierung" -#: ../../howto/logging.rst:1071 +#: ../../howto/logging.rst:1060 msgid "" "Formatting of message arguments is deferred until it cannot be avoided. " "However, computing the arguments passed to the logging method can also be " @@ -2310,7 +2295,7 @@ msgstr "" "und wahr zurückgibt, wenn der Logger das Ereignis für diese Aufrufstufe " "erzeugen würde. Du kannst Code wie diesen schreiben::" -#: ../../howto/logging.rst:1079 +#: ../../howto/logging.rst:1068 msgid "" "if logger.isEnabledFor(logging.DEBUG):\n" " logger.debug('Message with %s, %s', expensive_func1(),\n" @@ -2320,7 +2305,7 @@ msgstr "" " logger.debug('Message with %s, %s', expensive_func1(),\n" " expensive_func2())" -#: ../../howto/logging.rst:1083 +#: ../../howto/logging.rst:1072 msgid "" "so that if the logger's threshold is set above ``DEBUG``, the calls to " "``expensive_func1`` and ``expensive_func2`` are never made." @@ -2328,7 +2313,7 @@ msgstr "" "sodass die Aufrufe von ``expensive_func1`` und ``expensive_func2`` nie " "erfolgen, wenn die Schwelle des Loggers über ``DEBUG`` liegt." -#: ../../howto/logging.rst:1086 +#: ../../howto/logging.rst:1075 msgid "" "In some cases, :meth:`~Logger.isEnabledFor` can itself be more expensive " "than you'd like (e.g. for deeply nested loggers where an explicit level is " @@ -2350,7 +2335,7 @@ msgstr "" "neu berechnet werden, wenn sich die Protokollierungskonfiguration dynamisch " "während des Laufs der Anwendung ändert (was nicht besonders häufig vorkommt)." -#: ../../howto/logging.rst:1095 +#: ../../howto/logging.rst:1084 msgid "" "There are other optimizations which can be made for specific applications " "which need more precise control over what logging information is collected. " @@ -2362,19 +2347,19 @@ msgstr "" "Dingen, mit denen du Verarbeitung während der Protokollierung vermeiden " "kannst, die du nicht brauchst:" -#: ../../howto/logging.rst:1101 +#: ../../howto/logging.rst:1090 msgid "What you don't want to collect" msgstr "Was du nicht sammeln willst" -#: ../../howto/logging.rst:1101 +#: ../../howto/logging.rst:1090 msgid "How to avoid collecting it" msgstr "Wie du das Sammeln vermeidest" -#: ../../howto/logging.rst:1103 +#: ../../howto/logging.rst:1092 msgid "Information about where calls were made from." msgstr "Informationen darüber, von wo Aufrufe erfolgten." -#: ../../howto/logging.rst:1103 +#: ../../howto/logging.rst:1092 msgid "" "Set ``logging._srcfile`` to ``None``. This avoids " "calling :func:`sys._getframe`, which may help to speed up your code in " @@ -2386,23 +2371,23 @@ msgstr "" "beschleunigen kann (das Code, der :func:`sys._getframe` verwendet, nicht " "beschleunigen kann)." -#: ../../howto/logging.rst:1109 +#: ../../howto/logging.rst:1098 msgid "Threading information." msgstr "Informationen über Threads." -#: ../../howto/logging.rst:1109 +#: ../../howto/logging.rst:1098 msgid "Set ``logging.logThreads`` to ``False``." msgstr "Setze ``logging.logThreads`` auf ``False``." -#: ../../howto/logging.rst:1111 +#: ../../howto/logging.rst:1100 msgid "Current process ID (:func:`os.getpid`)" msgstr "Aktuelle Prozesskennung (:func:`os.getpid`)" -#: ../../howto/logging.rst:1111 +#: ../../howto/logging.rst:1100 msgid "Set ``logging.logProcesses`` to ``False``." msgstr "Setze ``logging.logProcesses`` auf ``False``." -#: ../../howto/logging.rst:1113 +#: ../../howto/logging.rst:1102 msgid "" "Current process name when using ``multiprocessing`` to manage multiple " "processes." @@ -2410,20 +2395,20 @@ msgstr "" "Aktueller Prozessname bei Verwendung von ``multiprocessing`` zur Verwaltung " "mehrerer Prozesse." -#: ../../howto/logging.rst:1113 +#: ../../howto/logging.rst:1102 msgid "Set ``logging.logMultiprocessing`` to ``False``." msgstr "Setze ``logging.logMultiprocessing`` auf ``False``." -#: ../../howto/logging.rst:1116 +#: ../../howto/logging.rst:1105 msgid "Current :class:`asyncio.Task` name when using ``asyncio``." msgstr "" "Aktueller Name der :class:`asyncio.Task` bei Verwendung von ``asyncio``." -#: ../../howto/logging.rst:1116 +#: ../../howto/logging.rst:1105 msgid "Set ``logging.logAsyncioTasks`` to ``False``." msgstr "Setze ``logging.logAsyncioTasks`` auf ``False``." -#: ../../howto/logging.rst:1120 +#: ../../howto/logging.rst:1109 msgid "" "Also note that the core logging module only includes the basic handlers. If " "you don't import :mod:`logging.handlers` and :mod:`logging.config`, they " @@ -2433,34 +2418,48 @@ msgstr "" "enthält. Wenn du :mod:`logging.handlers` und :mod:`logging.config` nicht " "importierst, belegen sie keinen Speicher." -#: ../../howto/logging.rst:1127 +#: ../../howto/logging.rst:1116 msgid "Other resources" msgstr "Weitere Quellen" -#: ../../howto/logging.rst:1131 +#: ../../howto/logging.rst:1120 msgid "Module :mod:`logging`" msgstr "Modul :mod:`logging`" -#: ../../howto/logging.rst:1132 +#: ../../howto/logging.rst:1121 msgid "API reference for the logging module." msgstr "API-Referenz zum Modul logging." -#: ../../howto/logging.rst:1134 +#: ../../howto/logging.rst:1123 msgid "Module :mod:`logging.config`" msgstr "Modul :mod:`logging.config`" -#: ../../howto/logging.rst:1135 +#: ../../howto/logging.rst:1124 msgid "Configuration API for the logging module." msgstr "Konfigurations-API zum Modul logging." -#: ../../howto/logging.rst:1137 +#: ../../howto/logging.rst:1126 msgid "Module :mod:`logging.handlers`" msgstr "Modul :mod:`logging.handlers`" -#: ../../howto/logging.rst:1138 +#: ../../howto/logging.rst:1127 msgid "Useful handlers included with the logging module." msgstr "Nützliche Handler, die das Modul logging mitbringt." -#: ../../howto/logging.rst:1140 +#: ../../howto/logging.rst:1129 msgid ":ref:`A logging cookbook `" msgstr ":ref:`Ein Kochbuch zur Protokollierung `" + +#~ msgid "" +#~ "The *encoding* argument was added. In earlier Python versions, or if not " +#~ "specified, the encoding used is the default value used by :func:`open`. " +#~ "While not shown in the above example, an *errors* argument can also now " +#~ "be passed, which determines how encoding errors are handled. For " +#~ "available values and the default, see the documentation for :func:`open`." +#~ msgstr "" +#~ "Das Argument *encoding* wurde ergänzt. In früheren Python-Versionen oder " +#~ "wenn es nicht angegeben ist, wird die Kodierung verwendet, " +#~ "die :func:`open` standardmäßig nutzt. Im obigen Beispiel nicht gezeigt, " +#~ "aber jetzt ebenfalls möglich: ein Argument *errors*, das festlegt, wie " +#~ "Kodierungsfehler behandelt werden. Die verfügbaren Werte und die Vorgabe " +#~ "stehen in der Dokumentation zu :func:`open`." diff --git a/library/ast.po b/library/ast.po index c9ef5c50..0800eba5 100644 --- a/library/ast.po +++ b/library/ast.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-28 03:11+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+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" @@ -1254,8 +1254,8 @@ msgid "" "``targets``." msgstr "" -#: ../../library/ast.rst:944 ../../library/ast.rst:1242 -#: ../../library/ast.rst:1436 ../../library/ast.rst:1993 +#: ../../library/ast.rst:944 ../../library/ast.rst:1258 +#: ../../library/ast.rst:1452 ../../library/ast.rst:2009 msgid "" "``type_comment`` is an optional string with the type annotation as a comment." msgstr "" @@ -1462,10 +1462,13 @@ msgid "Imports" msgstr "" #: ../../library/ast.rst:1132 -msgid "An import statement. ``names`` is a list of :class:`alias` nodes." +msgid "" +"An import statement. ``names`` is a list of :class:`alias` nodes. " +"``is_lazy`` is ``1`` for ``lazy import`` and ``0`` for ``import``. The field " +"records the source syntax and does not reflect runtime controls." msgstr "" -#: ../../library/ast.rst:1134 +#: ../../library/ast.rst:1136 msgid "" ">>> print(ast.dump(ast.parse('import x,y,z'), indent=4))\n" "Module(\n" @@ -1478,15 +1481,27 @@ msgid "" " is_lazy=0)])" msgstr "" -#: ../../library/ast.rst:1149 +#: ../../library/ast.rst:1149 ../../library/ast.rst:1181 +msgid "Added ``is_lazy`` for :ref:`lazy imports `." +msgstr "" + +#: ../../library/ast.rst:1155 msgid "" "Represents ``from x import y``. ``module`` is a raw string of the 'from' " "name, without any leading dots, or ``None`` for statements such as ``from . " "import foo``. ``level`` is an integer holding the level of the relative " -"import (0 means absolute import)." +"import (0 means absolute import). ``is_lazy`` is ``1`` for ``lazy from ... " +"import`` and ``0`` for ``from ... import``." +msgstr "" + +#: ../../library/ast.rst:1162 +msgid "" +"The ``is_lazy`` field records the source syntax. It does not reflect runtime " +"controls such as :func:`sys.set_lazy_imports` " +"or :attr:`module.__lazy_modules__`." msgstr "" -#: ../../library/ast.rst:1154 +#: ../../library/ast.rst:1166 msgid "" ">>> print(ast.dump(ast.parse('from y import x,y,z'), indent=4))\n" "Module(\n" @@ -1501,13 +1516,13 @@ msgid "" " is_lazy=0)])" msgstr "" -#: ../../library/ast.rst:1171 +#: ../../library/ast.rst:1187 msgid "" "Both parameters are raw strings of the names. ``asname`` can be ``None`` if " "the regular name is to be used." msgstr "" -#: ../../library/ast.rst:1174 +#: ../../library/ast.rst:1190 msgid "" ">>> print(ast.dump(ast.parse('from ..foo.bar import a as b, c'), indent=4))\n" "Module(\n" @@ -1521,30 +1536,30 @@ msgid "" " is_lazy=0)])" msgstr "" -#: ../../library/ast.rst:1188 +#: ../../library/ast.rst:1204 msgid "Control flow" msgstr "" -#: ../../library/ast.rst:1191 +#: ../../library/ast.rst:1207 msgid "" "Optional clauses such as ``else`` are stored as an empty list if they're not " "present." msgstr "" -#: ../../library/ast.rst:1196 +#: ../../library/ast.rst:1212 msgid "" "An ``if`` statement. ``test`` holds a single node, such as " "a :class:`Compare` node. ``body`` and ``orelse`` each hold a list of nodes." msgstr "" -#: ../../library/ast.rst:1199 +#: ../../library/ast.rst:1215 msgid "" "``elif`` clauses don't have a special representation in the AST, but rather " "appear as extra :class:`If` nodes within the ``orelse`` section of the " "previous one." msgstr "" -#: ../../library/ast.rst:1203 +#: ../../library/ast.rst:1219 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... if x:\n" @@ -1572,7 +1587,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1233 +#: ../../library/ast.rst:1249 msgid "" "A ``for`` loop. ``target`` holds the variable(s) the loop assigns to, as a " "single :class:`Name`, :class:`Tuple`, :class:`List`, :class:`Attribute` " @@ -1582,7 +1597,7 @@ msgid "" "via a ``break`` statement." msgstr "" -#: ../../library/ast.rst:1244 +#: ../../library/ast.rst:1260 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... for x in y:\n" @@ -1603,13 +1618,13 @@ msgid "" " value=Constant(value=Ellipsis))])])" msgstr "" -#: ../../library/ast.rst:1267 +#: ../../library/ast.rst:1283 msgid "" "A ``while`` loop. ``test`` holds the condition, such as a :class:`Compare` " "node." msgstr "" -#: ../../library/ast.rst:1270 +#: ../../library/ast.rst:1286 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... while x:\n" @@ -1629,11 +1644,11 @@ msgid "" " value=Constant(value=Ellipsis))])])" msgstr "" -#: ../../library/ast.rst:1293 +#: ../../library/ast.rst:1309 msgid "The ``break`` and ``continue`` statements." msgstr "" -#: ../../library/ast.rst:1295 +#: ../../library/ast.rst:1311 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\\\n" "... for a in b:\n" @@ -1662,13 +1677,13 @@ msgid "" " Continue()])])])" msgstr "" -#: ../../library/ast.rst:1326 +#: ../../library/ast.rst:1342 msgid "" "``try`` blocks. All attributes are list of nodes to execute, except for " "``handlers``, which is a list of :class:`ExceptHandler` nodes." msgstr "" -#: ../../library/ast.rst:1329 +#: ../../library/ast.rst:1345 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... try:\n" @@ -1708,14 +1723,14 @@ msgid "" " value=Constant(value=Ellipsis))])])" msgstr "" -#: ../../library/ast.rst:1371 +#: ../../library/ast.rst:1387 msgid "" "``try`` blocks which are followed by ``except*`` clauses. The attributes are " "the same as for :class:`Try` but the :class:`ExceptHandler` nodes in " "``handlers`` are interpreted as ``except*`` blocks rather than ``except``." msgstr "" -#: ../../library/ast.rst:1375 +#: ../../library/ast.rst:1391 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... try:\n" @@ -1737,7 +1752,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1400 +#: ../../library/ast.rst:1416 msgid "" "A single ``except`` clause. ``type`` is the exception type it will match, " "typically a :class:`Name` node (or ``None`` for a catch-all ``except:`` " @@ -1745,7 +1760,7 @@ msgid "" "``None`` if the clause doesn't have ``as foo``. ``body`` is a list of nodes." msgstr "" -#: ../../library/ast.rst:1405 +#: ../../library/ast.rst:1421 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\\\n" "... try:\n" @@ -1769,14 +1784,14 @@ msgid "" " Pass()])])])" msgstr "" -#: ../../library/ast.rst:1431 +#: ../../library/ast.rst:1447 msgid "" "A ``with`` block. ``items`` is a list of :class:`withitem` nodes " "representing the context managers, and ``body`` is the indented block inside " "the context." msgstr "" -#: ../../library/ast.rst:1441 +#: ../../library/ast.rst:1457 msgid "" "A single context manager in a ``with`` block. ``context_expr`` is the " "context manager, often a :class:`Call` node. ``optional_vars`` is " @@ -1784,7 +1799,7 @@ msgid "" "``None`` if that isn't used." msgstr "" -#: ../../library/ast.rst:1446 +#: ../../library/ast.rst:1462 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\\\n" "... with a as b, c as d:\n" @@ -1809,18 +1824,18 @@ msgid "" " Name(id='d')]))])])" msgstr "" -#: ../../library/ast.rst:1472 +#: ../../library/ast.rst:1488 msgid "Pattern matching" msgstr "" -#: ../../library/ast.rst:1477 +#: ../../library/ast.rst:1493 msgid "" "A ``match`` statement. ``subject`` holds the subject of the match (the " "object that is being matched against the cases) and ``cases`` contains an " "iterable of :class:`match_case` nodes with the different cases." msgstr "" -#: ../../library/ast.rst:1485 +#: ../../library/ast.rst:1501 msgid "" "A single case pattern in a ``match`` statement. ``pattern`` contains the " "match pattern that the subject will be matched against. Note that " @@ -1828,19 +1843,19 @@ msgid "" "expressions, even when they share the same syntax." msgstr "" -#: ../../library/ast.rst:1490 +#: ../../library/ast.rst:1506 msgid "" "The ``guard`` attribute contains an expression that will be evaluated if the " "pattern matches the subject." msgstr "" -#: ../../library/ast.rst:1493 +#: ../../library/ast.rst:1509 msgid "" "``body`` contains a list of nodes to execute if the pattern matches and the " "result of evaluating the guard expression is true." msgstr "" -#: ../../library/ast.rst:1496 +#: ../../library/ast.rst:1512 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -1875,7 +1890,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1534 +#: ../../library/ast.rst:1550 msgid "" "A match literal or value pattern that compares by equality. ``value`` is an " "expression node. Permitted value nodes are restricted as described in the " @@ -1883,7 +1898,7 @@ msgid "" "equal to the evaluated value." msgstr "" -#: ../../library/ast.rst:1539 +#: ../../library/ast.rst:1555 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -1903,14 +1918,14 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1562 +#: ../../library/ast.rst:1578 msgid "" "A match literal pattern that compares by identity. ``value`` is the " "singleton to be compared against: ``None``, ``True``, or ``False``. This " "pattern succeeds if the match subject is the given constant." msgstr "" -#: ../../library/ast.rst:1566 +#: ../../library/ast.rst:1582 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -1929,7 +1944,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1588 +#: ../../library/ast.rst:1604 msgid "" "A match sequence pattern. ``patterns`` contains the patterns to be matched " "against the subject elements if the subject is a sequence. Matches a " @@ -1937,7 +1952,7 @@ msgid "" "otherwise matches a fixed length sequence." msgstr "" -#: ../../library/ast.rst:1593 +#: ../../library/ast.rst:1609 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -1961,7 +1976,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1620 +#: ../../library/ast.rst:1636 msgid "" "Matches the rest of the sequence in a variable length match sequence " "pattern. If ``name`` is not ``None``, a list containing the remaining " @@ -1969,7 +1984,7 @@ msgid "" "successful." msgstr "" -#: ../../library/ast.rst:1624 +#: ../../library/ast.rst:1640 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -2003,7 +2018,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1661 +#: ../../library/ast.rst:1677 msgid "" "A match mapping pattern. ``keys`` is a sequence of expression nodes. " "``patterns`` is a corresponding sequence of pattern nodes. ``rest`` is an " @@ -2012,7 +2027,7 @@ msgid "" "statement documentation." msgstr "" -#: ../../library/ast.rst:1667 +#: ../../library/ast.rst:1683 msgid "" "This pattern succeeds if the subject is a mapping, all evaluated key " "expressions are present in the mapping, and the value corresponding to each " @@ -2021,7 +2036,7 @@ msgid "" "overall mapping pattern is successful." msgstr "" -#: ../../library/ast.rst:1673 +#: ../../library/ast.rst:1689 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -2053,7 +2068,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1708 +#: ../../library/ast.rst:1724 msgid "" "A match class pattern. ``cls`` is an expression giving the nominal class to " "be matched. ``patterns`` is a sequence of pattern nodes to be matched " @@ -2064,21 +2079,21 @@ msgid "" "pattern)." msgstr "" -#: ../../library/ast.rst:1715 +#: ../../library/ast.rst:1731 msgid "" "This pattern succeeds if the subject is an instance of the nominated class, " "all positional patterns match the corresponding class-defined attributes, " "and any specified keyword attributes match their corresponding pattern." msgstr "" -#: ../../library/ast.rst:1719 +#: ../../library/ast.rst:1735 msgid "" "Note: classes may define a property that returns self in order to match a " "pattern node against the instance being matched. Several builtin types are " "also matched that way, as described in the match statement documentation." msgstr "" -#: ../../library/ast.rst:1723 +#: ../../library/ast.rst:1739 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -2122,7 +2137,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1770 +#: ../../library/ast.rst:1786 msgid "" "A match \"as-pattern\", capture pattern or wildcard pattern. ``pattern`` " "contains the match pattern that the subject will be matched against. If the " @@ -2130,14 +2145,14 @@ msgid "" "and will always succeed." msgstr "" -#: ../../library/ast.rst:1775 +#: ../../library/ast.rst:1791 msgid "" "The ``name`` attribute contains the name that will be bound if the pattern " "is successful. If ``name`` is ``None``, ``pattern`` must also be ``None`` " "and the node represents the wildcard pattern." msgstr "" -#: ../../library/ast.rst:1779 +#: ../../library/ast.rst:1795 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -2167,7 +2182,7 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1812 +#: ../../library/ast.rst:1828 msgid "" "A match \"or-pattern\". An or-pattern matches each of its subpatterns in " "turn to the subject, until one succeeds. The or-pattern is then deemed to " @@ -2176,7 +2191,7 @@ msgid "" "matched against the subject." msgstr "" -#: ../../library/ast.rst:1818 +#: ../../library/ast.rst:1834 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\n" "... match x:\n" @@ -2200,17 +2215,17 @@ msgid "" " value=Constant(value=Ellipsis))])])])" msgstr "" -#: ../../library/ast.rst:1845 +#: ../../library/ast.rst:1861 msgid "Type annotations" msgstr "" -#: ../../library/ast.rst:1849 +#: ../../library/ast.rst:1865 msgid "" "A ``# type: ignore`` comment located at *lineno*. *tag* is the optional tag " "specified by the form ``# type: ignore ``." msgstr "" -#: ../../library/ast.rst:1852 +#: ../../library/ast.rst:1868 msgid "" ">>> print(ast.dump(ast.parse('x = 1 # type: ignore', type_comments=True), " "indent=4))\n" @@ -2235,24 +2250,24 @@ msgid "" " TypeIgnore(lineno=1, tag='[assignment]')])" msgstr "" -#: ../../library/ast.rst:1875 +#: ../../library/ast.rst:1891 msgid "" ":class:`!TypeIgnore` nodes are not generated when the *type_comments* " "parameter is set to ``False`` (default). See :func:`ast.parse` for more " "details." msgstr "" -#: ../../library/ast.rst:1883 +#: ../../library/ast.rst:1899 msgid "Type parameters" msgstr "" -#: ../../library/ast.rst:1885 +#: ../../library/ast.rst:1901 msgid "" ":ref:`Type parameters ` can exist on classes, functions, and " "type aliases." msgstr "" -#: ../../library/ast.rst:1890 +#: ../../library/ast.rst:1906 msgid "" "A :class:`typing.TypeVar`. ``name`` is the name of the type variable. " "``bound`` is the bound or constraints, if any. If ``bound`` is " @@ -2261,7 +2276,7 @@ msgid "" "no default, this attribute will be set to ``None``." msgstr "" -#: ../../library/ast.rst:1896 +#: ../../library/ast.rst:1912 msgid "" ">>> print(ast.dump(ast.parse(\"type Alias[T: int = bool] = list[T]\"), " "indent=4))\n" @@ -2279,19 +2294,19 @@ msgid "" " slice=Name(id='T')))])" msgstr "" -#: ../../library/ast.rst:1914 ../../library/ast.rst:1946 -#: ../../library/ast.rst:1973 +#: ../../library/ast.rst:1930 ../../library/ast.rst:1962 +#: ../../library/ast.rst:1989 msgid "Added the *default_value* parameter." msgstr "" -#: ../../library/ast.rst:1919 +#: ../../library/ast.rst:1935 msgid "" "A :class:`typing.ParamSpec`. ``name`` is the name of the parameter " "specification. ``default_value`` is the default value; if the :class:`!" "ParamSpec` has no default, this attribute will be set to ``None``." msgstr "" -#: ../../library/ast.rst:1923 +#: ../../library/ast.rst:1939 msgid "" ">>> print(ast.dump(ast.parse(\"type Alias[**P = [int, str]] = Callable[P, " "int]\"), indent=4))\n" @@ -2314,14 +2329,14 @@ msgid "" " Name(id='int')])))])" msgstr "" -#: ../../library/ast.rst:1951 +#: ../../library/ast.rst:1967 msgid "" "A :class:`typing.TypeVarTuple`. ``name`` is the name of the type variable " "tuple. ``default_value`` is the default value; if the :class:`!TypeVarTuple` " "has no default, this attribute will be set to ``None``." msgstr "" -#: ../../library/ast.rst:1955 +#: ../../library/ast.rst:1971 msgid "" ">>> print(ast.dump(ast.parse(\"type Alias[*Ts = ()] = tuple[*Ts]\"), " "indent=4))\n" @@ -2339,52 +2354,52 @@ msgid "" " value=Name(id='Ts'))])))])" msgstr "" -#: ../../library/ast.rst:1977 +#: ../../library/ast.rst:1993 msgid "Function and class definitions" msgstr "" -#: ../../library/ast.rst:1981 +#: ../../library/ast.rst:1997 msgid "A function definition." msgstr "" -#: ../../library/ast.rst:1983 +#: ../../library/ast.rst:1999 msgid "``name`` is a raw string of the function name." msgstr "" -#: ../../library/ast.rst:1984 +#: ../../library/ast.rst:2000 msgid "``args`` is an :class:`arguments` node." msgstr "" -#: ../../library/ast.rst:1985 +#: ../../library/ast.rst:2001 msgid "``body`` is the list of nodes inside the function." msgstr "" -#: ../../library/ast.rst:1986 +#: ../../library/ast.rst:2002 msgid "" "``decorator_list`` is the list of decorators to be applied, stored outermost " "first (i.e. the first in the list will be applied last)." msgstr "" -#: ../../library/ast.rst:1988 +#: ../../library/ast.rst:2004 msgid "``returns`` is the return annotation." msgstr "" -#: ../../library/ast.rst:1989 ../../library/ast.rst:2152 +#: ../../library/ast.rst:2005 ../../library/ast.rst:2168 msgid "``type_params`` is a list of :ref:`type parameters `." msgstr "" -#: ../../library/ast.rst:1995 ../../library/ast.rst:2179 -#: ../../library/ast.rst:2190 +#: ../../library/ast.rst:2011 ../../library/ast.rst:2195 +#: ../../library/ast.rst:2206 msgid "Added ``type_params``." msgstr "" -#: ../../library/ast.rst:2001 +#: ../../library/ast.rst:2017 msgid "" "``lambda`` is a minimal function definition that can be used inside an " "expression. Unlike :class:`FunctionDef`, ``body`` holds a single node." msgstr "" -#: ../../library/ast.rst:2004 +#: ../../library/ast.rst:2020 msgid "" ">>> print(ast.dump(ast.parse('lambda x,y: ...'), indent=4))\n" "Module(\n" @@ -2398,46 +2413,46 @@ msgid "" " body=Constant(value=Ellipsis)))])" msgstr "" -#: ../../library/ast.rst:2020 +#: ../../library/ast.rst:2036 msgid "The arguments for a function." msgstr "" -#: ../../library/ast.rst:2022 +#: ../../library/ast.rst:2038 msgid "" "``posonlyargs``, ``args`` and ``kwonlyargs`` are lists of :class:`arg` nodes." msgstr "" -#: ../../library/ast.rst:2023 +#: ../../library/ast.rst:2039 msgid "" "``vararg`` and ``kwarg`` are single :class:`arg` nodes, referring to the " "``*args, **kwargs`` parameters." msgstr "" -#: ../../library/ast.rst:2025 +#: ../../library/ast.rst:2041 msgid "" "``kw_defaults`` is a list of default values for keyword-only arguments. If " "one is ``None``, the corresponding argument is required." msgstr "" -#: ../../library/ast.rst:2027 +#: ../../library/ast.rst:2043 msgid "" "``defaults`` is a list of default values for arguments that can be passed " "positionally. If there are fewer defaults, they correspond to the last n " "arguments." msgstr "" -#: ../../library/ast.rst:2034 +#: ../../library/ast.rst:2050 msgid "" "A single argument in a list. ``arg`` is a raw string of the argument name; " "``annotation`` is its annotation, such as a :class:`Name` node." msgstr "" -#: ../../library/ast.rst:2039 +#: ../../library/ast.rst:2055 msgid "" "``type_comment`` is an optional string with the type annotation as a comment" msgstr "" -#: ../../library/ast.rst:2041 +#: ../../library/ast.rst:2057 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\\\n" "... @decorator1\n" @@ -2476,11 +2491,11 @@ msgid "" " returns=Constant(value='return annotation'))])" msgstr "" -#: ../../library/ast.rst:2081 +#: ../../library/ast.rst:2097 msgid "A ``return`` statement." msgstr "" -#: ../../library/ast.rst:2083 +#: ../../library/ast.rst:2099 msgid "" ">>> print(ast.dump(ast.parse('return 4'), indent=4))\n" "Module(\n" @@ -2489,14 +2504,14 @@ msgid "" " value=Constant(value=4))])" msgstr "" -#: ../../library/ast.rst:2095 +#: ../../library/ast.rst:2111 msgid "" "A ``yield`` or ``yield from`` expression. Because these are expressions, " "they must be wrapped in an :class:`Expr` node if the value sent back is not " "used." msgstr "" -#: ../../library/ast.rst:2098 +#: ../../library/ast.rst:2114 msgid "" ">>> print(ast.dump(ast.parse('yield x'), indent=4))\n" "Module(\n" @@ -2513,12 +2528,12 @@ msgid "" " value=Name(id='x')))])" msgstr "" -#: ../../library/ast.rst:2118 +#: ../../library/ast.rst:2134 msgid "" "``global`` and ``nonlocal`` statements. ``names`` is a list of raw strings." msgstr "" -#: ../../library/ast.rst:2120 +#: ../../library/ast.rst:2136 msgid "" ">>> print(ast.dump(ast.parse('global x,y,z'), indent=4))\n" "Module(\n" @@ -2539,36 +2554,36 @@ msgid "" " 'z'])])" msgstr "" -#: ../../library/ast.rst:2143 +#: ../../library/ast.rst:2159 msgid "A class definition." msgstr "" -#: ../../library/ast.rst:2145 +#: ../../library/ast.rst:2161 msgid "``name`` is a raw string for the class name" msgstr "" -#: ../../library/ast.rst:2146 +#: ../../library/ast.rst:2162 msgid "``bases`` is a list of nodes for explicitly specified base classes." msgstr "" -#: ../../library/ast.rst:2147 +#: ../../library/ast.rst:2163 msgid "" "``keywords`` is a list of :class:`.keyword` nodes, principally for " "'metaclass'. Other keywords will be passed to the metaclass, as " "per :pep:`3115`." msgstr "" -#: ../../library/ast.rst:2149 +#: ../../library/ast.rst:2165 msgid "" "``body`` is a list of nodes representing the code within the class " "definition." msgstr "" -#: ../../library/ast.rst:2151 +#: ../../library/ast.rst:2167 msgid "``decorator_list`` is a list of nodes, as in :class:`FunctionDef`." msgstr "" -#: ../../library/ast.rst:2154 +#: ../../library/ast.rst:2170 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\\\n" "... @decorator1\n" @@ -2594,23 +2609,23 @@ msgid "" " Name(id='decorator2')])])" msgstr "" -#: ../../library/ast.rst:2183 +#: ../../library/ast.rst:2199 msgid "Async and await" msgstr "" -#: ../../library/ast.rst:2187 +#: ../../library/ast.rst:2203 msgid "" "An ``async def`` function definition. Has the same fields " "as :class:`FunctionDef`." msgstr "" -#: ../../library/ast.rst:2196 +#: ../../library/ast.rst:2212 msgid "" "An ``await`` expression. ``value`` is what it waits for. Only valid in the " "body of an :class:`AsyncFunctionDef`." msgstr "" -#: ../../library/ast.rst:2199 +#: ../../library/ast.rst:2215 msgid "" ">>> print(ast.dump(ast.parse(\"\"\"\\\n" "... async def f():\n" @@ -2628,14 +2643,14 @@ msgid "" " func=Name(id='other_func'))))])])" msgstr "" -#: ../../library/ast.rst:2220 +#: ../../library/ast.rst:2236 msgid "" "``async for`` loops and ``async with`` context managers. They have the same " "fields as :class:`For` and :class:`With`, respectively. Only valid in the " "body of an :class:`AsyncFunctionDef`." msgstr "" -#: ../../library/ast.rst:2225 +#: ../../library/ast.rst:2241 msgid "" "When a string is parsed by :func:`ast.parse`, operator nodes (subclasses " "of :class:`ast.operator`, :class:`ast.unaryop`, :class:`ast.cmpop`, :class:`ast.boolop` " @@ -2644,17 +2659,17 @@ msgid "" "(for example, :class:`ast.Add`)." msgstr "" -#: ../../library/ast.rst:2233 +#: ../../library/ast.rst:2249 msgid ":mod:`!ast` helpers" msgstr "" -#: ../../library/ast.rst:2235 +#: ../../library/ast.rst:2251 msgid "" "Apart from the node classes, the :mod:`!ast` module defines these utility " "functions and classes for traversing abstract syntax trees:" msgstr "" -#: ../../library/ast.rst:2240 +#: ../../library/ast.rst:2256 msgid "" "Parse the source into an AST node. Equivalent to ``compile(source, " "filename, mode, flags=FLAGS_VALUE, optimize=optimize, module=module)``, " @@ -2662,7 +2677,7 @@ msgid "" "``ast.PyCF_OPTIMIZED_AST`` otherwise." msgstr "" -#: ../../library/ast.rst:2245 +#: ../../library/ast.rst:2261 msgid "" "If ``type_comments=True`` is given, the parser is modified to check and " "return type comments as specified by :pep:`484` and :pep:`526`. This is " @@ -2675,14 +2690,14 @@ msgid "" "empty list)." msgstr "" -#: ../../library/ast.rst:2255 +#: ../../library/ast.rst:2271 msgid "" "In addition, if ``mode`` is ``'func_type'``, the input syntax is modified to " "correspond to :pep:`484` \"signature type comments\", for example ``(str, " "int) -> List[str]``." msgstr "" -#: ../../library/ast.rst:2259 +#: ../../library/ast.rst:2275 msgid "" "Setting ``feature_version`` to a tuple ``(major, minor)`` will result in a " "\"best-effort\" attempt to parse using that Python version's grammar. For " @@ -2695,12 +2710,12 @@ msgid "" "``feature_version``." msgstr "" -#: ../../library/ast.rst:2269 +#: ../../library/ast.rst:2285 msgid "" "If source contains a null character (``\\0``), :exc:`ValueError` is raised." msgstr "" -#: ../../library/ast.rst:2272 +#: ../../library/ast.rst:2288 msgid "" "Note that successfully parsing source code into an AST object doesn't " "guarantee that the source code provided is valid Python code that can be " @@ -2710,53 +2725,53 @@ msgid "" "inside a function node)." msgstr "" -#: ../../library/ast.rst:2279 +#: ../../library/ast.rst:2295 msgid "" "In particular, :func:`ast.parse` won't do any scoping checks, which the " "compilation step does." msgstr "" -#: ../../library/ast.rst:2283 +#: ../../library/ast.rst:2299 msgid "" "It is possible to crash the Python interpreter with a sufficiently large/" "complex string due to stack depth limitations in Python's AST compiler." msgstr "" -#: ../../library/ast.rst:2287 +#: ../../library/ast.rst:2303 msgid "Added ``type_comments``, ``mode='func_type'`` and ``feature_version``." msgstr "" -#: ../../library/ast.rst:2290 +#: ../../library/ast.rst:2306 msgid "" "The minimum supported version for ``feature_version`` is now ``(3, 7)``. The " "``optimize`` argument was added." msgstr "" -#: ../../library/ast.rst:2294 +#: ../../library/ast.rst:2310 msgid "Added the *module* parameter." msgstr "" -#: ../../library/ast.rst:2300 +#: ../../library/ast.rst:2316 msgid "" "Unparse an :class:`ast.AST` object and generate a string with code that " "would produce an equivalent :class:`ast.AST` object if parsed back " "with :func:`ast.parse`." msgstr "" -#: ../../library/ast.rst:2305 +#: ../../library/ast.rst:2321 msgid "" "The produced code string will not necessarily be equal to the original code " "that generated the :class:`ast.AST` object (without any compiler " "optimizations, such as constant tuples/frozensets)." msgstr "" -#: ../../library/ast.rst:2310 +#: ../../library/ast.rst:2326 msgid "" "Trying to unparse a highly complex expression would result " "with :exc:`RecursionError`." msgstr "" -#: ../../library/ast.rst:2318 +#: ../../library/ast.rst:2334 msgid "" "Evaluate an expression node or a string containing only a Python literal or " "container display. The string or node provided may only consist of the " @@ -2764,14 +2779,14 @@ msgid "" "dicts, sets, booleans, ``None`` and ``Ellipsis``." msgstr "" -#: ../../library/ast.rst:2323 +#: ../../library/ast.rst:2339 msgid "" "This can be used for evaluating strings containing Python values without the " "need to parse the values oneself. It is not capable of evaluating " "arbitrarily complex expressions, for example involving operators or indexing." msgstr "" -#: ../../library/ast.rst:2328 +#: ../../library/ast.rst:2344 msgid "" "This function had been documented as \"safe\" in the past without defining " "what that meant. That was misleading. This is specifically designed not to " @@ -2783,32 +2798,32 @@ msgid "" "untrusted data is thus not recommended." msgstr "" -#: ../../library/ast.rst:2338 +#: ../../library/ast.rst:2354 msgid "" "It is possible to crash the Python interpreter due to stack depth " "limitations in Python's AST compiler." msgstr "" -#: ../../library/ast.rst:2341 +#: ../../library/ast.rst:2357 msgid "" "It can " "raise :exc:`ValueError`, :exc:`TypeError`, :exc:`SyntaxError`, :exc:`MemoryError` " "and :exc:`RecursionError` depending on the malformed input." msgstr "" -#: ../../library/ast.rst:2345 +#: ../../library/ast.rst:2361 msgid "Now allows bytes and set literals." msgstr "" -#: ../../library/ast.rst:2348 +#: ../../library/ast.rst:2364 msgid "Now supports creating empty sets with ``'set()'``." msgstr "" -#: ../../library/ast.rst:2351 +#: ../../library/ast.rst:2367 msgid "For string inputs, leading spaces and tabs are now stripped." msgstr "" -#: ../../library/ast.rst:2357 +#: ../../library/ast.rst:2373 msgid "" "Return the docstring of the given *node* (which must be " "a :class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`, " @@ -2816,11 +2831,11 @@ msgid "" "true, clean up the docstring's indentation with :func:`inspect.cleandoc`." msgstr "" -#: ../../library/ast.rst:2363 +#: ../../library/ast.rst:2379 msgid ":class:`AsyncFunctionDef` is now supported." msgstr "" -#: ../../library/ast.rst:2369 +#: ../../library/ast.rst:2385 msgid "" "Get source code segment of the *source* that generated *node*. If some " "location information " @@ -2828,13 +2843,13 @@ msgid "" "or :attr:`~ast.AST.end_col_offset`) is missing, return ``None``." msgstr "" -#: ../../library/ast.rst:2373 +#: ../../library/ast.rst:2389 msgid "" "If *padded* is ``True``, the first line of a multi-line statement will be " "padded with spaces to match its original position." msgstr "" -#: ../../library/ast.rst:2381 +#: ../../library/ast.rst:2397 msgid "" "When you compile a node tree with :func:`compile`, the compiler " "expects :attr:`~ast.AST.lineno` and :attr:`~ast.AST.col_offset` attributes " @@ -2844,14 +2859,14 @@ msgid "" "recursively starting at *node*." msgstr "" -#: ../../library/ast.rst:2390 +#: ../../library/ast.rst:2406 msgid "" "Increment the line number and end line number of each node in the tree " "starting at *node* by *n*. This is useful to \"move code\" to a different " "location in a file." msgstr "" -#: ../../library/ast.rst:2397 +#: ../../library/ast.rst:2413 msgid "" "Copy source location " "(:attr:`~ast.AST.lineno`, :attr:`~ast.AST.col_offset`, :attr:`~ast.AST.end_lineno`, " @@ -2859,67 +2874,67 @@ msgid "" "possible, and return *new_node*." msgstr "" -#: ../../library/ast.rst:2404 +#: ../../library/ast.rst:2420 msgid "" "Yield a tuple of ``(fieldname, value)`` for each field in ``node._fields`` " "that is present on *node*." msgstr "" -#: ../../library/ast.rst:2410 +#: ../../library/ast.rst:2426 msgid "" "Yield all direct child nodes of *node*, that is, all fields that are nodes " "and all items of fields that are lists of nodes." msgstr "" -#: ../../library/ast.rst:2416 +#: ../../library/ast.rst:2432 msgid "" "Recursively yield all descendant nodes in the tree starting at *node* " "(including *node* itself), in no specified order. This is useful if you " "only want to modify nodes in place and don't care about the context." msgstr "" -#: ../../library/ast.rst:2423 +#: ../../library/ast.rst:2439 msgid "" "A node visitor base class that walks the abstract syntax tree and calls a " "visitor function for every node found. This function may return a value " "which is forwarded by the :meth:`visit` method." msgstr "" -#: ../../library/ast.rst:2427 +#: ../../library/ast.rst:2443 msgid "" "This class is meant to be subclassed, with the subclass adding visitor " "methods." msgstr "" -#: ../../library/ast.rst:2432 +#: ../../library/ast.rst:2448 msgid "" "Visit a node. The default implementation calls the method " "called :samp:`self.visit_{classname}` where *classname* is the name of the " "node class, or :meth:`generic_visit` if that method doesn't exist." msgstr "" -#: ../../library/ast.rst:2438 +#: ../../library/ast.rst:2454 msgid "This visitor calls :meth:`visit` on all children of the node." msgstr "" -#: ../../library/ast.rst:2440 +#: ../../library/ast.rst:2456 msgid "" "Note that child nodes of nodes that have a custom visitor method won't be " "visited unless the visitor calls :meth:`generic_visit` or visits them itself." msgstr "" -#: ../../library/ast.rst:2446 +#: ../../library/ast.rst:2462 msgid "Handles all constant nodes." msgstr "" -#: ../../library/ast.rst:2448 +#: ../../library/ast.rst:2464 msgid "" "Don't use the :class:`NodeVisitor` if you want to apply changes to nodes " "during traversal. For this a special visitor exists " "(:class:`NodeTransformer`) that allows modifications." msgstr "" -#: ../../library/ast.rst:2454 +#: ../../library/ast.rst:2470 msgid "" "Methods :meth:`!visit_Num`, :meth:`!visit_Str`, :meth:`!" "visit_Bytes`, :meth:`!visit_NameConstant` and :meth:`!visit_Ellipsis` will " @@ -2927,13 +2942,13 @@ msgid "" "instead to handle all constant nodes." msgstr "" -#: ../../library/ast.rst:2462 +#: ../../library/ast.rst:2478 msgid "" "A :class:`NodeVisitor` subclass that walks the abstract syntax tree and " "allows modification of nodes." msgstr "" -#: ../../library/ast.rst:2465 +#: ../../library/ast.rst:2481 msgid "" "The :class:`NodeTransformer` will walk the AST and use the return value of " "the visitor methods to replace or remove the old node. If the return value " @@ -2942,13 +2957,13 @@ msgid "" "may be the original node in which case no replacement takes place." msgstr "" -#: ../../library/ast.rst:2471 +#: ../../library/ast.rst:2487 msgid "" "Here is an example transformer that rewrites all occurrences of name lookups " "(``foo``) to ``data['foo']``::" msgstr "" -#: ../../library/ast.rst:2474 +#: ../../library/ast.rst:2490 msgid "" "class RewriteName(NodeTransformer):\n" "\n" @@ -2960,21 +2975,21 @@ msgid "" " )" msgstr "" -#: ../../library/ast.rst:2483 +#: ../../library/ast.rst:2499 msgid "" "Keep in mind that if the node you're operating on has child nodes you must " "either transform the child nodes yourself or call " "the :meth:`~ast.NodeVisitor.generic_visit` method for the node first." msgstr "" -#: ../../library/ast.rst:2487 +#: ../../library/ast.rst:2503 msgid "" "For nodes that were part of a collection of statements (that applies to all " "statement nodes), the visitor may also return a list of nodes rather than " "just a single node." msgstr "" -#: ../../library/ast.rst:2491 +#: ../../library/ast.rst:2507 msgid "" "If :class:`NodeTransformer` introduces new nodes (that weren't part of " "original tree) without giving them location information (such " @@ -2982,21 +2997,21 @@ msgid "" "with the new sub-tree to recalculate the location information::" msgstr "" -#: ../../library/ast.rst:2496 +#: ../../library/ast.rst:2512 msgid "" "tree = ast.parse('foo', mode='eval')\n" "new_tree = fix_missing_locations(RewriteName().visit(tree))" msgstr "" -#: ../../library/ast.rst:2499 +#: ../../library/ast.rst:2515 msgid "Usually you use the transformer like this::" msgstr "" -#: ../../library/ast.rst:2501 +#: ../../library/ast.rst:2517 msgid "node = YourTransformer().visit(node)" msgstr "" -#: ../../library/ast.rst:2506 +#: ../../library/ast.rst:2522 msgid "" "Return a formatted dump of the tree in *node*. This is mainly useful for " "debugging purposes. If *annotate_fields* is true (by default), the returned " @@ -3007,14 +3022,14 @@ msgid "" "true." msgstr "" -#: ../../library/ast.rst:2514 +#: ../../library/ast.rst:2530 msgid "" "If *color* is ``True``, the returned string is syntax highlighted using ANSI " "escape sequences. If ``False`` (the default), colored output is always " "disabled." msgstr "" -#: ../../library/ast.rst:2518 +#: ../../library/ast.rst:2534 msgid "" "If *indent* is a non-negative integer or string, then the tree will be " "pretty-printed with that indent level. An indent level of 0, negative, or " @@ -3024,14 +3039,14 @@ msgid "" "string is used to indent each level." msgstr "" -#: ../../library/ast.rst:2525 +#: ../../library/ast.rst:2541 msgid "" "If *show_empty* is false (the default), optional empty lists and ``Load()`` " "values will be omitted from the output. Optional ``None`` values are always " "omitted." msgstr "" -#: ../../library/ast.rst:2529 +#: ../../library/ast.rst:2545 msgid "" ">>> tree = ast.parse('print(None)', '?', 'eval')\n" ">>> print(ast.dump(tree, indent=4))\n" @@ -3049,27 +3064,27 @@ msgid "" " keywords=[]))" msgstr "" -#: ../../library/ast.rst:2546 +#: ../../library/ast.rst:2562 msgid "Added the *indent* option." msgstr "" -#: ../../library/ast.rst:2549 +#: ../../library/ast.rst:2565 msgid "Added the *show_empty* option." msgstr "" -#: ../../library/ast.rst:2552 +#: ../../library/ast.rst:2568 msgid "Omit optional ``Load()`` values by default." msgstr "" -#: ../../library/ast.rst:2555 +#: ../../library/ast.rst:2571 msgid "Added the *color* parameter." msgstr "" -#: ../../library/ast.rst:2561 +#: ../../library/ast.rst:2577 msgid "Recursively compares two ASTs." msgstr "" -#: ../../library/ast.rst:2563 +#: ../../library/ast.rst:2579 msgid "" "*compare_attributes* affects whether AST attributes are considered in the " "comparison. If *compare_attributes* is ``False`` (default), then attributes " @@ -3078,116 +3093,116 @@ msgid "" "similar details. Attributes include line numbers and column offsets." msgstr "" -#: ../../library/ast.rst:2576 +#: ../../library/ast.rst:2592 msgid "Compiler flags" msgstr "" -#: ../../library/ast.rst:2578 +#: ../../library/ast.rst:2594 msgid "" "The following flags may be passed to :func:`compile` in order to change " "effects on the compilation of a program:" msgstr "" -#: ../../library/ast.rst:2583 +#: ../../library/ast.rst:2599 msgid "" "Enables support for top-level ``await``, ``async for``, ``async with`` and " "async comprehensions." msgstr "" -#: ../../library/ast.rst:2590 +#: ../../library/ast.rst:2606 msgid "" "Generates and returns an abstract syntax tree instead of returning a " "compiled code object." msgstr "" -#: ../../library/ast.rst:2595 +#: ../../library/ast.rst:2611 msgid "" "The returned AST is optimized according to the *optimize* argument " "in :func:`compile` or :func:`ast.parse`." msgstr "" -#: ../../library/ast.rst:2602 +#: ../../library/ast.rst:2618 msgid "" "Enables support for :pep:`484` and :pep:`526` style type comments (``# type: " "``, ``# type: ignore ``)." msgstr "" -#: ../../library/ast.rst:2611 +#: ../../library/ast.rst:2627 msgid "Command-line usage" msgstr "" -#: ../../library/ast.rst:2615 +#: ../../library/ast.rst:2631 msgid "" "The output is now syntax highlighted by default. This can " "be :ref:`controlled using environment variables `." msgstr "" -#: ../../library/ast.rst:2619 +#: ../../library/ast.rst:2635 msgid "" "The :mod:`!ast` module can be executed as a script from the command line. It " "is as simple as:" msgstr "" -#: ../../library/ast.rst:2622 +#: ../../library/ast.rst:2638 msgid "python -m ast [-m ] [-a] [infile]" msgstr "" -#: ../../library/ast.rst:2626 +#: ../../library/ast.rst:2642 msgid "The following options are accepted:" msgstr "" -#: ../../library/ast.rst:2632 +#: ../../library/ast.rst:2648 msgid "Show the help message and exit." msgstr "" -#: ../../library/ast.rst:2637 +#: ../../library/ast.rst:2653 msgid "" "Specify what kind of code must be compiled, like the *mode* argument " "in :func:`parse`." msgstr "" -#: ../../library/ast.rst:2642 +#: ../../library/ast.rst:2658 msgid "Don't parse type comments." msgstr "" -#: ../../library/ast.rst:2646 +#: ../../library/ast.rst:2662 msgid "Include attributes such as line numbers and column offsets." msgstr "" -#: ../../library/ast.rst:2651 +#: ../../library/ast.rst:2667 msgid "Indentation of nodes in AST (number of spaces)." msgstr "" -#: ../../library/ast.rst:2655 +#: ../../library/ast.rst:2671 msgid "" "Python version in the format 3.x (for example, 3.10). Defaults to the " "current version of the interpreter." msgstr "" -#: ../../library/ast.rst:2663 +#: ../../library/ast.rst:2679 msgid "Optimization level for parser. Defaults to no optimization." msgstr "" -#: ../../library/ast.rst:2669 +#: ../../library/ast.rst:2685 msgid "" "Show empty lists and fields that are ``None``. Defaults to not showing empty " "objects." msgstr "" -#: ../../library/ast.rst:2675 +#: ../../library/ast.rst:2691 msgid "" "If :file:`infile` is specified its contents are parsed to AST and dumped to " "stdout. Otherwise, the content is read from stdin." msgstr "" -#: ../../library/ast.rst:2681 +#: ../../library/ast.rst:2697 msgid "" "`Green Tree Snakes `_, an external " "documentation resource, has good details on working with Python ASTs." msgstr "" -#: ../../library/ast.rst:2684 +#: ../../library/ast.rst:2700 msgid "" "`ASTTokens `_ " "annotates Python ASTs with the positions of tokens and text in the source " @@ -3195,21 +3210,21 @@ msgid "" "transformations." msgstr "" -#: ../../library/ast.rst:2689 +#: ../../library/ast.rst:2705 msgid "" "`leoAst.py `_ unifies the token-based and parse-tree-based views of python programs " "by inserting two-way links between tokens and ast nodes." msgstr "" -#: ../../library/ast.rst:2694 +#: ../../library/ast.rst:2710 msgid "" "`LibCST `_ parses code as a Concrete Syntax " "Tree that looks like an ast tree and keeps all formatting details. It's " "useful for building automated refactoring (codemod) applications and linters." msgstr "" -#: ../../library/ast.rst:2699 +#: ../../library/ast.rst:2715 msgid "" "`Parso `_ is a Python parser that supports " "error recovery and round-trip parsing for different Python versions (in " diff --git a/library/decimal.po b/library/decimal.po index 644092e5..169b3140 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -2829,6 +2829,7 @@ msgstr "" "als Trap gesetzt, wird ``NaN`` zurückgegeben. Mögliche Ursachen::" #: ../../library/decimal.rst:1723 +#, fuzzy msgid "" "Infinity - Infinity\n" "0 * Infinity\n" @@ -2838,7 +2839,9 @@ msgid "" "sqrt(-x) and x > 0\n" "0 ** 0\n" "x ** (non-integer)\n" -"x ** Infinity" +"x ** Infinity\n" +"NaN >= 0\n" +"NaN < 0" msgstr "" "Infinity - Infinity\n" "0 * Infinity\n" @@ -2850,11 +2853,11 @@ msgstr "" "x ** (non-integer)\n" "x ** Infinity" -#: ../../library/decimal.rst:1736 +#: ../../library/decimal.rst:1738 msgid "Numerical overflow." msgstr "Numerischer Überlauf." -#: ../../library/decimal.rst:1738 +#: ../../library/decimal.rst:1740 msgid "" "Indicates the exponent is larger than :attr:`Context.Emax` after rounding " "has occurred. If not trapped, the result depends on the rounding mode, " @@ -2868,11 +2871,11 @@ msgstr "" "oder nach außen zu ``Infinity`` gerundet. In beiden Fällen werden " "auch :class:`Inexact` und :class:`Rounded` signalisiert." -#: ../../library/decimal.rst:1747 +#: ../../library/decimal.rst:1749 msgid "Rounding occurred though possibly no information was lost." msgstr "Es wurde gerundet, möglicherweise ohne Informationsverlust." -#: ../../library/decimal.rst:1749 +#: ../../library/decimal.rst:1751 msgid "" "Signaled whenever rounding discards digits; even if those digits are zero " "(such as rounding ``5.00`` to ``5.0``). If not trapped, returns the result " @@ -2883,11 +2886,11 @@ msgstr "" "Trap gesetzt, wird das Ergebnis unverändert zurückgegeben. Über dieses " "Signal lässt sich der Verlust signifikanter Ziffern erkennen." -#: ../../library/decimal.rst:1757 +#: ../../library/decimal.rst:1759 msgid "Exponent was lower than :attr:`~Context.Emin` prior to rounding." msgstr "Der Exponent war vor dem Runden kleiner als :attr:`~Context.Emin`." -#: ../../library/decimal.rst:1759 +#: ../../library/decimal.rst:1761 msgid "" "Occurs when an operation result is subnormal (the exponent is too small). If " "not trapped, returns the result unchanged." @@ -2896,11 +2899,11 @@ msgstr "" "also zu klein. Nicht als Trap gesetzt, wird das Ergebnis unverändert " "zurückgegeben." -#: ../../library/decimal.rst:1765 +#: ../../library/decimal.rst:1767 msgid "Numerical underflow with result rounded to zero." msgstr "Numerischer Unterlauf, dessen Ergebnis zu null gerundet wurde." -#: ../../library/decimal.rst:1767 +#: ../../library/decimal.rst:1769 msgid "" "Occurs when a subnormal result is pushed to zero by " "rounding. :class:`Inexact` and :class:`Subnormal` are also signaled." @@ -2908,11 +2911,11 @@ msgstr "" "Tritt auf, wenn ein subnormales Ergebnis durch Runden zu null wird. " "Auch :class:`Inexact` und :class:`Subnormal` werden signalisiert." -#: ../../library/decimal.rst:1773 +#: ../../library/decimal.rst:1775 msgid "Enable stricter semantics for mixing floats and Decimals." msgstr "Schaltet strengere Regeln für das Mischen von Floats und Decimals ein." -#: ../../library/decimal.rst:1775 +#: ../../library/decimal.rst:1777 msgid "" "If the signal is not trapped (default), mixing floats and Decimals is " "permitted in the :class:`~decimal.Decimal` " @@ -2932,7 +2935,7 @@ msgstr "" "oder :meth:`~decimal.Context.create_decimal_from_float` setzen das Flag " "nicht." -#: ../../library/decimal.rst:1783 +#: ../../library/decimal.rst:1785 msgid "" "Otherwise (the signal is trapped), only equality comparisons and explicit " "conversions are silent. All other mixed operations " @@ -2942,11 +2945,11 @@ msgstr "" "Gleichheitsvergleiche und ausdrückliche Umwandlungen still. Alle anderen " "gemischten Operationen lösen :exc:`FloatOperation` aus." -#: ../../library/decimal.rst:1787 +#: ../../library/decimal.rst:1789 msgid "The following table summarizes the hierarchy of signals::" msgstr "Die folgende Tabelle fasst die Hierarchie der Signale zusammen::" -#: ../../library/decimal.rst:1789 +#: ../../library/decimal.rst:1791 msgid "" "exceptions.ArithmeticError(exceptions.Exception)\n" " DecimalException\n" @@ -2972,15 +2975,15 @@ msgstr "" " Subnormal\n" " FloatOperation(DecimalException, exceptions.TypeError)" -#: ../../library/decimal.rst:1808 +#: ../../library/decimal.rst:1810 msgid "Floating-point notes" msgstr "Anmerkungen zum Gleitkomma" -#: ../../library/decimal.rst:1812 +#: ../../library/decimal.rst:1814 msgid "Mitigating round-off error with increased precision" msgstr "Rundungsfehler durch höhere Genauigkeit abschwächen" -#: ../../library/decimal.rst:1814 +#: ../../library/decimal.rst:1816 msgid "" "The use of decimal floating point eliminates decimal representation error " "(making it possible to represent ``0.1`` exactly); however, some operations " @@ -2992,7 +2995,7 @@ msgstr "" "Rundungsfehler verursachen, wenn Ziffern ungleich null über die feste " "Genauigkeit hinausgehen." -#: ../../library/decimal.rst:1818 +#: ../../library/decimal.rst:1820 msgid "" "The effects of round-off error can be amplified by the addition or " "subtraction of nearly offsetting quantities resulting in loss of " @@ -3006,7 +3009,7 @@ msgstr "" "Gleitkommaarithmetik mit zu geringer Genauigkeit das Assoziativ- und das " "Distributivgesetz der Addition zusammenbrechen lässt:" -#: ../../library/decimal.rst:1824 +#: ../../library/decimal.rst:1826 msgid "" "# Examples from Seminumerical Algorithms, Section 4.2.2.\n" ">>> from decimal import Decimal, getcontext\n" @@ -3040,7 +3043,7 @@ msgstr "" ">>> u * (v+w)\n" "Decimal('0.0060000')" -#: ../../library/decimal.rst:1842 +#: ../../library/decimal.rst:1844 msgid "" "The :mod:`!decimal` module makes it possible to restore the identities by " "expanding the precision sufficiently to avoid loss of significance:" @@ -3049,7 +3052,7 @@ msgstr "" "wiederherstellen, indem man die Genauigkeit so weit erhöht, dass keine " "Signifikanz verloren geht:" -#: ../../library/decimal.rst:1845 +#: ../../library/decimal.rst:1847 msgid "" ">>> getcontext().prec = 20\n" ">>> u, v, w = Decimal(11111113), Decimal(-11111111), Decimal('7.51111111')\n" @@ -3077,11 +3080,11 @@ msgstr "" ">>> u * (v+w)\n" "Decimal('0.0060000')" -#: ../../library/decimal.rst:1862 +#: ../../library/decimal.rst:1866 msgid "Special values" msgstr "Besondere Werte" -#: ../../library/decimal.rst:1864 +#: ../../library/decimal.rst:1868 msgid "" "The number system for the :mod:`!decimal` module provides special values " "including ``NaN``, ``sNaN``, ``-Infinity``, ``Infinity``, and two zeros, " @@ -3091,7 +3094,7 @@ msgstr "" "``NaN``, ``sNaN``, ``-Infinity``, ``Infinity`` und zwei Nullen, ``+0`` und " "``-0``." -#: ../../library/decimal.rst:1868 +#: ../../library/decimal.rst:1872 msgid "" "Infinities can be constructed directly with: ``Decimal('Infinity')``. Also, " "they can arise from dividing by zero when the :exc:`DivisionByZero` signal " @@ -3106,7 +3109,7 @@ msgstr "" "Zahl hinaus gerundet wird und das Signal :exc:`Overflow` nicht als Trap " "gesetzt ist." -#: ../../library/decimal.rst:1873 +#: ../../library/decimal.rst:1877 msgid "" "The infinities are signed (affine) and can be used in arithmetic operations " "where they get treated as very large, indeterminate numbers. For instance, " @@ -3117,7 +3120,7 @@ msgstr "" "Zahlen behandelt werden. Addiert man zum Beispiel eine Konstante zur " "Unendlichkeit, ist das Ergebnis wieder unendlich." -#: ../../library/decimal.rst:1877 +#: ../../library/decimal.rst:1881 msgid "" "Some operations are indeterminate and return ``NaN``, or if " "the :exc:`InvalidOperation` signal is trapped, raise an exception. For " @@ -3136,7 +3139,7 @@ msgstr "" "fehlen --- die Rechnung läuft weiter und bestimmte Ergebnisse werden als " "ungültig gekennzeichnet." -#: ../../library/decimal.rst:1885 +#: ../../library/decimal.rst:1889 msgid "" "A variant is ``sNaN`` which signals rather than remaining quiet after every " "operation. This is a useful return value when an invalid result needs to " @@ -3146,7 +3149,7 @@ msgstr "" "still zu bleiben. Dieser Rückgabewert ist nützlich, wenn ein ungültiges " "Ergebnis eine Rechnung unterbrechen soll, um besonders behandelt zu werden." -#: ../../library/decimal.rst:1889 +#: ../../library/decimal.rst:1893 msgid "" "The behavior of Python's comparison operators can be a little surprising " "where a ``NaN`` is involved. A test for equality where one of the operands " @@ -3177,7 +3180,7 @@ msgstr "" "stattdessen die Methoden :meth:`~Decimal.compare` " "und :meth:`~Decimal.compare_signal`." -#: ../../library/decimal.rst:1902 +#: ../../library/decimal.rst:1906 msgid "" "The signed zeros can result from calculations that underflow. They keep the " "sign that would have resulted if the calculation had been carried out to " @@ -3190,7 +3193,7 @@ msgstr "" "gelten positive und negative Null als gleich und ihr Vorzeichen ist nur ein " "Hinweis." -#: ../../library/decimal.rst:1907 +#: ../../library/decimal.rst:1911 msgid "" "In addition to the two signed zeros which are distinct yet equal, there are " "various representations of zero with differing precisions yet equivalent in " @@ -3205,11 +3208,11 @@ msgstr "" "gewöhntes Auge ist nicht sofort ersichtlich, dass die folgende Rechnung " "einen Wert gleich null zurückgibt:" -#: ../../library/decimal.rst:1922 +#: ../../library/decimal.rst:1926 msgid "Working with threads" msgstr "Mit Threads arbeiten" -#: ../../library/decimal.rst:1924 +#: ../../library/decimal.rst:1928 msgid "" "The :func:`getcontext` function accesses a different :class:`Context` object " "for each thread. Having separate thread contexts means that threads may " @@ -3221,7 +3224,7 @@ msgstr "" "Threads Änderungen vornehmen können – etwa ``getcontext().prec=10`` –, ohne " "anderen Threads ins Gehege zu kommen." -#: ../../library/decimal.rst:1928 +#: ../../library/decimal.rst:1932 msgid "" "Likewise, the :func:`setcontext` function automatically assigns its target " "to the current thread." @@ -3229,7 +3232,7 @@ msgstr "" "Ebenso weist die Funktion :func:`setcontext` ihr Ziel selbsttätig dem " "aktuellen Thread zu." -#: ../../library/decimal.rst:1931 +#: ../../library/decimal.rst:1935 msgid "" "If :func:`setcontext` has not been called before :func:`getcontext`, " "then :func:`getcontext` will automatically create a new context for use in " @@ -3241,7 +3244,7 @@ msgstr "" "Thread. Neue Kontextobjekte erhalten ihre voreingestellten Werte aus dem " "Objekt :data:`decimal.DefaultContext`." -#: ../../library/decimal.rst:1936 +#: ../../library/decimal.rst:1940 msgid "" "The :data:`sys.flags.thread_inherit_context` flag affects the context for " "new threads. If the flag is false, new threads will start with an empty " @@ -3257,7 +3260,7 @@ msgstr "" "wahr, starten neue Threads mit einer Kopie des Kontexts des Aufrufers " "von :meth:`threading.Thread.start`." -#: ../../library/decimal.rst:1943 +#: ../../library/decimal.rst:1947 msgid "" "To control the defaults so that each thread will use the same values " "throughout the application, directly modify the *DefaultContext* object. " @@ -3270,7 +3273,7 @@ msgstr "" "es keine Wettlaufsituation zwischen Threads gibt, die :func:`getcontext` " "aufrufen. Zum Beispiel::" -#: ../../library/decimal.rst:1948 +#: ../../library/decimal.rst:1952 msgid "" "# Set applicationwide defaults for all threads about to be launched\n" "DefaultContext.prec = 12\n" @@ -3298,11 +3301,11 @@ msgstr "" "t3.start()\n" " . . ." -#: ../../library/decimal.rst:1967 +#: ../../library/decimal.rst:1971 msgid "Recipes" msgstr "Rezepte" -#: ../../library/decimal.rst:1969 +#: ../../library/decimal.rst:1973 msgid "" "Here are a few recipes that serve as utility functions and that demonstrate " "ways to work with the :class:`Decimal` class::" @@ -3310,7 +3313,7 @@ msgstr "" "Hier einige Rezepte, die als Hilfsfunktionen dienen und Wege zeigen, mit der " "Klasse :class:`Decimal` zu arbeiten::" -#: ../../library/decimal.rst:1972 +#: ../../library/decimal.rst:1976 msgid "" "def moneyfmt(value, places=2, curr='', sep=',', dp='.',\n" " pos='', neg='-', trailneg=''):\n" @@ -3604,11 +3607,11 @@ msgstr "" " getcontext().prec -= 2\n" " return +s" -#: ../../library/decimal.rst:2124 +#: ../../library/decimal.rst:2128 msgid "Decimal FAQ" msgstr "Häufige Fragen zu Decimal" -#: ../../library/decimal.rst:2126 +#: ../../library/decimal.rst:2130 msgid "" "Q: It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way " "to minimize typing when using the interactive interpreter?" @@ -3616,11 +3619,11 @@ msgstr "" "F: ``decimal.Decimal('1234.5')`` zu tippen ist mühsam. Lässt sich die " "Tipparbeit im interaktiven Interpreter verringern?" -#: ../../library/decimal.rst:2129 +#: ../../library/decimal.rst:2133 msgid "A: Some users abbreviate the constructor to just a single letter:" msgstr "A: Manche kürzen den Konstruktor auf einen einzigen Buchstaben ab:" -#: ../../library/decimal.rst:2135 +#: ../../library/decimal.rst:2139 msgid "" "Q: In a fixed-point application with two decimal places, some inputs have " "many places and need to be rounded. Others are not supposed to have excess " @@ -3631,7 +3634,7 @@ msgstr "" "Ziffern haben und müssen geprüft werden. Welche Methoden sollte man " "verwenden?" -#: ../../library/decimal.rst:2139 +#: ../../library/decimal.rst:2143 msgid "" "A: The :meth:`~Decimal.quantize` method rounds to a fixed number of decimal " "places. If the :const:`Inexact` trap is set, it is also useful for " @@ -3641,7 +3644,7 @@ msgstr "" "Dezimalstellen. Ist der Trap für :const:`Inexact` gesetzt, eignet sie sich " "auch zum Prüfen:" -#: ../../library/decimal.rst:2157 +#: ../../library/decimal.rst:2161 msgid "" "Q: Once I have valid two place inputs, how do I maintain that invariant " "throughout an application?" @@ -3649,7 +3652,7 @@ msgstr "" "F: Wenn ich gültige Eingaben mit zwei Stellen habe – wie halte ich diese " "Invariante in der ganzen Anwendung aufrecht?" -#: ../../library/decimal.rst:2160 +#: ../../library/decimal.rst:2164 msgid "" "A: Some operations like addition, subtraction, and multiplication by an " "integer will automatically preserve fixed point. Others operations, like " @@ -3661,7 +3664,7 @@ msgstr "" "Multiplikation mit einer nicht ganzen Zahl ändern die Anzahl der " "Dezimalstellen. Auf sie muss ein :meth:`~Decimal.quantize`-Schritt folgen:" -#: ../../library/decimal.rst:2178 +#: ../../library/decimal.rst:2182 msgid "" "In developing fixed-point applications, it is convenient to define functions " "to handle the :meth:`~Decimal.quantize` step:" @@ -3669,7 +3672,7 @@ msgstr "" "Beim Entwickeln von Festkommaanwendungen ist es praktisch, Funktionen für " "den :meth:`~Decimal.quantize`-Schritt zu definieren:" -#: ../../library/decimal.rst:2192 +#: ../../library/decimal.rst:2196 msgid "" "Q: There are many ways to express the same value. The numbers ``200``, " "``200.000``, ``2E2``, and ``.02E+4`` all have the same value at various " @@ -3681,7 +3684,7 @@ msgstr "" "verschiedener Genauigkeit. Lassen sie sich in einen einzigen erkennbaren, " "kanonischen Wert überführen?" -#: ../../library/decimal.rst:2197 +#: ../../library/decimal.rst:2201 msgid "" "A: The :meth:`~Decimal.normalize` method maps all equivalent values to a " "single representative:" @@ -3689,11 +3692,11 @@ msgstr "" "A: Die Methode :meth:`~Decimal.normalize` bildet alle gleichwertigen Werte " "auf einen einzigen Vertreter ab:" -#: ../../library/decimal.rst:2204 +#: ../../library/decimal.rst:2208 msgid "Q: When does rounding occur in a computation?" msgstr "F: Wann wird in einer Rechnung gerundet?" -#: ../../library/decimal.rst:2206 +#: ../../library/decimal.rst:2210 msgid "" "A: It occurs *after* the computation. The philosophy of the decimal " "specification is that numbers are considered exact and are created " @@ -3709,7 +3712,7 @@ msgstr "" "auf das *Ergebnis* der Rechnung gerundet oder eine andere Kontextoperation " "angewendet::" -#: ../../library/decimal.rst:2213 +#: ../../library/decimal.rst:2217 msgid "" ">>> getcontext().prec = 5\n" ">>> pi = Decimal('3.1415926535') # More than 5 digits\n" @@ -3733,7 +3736,7 @@ msgstr "" ">>> pi + 0 - Decimal('0.00005') # Intermediate values are rounded\n" "Decimal('3.1416')" -#: ../../library/decimal.rst:2224 +#: ../../library/decimal.rst:2228 msgid "" "Q: Some decimal values always print with exponential notation. Is there a " "way to get a non-exponential representation?" @@ -3741,7 +3744,7 @@ msgstr "" "F: Manche Decimal-Werte erscheinen immer in Exponentialschreibweise. Gibt es " "einen Weg zu einer Darstellung ohne Exponent?" -#: ../../library/decimal.rst:2227 +#: ../../library/decimal.rst:2231 msgid "" "A: For some values, exponential notation is the only way to express the " "number of significant places in the coefficient. For example, expressing " @@ -3753,7 +3756,7 @@ msgstr "" "als ``5000`` zu schreiben hält den Wert zum Beispiel konstant, kann aber die " "zweistellige Signifikanz des Originals nicht zeigen." -#: ../../library/decimal.rst:2232 +#: ../../library/decimal.rst:2236 msgid "" "If an application does not care about tracking significance, it is easy to " "remove the exponent and trailing zeroes, losing significance, but keeping " @@ -3763,12 +3766,12 @@ msgstr "" "abschließende Nullen leicht entfernen; die Signifikanz geht dabei verloren, " "der Wert bleibt unverändert:" -#: ../../library/decimal.rst:2242 +#: ../../library/decimal.rst:2246 msgid "Q: Is there a way to convert a regular float to a :class:`Decimal`?" msgstr "" "F: Lässt sich ein gewöhnlicher Float in ein :class:`Decimal` umwandeln?" -#: ../../library/decimal.rst:2244 +#: ../../library/decimal.rst:2248 msgid "" "A: Yes, any binary floating-point number can be exactly expressed as a " "Decimal though an exact conversion may take more precision than intuition " @@ -3778,7 +3781,7 @@ msgstr "" "auch wenn eine genaue Umwandlung mehr Genauigkeit braucht, als die " "Anschauung vermuten lässt:" -#: ../../library/decimal.rst:2248 +#: ../../library/decimal.rst:2252 msgid "" ">>> Decimal(math.pi)\n" "Decimal('3.141592653589793115997963468544185161590576171875')" @@ -3786,7 +3789,7 @@ msgstr "" ">>> Decimal(math.pi)\n" "Decimal('3.141592653589793115997963468544185161590576171875')" -#: ../../library/decimal.rst:2253 +#: ../../library/decimal.rst:2257 msgid "" "Q: Within a complex calculation, how can I make sure that I haven't gotten a " "spurious result because of insufficient precision or rounding anomalies." @@ -3795,7 +3798,7 @@ msgstr "" "falsches Ergebnis durch zu geringe Genauigkeit oder Rundungsanomalien " "bekommen habe?" -#: ../../library/decimal.rst:2256 +#: ../../library/decimal.rst:2260 msgid "" "A: The decimal module makes it easy to test results. A best practice is to " "re-run calculations using greater precision and with various rounding modes. " @@ -3808,7 +3811,7 @@ msgstr "" "Genauigkeit, Probleme mit dem Rundungsmodus, schlecht konditionierte " "Eingaben oder einen numerisch instabilen Algorithmus hin." -#: ../../library/decimal.rst:2261 +#: ../../library/decimal.rst:2265 msgid "" "Q: I noticed that context precision is applied to the results of operations " "but not to the inputs. Is there anything to watch out for when mixing " @@ -3818,7 +3821,7 @@ msgstr "" "von Operationen angewendet wird, nicht aber auf die Eingaben. Muss ich etwas " "beachten, wenn ich Werte verschiedener Genauigkeit mische?" -#: ../../library/decimal.rst:2265 +#: ../../library/decimal.rst:2269 msgid "" "A: Yes. The principle is that all values are considered to be exact and so " "is the arithmetic on those values. Only the results are rounded. The " @@ -3832,7 +3835,7 @@ msgstr "" "Die Ergebnisse können sonderbar aussehen, wenn man vergisst, dass die " "Eingaben nicht gerundet wurden:" -#: ../../library/decimal.rst:2270 +#: ../../library/decimal.rst:2274 msgid "" ">>> getcontext().prec = 3\n" ">>> Decimal('3.104') + Decimal('2.104')\n" @@ -3846,7 +3849,7 @@ msgstr "" ">>> Decimal('3.104') + Decimal('0.000') + Decimal('2.104')\n" "Decimal('5.20')" -#: ../../library/decimal.rst:2278 +#: ../../library/decimal.rst:2282 msgid "" "The solution is either to increase precision or to force rounding of inputs " "using the unary plus operation:" @@ -3854,7 +3857,7 @@ msgstr "" "Die Lösung besteht darin, entweder die Genauigkeit zu erhöhen oder das " "Runden der Eingaben mit dem einstelligen Plus-Operator zu erzwingen:" -#: ../../library/decimal.rst:2281 +#: ../../library/decimal.rst:2285 msgid "" ">>> getcontext().prec = 3\n" ">>> +Decimal('1.23456789') # unary plus triggers rounding\n" @@ -3864,7 +3867,7 @@ msgstr "" ">>> +Decimal('1.23456789') # unary plus triggers rounding\n" "Decimal('1.23')" -#: ../../library/decimal.rst:2287 +#: ../../library/decimal.rst:2291 msgid "" "Alternatively, inputs can be rounded upon creation using " "the :meth:`Context.create_decimal` method:" @@ -3872,11 +3875,11 @@ msgstr "" "Andernfalls lassen sich Eingaben beim Erzeugen mit der " "Methode :meth:`Context.create_decimal` runden:" -#: ../../library/decimal.rst:2293 +#: ../../library/decimal.rst:2297 msgid "Q: Is the CPython implementation fast for large numbers?" msgstr "F: Ist die CPython-Umsetzung bei großen Zahlen schnell?" -#: ../../library/decimal.rst:2295 +#: ../../library/decimal.rst:2299 msgid "" "A: Yes. In the CPython and PyPy3 implementations, the C/CFFI versions of " "the decimal module integrate the high speed `libmpdec `_ für sehr " "große Zahlen." -#: ../../library/decimal.rst:2305 +#: ../../library/decimal.rst:2309 msgid "" "The context must be adapted for exact arbitrary precision " "arithmetic. :attr:`~Context.Emin` and :attr:`~Context.Emax` should always be " @@ -3910,7 +3913,7 @@ msgstr "" "die größten Werte gesetzt sein, :attr:`~Context.clamp` immer auf 0 (die " "Voreinstellung). :attr:`~Context.prec` zu setzen erfordert etwas Umsicht." -#: ../../library/decimal.rst:2309 +#: ../../library/decimal.rst:2313 msgid "" "The easiest approach for trying out bignum arithmetic is to use the maximum " "value for :attr:`~Context.prec` as well [#]_::" @@ -3918,7 +3921,7 @@ msgstr "" "Am einfachsten lässt sich Bignum-Arithmetik ausprobieren, indem man auch " "für :attr:`~Context.prec` den größten Wert verwendet [#]_::" -#: ../../library/decimal.rst:2312 +#: ../../library/decimal.rst:2316 msgid "" ">>> setcontext(Context(prec=MAX_PREC, Emax=MAX_EMAX, Emin=MIN_EMIN))\n" ">>> x = Decimal(2) ** 256\n" @@ -3930,7 +3933,7 @@ msgstr "" ">>> x / 128\n" "Decimal('904625697166532776746648320380374280103671755200316906558262375061821325312')" -#: ../../library/decimal.rst:2318 +#: ../../library/decimal.rst:2322 msgid "" "For inexact results, :const:`MAX_PREC` is far too large on 64-bit platforms " "and the available memory will be insufficient::" @@ -3938,7 +3941,7 @@ msgstr "" "Für ungenaue Ergebnisse ist :const:`MAX_PREC` auf 64-Bit-Plattformen viel zu " "groß und der verfügbare Speicher reicht nicht aus::" -#: ../../library/decimal.rst:2321 +#: ../../library/decimal.rst:2325 msgid "" ">>> Decimal(1) / 3\n" "Traceback (most recent call last):\n" @@ -3950,7 +3953,7 @@ msgstr "" " File \"\", line 1, in \n" "MemoryError" -#: ../../library/decimal.rst:2326 +#: ../../library/decimal.rst:2330 msgid "" "On systems with overallocation (e.g. Linux), a more sophisticated approach " "is to adjust :attr:`~Context.prec` to the amount of available RAM. Suppose " @@ -3962,7 +3965,7 @@ msgstr "" "anzupassen. Nehmen wir an, du hast 8 GB RAM und erwartest 10 gleichzeitige " "Operanden mit höchstens je 500 MB::" -#: ../../library/decimal.rst:2330 +#: ../../library/decimal.rst:2334 msgid "" ">>> import sys\n" ">>>\n" @@ -4006,7 +4009,7 @@ msgstr "" " File \"\", line 1, in \n" " decimal.Inexact: []" -#: ../../library/decimal.rst:2350 +#: ../../library/decimal.rst:2354 msgid "" "In general (and especially on systems without overallocation), it is " "recommended to estimate even tighter bounds and set the :attr:`Inexact` trap " @@ -4016,7 +4019,7 @@ msgstr "" "sich, noch engere Grenzen zu schätzen und den Trap für :attr:`Inexact` zu " "setzen, wenn alle Rechnungen genau sein sollen." -#: ../../library/decimal.rst:2359 +#: ../../library/decimal.rst:2363 msgid "" "This approach now works for all exact results except for non-integer powers." msgstr "" diff --git a/library/dis.po b/library/dis.po index 2291f4fb..62522d0a 100644 --- a/library/dis.po +++ b/library/dis.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -1004,8 +1004,8 @@ msgstr "Implementiert ``STACK[-1] = -STACK[-1]``." msgid "Implements ``STACK[-1] = not STACK[-1]``." msgstr "Implementiert ``STACK[-1] = not STACK[-1]``." -#: ../../library/dis.rst:689 ../../library/dis.rst:1397 -#: ../../library/dis.rst:1413 +#: ../../library/dis.rst:689 ../../library/dis.rst:1415 +#: ../../library/dis.rst:1431 msgid "This instruction now requires an exact :class:`bool` operand." msgstr "" "Diese Instruktion verlangt jetzt einen genauen :class:`bool`-Operanden." @@ -1501,7 +1501,7 @@ msgstr "" "wird ein :class:`tuple` mit den entsprechenden Werten abgelegt. Andernfalls " "wird ``None`` abgelegt." -#: ../../library/dis.rst:1036 ../../library/dis.rst:1793 +#: ../../library/dis.rst:1036 ../../library/dis.rst:1811 msgid "" "Previously, this instruction also pushed a boolean value indicating success " "(``True``) or failure (``False``)." @@ -1978,12 +1978,13 @@ msgstr "" "Führt den Vergleich ``in`` aus oder ``not in``, wenn ``invert`` gleich 1 ist." #: ../../library/dis.rst:1352 +#, fuzzy msgid "" -"Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are " -"popped and provide the *fromlist* and *level* arguments " -"of :func:`__import__`. The module object is pushed onto the stack. The " -"current namespace is not affected: for a proper import statement, a " -"subsequent :opcode:`STORE_FAST` instruction modifies the namespace." +"Imports the module ``co_names[namei >> 2]``. ``STACK[-1]`` and ``STACK[-2]`` " +"supply the *fromlist* and *level* arguments of the import. The instruction " +"removes both values from the stack. The result is a module object or " +"a :class:`lazy import proxy `. The instruction pushes " +"the result onto the stack." msgstr "" "Importiert das Modul ``co_names[namei]``. ``STACK[-1]`` und ``STACK[-2]`` " "werden entfernt und liefern die Argumente *fromlist* und *level* " @@ -1992,7 +1993,24 @@ msgstr "" "Anweisung ändert eine nachfolgende :opcode:`STORE_FAST`-Instruktion den " "Namensraum." -#: ../../library/dis.rst:1360 +#: ../../library/dis.rst:1359 +msgid "" +"The instruction does not change the current namespace. For ``import spam``, " +"a subsequent store instruction binds the result." +msgstr "" + +#: ../../library/dis.rst:1362 +msgid "" +"The two lowest bits of *namei* control :ref:`lazy imports `. " +"Bit ``0`` marks an explicit lazy import. Bit ``1`` forces an eager import. " +"If both bits are zero, the runtime lazy import controls apply." +msgstr "" + +#: ../../library/dis.rst:1366 +msgid "The two lowest bits encode lazy import flags." +msgstr "" + +#: ../../library/dis.rst:1372 msgid "" "Loads the attribute ``co_names[namei]`` from the module found in " "``STACK[-1]``. The resulting object is pushed onto the stack, to be " @@ -2002,20 +2020,30 @@ msgstr "" "resultierende Objekt wird auf den Stack gelegt, um anschließend von " "einer :opcode:`STORE_FAST`-Instruktion gespeichert zu werden." -#: ../../library/dis.rst:1367 +#: ../../library/dis.rst:1376 +msgid "" +"For a :class:`lazy import proxy `, the result can be " +"another proxy that represents the requested attribute." +msgstr "" + +#: ../../library/dis.rst:1379 +msgid "Added support for lazy import proxies." +msgstr "" + +#: ../../library/dis.rst:1385 msgid "Increments bytecode counter by *delta*." msgstr "Erhöht den Bytecode-Zähler um *delta*." -#: ../../library/dis.rst:1372 +#: ../../library/dis.rst:1390 msgid "Decrements bytecode counter by *delta*. Checks for interrupts." msgstr "Verringert den Bytecode-Zähler um *delta*. Prüft auf Unterbrechungen." -#: ../../library/dis.rst:1379 +#: ../../library/dis.rst:1397 msgid "Decrements bytecode counter by *delta*. Does not check for interrupts." msgstr "" "Verringert den Bytecode-Zähler um *delta*. Prüft nicht auf Unterbrechungen." -#: ../../library/dis.rst:1386 +#: ../../library/dis.rst:1404 msgid "" "If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." @@ -2023,7 +2051,7 @@ msgstr "" "Ist ``STACK[-1]`` wahr, wird der Bytecode-Zähler um *delta* erhöht. " "``STACK[-1]`` wird entfernt." -#: ../../library/dis.rst:1389 ../../library/dis.rst:1405 +#: ../../library/dis.rst:1407 ../../library/dis.rst:1423 msgid "" "The oparg is now a relative delta rather than an absolute target. This " "opcode is a pseudo-instruction, replaced in final bytecode by the directed " @@ -2033,12 +2061,12 @@ msgstr "" "Opcode ist eine Pseudo-Instruktion, die im endgültigen Bytecode durch die " "gerichteten Versionen (vorwärts/rückwärts) ersetzt wird." -#: ../../library/dis.rst:1394 ../../library/dis.rst:1410 -#: ../../library/dis.rst:1423 ../../library/dis.rst:1434 +#: ../../library/dis.rst:1412 ../../library/dis.rst:1428 +#: ../../library/dis.rst:1441 ../../library/dis.rst:1452 msgid "This is no longer a pseudo-instruction." msgstr "Dies ist keine Pseudo-Instruktion mehr." -#: ../../library/dis.rst:1402 +#: ../../library/dis.rst:1420 msgid "" "If ``STACK[-1]`` is false, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." @@ -2046,7 +2074,7 @@ msgstr "" "Ist ``STACK[-1]`` falsch, wird der Bytecode-Zähler um *delta* erhöht. " "``STACK[-1]`` wird entfernt." -#: ../../library/dis.rst:1418 +#: ../../library/dis.rst:1436 msgid "" "If ``STACK[-1]`` is not ``None``, increments the bytecode counter by " "*delta*. ``STACK[-1]`` is popped." @@ -2054,7 +2082,7 @@ msgstr "" "Ist ``STACK[-1]`` nicht ``None``, wird der Bytecode-Zähler um *delta* " "erhöht. ``STACK[-1]`` wird entfernt." -#: ../../library/dis.rst:1429 +#: ../../library/dis.rst:1447 msgid "" "If ``STACK[-1]`` is ``None``, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." @@ -2062,7 +2090,7 @@ msgstr "" "Ist ``STACK[-1]`` ``None``, wird der Bytecode-Zähler um *delta* erhöht. " "``STACK[-1]`` wird entfernt." -#: ../../library/dis.rst:1439 +#: ../../library/dis.rst:1457 msgid "" "``STACK[-2]`` is an :term:`iterator` (or a virtual iterator, " "see :opcode:`GET_ITER`) and ``STACK[-1]`` is the value pushed with it " @@ -2080,11 +2108,11 @@ msgstr "" "bleibt). Zeigt der Iterator an, dass er :term:`erschöpft ` ist, " "wird der Bytecode-Zähler um *delta* erhöht." -#: ../../library/dis.rst:1447 +#: ../../library/dis.rst:1465 msgid "Up until 3.11 the iterator was popped when it was exhausted." msgstr "Bis 3.11 wurde der Iterator entfernt, wenn er erschöpft war." -#: ../../library/dis.rst:1450 +#: ../../library/dis.rst:1468 msgid "" "The iterator is now followed on the stack by the value pushed with it " "by :opcode:`GET_ITER`." @@ -2092,7 +2120,7 @@ msgstr "" "Auf den Iterator folgt auf dem Stack jetzt der mit ihm " "von :opcode:`GET_ITER` abgelegte Wert." -#: ../../library/dis.rst:1456 +#: ../../library/dis.rst:1474 msgid "" "Loads the global named ``co_names[namei>>1]`` onto the stack. If the low bit " "of ``namei`` is set, a ``NULL`` is pushed onto the stack after the global " @@ -2102,24 +2130,24 @@ msgstr "" "das niedrigste Bit von ``namei`` gesetzt, wird nach der globalen Variable " "ein ``NULL`` auf den Stack gelegt." -#: ../../library/dis.rst:1460 +#: ../../library/dis.rst:1478 msgid "The low bit of ``namei`` indicates whether a ``NULL`` is pushed." msgstr "" "Das niedrigste Bit von ``namei`` gibt an, ob ein ``NULL`` abgelegt wird." -#: ../../library/dis.rst:1463 +#: ../../library/dis.rst:1481 msgid "" "The ``NULL`` is pushed after the global variable, rather than before it." msgstr "Das ``NULL`` wird nach der globalen Variable abgelegt und nicht davor." -#: ../../library/dis.rst:1468 +#: ../../library/dis.rst:1486 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack." msgstr "" "Legt eine Referenz auf die lokale Variable ``co_varnames[var_num]`` auf den " "Stack." -#: ../../library/dis.rst:1470 +#: ../../library/dis.rst:1488 msgid "" "This opcode is now only used in situations where the local variable is " "guaranteed to be initialized. It cannot raise :exc:`UnboundLocalError`." @@ -2128,7 +2156,7 @@ msgstr "" "garantiert ist, dass die lokale Variable initialisiert ist. Er " "kann :exc:`UnboundLocalError` nicht auslösen." -#: ../../library/dis.rst:1476 +#: ../../library/dis.rst:1494 msgid "" "Pushes a borrowed reference to the local ``co_varnames[var_num]`` onto the " "stack." @@ -2136,7 +2164,7 @@ msgstr "" "Legt eine geliehene Referenz auf die lokale Variable " "``co_varnames[var_num]`` auf den Stack." -#: ../../library/dis.rst:1483 +#: ../../library/dis.rst:1501 msgid "" "Pushes references to ``co_varnames[var_nums >> 4]`` and " "``co_varnames[var_nums & 15]`` onto the stack." @@ -2144,7 +2172,7 @@ msgstr "" "Legt Referenzen auf ``co_varnames[var_nums >> 4]`` und " "``co_varnames[var_nums & 15]`` auf den Stack." -#: ../../library/dis.rst:1491 +#: ../../library/dis.rst:1509 msgid "" "Pushes borrowed references to ``co_varnames[var_nums >> 4]`` and " "``co_varnames[var_nums & 15]`` onto the stack." @@ -2152,7 +2180,7 @@ msgstr "" "Legt geliehene Referenzen auf ``co_varnames[var_nums >> 4]`` und " "``co_varnames[var_nums & 15]`` auf den Stack." -#: ../../library/dis.rst:1498 +#: ../../library/dis.rst:1516 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack, " "raising an :exc:`UnboundLocalError` if the local variable has not been " @@ -2162,7 +2190,7 @@ msgstr "" "Stack und löst eine :exc:`UnboundLocalError` aus, wenn die lokale Variable " "nicht initialisiert wurde." -#: ../../library/dis.rst:1506 +#: ../../library/dis.rst:1524 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or " "pushes ``NULL`` onto the stack if the local variable has not been " @@ -2172,12 +2200,12 @@ msgstr "" "Stack (oder legt ``NULL`` auf den Stack, wenn die lokale Variable nicht " "initialisiert wurde) und setzt ``co_varnames[var_num]`` auf ``NULL``." -#: ../../library/dis.rst:1514 +#: ../../library/dis.rst:1532 msgid "Stores ``STACK.pop()`` into the local ``co_varnames[var_num]``." msgstr "" "Speichert ``STACK.pop()`` in der lokalen Variable ``co_varnames[var_num]``." -#: ../../library/dis.rst:1518 +#: ../../library/dis.rst:1536 msgid "" "Stores ``STACK[-1]`` into ``co_varnames[var_nums >> 4]`` and ``STACK[-2]`` " "into ``co_varnames[var_nums & 15]``." @@ -2185,7 +2213,7 @@ msgstr "" "Speichert ``STACK[-1]`` in ``co_varnames[var_nums >> 4]`` und ``STACK[-2]`` " "in ``co_varnames[var_nums & 15]``." -#: ../../library/dis.rst:1525 +#: ../../library/dis.rst:1543 msgid "" "Stores ``STACK.pop()`` into the local ``co_varnames[var_nums >> 4]`` and " "pushes a reference to the local ``co_varnames[var_nums & 15]`` onto the " @@ -2195,11 +2223,11 @@ msgstr "" "4]`` und legt eine Referenz auf die lokale Variable ``co_varnames[var_nums & " "15]`` auf den Stack." -#: ../../library/dis.rst:1533 +#: ../../library/dis.rst:1551 msgid "Deletes local ``co_varnames[var_num]``." msgstr "Löscht die lokale Variable ``co_varnames[var_num]``." -#: ../../library/dis.rst:1538 +#: ../../library/dis.rst:1556 msgid "" "Creates a new cell in slot ``i``. If that slot is nonempty then that value " "is stored into the new cell." @@ -2207,7 +2235,7 @@ msgstr "" "Erzeugt eine neue Zelle in Slot ``i``. Ist dieser Slot nicht leer, wird " "dieser Wert in der neuen Zelle gespeichert." -#: ../../library/dis.rst:1546 +#: ../../library/dis.rst:1564 msgid "" "Loads the cell contained in slot ``i`` of the \"fast locals\" storage. " "Pushes a reference to the object the cell contains on the stack." @@ -2216,15 +2244,15 @@ msgstr "" "enthaltene Zelle. Legt eine Referenz auf das Objekt, das die Zelle enthält, " "auf den Stack." -#: ../../library/dis.rst:1549 ../../library/dis.rst:1571 -#: ../../library/dis.rst:1582 +#: ../../library/dis.rst:1567 ../../library/dis.rst:1589 +#: ../../library/dis.rst:1600 msgid "" "``i`` is no longer offset by the length of :attr:`~codeobject.co_varnames`." msgstr "" "``i`` wird nicht mehr um die Länge von :attr:`~codeobject.co_varnames` " "verschoben." -#: ../../library/dis.rst:1555 +#: ../../library/dis.rst:1573 msgid "" "Pops a mapping off the stack and looks up the name associated with slot " "``i`` of the \"fast locals\" storage in this mapping. If the name is not " @@ -2243,7 +2271,7 @@ msgstr "" "Geltungsbereichen ` innerhalb von Klassenrümpfen " "verwendet." -#: ../../library/dis.rst:1568 +#: ../../library/dis.rst:1586 msgid "" "Stores ``STACK.pop()`` into the cell contained in slot ``i`` of the \"fast " "locals\" storage." @@ -2251,7 +2279,7 @@ msgstr "" "Speichert ``STACK.pop()`` in der Zelle, die in Slot ``i`` des Speichers der " "„schnellen lokalen Variablen“ enthalten ist." -#: ../../library/dis.rst:1577 +#: ../../library/dis.rst:1595 msgid "" "Empties the cell contained in slot ``i`` of the \"fast locals\" storage. " "Used by the :keyword:`del` statement." @@ -2259,7 +2287,7 @@ msgstr "" "Leert die Zelle, die in Slot ``i`` des Speichers der „schnellen lokalen " "Variablen“ enthalten ist. Wird von der :keyword:`del`-Anweisung verwendet." -#: ../../library/dis.rst:1588 +#: ../../library/dis.rst:1606 msgid "" "Copies the ``n`` :term:`free (closure) variables ` from " "the closure into the frame. Removes the need for special code on the " @@ -2269,7 +2297,7 @@ msgstr "" "der Closure in den Frame. Macht besonderen Code auf Seiten des Aufrufers " "beim Aufruf von Closures überflüssig." -#: ../../library/dis.rst:1597 +#: ../../library/dis.rst:1615 msgid "" "Raises an exception using one of the 3 forms of the ``raise`` statement, " "depending on the value of *argc*:" @@ -2277,17 +2305,17 @@ msgstr "" "Löst je nach Wert von *argc* mit einer der 3 Formen der ``raise``-Anweisung " "eine Ausnahme aus:" -#: ../../library/dis.rst:1600 +#: ../../library/dis.rst:1618 msgid "0: ``raise`` (re-raise previous exception)" msgstr "0: ``raise`` (vorherige Ausnahme erneut auslösen)" -#: ../../library/dis.rst:1601 +#: ../../library/dis.rst:1619 msgid "" "1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)" msgstr "" "1: ``raise STACK[-1]`` (Ausnahmeinstanz oder -typ in ``STACK[-1]`` auslösen)" -#: ../../library/dis.rst:1602 +#: ../../library/dis.rst:1620 msgid "" "2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at " "``STACK[-2]`` with ``__cause__`` set to ``STACK[-1]``)" @@ -2295,7 +2323,7 @@ msgstr "" "2: ``raise STACK[-2] from STACK[-1]`` (Ausnahmeinstanz oder -typ in " "``STACK[-2]`` auslösen, wobei ``__cause__`` auf ``STACK[-1]`` gesetzt wird)" -#: ../../library/dis.rst:1608 +#: ../../library/dis.rst:1626 msgid "" "Calls a callable object with the number of arguments specified by ``argc``. " "On the stack are (in ascending order):" @@ -2303,23 +2331,23 @@ msgstr "" "Ruft ein aufrufbares Objekt mit der durch ``argc`` angegebenen Anzahl von " "Argumenten auf. Auf dem Stack liegen (in aufsteigender Reihenfolge):" -#: ../../library/dis.rst:1611 ../../library/dis.rst:1635 +#: ../../library/dis.rst:1629 ../../library/dis.rst:1653 msgid "The callable" msgstr "Das Callable" -#: ../../library/dis.rst:1612 ../../library/dis.rst:1636 +#: ../../library/dis.rst:1630 ../../library/dis.rst:1654 msgid "``self`` or ``NULL``" msgstr "``self`` oder ``NULL``" -#: ../../library/dis.rst:1613 ../../library/dis.rst:1637 +#: ../../library/dis.rst:1631 ../../library/dis.rst:1655 msgid "The remaining positional arguments" msgstr "Die übrigen Positionsargumente" -#: ../../library/dis.rst:1615 +#: ../../library/dis.rst:1633 msgid "``argc`` is the total of the positional arguments, excluding ``self``." msgstr "``argc`` ist die Gesamtzahl der Positionsargumente ohne ``self``." -#: ../../library/dis.rst:1617 +#: ../../library/dis.rst:1635 msgid "" "``CALL`` pops all arguments and the callable object off the stack, calls the " "callable object with those arguments, and pushes the return value returned " @@ -2329,18 +2357,18 @@ msgstr "" "das aufrufbare Objekt mit diesen Argumenten auf und legt den vom aufrufbaren " "Objekt zurückgegebenen Rückgabewert ab." -#: ../../library/dis.rst:1623 +#: ../../library/dis.rst:1641 msgid "The callable now always appears at the same position on the stack." msgstr "" "Das Callable erscheint jetzt immer an derselben Position auf dem Stack." -#: ../../library/dis.rst:1626 +#: ../../library/dis.rst:1644 msgid "Calls with keyword arguments are now handled by :opcode:`CALL_KW`." msgstr "" "Aufrufe mit Schlüsselwortargumenten werden jetzt von :opcode:`CALL_KW` " "behandelt." -#: ../../library/dis.rst:1632 +#: ../../library/dis.rst:1650 msgid "" "Calls a callable object with the number of arguments specified by ``argc``, " "including one or more named arguments. On the stack are (in ascending order):" @@ -2349,15 +2377,15 @@ msgstr "" "Argumenten auf, einschließlich eines oder mehrerer benannter Argumente. Auf " "dem Stack liegen (in aufsteigender Reihenfolge):" -#: ../../library/dis.rst:1638 +#: ../../library/dis.rst:1656 msgid "The named arguments" msgstr "Die benannten Argumente" -#: ../../library/dis.rst:1639 +#: ../../library/dis.rst:1657 msgid "A :class:`tuple` of keyword argument names" msgstr "Ein :class:`tuple` mit den Namen der Schlüsselwortargumente" -#: ../../library/dis.rst:1641 +#: ../../library/dis.rst:1659 msgid "" "``argc`` is the total of the positional and named arguments, excluding " "``self``. The length of the tuple of keyword argument names is the number of " @@ -2367,7 +2395,7 @@ msgstr "" "``self``. Die Länge des Tupels der Namen der Schlüsselwortargumente ist die " "Anzahl der benannten Argumente." -#: ../../library/dis.rst:1644 +#: ../../library/dis.rst:1662 msgid "" "``CALL_KW`` pops all arguments, the keyword names, and the callable object " "off the stack, calls the callable object with those arguments, and pushes " @@ -2378,7 +2406,7 @@ msgstr "" "Argumenten auf und legt den vom aufrufbaren Objekt zurückgegebenen " "Rückgabewert ab." -#: ../../library/dis.rst:1653 +#: ../../library/dis.rst:1671 msgid "" "Calls a callable object with variable set of positional and keyword " "arguments. If the lowest bit of *flags* is set, the top of the stack " @@ -2399,7 +2427,7 @@ msgstr "" "Stack, ruft das aufrufbare Objekt mit diesen Argumenten auf und legt den vom " "aufrufbaren Objekt zurückgegebenen Rückgabewert ab." -#: ../../library/dis.rst:1668 +#: ../../library/dis.rst:1686 msgid "" "Pushes a ``NULL`` to the stack. Used in the call sequence to match the " "``NULL`` pushed by :opcode:`LOAD_ATTR` for non-method calls." @@ -2408,7 +2436,7 @@ msgstr "" "``NULL`` zu entsprechen, das :opcode:`LOAD_ATTR` bei Nicht-Methodenaufrufen " "ablegt." -#: ../../library/dis.rst:1677 +#: ../../library/dis.rst:1695 msgid "" "Pushes a new function object on the stack built from the code object at " "``STACK[-1]``." @@ -2416,17 +2444,17 @@ msgstr "" "Legt ein neues Funktionsobjekt auf den Stack, das aus dem Code-Objekt in " "``STACK[-1]`` gebaut wird." -#: ../../library/dis.rst:1679 +#: ../../library/dis.rst:1697 msgid "Flag value ``0x04`` is a tuple of strings instead of dictionary" msgstr "" "Der Flag-Wert ``0x04`` ist ein Tupel von Zeichenketten statt eines " "Dictionarys" -#: ../../library/dis.rst:1682 +#: ../../library/dis.rst:1700 msgid "Qualified name at ``STACK[-1]`` was removed." msgstr "Der qualifizierte Name in ``STACK[-1]`` wurde entfernt." -#: ../../library/dis.rst:1685 +#: ../../library/dis.rst:1703 msgid "" "Extra function attributes on the stack, signaled by oparg flags, were " "removed. They now use :opcode:`SET_FUNCTION_ATTRIBUTE`." @@ -2435,7 +2463,7 @@ msgstr "" "signalisiert wurden, wurden entfernt. Sie verwenden " "jetzt :opcode:`SET_FUNCTION_ATTRIBUTE`." -#: ../../library/dis.rst:1692 +#: ../../library/dis.rst:1710 msgid "" "Sets an attribute on a function object. Expects the function at " "``STACK[-1]`` and the attribute value to set at ``STACK[-2]``; consumes both " @@ -2447,7 +2475,7 @@ msgstr "" "beide und lässt die Funktion in ``STACK[-1]``. Das Flag bestimmt, welches " "Attribut gesetzt wird:" -#: ../../library/dis.rst:1696 +#: ../../library/dis.rst:1714 msgid "" "``0x01`` a tuple of default values for positional-only and positional-or-" "keyword parameters in positional order" @@ -2455,36 +2483,36 @@ msgstr "" "``0x01`` ein Tupel von Standardwerten für nur positionelle und positionelle-" "oder-Schlüsselwort-Parameter in positioneller Reihenfolge" -#: ../../library/dis.rst:1698 +#: ../../library/dis.rst:1716 msgid "``0x02`` a dictionary of keyword-only parameters' default values" msgstr "" "``0x02`` ein Dictionary der Standardwerte der nur als Schlüsselwort " "verwendbaren Parameter" -#: ../../library/dis.rst:1699 +#: ../../library/dis.rst:1717 msgid "``0x04`` a tuple of strings containing parameters' annotations" msgstr "" "``0x04`` ein Tupel von Zeichenketten mit den Annotationen der Parameter" -#: ../../library/dis.rst:1700 +#: ../../library/dis.rst:1718 msgid "``0x08`` a tuple containing cells for free variables, making a closure" msgstr "" "``0x08`` ein Tupel mit Zellen für freie Variablen, das eine Closure bildet" -#: ../../library/dis.rst:1701 +#: ../../library/dis.rst:1719 msgid "``0x10`` the :term:`annotate function` for the function object" msgstr "" "``0x10`` die :term:`Annotate-Funktion ` für das " "Funktionsobjekt" -#: ../../library/dis.rst:1705 +#: ../../library/dis.rst:1723 msgid "" "Added ``0x10`` to indicate the annotate function for the function object." msgstr "" "``0x10`` wurde hinzugefügt, um die Annotate-Funktion für das Funktionsobjekt " "anzugeben." -#: ../../library/dis.rst:1713 +#: ../../library/dis.rst:1731 msgid "" "Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2, " "implements::" @@ -2492,7 +2520,7 @@ msgstr "" "Legt ein Slice-Objekt auf den Stack. *argc* muss 2 oder 3 sein. Ist es 2, " "wird implementiert::" -#: ../../library/dis.rst:1715 +#: ../../library/dis.rst:1733 msgid "" "end = STACK.pop()\n" "start = STACK.pop()\n" @@ -2502,11 +2530,11 @@ msgstr "" "start = STACK.pop()\n" "STACK.append(slice(start, end))" -#: ../../library/dis.rst:1719 +#: ../../library/dis.rst:1737 msgid "if it is 3, implements::" msgstr "wenn es 3 ist, wird implementiert::" -#: ../../library/dis.rst:1721 +#: ../../library/dis.rst:1739 msgid "" "step = STACK.pop()\n" "end = STACK.pop()\n" @@ -2518,11 +2546,11 @@ msgstr "" "start = STACK.pop()\n" "STACK.append(slice(start, end, step))" -#: ../../library/dis.rst:1726 +#: ../../library/dis.rst:1744 msgid "See the :func:`slice` built-in function for more information." msgstr "Weitere Informationen siehe die integrierte Funktion :func:`slice`." -#: ../../library/dis.rst:1731 +#: ../../library/dis.rst:1749 msgid "" "Prefixes any opcode which has an argument too big to fit into the default " "one byte. *ext* holds an additional byte which act as higher bits in the " @@ -2535,11 +2563,11 @@ msgstr "" "vorangestellte ``EXTENDED_ARG`` erlaubt, die ein Argument von zwei bis vier " "Bytes bilden." -#: ../../library/dis.rst:1739 +#: ../../library/dis.rst:1757 msgid "Convert value to a string, depending on ``oparg``::" msgstr "Wandelt je nach ``oparg`` einen Wert in eine Zeichenkette um::" -#: ../../library/dis.rst:1741 +#: ../../library/dis.rst:1759 msgid "" "value = STACK.pop()\n" "result = func(value)\n" @@ -2549,30 +2577,30 @@ msgstr "" "result = func(value)\n" "STACK.append(result)" -#: ../../library/dis.rst:1745 +#: ../../library/dis.rst:1763 msgid "``oparg == 1``: call :func:`str` on *value*" msgstr "``oparg == 1``: ruft :func:`str` auf *value* auf" -#: ../../library/dis.rst:1746 +#: ../../library/dis.rst:1764 msgid "``oparg == 2``: call :func:`repr` on *value*" msgstr "``oparg == 2``: ruft :func:`repr` auf *value* auf" -#: ../../library/dis.rst:1747 +#: ../../library/dis.rst:1765 msgid "``oparg == 3``: call :func:`ascii` on *value*" msgstr "``oparg == 3``: ruft :func:`ascii` auf *value* auf" -#: ../../library/dis.rst:1749 ../../library/dis.rst:1762 -#: ../../library/dis.rst:1775 +#: ../../library/dis.rst:1767 ../../library/dis.rst:1780 +#: ../../library/dis.rst:1793 msgid "Used for implementing formatted string literals (f-strings)." msgstr "" "Wird zur Implementierung von formatierten Zeichenkettenliteralen (f-Strings) " "verwendet." -#: ../../library/dis.rst:1756 +#: ../../library/dis.rst:1774 msgid "Formats the value on top of stack::" msgstr "Formatiert den Wert an der Spitze des Stacks::" -#: ../../library/dis.rst:1758 +#: ../../library/dis.rst:1776 msgid "" "value = STACK.pop()\n" "result = value.__format__(\"\")\n" @@ -2582,11 +2610,11 @@ msgstr "" "result = value.__format__(\"\")\n" "STACK.append(result)" -#: ../../library/dis.rst:1768 +#: ../../library/dis.rst:1786 msgid "Formats the given value with the given format spec::" msgstr "Formatiert den angegebenen Wert mit der angegebenen Formatangabe::" -#: ../../library/dis.rst:1770 +#: ../../library/dis.rst:1788 msgid "" "spec = STACK.pop()\n" "value = STACK.pop()\n" @@ -2598,7 +2626,7 @@ msgstr "" "result = value.__format__(spec)\n" "STACK.append(result)" -#: ../../library/dis.rst:1782 +#: ../../library/dis.rst:1800 msgid "" "``STACK[-1]`` is a tuple of keyword attribute names, ``STACK[-2]`` is the " "class being matched against, and ``STACK[-3]`` is the match subject. " @@ -2608,7 +2636,7 @@ msgstr "" "ist die Klasse, gegen die abgeglichen wird, und ``STACK[-3]`` ist das Match-" "Subjekt. *count* ist die Anzahl der positionellen Teilmuster." -#: ../../library/dis.rst:1786 +#: ../../library/dis.rst:1804 msgid "" "Pop ``STACK[-1]``, ``STACK[-2]``, and ``STACK[-3]``. If ``STACK[-3]`` is an " "instance of ``STACK[-2]`` and has the positional and keyword attributes " @@ -2620,13 +2648,13 @@ msgstr "" "verlangten positionellen und Schlüsselwort-Attribute, wird ein Tupel der " "extrahierten Attribute abgelegt. Andernfalls wird ``None`` abgelegt." -#: ../../library/dis.rst:1800 +#: ../../library/dis.rst:1818 msgid "A no-op. Performs internal tracing, debugging and optimization checks." msgstr "" "Eine Nulloperation. Führt interne Prüfungen für Tracing, Debugging und " "Optimierung durch." -#: ../../library/dis.rst:1802 +#: ../../library/dis.rst:1820 msgid "" "The ``context`` operand consists of two parts. The lowest two bits indicate " "where the ``RESUME`` occurs:" @@ -2634,7 +2662,7 @@ msgstr "" "Der Operand ``context`` besteht aus zwei Teilen. Die untersten zwei Bits " "zeigen an, wo das ``RESUME`` auftritt:" -#: ../../library/dis.rst:1805 +#: ../../library/dis.rst:1823 msgid "" "``0`` The start of a function, which is neither a generator, coroutine nor " "an async generator" @@ -2642,19 +2670,19 @@ msgstr "" "``0`` Der Beginn einer Funktion, die weder ein Generator noch eine Coroutine " "noch ein asynchroner Generator ist" -#: ../../library/dis.rst:1807 +#: ../../library/dis.rst:1825 msgid "``1`` After a ``yield`` expression" msgstr "``1`` Nach einem ``yield``-Ausdruck" -#: ../../library/dis.rst:1808 +#: ../../library/dis.rst:1826 msgid "``2`` After a ``yield from`` expression" msgstr "``2`` Nach einem ``yield from``-Ausdruck" -#: ../../library/dis.rst:1809 +#: ../../library/dis.rst:1827 msgid "``3`` After an ``await`` expression" msgstr "``3`` Nach einem ``await``-Ausdruck" -#: ../../library/dis.rst:1811 +#: ../../library/dis.rst:1829 msgid "" "The next bit is ``1`` if the RESUME is at except-depth ``1``, and ``0`` " "otherwise." @@ -2662,13 +2690,13 @@ msgstr "" "Das nächste Bit ist ``1``, wenn das RESUME bei Ausnahmetiefe ``1`` liegt, " "andernfalls ``0``." -#: ../../library/dis.rst:1816 +#: ../../library/dis.rst:1834 msgid "The oparg value changed to include information about except-depth" msgstr "" "Der Wert von oparg wurde geändert, um Informationen zur Ausnahmetiefe " "aufzunehmen" -#: ../../library/dis.rst:1822 +#: ../../library/dis.rst:1840 msgid "" "Create a generator, coroutine, or async generator from the current frame. " "Used as first opcode of in code object for the above mentioned callables. " @@ -2679,7 +2707,7 @@ msgstr "" "Aufrufbaren verwendet. Leert den aktuellen Frame und gibt den neu erzeugten " "Generator zurück." -#: ../../library/dis.rst:1831 +#: ../../library/dis.rst:1849 msgid "" "Equivalent to ``STACK[-1] = STACK[-3].send(STACK[-1])``. Used in ``yield " "from`` and ``await`` statements. ``STACK[-2]`` is the value pushed with the " @@ -2691,7 +2719,7 @@ msgstr "" "Empfänger von :opcode:`GET_ITER` abgelegte Wert. Ist der Empfänger ein " "virtueller Iterator, wird er wie von :opcode:`FOR_ITER` weitergeschaltet." -#: ../../library/dis.rst:1836 +#: ../../library/dis.rst:1854 msgid "" "If the call raises :exc:`StopIteration`, pop the top value from the stack, " "push the exception's ``value`` attribute, and increment the bytecode counter " @@ -2701,7 +2729,7 @@ msgstr "" "entfernt, das Attribut ``value`` der Ausnahme abgelegt und der Bytecode-" "Zähler um *delta* erhöht." -#: ../../library/dis.rst:1842 +#: ../../library/dis.rst:1860 msgid "" "The receiver is now at ``STACK[-3]``, followed by the value pushed with it " "by :opcode:`GET_ITER`." @@ -2709,7 +2737,7 @@ msgstr "" "Der Empfänger liegt jetzt in ``STACK[-3]``, gefolgt von dem mit ihm " "von :opcode:`GET_ITER` abgelegten Wert." -#: ../../library/dis.rst:1849 +#: ../../library/dis.rst:1867 msgid "" "This is not really an opcode. It identifies the dividing line between " "opcodes in the range [0,255] which don't use their argument and those that " @@ -2719,7 +2747,7 @@ msgstr "" "Opcodes im Bereich [0,255], die ihr Argument nicht verwenden, und solchen, " "die es verwenden (``< HAVE_ARGUMENT`` beziehungsweise ``>= HAVE_ARGUMENT``)." -#: ../../library/dis.rst:1853 +#: ../../library/dis.rst:1871 msgid "" "If your application uses pseudo instructions or specialized instructions, " "use the :data:`hasarg` collection instead." @@ -2727,7 +2755,7 @@ msgstr "" "Verwendet deine Anwendung Pseudo-Instruktionen oder spezialisierte " "Instruktionen, verwende stattdessen die Sammlung :data:`hasarg`." -#: ../../library/dis.rst:1856 +#: ../../library/dis.rst:1874 msgid "" "Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` " "ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument." @@ -2735,7 +2763,7 @@ msgstr "" "Jetzt hat jede Instruktion ein Argument, aber Opcodes ``< HAVE_ARGUMENT`` " "ignorieren es. Zuvor hatten nur Opcodes ``>= HAVE_ARGUMENT`` ein Argument." -#: ../../library/dis.rst:1860 +#: ../../library/dis.rst:1878 msgid "" "Pseudo instructions were added to the :mod:`!dis` module, and for them it is " "not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use " @@ -2745,11 +2773,11 @@ msgstr "" "gilt nicht, dass der Vergleich mit ``HAVE_ARGUMENT`` anzeigt, ob sie ihr " "Argument verwenden." -#: ../../library/dis.rst:1865 +#: ../../library/dis.rst:1883 msgid "Use :data:`hasarg` instead." msgstr "Verwende stattdessen :data:`hasarg`." -#: ../../library/dis.rst:1870 +#: ../../library/dis.rst:1888 msgid "" "Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the " "argument and sets ``STACK[-1]`` to the result. Used to implement " @@ -2760,112 +2788,112 @@ msgstr "" "verwendet, um Funktionalität zu implementieren, die nicht leistungskritisch " "ist." -#: ../../library/dis.rst:1874 ../../library/dis.rst:1928 +#: ../../library/dis.rst:1892 ../../library/dis.rst:1946 msgid "The operand determines which intrinsic function is called:" msgstr "Der Operand bestimmt, welche intrinsische Funktion aufgerufen wird:" -#: ../../library/dis.rst:1877 ../../library/dis.rst:1931 +#: ../../library/dis.rst:1895 ../../library/dis.rst:1949 msgid "Operand" msgstr "Operand" -#: ../../library/dis.rst:1877 ../../library/dis.rst:1931 +#: ../../library/dis.rst:1895 ../../library/dis.rst:1949 msgid "Description" msgstr "Beschreibung" -#: ../../library/dis.rst:1879 +#: ../../library/dis.rst:1897 msgid "``INTRINSIC_1_INVALID``" msgstr "``INTRINSIC_1_INVALID``" -#: ../../library/dis.rst:1879 ../../library/dis.rst:1933 +#: ../../library/dis.rst:1897 ../../library/dis.rst:1951 msgid "Not valid" msgstr "Ungültig" -#: ../../library/dis.rst:1881 +#: ../../library/dis.rst:1899 msgid "``INTRINSIC_PRINT``" msgstr "``INTRINSIC_PRINT``" -#: ../../library/dis.rst:1881 +#: ../../library/dis.rst:1899 msgid "Prints the argument to standard out. Used in the REPL." msgstr "" "Gibt das Argument auf der Standardausgabe aus. Wird in der REPL verwendet." -#: ../../library/dis.rst:1884 +#: ../../library/dis.rst:1902 msgid "``INTRINSIC_IMPORT_STAR``" msgstr "``INTRINSIC_IMPORT_STAR``" -#: ../../library/dis.rst:1884 +#: ../../library/dis.rst:1902 msgid "Performs ``import *`` for the named module." msgstr "Führt ``import *`` für das benannte Modul aus." -#: ../../library/dis.rst:1887 +#: ../../library/dis.rst:1905 msgid "``INTRINSIC_STOPITERATION_ERROR``" msgstr "``INTRINSIC_STOPITERATION_ERROR``" -#: ../../library/dis.rst:1887 +#: ../../library/dis.rst:1905 msgid "Extracts the return value from a ``StopIteration`` exception." msgstr "Extrahiert den Rückgabewert aus einer ``StopIteration``-Ausnahme." -#: ../../library/dis.rst:1890 +#: ../../library/dis.rst:1908 msgid "``INTRINSIC_ASYNC_GEN_WRAP``" msgstr "``INTRINSIC_ASYNC_GEN_WRAP``" -#: ../../library/dis.rst:1890 +#: ../../library/dis.rst:1908 msgid "Wraps an async generator value" msgstr "Umhüllt einen Wert eines asynchronen Generators" -#: ../../library/dis.rst:1892 +#: ../../library/dis.rst:1910 msgid "``INTRINSIC_UNARY_POSITIVE``" msgstr "``INTRINSIC_UNARY_POSITIVE``" -#: ../../library/dis.rst:1892 +#: ../../library/dis.rst:1910 msgid "Performs the unary ``+`` operation" msgstr "Führt die unäre Operation ``+`` aus" -#: ../../library/dis.rst:1895 +#: ../../library/dis.rst:1913 msgid "``INTRINSIC_LIST_TO_TUPLE``" msgstr "``INTRINSIC_LIST_TO_TUPLE``" -#: ../../library/dis.rst:1895 +#: ../../library/dis.rst:1913 msgid "Converts a list to a tuple" msgstr "Wandelt eine Liste in ein Tupel um" -#: ../../library/dis.rst:1897 +#: ../../library/dis.rst:1915 msgid "``INTRINSIC_TYPEVAR``" msgstr "``INTRINSIC_TYPEVAR``" -#: ../../library/dis.rst:1897 +#: ../../library/dis.rst:1915 msgid "Creates a :class:`typing.TypeVar`" msgstr "Erzeugt ein :class:`typing.TypeVar`" -#: ../../library/dis.rst:1899 +#: ../../library/dis.rst:1917 msgid "``INTRINSIC_PARAMSPEC``" msgstr "``INTRINSIC_PARAMSPEC``" -#: ../../library/dis.rst:1899 +#: ../../library/dis.rst:1917 msgid "Creates a :class:`typing.ParamSpec`" msgstr "Erzeugt ein :class:`typing.ParamSpec`" -#: ../../library/dis.rst:1902 +#: ../../library/dis.rst:1920 msgid "``INTRINSIC_TYPEVARTUPLE``" msgstr "``INTRINSIC_TYPEVARTUPLE``" -#: ../../library/dis.rst:1902 +#: ../../library/dis.rst:1920 msgid "Creates a :class:`typing.TypeVarTuple`" msgstr "Erzeugt ein :class:`typing.TypeVarTuple`" -#: ../../library/dis.rst:1905 +#: ../../library/dis.rst:1923 msgid "``INTRINSIC_SUBSCRIPT_GENERIC``" msgstr "``INTRINSIC_SUBSCRIPT_GENERIC``" -#: ../../library/dis.rst:1905 +#: ../../library/dis.rst:1923 msgid "Returns :class:`typing.Generic` subscripted with the argument" msgstr "Gibt :class:`typing.Generic` mit dem Argument als Index zurück" -#: ../../library/dis.rst:1908 +#: ../../library/dis.rst:1926 msgid "``INTRINSIC_TYPEALIAS``" msgstr "``INTRINSIC_TYPEALIAS``" -#: ../../library/dis.rst:1908 +#: ../../library/dis.rst:1926 msgid "" "Creates a :class:`typing.TypeAliasType`; used in the :keyword:`type` " "statement. The argument is a tuple of the type alias's name, type " @@ -2875,7 +2903,7 @@ msgstr "" "Anweisung verwendet wird. Das Argument ist ein Tupel aus dem Namen, den " "Typparametern und dem Wert des Typalias." -#: ../../library/dis.rst:1920 +#: ../../library/dis.rst:1938 msgid "" "Calls an intrinsic function with two arguments. Used to implement " "functionality that is not performance critical::" @@ -2883,7 +2911,7 @@ msgstr "" "Ruft eine intrinsische Funktion mit zwei Argumenten auf. Wird verwendet, um " "Funktionalität zu implementieren, die nicht leistungskritisch ist::" -#: ../../library/dis.rst:1923 +#: ../../library/dis.rst:1941 msgid "" "arg2 = STACK.pop()\n" "arg1 = STACK.pop()\n" @@ -2895,45 +2923,45 @@ msgstr "" "result = intrinsic2(arg1, arg2)\n" "STACK.append(result)" -#: ../../library/dis.rst:1933 +#: ../../library/dis.rst:1951 msgid "``INTRINSIC_2_INVALID``" msgstr "``INTRINSIC_2_INVALID``" -#: ../../library/dis.rst:1935 +#: ../../library/dis.rst:1953 msgid "``INTRINSIC_PREP_RERAISE_STAR``" msgstr "``INTRINSIC_PREP_RERAISE_STAR``" -#: ../../library/dis.rst:1935 +#: ../../library/dis.rst:1953 msgid "Calculates the :exc:`ExceptionGroup` to raise from a ``try-except*``." msgstr "" "Berechnet die :exc:`ExceptionGroup`, die aus einem ``try-except*`` ausgelöst " "werden soll." -#: ../../library/dis.rst:1939 +#: ../../library/dis.rst:1957 msgid "``INTRINSIC_TYPEVAR_WITH_BOUND``" msgstr "``INTRINSIC_TYPEVAR_WITH_BOUND``" -#: ../../library/dis.rst:1939 +#: ../../library/dis.rst:1957 msgid "Creates a :class:`typing.TypeVar` with a bound." msgstr "Erzeugt ein :class:`typing.TypeVar` mit einer Schranke." -#: ../../library/dis.rst:1942 +#: ../../library/dis.rst:1960 msgid "``INTRINSIC_TYPEVAR_WITH_CONSTRAINTS``" msgstr "``INTRINSIC_TYPEVAR_WITH_CONSTRAINTS``" -#: ../../library/dis.rst:1942 +#: ../../library/dis.rst:1960 msgid "Creates a :class:`typing.TypeVar` with constraints." msgstr "Erzeugt ein :class:`typing.TypeVar` mit Einschränkungen." -#: ../../library/dis.rst:1946 +#: ../../library/dis.rst:1964 msgid "``INTRINSIC_SET_FUNCTION_TYPE_PARAMS``" msgstr "``INTRINSIC_SET_FUNCTION_TYPE_PARAMS``" -#: ../../library/dis.rst:1946 +#: ../../library/dis.rst:1964 msgid "Sets the ``__type_params__`` attribute of a function." msgstr "Setzt das Attribut ``__type_params__`` einer Funktion." -#: ../../library/dis.rst:1955 +#: ../../library/dis.rst:1973 msgid "" "Performs special method lookup on ``STACK[-1]``. If " "``type(STACK[-1]).__xxx__`` is a method, leave ``type(STACK[-1]).__xxx__; " @@ -2945,11 +2973,11 @@ msgstr "" "STACK[-1]`` auf dem Stack. Ist ``type(STACK[-1]).__xxx__`` keine Methode, " "bleibt ``STACK[-1].__xxx__; NULL`` auf dem Stack." -#: ../../library/dis.rst:1964 +#: ../../library/dis.rst:1982 msgid "**Pseudo-instructions**" msgstr "**Pseudo-Instruktionen**" -#: ../../library/dis.rst:1966 +#: ../../library/dis.rst:1984 msgid "" "These opcodes do not appear in Python bytecode. They are used by the " "compiler but are replaced by real opcodes or removed before bytecode is " @@ -2959,7 +2987,7 @@ msgstr "" "verwendet, aber durch echte Opcodes ersetzt oder entfernt, bevor Bytecode " "erzeugt wird." -#: ../../library/dis.rst:1971 +#: ../../library/dis.rst:1989 msgid "" "Set up an exception handler for the following code block. If an exception " "occurs, the value stack level is restored to its current state and control " @@ -2970,7 +2998,7 @@ msgstr "" "zurückgesetzt, und die Kontrolle wird an den Ausnahmebehandler bei " "``target`` übergeben." -#: ../../library/dis.rst:1978 +#: ../../library/dis.rst:1996 msgid "" "Like ``SETUP_FINALLY``, but in case of an exception also pushes the last " "instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If " @@ -2985,7 +3013,7 @@ msgstr "" "zurückgesetzt, und die Kontrolle wird an den Ausnahmebehandler bei " "``target`` übergeben." -#: ../../library/dis.rst:1987 +#: ../../library/dis.rst:2005 msgid "" "Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped " "from the stack before control is transferred to the exception handler at " @@ -2995,7 +3023,7 @@ msgstr "" "Stack entfernt, bevor die Kontrolle an den Ausnahmebehandler bei ``target`` " "übergeben wird." -#: ../../library/dis.rst:1991 +#: ../../library/dis.rst:2009 msgid "" "This variant is used in :keyword:`with` and :keyword:`async with` " "constructs, which push the return value of the context " @@ -3006,7 +3034,7 @@ msgstr "" "Konstrukten verwendet, die den Rückgabewert von :meth:`~object.__enter__` " "oder :meth:`~object.__aenter__` des Kontextmanagers auf den Stack legen." -#: ../../library/dis.rst:1998 +#: ../../library/dis.rst:2016 msgid "" "Marks the end of the code block associated with the last ``SETUP_FINALLY``, " "``SETUP_CLEANUP`` or ``SETUP_WITH``." @@ -3014,7 +3042,7 @@ msgstr "" "Markiert das Ende des Codeblocks, der zum letzten ``SETUP_FINALLY``, " "``SETUP_CLEANUP`` oder ``SETUP_WITH`` gehört." -#: ../../library/dis.rst:2005 +#: ../../library/dis.rst:2023 msgid "" "Undirected relative jump instructions which are replaced by their directed " "(forward/backward) counterparts by the assembler." @@ -3022,7 +3050,7 @@ msgstr "" "Ungerichtete relative Sprunginstruktionen, die der Assembler durch ihre " "gerichteten (vorwärts/rückwärts) Gegenstücke ersetzt." -#: ../../library/dis.rst:2011 +#: ../../library/dis.rst:2029 msgid "" "Conditional jumps which do not impact the stack. Replaced by the sequence " "``COPY 1``, ``TO_BOOL``, ``POP_JUMP_IF_TRUE/FALSE``." @@ -3030,7 +3058,7 @@ msgstr "" "Bedingte Sprünge, die den Stack nicht beeinflussen. Ersetzt durch die " "Sequenz ``COPY 1``, ``TO_BOOL``, ``POP_JUMP_IF_TRUE/FALSE``." -#: ../../library/dis.rst:2016 +#: ../../library/dis.rst:2034 msgid "" "Pushes a reference to the cell contained in slot ``i`` of the \"fast " "locals\" storage." @@ -3038,21 +3066,21 @@ msgstr "" "Legt eine Referenz auf die Zelle, die in Slot ``i`` des Speichers der " "„schnellen lokalen Variablen“ enthalten ist, auf den Stack." -#: ../../library/dis.rst:2019 +#: ../../library/dis.rst:2037 msgid "" "Note that ``LOAD_CLOSURE`` is replaced with ``LOAD_FAST`` in the assembler." msgstr "" "Beachte, dass ``LOAD_CLOSURE`` im Assembler durch ``LOAD_FAST`` ersetzt wird." -#: ../../library/dis.rst:2021 +#: ../../library/dis.rst:2039 msgid "This opcode is now a pseudo-instruction." msgstr "Dieser Opcode ist jetzt eine Pseudo-Instruktion." -#: ../../library/dis.rst:2028 +#: ../../library/dis.rst:2046 msgid "Opcode collections" msgstr "Opcode-Sammlungen" -#: ../../library/dis.rst:2030 +#: ../../library/dis.rst:2048 msgid "" "These collections are provided for automatic introspection of bytecode " "instructions:" @@ -3060,7 +3088,7 @@ msgstr "" "Diese Sammlungen dienen der automatischen Introspektion von Bytecode-" "Instruktionen:" -#: ../../library/dis.rst:2033 +#: ../../library/dis.rst:2051 msgid "" "The collections now contain pseudo instructions and instrumented " "instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE`` " @@ -3070,27 +3098,27 @@ msgstr "" "Instruktionen. Das sind Opcodes mit Werten ``>= MIN_PSEUDO_OPCODE`` und ``>= " "MIN_INSTRUMENTED_OPCODE``." -#: ../../library/dis.rst:2040 +#: ../../library/dis.rst:2058 msgid "Sequence of operation names, indexable using the bytecode." msgstr "Sequenz von Operationsnamen, indizierbar über den Bytecode." -#: ../../library/dis.rst:2045 +#: ../../library/dis.rst:2063 msgid "Dictionary mapping operation names to bytecodes." msgstr "Dictionary, das Operationsnamen auf Bytecodes abbildet." -#: ../../library/dis.rst:2050 +#: ../../library/dis.rst:2068 msgid "Sequence of all compare operation names." msgstr "Sequenz aller Namen von Vergleichsoperationen." -#: ../../library/dis.rst:2055 +#: ../../library/dis.rst:2073 msgid "Sequence of bytecodes that use their argument." msgstr "Sequenz von Bytecodes, die ihr Argument verwenden." -#: ../../library/dis.rst:2062 +#: ../../library/dis.rst:2080 msgid "Sequence of bytecodes that access a constant." msgstr "Sequenz von Bytecodes, die auf eine Konstante zugreifen." -#: ../../library/dis.rst:2067 +#: ../../library/dis.rst:2085 msgid "" "Sequence of bytecodes that access a :term:`free (closure) variable `. 'free' in this context refers to names in the current scope that " @@ -3105,47 +3133,47 @@ msgstr "" "Geltungsbereich aus verwiesen wird. Sie schließt Verweise auf globale oder " "integrierte Geltungsbereiche *nicht* ein." -#: ../../library/dis.rst:2075 +#: ../../library/dis.rst:2093 msgid "Sequence of bytecodes that access an attribute by name." msgstr "Sequenz von Bytecodes, die über den Namen auf ein Attribut zugreifen." -#: ../../library/dis.rst:2080 +#: ../../library/dis.rst:2098 msgid "Sequence of bytecodes that have a jump target. All jumps are relative." msgstr "" "Sequenz von Bytecodes, die ein Sprungziel haben. Alle Sprünge sind relativ." -#: ../../library/dis.rst:2087 +#: ../../library/dis.rst:2105 msgid "Sequence of bytecodes that access a local variable." msgstr "Sequenz von Bytecodes, die auf eine lokale Variable zugreifen." -#: ../../library/dis.rst:2092 +#: ../../library/dis.rst:2110 msgid "Sequence of bytecodes of Boolean operations." msgstr "Sequenz von Bytecodes boolescher Operationen." -#: ../../library/dis.rst:2096 +#: ../../library/dis.rst:2114 msgid "Sequence of bytecodes that set an exception handler." msgstr "Sequenz von Bytecodes, die einen Ausnahmebehandler setzen." -#: ../../library/dis.rst:2103 +#: ../../library/dis.rst:2121 msgid "Sequence of bytecodes that have a relative jump target." msgstr "Sequenz von Bytecodes, die ein relatives Sprungziel haben." -#: ../../library/dis.rst:2105 +#: ../../library/dis.rst:2123 msgid "All jumps are now relative. Use :data:`hasjump`." msgstr "Alle Sprünge sind jetzt relativ. Verwende :data:`hasjump`." -#: ../../library/dis.rst:2111 +#: ../../library/dis.rst:2129 msgid "Sequence of bytecodes that have an absolute jump target." msgstr "Sequenz von Bytecodes, die ein absolutes Sprungziel haben." -#: ../../library/dis.rst:2113 +#: ../../library/dis.rst:2131 msgid "All jumps are now relative. This list is empty." msgstr "Alle Sprünge sind jetzt relativ. Diese Liste ist leer." -#: ../../library/dis.rst:1711 +#: ../../library/dis.rst:1729 msgid "built-in function" msgstr "integrierte Funktion" -#: ../../library/dis.rst:1711 +#: ../../library/dis.rst:1729 msgid "slice" msgstr "Scheibe" diff --git a/library/http.po b/library/http.po index 7ea71b21..ab680984 100644 --- a/library/http.po +++ b/library/http.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" "Language: de\n" @@ -73,7 +73,7 @@ msgstr "" msgid "" ">>> from http import HTTPStatus\n" ">>> HTTPStatus.OK\n" -"HTTPStatus.OK\n" +"\n" ">>> HTTPStatus.OK == 200\n" "True\n" ">>> HTTPStatus.OK.value\n" @@ -83,7 +83,7 @@ msgid "" ">>> HTTPStatus.OK.description\n" "'Request fulfilled, document follows'\n" ">>> list(HTTPStatus)\n" -"[HTTPStatus.CONTINUE, HTTPStatus.SWITCHING_PROTOCOLS, ...]" +"[, , ...]" msgstr "" #: ../../library/http.rst:53 diff --git a/library/importlib.po b/library/importlib.po index c7ac0428..65853c2a 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -10,7 +10,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-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -2420,11 +2420,20 @@ msgid "Implementing lazy imports" msgstr "Lazy Imports implementieren" #: ../../library/importlib.rst:1470 -msgid "The example below shows how to implement lazy imports::" +msgid "" +"Use the :keyword:`lazy` keyword for an explicit :ref:`lazy import `. Python delays the module search and execution until the first use " +"of the imported name." +msgstr "" + +#: ../../library/importlib.rst:1474 +msgid "" +"The :class:`importlib.util.LazyLoader` example below does the module search " +"immediately and delays only module execution. It creates a module object " +"in :data:`sys.modules` before execution::" msgstr "" -"Das folgende Beispiel zeigt, wie sich Lazy Imports implementieren lassen::" -#: ../../library/importlib.rst:1472 +#: ../../library/importlib.rst:1478 msgid "" ">>> import importlib.util\n" ">>> import sys\n" @@ -2460,11 +2469,11 @@ msgstr "" ">>> lazy_typing.TYPE_CHECKING\n" "False" -#: ../../library/importlib.rst:1491 +#: ../../library/importlib.rst:1497 msgid "Setting up an importer" msgstr "Einen Importeur einrichten" -#: ../../library/importlib.rst:1493 +#: ../../library/importlib.rst:1499 msgid "" "For deep customizations of import, you typically want to implement " "an :term:`importer`. This means managing both the :term:`finder` " @@ -2492,7 +2501,7 @@ msgstr "" "erstellen, lies die Dokumentation der passenden Klassen, die in diesem Paket " "definiert sind)::" -#: ../../library/importlib.rst:1504 +#: ../../library/importlib.rst:1510 msgid "" "import importlib.machinery\n" "import sys\n" @@ -2536,11 +2545,11 @@ msgstr "" "# of priority.\n" "sys.path_hooks.append(SpamPathEntryFinder.path_hook(loader_details))" -#: ../../library/importlib.rst:1525 +#: ../../library/importlib.rst:1531 msgid "Approximating :func:`importlib.import_module`" msgstr ":func:`importlib.import_module` annähern" -#: ../../library/importlib.rst:1527 +#: ../../library/importlib.rst:1533 msgid "" "Import itself is implemented in Python code, making it possible to expose " "most of the import machinery through importlib. The following helps " @@ -2553,7 +2562,7 @@ msgstr "" "bereitstellt, indem es eine angenäherte Implementierung " "von :func:`importlib.import_module` liefert::" -#: ../../library/importlib.rst:1533 +#: ../../library/importlib.rst:1539 msgid "" "import importlib.util\n" "import sys\n" @@ -2622,3 +2631,7 @@ msgstr "Universal Neue Zeile" #: ../../library/importlib.rst:438 msgid "importlib.abc.InspectLoader.get_source method" msgstr "importlib.abc.InspectLoader.get_source method" + +#~ msgid "The example below shows how to implement lazy imports::" +#~ msgstr "" +#~ "Das folgende Beispiel zeigt, wie sich Lazy Imports implementieren lassen::" diff --git a/library/os.po b/library/os.po index 31e61d06..2950bae1 100644 --- a/library/os.po +++ b/library/os.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -425,64 +425,64 @@ msgstr "" #: ../../library/os.rst:2494 ../../library/os.rst:2514 #: ../../library/os.rst:2662 ../../library/os.rst:2684 #: ../../library/os.rst:2735 ../../library/os.rst:2747 -#: ../../library/os.rst:2769 ../../library/os.rst:3489 -#: ../../library/os.rst:3521 ../../library/os.rst:3531 -#: ../../library/os.rst:3541 ../../library/os.rst:3551 -#: ../../library/os.rst:3625 ../../library/os.rst:3635 -#: ../../library/os.rst:3645 ../../library/os.rst:3674 -#: ../../library/os.rst:3734 ../../library/os.rst:3746 -#: ../../library/os.rst:3775 ../../library/os.rst:3785 -#: ../../library/os.rst:3794 ../../library/os.rst:3806 -#: ../../library/os.rst:3818 ../../library/os.rst:3832 -#: ../../library/os.rst:3918 ../../library/os.rst:3926 -#: ../../library/os.rst:3934 ../../library/os.rst:3942 -#: ../../library/os.rst:3950 ../../library/os.rst:3958 -#: ../../library/os.rst:3966 ../../library/os.rst:3974 -#: ../../library/os.rst:3982 ../../library/os.rst:3990 -#: ../../library/os.rst:4111 ../../library/os.rst:4134 -#: ../../library/os.rst:4148 ../../library/os.rst:4372 -#: ../../library/os.rst:4397 ../../library/os.rst:4422 -#: ../../library/os.rst:4476 ../../library/os.rst:4485 -#: ../../library/os.rst:4494 ../../library/os.rst:4502 -#: ../../library/os.rst:4511 ../../library/os.rst:4520 -#: ../../library/os.rst:4593 ../../library/os.rst:4655 -#: ../../library/os.rst:4665 ../../library/os.rst:4683 -#: ../../library/os.rst:4692 ../../library/os.rst:4702 -#: ../../library/os.rst:4712 ../../library/os.rst:4722 -#: ../../library/os.rst:4733 ../../library/os.rst:4882 -#: ../../library/os.rst:4951 ../../library/os.rst:4986 +#: ../../library/os.rst:2769 ../../library/os.rst:3475 +#: ../../library/os.rst:3507 ../../library/os.rst:3517 +#: ../../library/os.rst:3527 ../../library/os.rst:3537 +#: ../../library/os.rst:3611 ../../library/os.rst:3621 +#: ../../library/os.rst:3631 ../../library/os.rst:3660 +#: ../../library/os.rst:3720 ../../library/os.rst:3732 +#: ../../library/os.rst:3761 ../../library/os.rst:3771 +#: ../../library/os.rst:3780 ../../library/os.rst:3792 +#: ../../library/os.rst:3804 ../../library/os.rst:3818 +#: ../../library/os.rst:3904 ../../library/os.rst:3912 +#: ../../library/os.rst:3920 ../../library/os.rst:3928 +#: ../../library/os.rst:3936 ../../library/os.rst:3944 +#: ../../library/os.rst:3952 ../../library/os.rst:3960 +#: ../../library/os.rst:3968 ../../library/os.rst:3976 +#: ../../library/os.rst:4097 ../../library/os.rst:4120 +#: ../../library/os.rst:4134 ../../library/os.rst:4358 +#: ../../library/os.rst:4383 ../../library/os.rst:4408 +#: ../../library/os.rst:4462 ../../library/os.rst:4471 +#: ../../library/os.rst:4480 ../../library/os.rst:4488 +#: ../../library/os.rst:4497 ../../library/os.rst:4506 +#: ../../library/os.rst:4579 ../../library/os.rst:4641 +#: ../../library/os.rst:4651 ../../library/os.rst:4669 +#: ../../library/os.rst:4678 ../../library/os.rst:4688 +#: ../../library/os.rst:4698 ../../library/os.rst:4708 +#: ../../library/os.rst:4719 ../../library/os.rst:4868 +#: ../../library/os.rst:4937 ../../library/os.rst:4972 +#: ../../library/os.rst:4980 ../../library/os.rst:4987 #: ../../library/os.rst:4994 ../../library/os.rst:5001 #: ../../library/os.rst:5008 ../../library/os.rst:5015 -#: ../../library/os.rst:5022 ../../library/os.rst:5029 -#: ../../library/os.rst:5036 ../../library/os.rst:5044 -#: ../../library/os.rst:5052 ../../library/os.rst:5059 -#: ../../library/os.rst:5066 ../../library/os.rst:5075 -#: ../../library/os.rst:5083 ../../library/os.rst:5091 -#: ../../library/os.rst:5098 ../../library/os.rst:5105 -#: ../../library/os.rst:5154 ../../library/os.rst:5186 -#: ../../library/os.rst:5209 ../../library/os.rst:5225 -#: ../../library/os.rst:5232 ../../library/os.rst:5243 -#: ../../library/os.rst:5253 ../../library/os.rst:5262 -#: ../../library/os.rst:5294 ../../library/os.rst:5405 -#: ../../library/os.rst:5421 ../../library/os.rst:5454 -#: ../../library/os.rst:5523 ../../library/os.rst:5545 -#: ../../library/os.rst:5556 ../../library/os.rst:5568 -#: ../../library/os.rst:5613 ../../library/os.rst:5650 -#: ../../library/os.rst:5673 ../../library/os.rst:5694 -#: ../../library/os.rst:5728 ../../library/os.rst:5769 -#: ../../library/os.rst:5789 ../../library/os.rst:5803 -#: ../../library/os.rst:5820 ../../library/os.rst:5835 -#: ../../library/os.rst:5846 ../../library/os.rst:5858 -#: ../../library/os.rst:5871 ../../library/os.rst:5880 -#: ../../library/os.rst:5890 ../../library/os.rst:5903 -#: ../../library/os.rst:5938 ../../library/os.rst:5954 -#: ../../library/os.rst:5965 ../../library/os.rst:5977 -#: ../../library/os.rst:5984 ../../library/os.rst:5993 -#: ../../library/os.rst:6002 ../../library/os.rst:6011 -#: ../../library/os.rst:6020 ../../library/os.rst:6184 -#: ../../library/os.rst:6193 ../../library/os.rst:6217 -#: ../../library/os.rst:6244 ../../library/os.rst:6253 -#: ../../library/os.rst:6376 +#: ../../library/os.rst:5022 ../../library/os.rst:5030 +#: ../../library/os.rst:5038 ../../library/os.rst:5045 +#: ../../library/os.rst:5052 ../../library/os.rst:5061 +#: ../../library/os.rst:5069 ../../library/os.rst:5077 +#: ../../library/os.rst:5084 ../../library/os.rst:5091 +#: ../../library/os.rst:5140 ../../library/os.rst:5172 +#: ../../library/os.rst:5195 ../../library/os.rst:5211 +#: ../../library/os.rst:5218 ../../library/os.rst:5229 +#: ../../library/os.rst:5239 ../../library/os.rst:5248 +#: ../../library/os.rst:5280 ../../library/os.rst:5391 +#: ../../library/os.rst:5407 ../../library/os.rst:5440 +#: ../../library/os.rst:5509 ../../library/os.rst:5531 +#: ../../library/os.rst:5542 ../../library/os.rst:5554 +#: ../../library/os.rst:5599 ../../library/os.rst:5636 +#: ../../library/os.rst:5659 ../../library/os.rst:5680 +#: ../../library/os.rst:5714 ../../library/os.rst:5755 +#: ../../library/os.rst:5775 ../../library/os.rst:5789 +#: ../../library/os.rst:5806 ../../library/os.rst:5821 +#: ../../library/os.rst:5832 ../../library/os.rst:5844 +#: ../../library/os.rst:5857 ../../library/os.rst:5866 +#: ../../library/os.rst:5876 ../../library/os.rst:5889 +#: ../../library/os.rst:5924 ../../library/os.rst:5940 +#: ../../library/os.rst:5951 ../../library/os.rst:5963 +#: ../../library/os.rst:5970 ../../library/os.rst:5979 +#: ../../library/os.rst:5988 ../../library/os.rst:5997 +#: ../../library/os.rst:6006 ../../library/os.rst:6170 +#: ../../library/os.rst:6179 ../../library/os.rst:6203 +#: ../../library/os.rst:6230 ../../library/os.rst:6239 +#: ../../library/os.rst:6362 msgid "Availability" msgstr "Verfügbarkeit" @@ -1273,7 +1273,7 @@ msgstr "" msgid ":data:`sys.platform` which has finer granularity." msgstr ":data:`sys.platform`, das feiner aufgelöst ist." -#: ../../library/os.rst:818 ../../library/os.rst:5675 +#: ../../library/os.rst:818 ../../library/os.rst:5661 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1648,7 +1648,7 @@ msgstr "" #: ../../library/os.rst:1072 ../../library/os.rst:1090 #: ../../library/os.rst:1178 ../../library/os.rst:1811 #: ../../library/os.rst:2264 ../../library/os.rst:2297 -#: ../../library/os.rst:4113 +#: ../../library/os.rst:4099 msgid "" "The function is limited on WASI, see :ref:`wasm-availability` for more " "information." @@ -1789,7 +1789,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.truncate`` mit den " "Argumenten ``fd`` und ``length`` aus." -#: ../../library/os.rst:1165 ../../library/os.rst:4152 +#: ../../library/os.rst:1165 ../../library/os.rst:4138 msgid "Added support for Windows" msgstr "Unterstützung für Windows hinzugefügt" @@ -2054,12 +2054,12 @@ msgstr "" #: ../../library/os.rst:2581 ../../library/os.rst:2664 #: ../../library/os.rst:2686 ../../library/os.rst:2774 #: ../../library/os.rst:2804 ../../library/os.rst:2911 -#: ../../library/os.rst:4168 +#: ../../library/os.rst:4154 msgid "Added the *dir_fd* parameter." msgstr "Den Parameter *dir_fd* hinzugefügt." #: ../../library/os.rst:1337 ../../library/os.rst:1709 -#: ../../library/os.rst:1944 ../../library/os.rst:5771 +#: ../../library/os.rst:1944 ../../library/os.rst:5757 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising " @@ -2080,11 +2080,11 @@ msgstr "" #: ../../library/os.rst:2689 ../../library/os.rst:2737 #: ../../library/os.rst:2807 ../../library/os.rst:2826 #: ../../library/os.rst:2914 ../../library/os.rst:3222 -#: ../../library/os.rst:3837 ../../library/os.rst:4155 -#: ../../library/os.rst:4171 ../../library/os.rst:4212 -#: ../../library/os.rst:4315 ../../library/os.rst:4376 -#: ../../library/os.rst:4773 ../../library/os.rst:4957 -#: ../../library/os.rst:5530 +#: ../../library/os.rst:3823 ../../library/os.rst:4141 +#: ../../library/os.rst:4157 ../../library/os.rst:4198 +#: ../../library/os.rst:4301 ../../library/os.rst:4362 +#: ../../library/os.rst:4759 ../../library/os.rst:4943 +#: ../../library/os.rst:5516 msgid "Accepts a :term:`path-like object`." msgstr "Akzeptiert ein :term:`pfadähnliches Objekt `." @@ -3392,7 +3392,7 @@ msgid ":const:`stat.S_IXOTH`" msgstr ":const:`stat.S_IXOTH`" #: ../../library/os.rst:2253 ../../library/os.rst:2286 -#: ../../library/os.rst:4202 +#: ../../library/os.rst:4188 msgid "" "This function can support :ref:`specifying a file descriptor " "`, :ref:`paths relative to directory descriptors ` " @@ -3551,7 +3551,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.link`` mit den Argumenten " "``src``, ``dst``, ``src_dir_fd`` und ``dst_dir_fd`` aus." -#: ../../library/os.rst:2405 ../../library/os.rst:5211 +#: ../../library/os.rst:2405 ../../library/os.rst:5197 msgid "Added Windows support." msgstr "Unterstützung für Windows hinzugefügt." @@ -3561,7 +3561,7 @@ msgstr "" "Die Parameter *src_dir_fd*, *dst_dir_fd* und *follow_symlinks* hinzugefügt." #: ../../library/os.rst:2411 ../../library/os.rst:2858 -#: ../../library/os.rst:2895 ../../library/os.rst:4123 +#: ../../library/os.rst:2895 ../../library/os.rst:4109 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" "Akzeptiert ein :term:`pfadähnliches Objekt ` für *src* und " @@ -3630,7 +3630,7 @@ msgstr "" msgid "The *path* parameter became optional." msgstr "Der Parameter *path* ist nun optional." -#: ../../library/os.rst:2445 ../../library/os.rst:3834 +#: ../../library/os.rst:2445 ../../library/os.rst:3820 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" "Unterstützung für die Angabe von *path* als geöffneter Dateideskriptor " @@ -3789,7 +3789,7 @@ msgstr "" "` unterstützen." #: ../../library/os.rst:2538 ../../library/os.rst:2771 -#: ../../library/os.rst:4116 +#: ../../library/os.rst:4102 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" "Unterstützung für symbolische Links unter Windows 6.0 (Vista) hinzugefügt." @@ -4051,8 +4051,8 @@ msgstr "" "Konfigurationsvariablen, die nicht in diesem Mapping enthalten sind, wird " "auch eine Ganzzahl für *name* akzeptiert." -#: ../../library/os.rst:2732 ../../library/os.rst:3830 -#: ../../library/os.rst:4144 +#: ../../library/os.rst:2732 ../../library/os.rst:3816 +#: ../../library/os.rst:4130 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" @@ -4138,7 +4138,7 @@ msgstr "" "ausgelöst." #: ../../library/os.rst:2793 ../../library/os.rst:2906 -#: ../../library/os.rst:4095 +#: ../../library/os.rst:4081 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." @@ -4163,7 +4163,7 @@ msgid "This function is semantically identical to :func:`unlink`." msgstr "Diese Funktion ist semantisch identisch mit :func:`unlink`." #: ../../library/os.rst:2802 ../../library/os.rst:2824 -#: ../../library/os.rst:4166 +#: ../../library/os.rst:4152 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." @@ -4876,9 +4876,9 @@ msgstr "" "symbolischen Link selbst anzuwenden, füge das Argument " "``follow_symlinks=False`` hinzu oder verwende :func:`lstat`." -#: ../../library/os.rst:3187 ../../library/os.rst:4752 -#: ../../library/os.rst:4768 ../../library/os.rst:4788 -#: ../../library/os.rst:4808 +#: ../../library/os.rst:3187 ../../library/os.rst:4738 +#: ../../library/os.rst:4754 ../../library/os.rst:4774 +#: ../../library/os.rst:4794 msgid "" "This function can support :ref:`specifying a file descriptor ` " "and :ref:`not following symlinks `." @@ -4912,7 +4912,7 @@ msgstr "" "verwaiste symbolische Links oder Junction-Points, die die üblichen Ausnahmen " "auslösen." -#: ../../library/os.rst:3203 ../../library/os.rst:4459 +#: ../../library/os.rst:3203 ../../library/os.rst:4445 msgid "Example::" msgstr "Beispiel::" @@ -4978,7 +4978,7 @@ msgstr "" msgid "Attributes:" msgstr "Attribute:" -#: ../../library/os.rst:3244 ../../library/os.rst:3679 +#: ../../library/os.rst:3244 ../../library/os.rst:3665 msgid "File mode: file type and file mode bits (permissions)." msgstr "Dateimodus: Dateityp und Modus-Bits der Datei (Berechtigungen)." @@ -5002,23 +5002,23 @@ msgstr "" "der `Dateiindex `_ unter " "Windows" -#: ../../library/os.rst:3258 ../../library/os.rst:3608 +#: ../../library/os.rst:3258 ../../library/os.rst:3594 msgid "Identifier of the device on which this file resides." msgstr "Kennung des Geräts, auf dem sich diese Datei befindet." -#: ../../library/os.rst:3262 ../../library/os.rst:3701 +#: ../../library/os.rst:3262 ../../library/os.rst:3687 msgid "Number of hard links." msgstr "Anzahl der harten Links." -#: ../../library/os.rst:3266 ../../library/os.rst:3739 +#: ../../library/os.rst:3266 ../../library/os.rst:3725 msgid "User identifier of the file owner." msgstr "Benutzerkennung des Dateibesitzers." -#: ../../library/os.rst:3270 ../../library/os.rst:3650 +#: ../../library/os.rst:3270 ../../library/os.rst:3636 msgid "Group identifier of the file owner." msgstr "Gruppenkennung des Dateibesitzers." -#: ../../library/os.rst:3274 ../../library/os.rst:3720 +#: ../../library/os.rst:3274 ../../library/os.rst:3706 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " @@ -5032,15 +5032,15 @@ msgstr "" msgid "Timestamps:" msgstr "Zeitstempel:" -#: ../../library/os.rst:3282 ../../library/os.rst:3502 +#: ../../library/os.rst:3282 ../../library/os.rst:3488 msgid "Time of most recent access expressed in seconds." msgstr "Zeitpunkt des letzten Zugriffs in Sekunden." -#: ../../library/os.rst:3286 ../../library/os.rst:3686 +#: ../../library/os.rst:3286 ../../library/os.rst:3672 msgid "Time of most recent content modification expressed in seconds." msgstr "Zeitpunkt der letzten Inhaltsänderung in Sekunden." -#: ../../library/os.rst:3290 ../../library/os.rst:3593 +#: ../../library/os.rst:3290 ../../library/os.rst:3579 msgid "Time of most recent metadata change expressed in seconds." msgstr "Zeitpunkt der letzten Metadatenänderung in Sekunden." @@ -5054,17 +5054,17 @@ msgstr "" "Erstellungszeit der Datei. Künftig wird ``st_ctime`` wie auf anderen " "Plattformen den Zeitpunkt der letzten Metadatenänderung enthalten." -#: ../../library/os.rst:3299 ../../library/os.rst:3509 +#: ../../library/os.rst:3299 ../../library/os.rst:3495 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "Zeitpunkt des letzten Zugriffs in Nanosekunden als Ganzzahl." -#: ../../library/os.rst:3305 ../../library/os.rst:3693 +#: ../../library/os.rst:3305 ../../library/os.rst:3679 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." msgstr "Zeitpunkt der letzten Inhaltsänderung in Nanosekunden als Ganzzahl." -#: ../../library/os.rst:3312 ../../library/os.rst:3600 +#: ../../library/os.rst:3312 ../../library/os.rst:3586 msgid "" "Time of most recent metadata change expressed in nanoseconds as an integer." msgstr "Zeitpunkt der letzten Metadatenänderung in Nanosekunden als Ganzzahl." @@ -5155,7 +5155,7 @@ msgstr "" "Anzahl der für die Datei belegten 512-Byte-Blöcke. Sie kann kleiner " "als :attr:`st_size`/512 sein, wenn die Datei Lücken hat." -#: ../../library/os.rst:3367 ../../library/os.rst:3566 +#: ../../library/os.rst:3367 ../../library/os.rst:3552 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." @@ -5164,7 +5164,7 @@ msgstr "" "Schreiben in eine Datei in kleineren Stücken kann zu ineffizientem Lesen-" "Ändern-Zurückschreiben führen." -#: ../../library/os.rst:3372 ../../library/os.rst:3708 +#: ../../library/os.rst:3372 ../../library/os.rst:3694 msgid "Type of device if an inode device." msgstr "Gerätetyp, falls es ein Inode-Gerät ist." @@ -5201,26 +5201,10 @@ msgstr "" "identifiziert." #: ../../library/os.rst:3393 -msgid "On macOS systems, the following attributes may also be available:" -msgstr "Auf macOS-Systemen können auch die folgenden Attribute verfügbar sein:" - -#: ../../library/os.rst:3397 -msgid "Real size of the file." -msgstr "Tatsächliche Größe der Datei." - -#: ../../library/os.rst:3401 -msgid "Creator of the file." -msgstr "Ersteller der Datei." - -#: ../../library/os.rst:3405 -msgid "File type." -msgstr "Dateityp." - -#: ../../library/os.rst:3407 msgid "On Windows systems, the following attributes are also available:" msgstr "Auf Windows-Systemen sind auch die folgenden Attribute verfügbar:" -#: ../../library/os.rst:3411 +#: ../../library/os.rst:3397 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:`!" @@ -5233,7 +5217,7 @@ msgstr "" "Konstanten :const:`!FILE_ATTRIBUTE_* ` im " "Modul :mod:`stat`." -#: ../../library/os.rst:3421 +#: ../../library/os.rst:3407 msgid "" "When :attr:`st_file_attributes` has " "the :const:`~stat.FILE_ATTRIBUTE_REPARSE_POINT` set, this field contains the " @@ -5246,7 +5230,7 @@ msgstr "" "Siehe die Konstanten :const:`IO_REPARSE_TAG_* ` " "im Modul :mod:`stat`." -#: ../../library/os.rst:3426 +#: ../../library/os.rst:3412 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:struct:`stat` structure. (On " @@ -5257,7 +5241,7 @@ msgstr "" "extrahieren. (Unter Windows werden manche Elemente mit Platzhalterwerten " "gefüllt.)" -#: ../../library/os.rst:3430 +#: ../../library/os.rst:3416 msgid "" "For backward compatibility, a :class:`stat_result` instance is also " "accessible as a tuple of at least 10 integers giving the most important (and " @@ -5275,20 +5259,20 @@ msgstr "" "Kompatibilität mit älteren Python-Versionen liefert der Zugriff " "auf :class:`stat_result` als Tupel immer Ganzzahlen." -#: ../../library/os.rst:3439 +#: ../../library/os.rst:3425 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" "Windows gibt nun, falls verfügbar, den Dateiindex als :attr:`st_ino` zurück." -#: ../../library/os.rst:3443 +#: ../../library/os.rst:3429 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "Das Element :attr:`st_fstype` unter Solaris/Derivaten hinzugefügt." -#: ../../library/os.rst:3446 +#: ../../library/os.rst:3432 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "Das Element :attr:`st_reparse_tag` unter Windows hinzugefügt." -#: ../../library/os.rst:3449 +#: ../../library/os.rst:3435 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files " "as :const:`~stat.S_IFCHR`, :const:`~stat.S_IFIFO` or :const:`~stat.S_IFBLK` " @@ -5298,7 +5282,7 @@ msgstr "" "je nach Fall als :const:`~stat.S_IFCHR`, :const:`~stat.S_IFIFO` " "oder :const:`~stat.S_IFBLK`." -#: ../../library/os.rst:3454 +#: ../../library/os.rst:3440 msgid "" "On Windows, :attr:`st_ctime` is deprecated. Eventually, it will contain the " "last metadata change time, for consistency with other platforms, but for now " @@ -5309,7 +5293,7 @@ msgstr "" "enthalten, vorerst enthält es aber noch die Erstellungszeit. " "Verwende :attr:`st_birthtime` für die Erstellungszeit." -#: ../../library/os.rst:3460 +#: ../../library/os.rst:3446 msgid "" "On Windows, :attr:`st_ino` may now be up to 128 bits, depending on the file " "system. Previously it would not be above 64 bits, and larger file " @@ -5319,7 +5303,7 @@ msgstr "" "groß sein. Zuvor war es nie größer als 64 Bit, und größere Dateikennungen " "wurden willkürlich gepackt." -#: ../../library/os.rst:3464 +#: ../../library/os.rst:3450 msgid "" "On Windows, :attr:`st_rdev` no longer returns a value. Previously it would " "contain the same as :attr:`st_dev`, which was incorrect." @@ -5327,11 +5311,11 @@ msgstr "" "Unter Windows gibt :attr:`st_rdev` keinen Wert mehr zurück. Zuvor enthielt " "es dasselbe wie :attr:`st_dev`, was falsch war." -#: ../../library/os.rst:3467 +#: ../../library/os.rst:3453 msgid "Added the :attr:`st_birthtime` member on Windows." msgstr "Das Element :attr:`st_birthtime` unter Windows hinzugefügt." -#: ../../library/os.rst:3472 +#: ../../library/os.rst:3458 msgid "" "Get the status of a file or file descriptor by performing a :c:func:`!statx` " "system call on the given path." @@ -5339,7 +5323,7 @@ msgstr "" "Ermittelt den Status einer Datei oder eines Dateideskriptors durch einen " "Systemaufruf :c:func:`!statx` auf dem angegebenen Pfad." -#: ../../library/os.rst:3475 +#: ../../library/os.rst:3461 msgid "" "*path* is a :term:`path-like object` or an open file descriptor. *mask* is a " "combination of the module-level :const:`STATX_* ` constants " @@ -5358,7 +5342,7 @@ msgstr "" "dessen Attribut :attr:`~os.statx_result.stx_mask` die tatsächlich " "abgerufenen Informationen angibt (die von *mask* abweichen können)." -#: ../../library/os.rst:3483 +#: ../../library/os.rst:3469 msgid "" "This function supports :ref:`specifying a file descriptor " "`, :ref:`paths relative to directory descriptors `, " @@ -5368,19 +5352,19 @@ msgstr "" "`, :ref:`Pfade relativ zu Verzeichnisdeskriptoren ` und " "das :ref:`Nichtfolgen symbolischer Links `." -#: ../../library/os.rst:3487 ../../library/os.rst:3744 +#: ../../library/os.rst:3473 ../../library/os.rst:3730 msgid "The :manpage:`statx(2)` man page." msgstr "Die Manpage :manpage:`statx(2)`." -#: ../../library/os.rst:3496 +#: ../../library/os.rst:3482 msgid "Information about a file returned by :func:`os.statx`." msgstr "Von :func:`os.statx` zurückgegebene Informationen über eine Datei." -#: ../../library/os.rst:3498 +#: ../../library/os.rst:3484 msgid ":class:`!statx_result` has the following attributes:" msgstr ":class:`!statx_result` hat die folgenden Attribute:" -#: ../../library/os.rst:3504 ../../library/os.rst:3511 +#: ../../library/os.rst:3490 ../../library/os.rst:3497 msgid "" "Equal to ``None`` if :data:`STATX_ATIME` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5388,14 +5372,14 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_ATIME` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3516 +#: ../../library/os.rst:3502 msgid "Maximum iovecs for direct I/O with torn-write protection." msgstr "" "Höchstzahl an iovecs für direkte Ein-/Ausgabe mit Schutz vor zerrissenen " "Schreibvorgängen." -#: ../../library/os.rst:3518 ../../library/os.rst:3528 -#: ../../library/os.rst:3538 ../../library/os.rst:3548 +#: ../../library/os.rst:3504 ../../library/os.rst:3514 +#: ../../library/os.rst:3524 ../../library/os.rst:3534 msgid "" "Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5403,25 +5387,25 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_WRITE_ATOMIC` " "in :attr:`~statx_result.stx_mask` fehlt." -#: ../../library/os.rst:3526 +#: ../../library/os.rst:3512 msgid "Maximum size for direct I/O with torn-write protection." msgstr "" "Maximale Größe für direkte Ein-/Ausgabe mit Schutz vor zerrissenen " "Schreibvorgängen." -#: ../../library/os.rst:3536 +#: ../../library/os.rst:3522 msgid "Maximum optimized size for direct I/O with torn-write protection." msgstr "" "Maximale optimierte Größe für direkte Ein-/Ausgabe mit Schutz vor " "zerrissenen Schreibvorgängen." -#: ../../library/os.rst:3546 +#: ../../library/os.rst:3532 msgid "Minimum size for direct I/O with torn-write protection." msgstr "" "Minimale Größe für direkte Ein-/Ausgabe mit Schutz vor zerrissenen " "Schreibvorgängen." -#: ../../library/os.rst:3556 +#: ../../library/os.rst:3542 msgid "" "Bitmask of :const:`STATX_ATTR_* ` constants " "specifying the attributes of this file." @@ -5429,7 +5413,7 @@ msgstr "" "Bitmaske aus Konstanten :const:`STATX_ATTR_* `, " "die die Attribute dieser Datei angeben." -#: ../../library/os.rst:3561 +#: ../../library/os.rst:3547 msgid "" "A mask indicating which bits in :attr:`stx_attributes` are supported by the " "VFS and the filesystem." @@ -5437,7 +5421,7 @@ msgstr "" "Eine Maske, die angibt, welche Bits in :attr:`stx_attributes` vom VFS und " "vom Dateisystem unterstützt werden." -#: ../../library/os.rst:3571 +#: ../../library/os.rst:3557 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller " "than :attr:`stx_size`/512 when the file has holes." @@ -5445,7 +5429,7 @@ msgstr "" "Anzahl der für die Datei belegten 512-Byte-Blöcke. Sie kann kleiner " "als :attr:`stx_size`/512 sein, wenn die Datei Lücken hat." -#: ../../library/os.rst:3574 +#: ../../library/os.rst:3560 msgid "" "Equal to ``None`` if :data:`STATX_BLOCKS` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5453,11 +5437,11 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_BLOCKS` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3579 +#: ../../library/os.rst:3565 msgid "Time of file creation expressed in seconds." msgstr "Zeitpunkt der Dateierstellung in Sekunden." -#: ../../library/os.rst:3581 ../../library/os.rst:3588 +#: ../../library/os.rst:3567 ../../library/os.rst:3574 msgid "" "Equal to ``None`` if :data:`STATX_BTIME` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5465,11 +5449,11 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_BTIME` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3586 +#: ../../library/os.rst:3572 msgid "Time of file creation expressed in nanoseconds as an integer." msgstr "Zeitpunkt der Dateierstellung in Nanosekunden als Ganzzahl." -#: ../../library/os.rst:3595 ../../library/os.rst:3603 +#: ../../library/os.rst:3581 ../../library/os.rst:3589 msgid "" "Equal to ``None`` if :data:`STATX_CTIME` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5477,19 +5461,19 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_CTIME` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3612 +#: ../../library/os.rst:3598 msgid "Major number of the device on which this file resides." msgstr "Major-Nummer des Geräts, auf dem sich diese Datei befindet." -#: ../../library/os.rst:3616 +#: ../../library/os.rst:3602 msgid "Minor number of the device on which this file resides." msgstr "Minor-Nummer des Geräts, auf dem sich diese Datei befindet." -#: ../../library/os.rst:3620 +#: ../../library/os.rst:3606 msgid "Direct I/O memory buffer alignment requirement." msgstr "Ausrichtungsanforderung an Speicherpuffer für direkte Ein-/Ausgabe." -#: ../../library/os.rst:3622 ../../library/os.rst:3632 +#: ../../library/os.rst:3608 ../../library/os.rst:3618 msgid "" "Equal to ``None`` if :data:`STATX_DIOALIGN` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5497,16 +5481,16 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_DIOALIGN` " "in :attr:`~statx_result.stx_mask` fehlt." -#: ../../library/os.rst:3630 +#: ../../library/os.rst:3616 msgid "Direct I/O file offset alignment requirement." msgstr "Ausrichtungsanforderung an Datei-Offsets für direkte Ein-/Ausgabe." -#: ../../library/os.rst:3640 +#: ../../library/os.rst:3626 msgid "Direct I/O file offset alignment requirement for reads." msgstr "" "Ausrichtungsanforderung an Datei-Offsets für direkte Ein-/Ausgabe beim Lesen." -#: ../../library/os.rst:3642 +#: ../../library/os.rst:3628 msgid "" "Equal to ``None`` if :data:`STATX_DIO_READ_ALIGN` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5514,7 +5498,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_DIO_READ_ALIGN` " "in :attr:`~statx_result.stx_mask` fehlt." -#: ../../library/os.rst:3652 +#: ../../library/os.rst:3638 msgid "" "Equal to ``None`` if :data:`STATX_GID` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5522,11 +5506,11 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_GID` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3657 +#: ../../library/os.rst:3643 msgid "Inode number." msgstr "Inode-Nummer." -#: ../../library/os.rst:3659 +#: ../../library/os.rst:3645 msgid "" "Equal to ``None`` if :data:`STATX_INO` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5534,7 +5518,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_INO` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3664 +#: ../../library/os.rst:3650 msgid "" "Bitmask of :const:`STATX_* ` constants specifying the " "information retrieved, which may differ from what was requested." @@ -5542,11 +5526,11 @@ msgstr "" "Bitmaske aus Konstanten :const:`STATX_* `, die die abgerufenen " "Informationen angeben, die vom Angeforderten abweichen können." -#: ../../library/os.rst:3669 +#: ../../library/os.rst:3655 msgid "Mount identifier." msgstr "Kennung des Einhängepunkts." -#: ../../library/os.rst:3671 +#: ../../library/os.rst:3657 msgid "" "Equal to ``None`` if :data:`STATX_MNT_ID` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5554,7 +5538,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_MNT_ID` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3681 +#: ../../library/os.rst:3667 msgid "" "Equal to ``None`` if :data:`STATX_TYPE | STATX_MODE ` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5562,7 +5546,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_TYPE | STATX_MODE ` " "in :attr:`~statx_result.stx_mask` fehlt." -#: ../../library/os.rst:3688 ../../library/os.rst:3696 +#: ../../library/os.rst:3674 ../../library/os.rst:3682 msgid "" "Equal to ``None`` if :data:`STATX_MTIME` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5570,7 +5554,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_MTIME` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3703 +#: ../../library/os.rst:3689 msgid "" "Equal to ``None`` if :data:`STATX_NLINK` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5578,15 +5562,15 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_NLINK` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3712 +#: ../../library/os.rst:3698 msgid "Major number of the device this file represents." msgstr "Major-Nummer des Geräts, das diese Datei darstellt." -#: ../../library/os.rst:3716 +#: ../../library/os.rst:3702 msgid "Minor number of the device this file represents." msgstr "Minor-Nummer des Geräts, das diese Datei darstellt." -#: ../../library/os.rst:3724 +#: ../../library/os.rst:3710 msgid "" "Equal to ``None`` if :data:`STATX_SIZE` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5594,11 +5578,11 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_SIZE` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3729 +#: ../../library/os.rst:3715 msgid "Subvolume identifier." msgstr "Kennung des Subvolumes." -#: ../../library/os.rst:3731 +#: ../../library/os.rst:3717 msgid "" "Equal to ``None`` if :data:`STATX_SUBVOL` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5606,7 +5590,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_SUBVOL` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3741 +#: ../../library/os.rst:3727 msgid "" "Equal to ``None`` if :data:`STATX_UID` is missing " "from :attr:`~statx_result.stx_mask`." @@ -5614,7 +5598,7 @@ msgstr "" "Gleich ``None``, wenn :data:`STATX_UID` in :attr:`~statx_result.stx_mask` " "fehlt." -#: ../../library/os.rst:3771 +#: ../../library/os.rst:3757 msgid "" "Bitflags for use in the *mask* parameter to :func:`os.statx`. Some of these " "flags may be available even when their corresponding members " @@ -5624,7 +5608,7 @@ msgstr "" "können verfügbar sein, auch wenn die entsprechenden Elemente " "in :class:`statx_result` nicht verfügbar sind." -#: ../../library/os.rst:3781 +#: ../../library/os.rst:3767 msgid "" "A flag for the :func:`os.statx` function. Requests that the kernel return " "up-to-date information even when doing so is expensive (for example, " @@ -5634,7 +5618,7 @@ msgstr "" "Informationen zurückzugeben, auch wenn das aufwendig ist (zum Beispiel einen " "Umlauf zum Server bei einer Datei auf einem Netzwerkdateisystem erfordert)." -#: ../../library/os.rst:3791 +#: ../../library/os.rst:3777 msgid "" "A flag for the :func:`os.statx` function. Requests that the kernel return " "cached information if possible." @@ -5642,7 +5626,7 @@ msgstr "" "Ein Flag für die Funktion :func:`os.statx`. Fordert den Kernel auf, nach " "Möglichkeit zwischengespeicherte Informationen zurückzugeben." -#: ../../library/os.rst:3800 +#: ../../library/os.rst:3786 msgid "" "A flag for the :func:`os.statx` function. This flag is defined as ``0``, so " "it has no effect, but it can be used to explicitly indicate " @@ -5657,7 +5641,7 @@ msgstr "" "Flags gibt der Kernel im Allgemeinen Informationen zurück, die so aktuell " "sind wie die von :func:`os.stat`." -#: ../../library/os.rst:3813 +#: ../../library/os.rst:3799 msgid "" "If the final component of a path is an automount point, operate on the " "automount point instead of performing the automount. On " @@ -5669,7 +5653,7 @@ msgstr "" "Linux verhalten sich :func:`os.stat`, :func:`os.fstat` und :func:`os.lstat` " "immer so." -#: ../../library/os.rst:3825 +#: ../../library/os.rst:3811 msgid "" "Perform a :manpage:`statvfs(3)` system call on the given path. The return " "value is a :class:`statvfs_result` whose attributes describe the filesystem " @@ -5681,7 +5665,7 @@ msgstr "" "Dateisystem des angegebenen Pfades beschreiben und den Elementen der " "Struktur :c:struct:`statvfs` entsprechen." -#: ../../library/os.rst:3843 +#: ../../library/os.rst:3829 msgid "" "Filesystem statistics returned by :func:`os.statvfs` " "and :func:`os.fstatvfs`. See :manpage:`statvfs(3)` for more details." @@ -5689,15 +5673,15 @@ msgstr "" "Von :func:`os.statvfs` und :func:`os.fstatvfs` zurückgegebene " "Dateisystemstatistik. Weitere Details siehe :manpage:`statvfs(3)`." -#: ../../library/os.rst:3848 +#: ../../library/os.rst:3834 msgid "Block size." msgstr "Blockgröße." -#: ../../library/os.rst:3852 +#: ../../library/os.rst:3838 msgid "Fragment size." msgstr "Fragmentgröße." -#: ../../library/os.rst:3856 +#: ../../library/os.rst:3842 msgid "" "Number of :attr:`~statvfs_result.f_frsize` sized blocks the filesystem can " "contain." @@ -5705,27 +5689,27 @@ msgstr "" "Anzahl der Blöcke der Größe :attr:`~statvfs_result.f_frsize`, die das " "Dateisystem aufnehmen kann." -#: ../../library/os.rst:3861 +#: ../../library/os.rst:3847 msgid "Number of free blocks." msgstr "Anzahl der freien Blöcke." -#: ../../library/os.rst:3865 +#: ../../library/os.rst:3851 msgid "Number of free blocks for unprivileged users." msgstr "Anzahl der freien Blöcke für nicht privilegierte Benutzer." -#: ../../library/os.rst:3869 +#: ../../library/os.rst:3855 msgid "Number of file entries, inodes, the filesystem can contain." msgstr "Anzahl der Dateieinträge (Inodes), die das Dateisystem aufnehmen kann." -#: ../../library/os.rst:3873 +#: ../../library/os.rst:3859 msgid "Number of free files entries." msgstr "Anzahl der freien Dateieinträge." -#: ../../library/os.rst:3877 +#: ../../library/os.rst:3863 msgid "Number of free file entries for unprivileged users." msgstr "Anzahl der freien Dateieinträge für nicht privilegierte Benutzer." -#: ../../library/os.rst:3881 +#: ../../library/os.rst:3867 msgid "" "Bit-mask of mount flags. The following flags are " "defined: :data:`ST_RDONLY`, :data:`ST_NOSUID`, :data:`ST_NODEV`, :data:`ST_NOEXEC`, :data:`ST_SYNCHRONOUS`, :data:`ST_MANDLOCK`, :data:`ST_WRITE`, :data:`ST_APPEND`, :data:`ST_IMMUTABLE`, :data:`ST_NOATIME`, :data:`ST_NODIRATIME`, " @@ -5735,7 +5719,7 @@ msgstr "" "definiert: :data:`ST_RDONLY`, :data:`ST_NOSUID`, :data:`ST_NODEV`, :data:`ST_NOEXEC`, :data:`ST_SYNCHRONOUS`, :data:`ST_MANDLOCK`, :data:`ST_WRITE`, :data:`ST_APPEND`, :data:`ST_IMMUTABLE`, :data:`ST_NOATIME`, :data:`ST_NODIRATIME` " "und :data:`ST_RELATIME`." -#: ../../library/os.rst:3889 +#: ../../library/os.rst:3875 msgid "" "Filesystem max filename length. OS specific limitations such " "as :ref:`Windows MAX_PATH ` and those described in " @@ -5745,63 +5729,63 @@ msgstr "" "Beschränkungen geben, etwa :ref:`Windows MAX_PATH ` und die in " "Linux :manpage:`pathname(7)` beschriebenen." -#: ../../library/os.rst:3895 +#: ../../library/os.rst:3881 msgid "Filesystem ID." msgstr "Dateisystem-ID." -#: ../../library/os.rst:3900 +#: ../../library/os.rst:3886 msgid "The following flags are used in :attr:`statvfs_result.f_flag`." msgstr "Die folgenden Flags werden in :attr:`statvfs_result.f_flag` verwendet." -#: ../../library/os.rst:3904 +#: ../../library/os.rst:3890 msgid "Read-only filesystem." msgstr "Schreibgeschütztes Dateisystem." -#: ../../library/os.rst:3910 +#: ../../library/os.rst:3896 msgid "Setuid/setgid bits are disabled or not supported." msgstr "Setuid/setgid-Bits sind deaktiviert oder werden nicht unterstützt." -#: ../../library/os.rst:3916 +#: ../../library/os.rst:3902 msgid "Disallow access to device special files." msgstr "Zugriff auf Gerätedateien verbieten." -#: ../../library/os.rst:3924 +#: ../../library/os.rst:3910 msgid "Disallow program execution." msgstr "Ausführung von Programmen verbieten." -#: ../../library/os.rst:3932 +#: ../../library/os.rst:3918 msgid "Writes are synced at once." msgstr "Schreibvorgänge werden sofort synchronisiert." -#: ../../library/os.rst:3940 +#: ../../library/os.rst:3926 msgid "Allow mandatory locks on an FS." msgstr "Zwingende Sperren (mandatory locks) auf einem Dateisystem erlauben." -#: ../../library/os.rst:3948 +#: ../../library/os.rst:3934 msgid "Write on file/directory/symlink." msgstr "Schreiben auf Datei/Verzeichnis/symbolischen Link." -#: ../../library/os.rst:3956 +#: ../../library/os.rst:3942 msgid "Append-only file." msgstr "Datei, an die nur angehängt werden kann." -#: ../../library/os.rst:3964 +#: ../../library/os.rst:3950 msgid "Immutable file." msgstr "Unveränderliche Datei." -#: ../../library/os.rst:3972 +#: ../../library/os.rst:3958 msgid "Do not update access times." msgstr "Zugriffszeiten nicht aktualisieren." -#: ../../library/os.rst:3980 +#: ../../library/os.rst:3966 msgid "Do not update directory access times." msgstr "Zugriffszeiten von Verzeichnissen nicht aktualisieren." -#: ../../library/os.rst:3988 +#: ../../library/os.rst:3974 msgid "Update atime relative to mtime/ctime." msgstr "atime relativ zu mtime/ctime aktualisieren." -#: ../../library/os.rst:3997 +#: ../../library/os.rst:3983 msgid "" "A :class:`set` object indicating which functions in the :mod:`!os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -5823,7 +5807,7 @@ msgstr "" "verfügbar ist. (Die Angabe von ``None`` für *dir_fd* wird immer auf allen " "Plattformen unterstützt.)" -#: ../../library/os.rst:4007 +#: ../../library/os.rst:3993 msgid "" "To check whether a particular function accepts an open file descriptor for " "its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As " @@ -5836,11 +5820,11 @@ msgstr "" "wenn :func:`os.stat` auf der lokalen Plattform geöffnete Dateideskriptoren " "für *dir_fd* akzeptiert::" -#: ../../library/os.rst:4012 +#: ../../library/os.rst:3998 msgid "os.stat in os.supports_dir_fd" msgstr "os.stat in os.supports_dir_fd" -#: ../../library/os.rst:4014 +#: ../../library/os.rst:4000 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." @@ -5848,7 +5832,7 @@ msgstr "" "Derzeit funktionieren *dir_fd*-Parameter nur auf Unix-Plattformen. Unter " "Windows funktioniert keiner davon." -#: ../../library/os.rst:4022 +#: ../../library/os.rst:4008 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -5862,7 +5846,7 @@ msgstr "" "Plattformen unterstützt.) Unterstützt die lokale Plattform es, enthält die " "Sammlung :func:`os.access`, andernfalls ist sie leer." -#: ../../library/os.rst:4028 +#: ../../library/os.rst:4014 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" @@ -5870,11 +5854,11 @@ msgstr "" "Dieser Ausdruck ergibt ``True``, wenn :func:`os.access` auf der lokalen " "Plattform ``effective_ids=True`` unterstützt::" -#: ../../library/os.rst:4031 +#: ../../library/os.rst:4017 msgid "os.access in os.supports_effective_ids" msgstr "os.access in os.supports_effective_ids" -#: ../../library/os.rst:4033 +#: ../../library/os.rst:4019 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." @@ -5882,7 +5866,7 @@ msgstr "" "Derzeit wird *effective_ids* nur auf Unix-Plattformen unterstützt. Unter " "Windows funktioniert es nicht." -#: ../../library/os.rst:4041 +#: ../../library/os.rst:4027 msgid "" "A :class:`set` object indicating which functions in the :mod:`!os` module " "permit specifying their *path* parameter as an open file descriptor on the " @@ -5897,7 +5881,7 @@ msgstr "" "geöffnete Dateideskriptoren als Argument *path* akzeptiert, ist nicht auf " "allen von Python unterstützten Plattformen verfügbar." -#: ../../library/os.rst:4048 +#: ../../library/os.rst:4034 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -5911,11 +5895,11 @@ msgstr "" "wenn :func:`os.chdir` auf deiner lokalen Plattform geöffnete " "Dateideskriptoren für *path* akzeptiert::" -#: ../../library/os.rst:4054 +#: ../../library/os.rst:4040 msgid "os.chdir in os.supports_fd" msgstr "os.chdir in os.supports_fd" -#: ../../library/os.rst:4061 +#: ../../library/os.rst:4047 msgid "" "A :class:`set` object indicating which functions in the :mod:`!os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -5938,7 +5922,7 @@ msgstr "" "sie lokal nicht verfügbar ist. (Die Angabe von ``True`` für " "*follow_symlinks* wird immer auf allen Plattformen unterstützt.)" -#: ../../library/os.rst:4071 +#: ../../library/os.rst:4057 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -5952,15 +5936,15 @@ msgstr "" "wenn du beim Aufruf von :func:`os.stat` auf der lokalen Plattform " "``follow_symlinks=False`` angeben darfst::" -#: ../../library/os.rst:4077 +#: ../../library/os.rst:4063 msgid "os.stat in os.supports_follow_symlinks" msgstr "os.stat in os.supports_follow_symlinks" -#: ../../library/os.rst:4084 +#: ../../library/os.rst:4070 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "Erzeugt einen symbolischen Link namens *dst*, der auf *src* verweist." -#: ../../library/os.rst:4086 +#: ../../library/os.rst:4072 msgid "" "The *src* parameter refers to the target of the link (the file or directory " "being linked to), and *dst* is the name of the link being created." @@ -5969,7 +5953,7 @@ msgstr "" "Verzeichnis, auf das verlinkt wird), und *dst* ist der Name des zu " "erzeugenden Links." -#: ../../library/os.rst:4089 +#: ../../library/os.rst:4075 msgid "" "On Windows, a symlink represents either a file or a directory, and does not " "morph to the target dynamically. If the target is present, the type of the " @@ -5985,7 +5969,7 @@ msgstr "" "*target_is_directory* ``True`` ist, sonst als Datei-Link (der Standard). Auf " "anderen Plattformen als Windows wird *target_is_directory* ignoriert." -#: ../../library/os.rst:4100 +#: ../../library/os.rst:4086 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -5998,14 +5982,14 @@ msgstr "" "*SeCreateSymbolicLinkPrivilege* erforderlich, oder der Prozess muss als " "Administrator ausgeführt werden." -#: ../../library/os.rst:4106 +#: ../../library/os.rst:4092 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" ":exc:`OSError` wird ausgelöst, wenn die Funktion von einem nicht " "privilegierten Benutzer aufgerufen wird." -#: ../../library/os.rst:4109 +#: ../../library/os.rst:4095 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." @@ -6013,7 +5997,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.symlink`` mit den " "Argumenten ``src``, ``dst`` und ``dir_fd`` aus." -#: ../../library/os.rst:4119 +#: ../../library/os.rst:4105 msgid "" "Added the *dir_fd* parameter, and now allow *target_is_directory* on non-" "Windows platforms." @@ -6021,17 +6005,17 @@ msgstr "" "Den Parameter *dir_fd* hinzugefügt; *target_is_directory* ist nun auch auf " "anderen Plattformen als Windows erlaubt." -#: ../../library/os.rst:4126 +#: ../../library/os.rst:4112 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" "Unterstützung für symbolische Links ohne erhöhte Rechte unter Windows im " "Entwicklermodus hinzugefügt." -#: ../../library/os.rst:4132 +#: ../../library/os.rst:4118 msgid "Force write of everything to disk." msgstr "Erzwingt das Schreiben aller Daten auf die Festplatte." -#: ../../library/os.rst:4141 +#: ../../library/os.rst:4127 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." @@ -6039,7 +6023,7 @@ msgstr "" "Kürzt die zu *path* gehörende Datei, sodass sie höchstens *length* Bytes " "groß ist." -#: ../../library/os.rst:4146 +#: ../../library/os.rst:4132 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." @@ -6047,7 +6031,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.truncate`` mit den " "Argumenten ``path`` und ``length`` aus." -#: ../../library/os.rst:4161 +#: ../../library/os.rst:4147 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " @@ -6057,12 +6041,12 @@ msgstr "" "mit :func:`remove`. Der Name ``unlink`` ist ihr traditioneller Unix-Name. " "Weitere Informationen findest du in der Dokumentation zu :func:`remove`." -#: ../../library/os.rst:4177 +#: ../../library/os.rst:4163 msgid "Set the access and modified times of the file specified by *path*." msgstr "" "Setzt die Zugriffs- und Änderungszeit der durch *path* angegebenen Datei." -#: ../../library/os.rst:4179 +#: ../../library/os.rst:4165 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" @@ -6070,7 +6054,7 @@ msgstr "" ":func:`utime` nimmt zwei optionale Parameter, *times* und *ns*. Sie geben " "die für *path* zu setzenden Zeiten an und werden wie folgt verwendet:" -#: ../../library/os.rst:4182 +#: ../../library/os.rst:4168 msgid "" "If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, " "mtime_ns)`` where each member is an int expressing nanoseconds." @@ -6078,7 +6062,7 @@ msgstr "" "Ist *ns* angegeben, muss es ein 2-Tupel der Form ``(atime_ns, mtime_ns)`` " "sein, wobei jedes Element ein int ist, der Nanosekunden angibt." -#: ../../library/os.rst:4185 +#: ../../library/os.rst:4171 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is a real number expressing seconds, rounded down " @@ -6088,7 +6072,7 @@ msgstr "" "sein, wobei jedes Element eine reelle Zahl ist, die Sekunden angibt, " "abgerundet auf Nanosekunden." -#: ../../library/os.rst:4189 +#: ../../library/os.rst:4175 msgid "" "If *times* is ``None`` and *ns* is unspecified, this is equivalent to " "specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time." @@ -6096,12 +6080,12 @@ msgstr "" "Ist *times* ``None`` und *ns* nicht angegeben, entspricht das der Angabe " "``ns=(atime_ns, mtime_ns)``, wobei beide Zeiten die aktuelle Zeit sind." -#: ../../library/os.rst:4193 +#: ../../library/os.rst:4179 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" "Es ist ein Fehler, sowohl für *times* als auch für *ns* Tupel anzugeben." -#: ../../library/os.rst:4195 +#: ../../library/os.rst:4181 msgid "" "Note that the exact times you set here may not be returned by a " "subsequent :func:`~os.stat` call, depending on the resolution with which " @@ -6117,7 +6101,7 @@ msgstr "" "indem du die Felder *st_atime_ns* und *st_mtime_ns* aus dem Ergebnisobjekt " "von :func:`os.stat` mit dem Parameter *ns* von :func:`utime` verwendest." -#: ../../library/os.rst:4206 +#: ../../library/os.rst:4192 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." @@ -6125,7 +6109,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.utime`` mit den Argumenten " "``path``, ``times``, ``ns`` und ``dir_fd`` aus." -#: ../../library/os.rst:4208 +#: ../../library/os.rst:4194 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." @@ -6133,13 +6117,13 @@ msgstr "" "Unterstützung für die Angabe von *path* als geöffneter Dateideskriptor sowie " "die Parameter *dir_fd*, *follow_symlinks* und *ns* hinzugefügt." -#: ../../library/os.rst:4215 +#: ../../library/os.rst:4201 msgid "Accepts any real numbers as *times*, not only integers or floats." msgstr "" "Akzeptiert beliebige reelle Zahlen als *times*, nicht nur Ganzzahlen oder " "Gleitkommazahlen." -#: ../../library/os.rst:4225 +#: ../../library/os.rst:4211 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up. For each directory in the tree rooted at directory *top* " @@ -6151,7 +6135,7 @@ msgstr "" "Verzeichnis im Baum mit der Wurzel *top* (einschließlich *top* selbst) wird " "ein 3-Tupel ``(dirpath, dirnames, filenames)`` geliefert." -#: ../../library/os.rst:4230 +#: ../../library/os.rst:4216 msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " "the names of the subdirectories in *dirpath* (including symlinks to " @@ -6176,7 +6160,7 @@ msgstr "" "Verzeichnis *dirpath* entfernt oder hinzugefügt, ist nicht festgelegt, ob " "ein Name für diese Datei enthalten ist." -#: ../../library/os.rst:4241 +#: ../../library/os.rst:4227 msgid "" "If optional argument *topdown* is ``True`` or not specified, the triple for " "a directory is generated before the triples for any of its subdirectories " @@ -6195,7 +6179,7 @@ msgstr "" "Unterverzeichnisse abgerufen, bevor die Tupel für das Verzeichnis und seine " "Unterverzeichnisse erzeugt werden." -#: ../../library/os.rst:4249 +#: ../../library/os.rst:4235 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -6217,7 +6201,7 @@ msgstr "" "Durchlaufen, weil im Bottom-up-Modus die Verzeichnisse in *dirnames* erzeugt " "werden, bevor *dirpath* selbst erzeugt wird." -#: ../../library/os.rst:4258 +#: ../../library/os.rst:4244 msgid "" "By default, errors from the :func:`scandir` call are ignored. If optional " "argument *onerror* is specified, it should be a function; it will be called " @@ -6233,7 +6217,7 @@ msgstr "" "Ausnahme auslösen, um es abzubrechen. Beachte, dass der Dateiname als " "Attribut ``filename`` des Ausnahmeobjekts verfügbar ist." -#: ../../library/os.rst:4264 +#: ../../library/os.rst:4250 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " @@ -6244,7 +6228,7 @@ msgstr "" "die sie unterstützen, Verzeichnisse zu besuchen, auf die symbolische Links " "verweisen." -#: ../../library/os.rst:4270 +#: ../../library/os.rst:4256 msgid "" "Be aware that setting *followlinks* to ``True`` can lead to infinite " "recursion if a link points to a parent directory of itself. :func:`walk` " @@ -6255,7 +6239,7 @@ msgstr "" "verweist. :func:`walk` merkt sich nicht, welche Verzeichnisse es bereits " "besucht hat." -#: ../../library/os.rst:4276 +#: ../../library/os.rst:4262 msgid "" "If you pass a relative pathname, don't change the current working directory " "between resumptions of :func:`walk`. :func:`walk` never changes the current " @@ -6266,7 +6250,7 @@ msgstr "" "von :func:`walk`. :func:`walk` wechselt das aktuelle Verzeichnis nie und " "geht davon aus, dass sein Aufrufer das auch nicht tut." -#: ../../library/os.rst:4280 ../../library/os.rst:4342 +#: ../../library/os.rst:4266 ../../library/os.rst:4328 msgid "" "This example displays the number of bytes taken by non-directory files in " "each directory under the starting directory, except that it doesn't look " @@ -6276,7 +6260,7 @@ msgstr "" "in jedem Verzeichnis unterhalb des Startverzeichnisses belegen, wobei keine " "Unterverzeichnisse ``__pycache__`` durchsucht werden::" -#: ../../library/os.rst:4284 +#: ../../library/os.rst:4270 msgid "" "import os\n" "from os.path import join, getsize\n" @@ -6296,7 +6280,7 @@ msgstr "" " if '__pycache__' in dirs:\n" " dirs.remove('__pycache__') # don't visit __pycache__ directories" -#: ../../library/os.rst:4293 +#: ../../library/os.rst:4279 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " @@ -6307,7 +6291,7 @@ msgstr "" "unerlässlich, denn :func:`rmdir` erlaubt das Löschen eines Verzeichnisses " "erst, wenn es leer ist::" -#: ../../library/os.rst:4297 +#: ../../library/os.rst:4283 msgid "" "# Delete everything reachable from the directory named in \"top\",\n" "# assuming there are no symbolic links.\n" @@ -6333,7 +6317,7 @@ msgstr "" " os.rmdir(os.path.join(root, name))\n" "os.rmdir(top)" -#: ../../library/os.rst:4309 +#: ../../library/os.rst:4295 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." @@ -6341,7 +6325,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.walk`` mit den Argumenten " "``top``, ``topdown``, ``onerror`` und ``followlinks`` aus." -#: ../../library/os.rst:4311 +#: ../../library/os.rst:4297 msgid "" "This function now calls :func:`os.scandir` instead of :func:`os.listdir`, " "making it faster by reducing the number of calls to :func:`os.stat`." @@ -6349,7 +6333,7 @@ msgstr "" "Diese Funktion ruft nun :func:`os.scandir` statt :func:`os.listdir` auf, was " "sie durch weniger Aufrufe von :func:`os.stat` schneller macht." -#: ../../library/os.rst:4325 +#: ../../library/os.rst:4311 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." @@ -6357,7 +6341,7 @@ msgstr "" "Verhält sich genau wie :func:`walk`, liefert aber ein 4-Tupel ``(dirpath, " "dirnames, filenames, dirfd)`` und unterstützt ``dir_fd``." -#: ../../library/os.rst:4328 +#: ../../library/os.rst:4314 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." @@ -6366,7 +6350,7 @@ msgstr "" "von :func:`walk`, und *dirfd* ist ein Dateideskriptor, der auf das " "Verzeichnis *dirpath* verweist." -#: ../../library/os.rst:4331 +#: ../../library/os.rst:4317 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -6379,7 +6363,7 @@ msgstr "" "*follow_symlinks* bei :func:`fwalk` anders als bei anderen Funktionen " "``False`` ist." -#: ../../library/os.rst:4338 +#: ../../library/os.rst:4324 msgid "" "Since :func:`fwalk` yields file descriptors, those are only valid until the " "next iteration step, so you should duplicate them (e.g. with :func:`dup`) if " @@ -6389,7 +6373,7 @@ msgstr "" "Iterationsschritt gültig sind, solltest du sie duplizieren (z. B. " "mit :func:`dup`), wenn du sie länger behalten möchtest." -#: ../../library/os.rst:4346 +#: ../../library/os.rst:4332 msgid "" "import os\n" "for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):\n" @@ -6409,7 +6393,7 @@ msgstr "" " if '__pycache__' in dirs:\n" " dirs.remove('__pycache__') # don't visit __pycache__ directories" -#: ../../library/os.rst:4355 +#: ../../library/os.rst:4341 msgid "" "In the next example, walking the tree bottom-up is essential: :func:`rmdir` " "doesn't allow deleting a directory before the directory is empty::" @@ -6418,7 +6402,7 @@ msgstr "" "unerlässlich: :func:`rmdir` erlaubt das Löschen eines Verzeichnisses erst, " "wenn es leer ist::" -#: ../../library/os.rst:4359 +#: ../../library/os.rst:4345 msgid "" "# Delete everything reachable from the directory named in \"top\",\n" "# assuming there are no symbolic links.\n" @@ -6442,7 +6426,7 @@ msgstr "" " for name in dirs:\n" " os.rmdir(name, dir_fd=rootfd)" -#: ../../library/os.rst:4370 +#: ../../library/os.rst:4356 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." @@ -6450,11 +6434,11 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.fwalk`` mit den Argumenten " "``top``, ``topdown``, ``onerror``, ``follow_symlinks`` und ``dir_fd`` aus." -#: ../../library/os.rst:4379 +#: ../../library/os.rst:4365 msgid "Added support for :class:`bytes` paths." msgstr "Unterstützung für :class:`bytes`-Pfade hinzugefügt." -#: ../../library/os.rst:4385 +#: ../../library/os.rst:4371 msgid "" "Create an anonymous file and return a file descriptor that refers to it. " "*flags* must be one of the ``os.MFD_*`` constants available on the system " @@ -6466,7 +6450,7 @@ msgstr "" "``os.MFD_*`` sein (oder eine bitweise ODER-Kombination davon). Standardmäßig " "ist der neue Dateideskriptor :ref:`nicht vererbbar `." -#: ../../library/os.rst:4390 +#: ../../library/os.rst:4376 msgid "" "The name supplied in *name* is used as a filename and will be displayed as " "the target of the corresponding symbolic link in the directory ``/proc/self/" @@ -6482,15 +6466,15 @@ msgstr "" "Dateideskriptors nicht, daher können mehrere Dateien ohne Nebenwirkungen " "denselben Namen haben." -#: ../../library/os.rst:4420 +#: ../../library/os.rst:4406 msgid "These flags can be passed to :func:`memfd_create`." msgstr "Diese Flags können an :func:`memfd_create` übergeben werden." -#: ../../library/os.rst:4424 +#: ../../library/os.rst:4410 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "Die Flags ``MFD_HUGE*`` sind erst seit Linux 4.14 verfügbar." -#: ../../library/os.rst:4431 +#: ../../library/os.rst:4417 msgid "" "Create and return an event file descriptor. The file descriptors supports " "raw :func:`read` and :func:`write` with a buffer size of " @@ -6504,7 +6488,7 @@ msgstr "" "Informationen siehe die Manpage :manpage:`eventfd(2)`. Standardmäßig ist der " "neue Dateideskriptor :ref:`nicht vererbbar `." -#: ../../library/os.rst:4437 +#: ../../library/os.rst:4423 msgid "" "*initval* is the initial value of the event counter. The initial value must " "be a 32 bit unsigned integer. Please note that the initial value is limited " @@ -6516,7 +6500,7 @@ msgstr "" "vorzeichenlose 32-Bit-Ganzzahl beschränkt ist, obwohl der Event-Zähler eine " "vorzeichenlose 64-Bit-Ganzzahl mit dem Höchstwert 2\\ :sup:`64`\\ -\\ 2 ist." -#: ../../library/os.rst:4442 +#: ../../library/os.rst:4428 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." @@ -6524,7 +6508,7 @@ msgstr "" "*flags* lässt sich aus :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK` " "und :const:`EFD_SEMAPHORE` bilden." -#: ../../library/os.rst:4445 +#: ../../library/os.rst:4431 msgid "" "If :const:`EFD_SEMAPHORE` is specified and the event counter is non-" "zero, :func:`eventfd_read` returns 1 and decrements the counter by one." @@ -6532,7 +6516,7 @@ msgstr "" "Ist :const:`EFD_SEMAPHORE` angegeben und der Event-Zähler ungleich null, " "gibt :func:`eventfd_read` 1 zurück und verringert den Zähler um eins." -#: ../../library/os.rst:4448 +#: ../../library/os.rst:4434 msgid "" "If :const:`EFD_SEMAPHORE` is not specified and the event counter is non-" "zero, :func:`eventfd_read` returns the current event counter value and " @@ -6542,7 +6526,7 @@ msgstr "" "null, gibt :func:`eventfd_read` den aktuellen Wert des Event-Zählers zurück " "und setzt den Zähler auf null zurück." -#: ../../library/os.rst:4452 +#: ../../library/os.rst:4438 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not " "specified, :func:`eventfd_read` blocks." @@ -6550,7 +6534,7 @@ msgstr "" "Ist der Event-Zähler null und :const:`EFD_NONBLOCK` nicht angegeben, " "blockiert :func:`eventfd_read`." -#: ../../library/os.rst:4455 +#: ../../library/os.rst:4441 msgid "" ":func:`eventfd_write` increments the event counter. Write blocks if the " "write operation would increment the counter to a value larger than " @@ -6560,7 +6544,7 @@ msgstr "" "wenn er den Zähler auf einen Wert größer als 2\\ :sup:`64`\\ -\\ 2 erhöhen " "würde." -#: ../../library/os.rst:4461 +#: ../../library/os.rst:4447 msgid "" "import os\n" "\n" @@ -6592,7 +6576,7 @@ msgstr "" "finally:\n" " os.close(fd)" -#: ../../library/os.rst:4482 +#: ../../library/os.rst:4468 msgid "" "Read value from an :func:`eventfd` file descriptor and return a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." @@ -6601,7 +6585,7 @@ msgstr "" "vorzeichenlose 64-Bit-Ganzzahl zurück. Die Funktion prüft nicht, ob *fd* " "ein :func:`eventfd` ist." -#: ../../library/os.rst:4491 +#: ../../library/os.rst:4477 msgid "" "Add value to an :func:`eventfd` file descriptor. *value* must be a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." @@ -6610,19 +6594,19 @@ msgstr "" "eine vorzeichenlose 64-Bit-Ganzzahl sein. Die Funktion prüft nicht, ob *fd* " "ein :func:`eventfd` ist." -#: ../../library/os.rst:4500 +#: ../../library/os.rst:4486 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" "Setzt das Close-on-exec-Flag für einen neuen :func:`eventfd`-Dateideskriptor." -#: ../../library/os.rst:4508 +#: ../../library/os.rst:4494 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" "Setzt das Status-Flag :const:`O_NONBLOCK` für einen neuen :func:`eventfd`-" "Dateideskriptor." -#: ../../library/os.rst:4517 +#: ../../library/os.rst:4503 msgid "" "Provide semaphore-like semantics for reads from an :func:`eventfd` file " "descriptor. On read the internal counter is decremented by one." @@ -6630,11 +6614,11 @@ msgstr "" "Bietet semaphorähnliche Semantik beim Lesen aus einem :func:`eventfd`-" "Dateideskriptor. Beim Lesen wird der interne Zähler um eins verringert." -#: ../../library/os.rst:4528 +#: ../../library/os.rst:4514 msgid "Timer File Descriptors" msgstr "Timer-Dateideskriptoren" -#: ../../library/os.rst:4532 +#: ../../library/os.rst:4518 msgid "" "These functions provide support for Linux's *timer file descriptor* API. " "Naturally, they are all only available on Linux." @@ -6642,28 +6626,28 @@ msgstr "" "Diese Funktionen unterstützen die Linux-API für *Timer-Dateideskriptoren*. " "Natürlich sind sie alle nur unter Linux verfügbar." -#: ../../library/os.rst:4537 +#: ../../library/os.rst:4523 msgid "Create and return a timer file descriptor (*timerfd*)." msgstr "Erzeugt einen Timer-Dateideskriptor (*timerfd*) und gibt ihn zurück." -#: ../../library/os.rst:4539 +#: ../../library/os.rst:4525 msgid "The file descriptor returned by :func:`timerfd_create` supports:" msgstr "" "Der von :func:`timerfd_create` zurückgegebene Dateideskriptor unterstützt:" -#: ../../library/os.rst:4541 +#: ../../library/os.rst:4527 msgid ":func:`read`" msgstr ":func:`read`" -#: ../../library/os.rst:4542 +#: ../../library/os.rst:4528 msgid ":func:`~select.select`" msgstr ":func:`~select.select`" -#: ../../library/os.rst:4543 +#: ../../library/os.rst:4529 msgid ":func:`~select.poll`" msgstr ":func:`~select.poll`" -#: ../../library/os.rst:4545 +#: ../../library/os.rst:4531 msgid "" "The file descriptor's :func:`read` method can be called with a buffer size " "of 8. If the timer has already expired one or more times, :func:`read` " @@ -6677,7 +6661,7 @@ msgstr "" "zurück, die sich mit ``int.from_bytes(x, byteorder=sys.byteorder)`` in " "einen :class:`int` umwandeln lässt." -#: ../../library/os.rst:4550 +#: ../../library/os.rst:4536 msgid "" ":func:`~select.select` and :func:`~select.poll` can be used to wait until " "timer expires and the file descriptor is readable." @@ -6685,7 +6669,7 @@ msgstr "" "Mit :func:`~select.select` und :func:`~select.poll` lässt sich warten, bis " "der Timer abläuft und der Dateideskriptor lesbar ist." -#: ../../library/os.rst:4553 +#: ../../library/os.rst:4539 msgid "" "*clockid* must be a valid :ref:`clock ID `, as " "defined in the :py:mod:`time` module:" @@ -6693,19 +6677,19 @@ msgstr "" "*clockid* muss eine gültige :ref:`Uhr-ID ` sein, " "wie im Modul :py:mod:`time` definiert:" -#: ../../library/os.rst:4556 +#: ../../library/os.rst:4542 msgid ":const:`time.CLOCK_REALTIME`" msgstr ":const:`time.CLOCK_REALTIME`" -#: ../../library/os.rst:4557 +#: ../../library/os.rst:4543 msgid ":const:`time.CLOCK_MONOTONIC`" msgstr ":const:`time.CLOCK_MONOTONIC`" -#: ../../library/os.rst:4558 +#: ../../library/os.rst:4544 msgid ":const:`time.CLOCK_BOOTTIME` (Since Linux 3.15 for timerfd_create)" msgstr ":const:`time.CLOCK_BOOTTIME` (seit Linux 3.15 für timerfd_create)" -#: ../../library/os.rst:4560 +#: ../../library/os.rst:4546 msgid "" "If *clockid* is :const:`time.CLOCK_REALTIME`, a settable system-wide real-" "time clock is used. If the system clock is changed, the timer setting needs " @@ -6717,7 +6701,7 @@ msgstr "" "Timer-Einstellung aktualisiert werden. Wie der Timer bei einer Änderung der " "Systemuhr abgebrochen wird, siehe :const:`TFD_TIMER_CANCEL_ON_SET`." -#: ../../library/os.rst:4565 +#: ../../library/os.rst:4551 msgid "" "If *clockid* is :const:`time.CLOCK_MONOTONIC`, a non-settable monotonically " "increasing clock is used. Even if the system clock is changed, the timer " @@ -6727,7 +6711,7 @@ msgstr "" "monoton steigende Uhr verwendet. Auch wenn die Systemuhr geändert wird, ist " "die Timer-Einstellung davon nicht betroffen." -#: ../../library/os.rst:4569 +#: ../../library/os.rst:4555 msgid "" "If *clockid* is :const:`time.CLOCK_BOOTTIME`, it is the same " "as :const:`time.CLOCK_MONOTONIC` except it includes any time that the system " @@ -6737,7 +6721,7 @@ msgstr "" "das :const:`time.CLOCK_MONOTONIC`, schließt aber die Zeit ein, in der das " "System im Ruhezustand ist." -#: ../../library/os.rst:4573 +#: ../../library/os.rst:4559 msgid "" "The file descriptor's behaviour can be modified by specifying a *flags* " "value. Any of the following variables may be used, combined using bitwise OR " @@ -6747,15 +6731,15 @@ msgstr "" "*flags* ändern. Jede der folgenden Variablen kann verwendet und mit " "bitweisem ODER (dem Operator ``|``) kombiniert werden:" -#: ../../library/os.rst:4577 +#: ../../library/os.rst:4563 msgid ":const:`TFD_NONBLOCK`" msgstr ":const:`TFD_NONBLOCK`" -#: ../../library/os.rst:4578 +#: ../../library/os.rst:4564 msgid ":const:`TFD_CLOEXEC`" msgstr ":const:`TFD_CLOEXEC`" -#: ../../library/os.rst:4580 +#: ../../library/os.rst:4566 msgid "" "If :const:`TFD_NONBLOCK` is not set as a flag, :func:`read` blocks until the " "timer expires. If it is set as a flag, :func:`read` doesn't block, but if " @@ -6768,11 +6752,11 @@ msgstr "" "löst :func:`read` :class:`OSError` aus, wobei ``errno`` " "auf :const:`errno.EAGAIN` gesetzt ist." -#: ../../library/os.rst:4586 +#: ../../library/os.rst:4572 msgid ":const:`TFD_CLOEXEC` is always set by Python automatically." msgstr ":const:`TFD_CLOEXEC` wird von Python immer automatisch gesetzt." -#: ../../library/os.rst:4588 +#: ../../library/os.rst:4574 msgid "" "The file descriptor must be closed with :func:`os.close` when it is no " "longer needed, or else the file descriptor will be leaked." @@ -6780,11 +6764,11 @@ msgstr "" "Der Dateideskriptor muss mit :func:`os.close` geschlossen werden, wenn er " "nicht mehr benötigt wird, andernfalls entsteht ein Leck des Dateideskriptors." -#: ../../library/os.rst:4591 +#: ../../library/os.rst:4577 msgid "The :manpage:`timerfd_create(2)` man page." msgstr "Die Manpage :manpage:`timerfd_create(2)`." -#: ../../library/os.rst:4600 +#: ../../library/os.rst:4586 msgid "" "Alter a timer file descriptor's internal timer. This function operates the " "same interval timer as :func:`timerfd_settime_ns`." @@ -6792,11 +6776,11 @@ msgstr "" "Ändert den internen Timer eines Timer-Dateideskriptors. Diese Funktion " "steuert denselben Intervall-Timer wie :func:`timerfd_settime_ns`." -#: ../../library/os.rst:4603 +#: ../../library/os.rst:4589 msgid "*fd* must be a valid timer file descriptor." msgstr "*fd* muss ein gültiger Timer-Dateideskriptor sein." -#: ../../library/os.rst:4605 +#: ../../library/os.rst:4591 msgid "" "The timer's behaviour can be modified by specifying a *flags* value. Any of " "the following variables may be used, combined using bitwise OR (the ``|`` " @@ -6806,15 +6790,15 @@ msgstr "" "ändern. Jede der folgenden Variablen kann verwendet und mit bitweisem ODER " "(dem Operator ``|``) kombiniert werden:" -#: ../../library/os.rst:4609 +#: ../../library/os.rst:4595 msgid ":const:`TFD_TIMER_ABSTIME`" msgstr ":const:`TFD_TIMER_ABSTIME`" -#: ../../library/os.rst:4610 +#: ../../library/os.rst:4596 msgid ":const:`TFD_TIMER_CANCEL_ON_SET`" msgstr ":const:`TFD_TIMER_CANCEL_ON_SET`" -#: ../../library/os.rst:4612 +#: ../../library/os.rst:4598 msgid "" "The timer is disabled by setting *initial* to zero (``0``). If *initial* is " "greater than zero, the timer is enabled. If *initial* is less than zero, it " @@ -6826,12 +6810,12 @@ msgstr "" "kleiner als null, wird eine :class:`OSError`-Ausnahme ausgelöst, wobei " "``errno`` auf :const:`errno.EINVAL` gesetzt ist." -#: ../../library/os.rst:4617 +#: ../../library/os.rst:4603 msgid "By default the timer will fire when *initial* seconds have elapsed." msgstr "" "Standardmäßig löst der Timer aus, wenn *initial* Sekunden vergangen sind." -#: ../../library/os.rst:4619 +#: ../../library/os.rst:4605 msgid "" "However, if the :const:`TFD_TIMER_ABSTIME` flag is set, the timer will fire " "when the timer's clock (set by *clockid* in :func:`timerfd_create`) reaches " @@ -6841,7 +6825,7 @@ msgstr "" "wenn die Uhr des Timers (festgelegt durch *clockid* " "in :func:`timerfd_create`) *initial* Sekunden erreicht." -#: ../../library/os.rst:4623 +#: ../../library/os.rst:4609 msgid "" "The timer's interval is set by the *interval* real number. If *interval* is " "zero, the timer only fires once, on the initial expiration. If *interval* is " @@ -6856,7 +6840,7 @@ msgstr "" "als null, wird :class:`OSError` ausgelöst, wobei ``errno`` " "auf :const:`errno.EINVAL` gesetzt ist." -#: ../../library/os.rst:4630 +#: ../../library/os.rst:4616 msgid "" "If the :const:`TFD_TIMER_CANCEL_ON_SET` flag is set along " "with :const:`TFD_TIMER_ABSTIME` and the clock for this timer " @@ -6870,7 +6854,7 @@ msgstr "" "falls die Echtzeituhr sprunghaft geändert wird. Das Lesen des Deskriptors " "wird dann mit dem Fehler :const:`errno.ECANCELED` abgebrochen." -#: ../../library/os.rst:4636 +#: ../../library/os.rst:4622 msgid "" "Linux manages system clock as UTC. A daylight-savings time transition is " "done by changing time offset only and doesn't cause discontinuous system " @@ -6880,26 +6864,26 @@ msgstr "" "durch Ändern des Zeitversatzes und verursacht keine sprunghafte Änderung der " "Systemuhr." -#: ../../library/os.rst:4640 +#: ../../library/os.rst:4626 msgid "" "Discontinuous system clock change will be caused by the following events:" msgstr "" "Eine sprunghafte Änderung der Systemuhr wird durch folgende Ereignisse " "verursacht:" -#: ../../library/os.rst:4642 +#: ../../library/os.rst:4628 msgid "``settimeofday``" msgstr "``settimeofday``" -#: ../../library/os.rst:4643 +#: ../../library/os.rst:4629 msgid "``clock_settime``" msgstr "``clock_settime``" -#: ../../library/os.rst:4644 +#: ../../library/os.rst:4630 msgid "set the system date and time by ``date`` command" msgstr "Setzen von Systemdatum und -uhrzeit mit dem Befehl ``date``" -#: ../../library/os.rst:4646 +#: ../../library/os.rst:4632 msgid "" "Return a two-item tuple of (``next_expiration``, ``interval``) from the " "previous timer state, before this function executed." @@ -6907,7 +6891,7 @@ msgstr "" "Gibt ein Tupel mit zwei Elementen (``next_expiration``, ``interval``) aus " "dem vorherigen Timer-Zustand zurück, also vor Ausführung dieser Funktion." -#: ../../library/os.rst:4651 +#: ../../library/os.rst:4637 msgid "" ":manpage:`timerfd_create(2)`, :manpage:`timerfd_settime(2)`, :manpage:`settimeofday(2)`, :manpage:`clock_settime(2)`, " "and :manpage:`date(1)`." @@ -6915,7 +6899,7 @@ msgstr "" ":manpage:`timerfd_create(2)`, :manpage:`timerfd_settime(2)`, :manpage:`settimeofday(2)`, :manpage:`clock_settime(2)` " "und :manpage:`date(1)`." -#: ../../library/os.rst:4662 +#: ../../library/os.rst:4648 msgid "" "Similar to :func:`timerfd_settime`, but use time as nanoseconds. This " "function operates the same interval timer as :func:`timerfd_settime`." @@ -6923,13 +6907,13 @@ msgstr "" "Ähnlich wie :func:`timerfd_settime`, verwendet aber Zeiten in Nanosekunden. " "Diese Funktion steuert denselben Intervall-Timer wie :func:`timerfd_settime`." -#: ../../library/os.rst:4672 +#: ../../library/os.rst:4658 msgid "Return a two-item tuple of floats (``next_expiration``, ``interval``)." msgstr "" "Gibt ein Tupel mit zwei Gleitkommazahlen (``next_expiration``, ``interval``) " "zurück." -#: ../../library/os.rst:4674 +#: ../../library/os.rst:4660 msgid "" "``next_expiration`` denotes the relative time until the timer next fires, " "regardless of if the :const:`TFD_TIMER_ABSTIME` flag is set." @@ -6938,7 +6922,7 @@ msgstr "" "des Timers, unabhängig davon, ob das Flag :const:`TFD_TIMER_ABSTIME` gesetzt " "ist." -#: ../../library/os.rst:4677 +#: ../../library/os.rst:4663 msgid "" "``interval`` denotes the timer's interval. If zero, the timer will only fire " "once, after ``next_expiration`` seconds have elapsed." @@ -6946,17 +6930,17 @@ msgstr "" "``interval`` bezeichnet das Intervall des Timers. Ist es null, löst der " "Timer nur einmal aus, nachdem ``next_expiration`` Sekunden vergangen sind." -#: ../../library/os.rst:4681 +#: ../../library/os.rst:4667 msgid ":manpage:`timerfd_gettime(2)`" msgstr ":manpage:`timerfd_gettime(2)`" -#: ../../library/os.rst:4690 +#: ../../library/os.rst:4676 msgid "Similar to :func:`timerfd_gettime`, but return time as nanoseconds." msgstr "" "Ähnlich wie :func:`timerfd_gettime`, gibt die Zeit aber in Nanosekunden " "zurück." -#: ../../library/os.rst:4698 +#: ../../library/os.rst:4684 msgid "" "A flag for the :func:`timerfd_create` function, which sets " "the :const:`O_NONBLOCK` status flag for the new timer file descriptor. " @@ -6966,7 +6950,7 @@ msgstr "" "Flag :const:`O_NONBLOCK` für den neuen Timer-Dateideskriptor setzt. " "Ist :const:`TFD_NONBLOCK` nicht als Flag gesetzt, blockiert :func:`read`." -#: ../../library/os.rst:4708 +#: ../../library/os.rst:4694 msgid "" "A flag for the :func:`timerfd_create` function, If :const:`TFD_CLOEXEC` is " "set as a flag, set close-on-exec flag for new file descriptor." @@ -6975,7 +6959,7 @@ msgstr "" "als Flag gesetzt, wird das Close-on-exec-Flag für den neuen Dateideskriptor " "gesetzt." -#: ../../library/os.rst:4718 +#: ../../library/os.rst:4704 msgid "" "A flag for the :func:`timerfd_settime` and :func:`timerfd_settime_ns` " "functions. If this flag is set, *initial* is interpreted as an absolute " @@ -6987,7 +6971,7 @@ msgstr "" "absoluter Wert auf der Uhr des Timers interpretiert (in UTC-Sekunden oder " "-Nanosekunden seit der Unix-Epoche)." -#: ../../library/os.rst:4728 +#: ../../library/os.rst:4714 msgid "" "A flag for the :func:`timerfd_settime` and :func:`timerfd_settime_ns` " "functions along with :const:`TFD_TIMER_ABSTIME`. The timer is cancelled when " @@ -6998,15 +6982,15 @@ msgstr "" "Timer wird abgebrochen, wenn sich die Zeit der zugrunde liegenden Uhr " "sprunghaft ändert." -#: ../../library/os.rst:4739 +#: ../../library/os.rst:4725 msgid "Linux extended attributes" msgstr "Erweiterte Attribute unter Linux" -#: ../../library/os.rst:4743 +#: ../../library/os.rst:4729 msgid "These functions are all available on Linux only." msgstr "Diese Funktionen sind alle nur unter Linux verfügbar." -#: ../../library/os.rst:4747 +#: ../../library/os.rst:4733 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through " @@ -7018,7 +7002,7 @@ msgstr "" "Schnittstelle :class:`PathLike`). Ist es str, wird es mit der Dateisystem-" "Kodierung kodiert." -#: ../../library/os.rst:4755 +#: ../../library/os.rst:4741 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." @@ -7026,14 +7010,14 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.getxattr`` mit den " "Argumenten ``path`` und ``attribute`` aus." -#: ../../library/os.rst:4757 ../../library/os.rst:4793 -#: ../../library/os.rst:4818 +#: ../../library/os.rst:4743 ../../library/os.rst:4779 +#: ../../library/os.rst:4804 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" "Akzeptiert ein :term:`pfadähnliches Objekt ` für *path* " "und *attribute*." -#: ../../library/os.rst:4763 +#: ../../library/os.rst:4749 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -7045,7 +7029,7 @@ msgstr "" "Dateisystem-Kodierung dekodiert wurden. Ist *path* ``None``, " "untersucht :func:`listxattr` das aktuelle Verzeichnis." -#: ../../library/os.rst:4771 +#: ../../library/os.rst:4757 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." @@ -7053,7 +7037,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.listxattr`` mit dem " "Argument ``path`` aus." -#: ../../library/os.rst:4776 +#: ../../library/os.rst:4762 msgid "" "``os.listxattr(-1)`` now fails with ``OSError(errno.EBADF)`` rather than " "listing extended attributes of the current directory." @@ -7061,7 +7045,7 @@ msgstr "" "``os.listxattr(-1)`` schlägt nun mit ``OSError(errno.EBADF)`` fehl, statt " "die erweiterten Attribute des aktuellen Verzeichnisses aufzulisten." -#: ../../library/os.rst:4783 +#: ../../library/os.rst:4769 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through " @@ -7074,7 +7058,7 @@ msgstr "" "der :term:`Dateisystem-Kodierung und Fehlerbehandlung ` kodiert." -#: ../../library/os.rst:4791 +#: ../../library/os.rst:4777 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." @@ -7082,7 +7066,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.removexattr`` mit den " "Argumenten ``path`` und ``attribute`` aus." -#: ../../library/os.rst:4799 +#: ../../library/os.rst:4785 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -7103,7 +7087,7 @@ msgstr "" "Ist :data:`XATTR_CREATE` angegeben und das Attribut existiert bereits, wird " "es nicht erzeugt und ``EEXISTS`` ausgelöst." -#: ../../library/os.rst:4813 +#: ../../library/os.rst:4799 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." @@ -7111,7 +7095,7 @@ msgstr "" "Ein Fehler in Linux-Kernel-Versionen vor 2.6.39 führte dazu, dass das " "Argument flags auf manchen Dateisystemen ignoriert wurde." -#: ../../library/os.rst:4816 +#: ../../library/os.rst:4802 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." @@ -7119,7 +7103,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.setxattr`` mit den " "Argumenten ``path``, ``attribute``, ``value`` und ``flags`` aus." -#: ../../library/os.rst:4824 +#: ../../library/os.rst:4810 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." @@ -7127,7 +7111,7 @@ msgstr "" "Die maximale Größe des Werts eines erweiterten Attributs. Derzeit sind das " "unter Linux 64 KiB." -#: ../../library/os.rst:4830 +#: ../../library/os.rst:4816 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." @@ -7135,7 +7119,7 @@ msgstr "" "Dies ist ein möglicher Wert für das Argument flags von :func:`setxattr`. Er " "gibt an, dass die Operation ein Attribut erzeugen muss." -#: ../../library/os.rst:4836 +#: ../../library/os.rst:4822 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." @@ -7143,15 +7127,15 @@ msgstr "" "Dies ist ein möglicher Wert für das Argument flags von :func:`setxattr`. Er " "gibt an, dass die Operation ein existierendes Attribut ersetzen muss." -#: ../../library/os.rst:4843 +#: ../../library/os.rst:4829 msgid "Process Management" msgstr "Prozessverwaltung" -#: ../../library/os.rst:4845 +#: ../../library/os.rst:4831 msgid "These functions may be used to create and manage processes." msgstr "Mit diesen Funktionen lassen sich Prozesse erzeugen und verwalten." -#: ../../library/os.rst:4847 +#: ../../library/os.rst:4833 msgid "" "The various :func:`exec\\* ` functions take a list of arguments for " "the new program loaded into the process. In each case, the first of these " @@ -7170,7 +7154,7 @@ msgstr "" "gibt ``os.execv('/bin/echo', ['foo', 'bar'])`` auf der Standardausgabe nur " "``bar`` aus; ``foo`` scheint ignoriert zu werden." -#: ../../library/os.rst:4858 +#: ../../library/os.rst:4844 msgid "" "Generate a :const:`~signal.SIGABRT` signal to the current process. On Unix, " "the default behavior is to produce a core dump; on Windows, the process " @@ -7184,11 +7168,11 @@ msgstr "" "Funktion nicht den Python-Signal-Handler aufruft, der " "mit :func:`signal.signal` für :const:`~signal.SIGABRT` registriert wurde." -#: ../../library/os.rst:4867 +#: ../../library/os.rst:4853 msgid "Add a path to the DLL search path." msgstr "Fügt dem DLL-Suchpfad einen Pfad hinzu." -#: ../../library/os.rst:4869 +#: ../../library/os.rst:4855 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through :data:`sys.path`), and also " @@ -7198,7 +7182,7 @@ msgstr "" "Erweiterungsmodule verwendet (das Modul selbst wird über :data:`sys.path` " "aufgelöst) und auch von :mod:`ctypes`." -#: ../../library/os.rst:4873 +#: ../../library/os.rst:4859 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." @@ -7206,7 +7190,7 @@ msgstr "" "Entferne das Verzeichnis, indem du **close()** auf dem zurückgegebenen " "Objekt aufrufst oder es in einer Anweisung :keyword:`with` verwendest." -#: ../../library/os.rst:4876 +#: ../../library/os.rst:4862 msgid "" "See the `Microsoft documentation `_ for more information about how DLLs " @@ -7216,7 +7200,7 @@ msgstr "" "`Microsoft-Dokumentation `_." -#: ../../library/os.rst:4880 +#: ../../library/os.rst:4866 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." @@ -7224,7 +7208,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.add_dll_directory`` mit " "dem Argument ``path`` aus." -#: ../../library/os.rst:4884 +#: ../../library/os.rst:4870 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -7237,7 +7221,7 @@ msgstr "" "durchsucht wurden und Betriebssystemfunktionen wie ``AddDllDirectory`` keine " "Wirkung hatten." -#: ../../library/os.rst:4891 +#: ../../library/os.rst:4877 msgid "" "In 3.8, the two primary ways DLLs are loaded now explicitly override the " "process-wide behavior to ensure consistency. See the :ref:`porting notes " @@ -7248,7 +7232,7 @@ msgstr "" "Informationen zum Aktualisieren von Bibliotheken siehe " "die :ref:`Portierungshinweise `." -#: ../../library/os.rst:4906 +#: ../../library/os.rst:4892 msgid "" "These functions all execute a new program, replacing the current process; " "they do not return. On Unix, the new executable is loaded into the current " @@ -7260,7 +7244,7 @@ msgstr "" "ausführbare Datei in den aktuellen Prozess geladen und hat dieselbe Prozess-" "ID wie der Aufrufer. Fehler werden als :exc:`OSError`-Ausnahmen gemeldet." -#: ../../library/os.rst:4911 +#: ../../library/os.rst:4897 msgid "" "The current process is replaced immediately. Open file objects and " "descriptors are not flushed, so if there may be data buffered on these open " @@ -7273,7 +7257,7 @@ msgstr "" "Funktion :func:`exec\\* ` mit :func:`~io.IOBase.flush` " "oder :func:`os.fsync` leeren." -#: ../../library/os.rst:4917 +#: ../../library/os.rst:4903 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -7295,7 +7279,7 @@ msgstr "" "übergeben. In beiden Fällen sollten die Argumente für den Kindprozess mit " "dem Namen des ausgeführten Befehls beginnen, das wird aber nicht erzwungen." -#: ../../library/os.rst:4926 +#: ../../library/os.rst:4912 msgid "" "The variants which include a \"p\" near the end " "(:func:`execlp`, :func:`execlpe`, :func:`execvp`, and :func:`execvpe`) will " @@ -7321,7 +7305,7 @@ msgstr "" "Relative Pfade müssen auch unter Windows mindestens einen Schrägstrich " "enthalten, da einfache Namen nicht aufgelöst werden." -#: ../../library/os.rst:4937 +#: ../../library/os.rst:4923 msgid "" "For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -7337,7 +7321,7 @@ msgstr "" "Funktionen :func:`execl`, :func:`execlp`, :func:`execv` und :func:`execvp` " "erbt der neue Prozess die Umgebung des aktuellen Prozesses." -#: ../../library/os.rst:4944 +#: ../../library/os.rst:4930 msgid "" "For :func:`execve` on some platforms, *path* may also be specified as an " "open file descriptor. This functionality may not be supported on your " @@ -7351,7 +7335,7 @@ msgstr "" "mit :data:`os.supports_fd`. Ist sie nicht verfügbar, löst ihre Verwendung " "einen :exc:`NotImplementedError` aus." -#: ../../library/os.rst:4949 +#: ../../library/os.rst:4935 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." @@ -7359,7 +7343,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.exec`` mit den Argumenten " "``path``, ``args`` und ``env`` aus." -#: ../../library/os.rst:4953 +#: ../../library/os.rst:4939 msgid "" "Added support for specifying *path* as an open file descriptor " "for :func:`execve`." @@ -7367,7 +7351,7 @@ msgstr "" "Unterstützung für die Angabe von *path* als geöffneter Dateideskriptor " "bei :func:`execve` hinzugefügt." -#: ../../library/os.rst:4962 +#: ../../library/os.rst:4948 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." @@ -7375,7 +7359,7 @@ msgstr "" "Beendet den Prozess mit dem Status *n*, ohne Aufräum-Handler aufzurufen, " "stdio-Puffer zu leeren usw." -#: ../../library/os.rst:4967 +#: ../../library/os.rst:4953 msgid "" "The standard way to exit is :func:`sys.exit(n) `. :func:`!_exit` " "should normally only be used in the child process after a :func:`fork`." @@ -7384,7 +7368,7 @@ msgstr "" "_exit` sollte normalerweise nur im Kindprozess nach einem :func:`fork` " "verwendet werden." -#: ../../library/os.rst:4970 +#: ../../library/os.rst:4956 msgid "" "The following exit codes are defined and can be used with :func:`_exit`, " "although they are not required. These are typically used for system " @@ -7396,7 +7380,7 @@ msgstr "" "für in Python geschriebene Systemprogramme verwendet, etwa das Programm " "eines Mailservers zur Zustellung über externe Befehle." -#: ../../library/os.rst:4976 +#: ../../library/os.rst:4962 msgid "" "Some of these may not be available on all Unix platforms, since there is " "some variation. These constants are defined where they are defined by the " @@ -7406,7 +7390,7 @@ msgstr "" "da es gewisse Unterschiede gibt. Diese Konstanten sind dort definiert, wo " "sie von der zugrunde liegenden Plattform definiert werden." -#: ../../library/os.rst:4983 +#: ../../library/os.rst:4969 msgid "" "Exit code that means no error occurred. May be taken from the defined value " "of ``EXIT_SUCCESS`` on some platforms. Generally has a value of zero." @@ -7415,7 +7399,7 @@ msgstr "" "Plattformen dem definierten Wert von ``EXIT_SUCCESS`` entnommen sein. Hat im " "Allgemeinen den Wert null." -#: ../../library/os.rst:4991 +#: ../../library/os.rst:4977 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." @@ -7423,36 +7407,36 @@ msgstr "" "Exit-Code, der bedeutet, dass der Befehl falsch verwendet wurde, etwa wenn " "eine falsche Anzahl von Argumenten angegeben wurde." -#: ../../library/os.rst:4999 +#: ../../library/os.rst:4985 msgid "Exit code that means the input data was incorrect." msgstr "Exit-Code, der bedeutet, dass die Eingabedaten fehlerhaft waren." -#: ../../library/os.rst:5006 +#: ../../library/os.rst:4992 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" "Exit-Code, der bedeutet, dass eine Eingabedatei nicht existierte oder nicht " "lesbar war." -#: ../../library/os.rst:5013 +#: ../../library/os.rst:4999 msgid "Exit code that means a specified user did not exist." msgstr "" "Exit-Code, der bedeutet, dass ein angegebener Benutzer nicht existierte." -#: ../../library/os.rst:5020 +#: ../../library/os.rst:5006 msgid "Exit code that means a specified host did not exist." msgstr "Exit-Code, der bedeutet, dass ein angegebener Host nicht existierte." -#: ../../library/os.rst:5027 +#: ../../library/os.rst:5013 msgid "Exit code that means that a required service is unavailable." msgstr "" "Exit-Code, der bedeutet, dass ein benötigter Dienst nicht verfügbar ist." -#: ../../library/os.rst:5034 +#: ../../library/os.rst:5020 msgid "Exit code that means an internal software error was detected." msgstr "" "Exit-Code, der bedeutet, dass ein interner Softwarefehler erkannt wurde." -#: ../../library/os.rst:5041 +#: ../../library/os.rst:5027 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." @@ -7460,7 +7444,7 @@ msgstr "" "Exit-Code, der bedeutet, dass ein Betriebssystemfehler erkannt wurde, etwa " "dass kein fork möglich ist oder keine Pipe erzeugt werden kann." -#: ../../library/os.rst:5049 +#: ../../library/os.rst:5035 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." @@ -7468,20 +7452,20 @@ msgstr "" "Exit-Code, der bedeutet, dass eine Systemdatei nicht existierte, nicht " "geöffnet werden konnte oder einen anderen Fehler hatte." -#: ../../library/os.rst:5057 +#: ../../library/os.rst:5043 msgid "Exit code that means a user specified output file could not be created." msgstr "" "Exit-Code, der bedeutet, dass eine vom Benutzer angegebene Ausgabedatei " "nicht erzeugt werden konnte." -#: ../../library/os.rst:5064 +#: ../../library/os.rst:5050 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" "Exit-Code, der bedeutet, dass bei der Ein-/Ausgabe auf einer Datei ein " "Fehler aufgetreten ist." -#: ../../library/os.rst:5071 +#: ../../library/os.rst:5057 msgid "" "Exit code that means a temporary failure occurred. This indicates something " "that may not really be an error, such as a network connection that couldn't " @@ -7492,7 +7476,7 @@ msgstr "" "eine Netzwerkverbindung, die bei einer wiederholbaren Operation nicht " "hergestellt werden konnte." -#: ../../library/os.rst:5080 +#: ../../library/os.rst:5066 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." @@ -7500,7 +7484,7 @@ msgstr "" "Exit-Code, der bedeutet, dass ein Protokollaustausch unzulässig, ungültig " "oder nicht verstanden war." -#: ../../library/os.rst:5088 +#: ../../library/os.rst:5074 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." @@ -7508,17 +7492,17 @@ msgstr "" "Exit-Code, der bedeutet, dass die Berechtigungen für die Operation nicht " "ausreichten (aber nicht für Probleme mit dem Dateisystem gedacht)." -#: ../../library/os.rst:5096 +#: ../../library/os.rst:5082 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" "Exit-Code, der bedeutet, dass irgendeine Art von Konfigurationsfehler " "aufgetreten ist." -#: ../../library/os.rst:5103 +#: ../../library/os.rst:5089 msgid "Exit code that means something like \"an entry was not found\"." msgstr "Exit-Code, der etwa „ein Eintrag wurde nicht gefunden“ bedeutet." -#: ../../library/os.rst:5110 +#: ../../library/os.rst:5096 msgid "" "Fork a child process. Return ``0`` in the child and the child's process id " "in the parent. If an error occurs :exc:`OSError` is raised." @@ -7527,7 +7511,7 @@ msgstr "" "Elternprozess die Prozess-ID des Kindes zurück. Tritt ein Fehler auf, " "wird :exc:`OSError` ausgelöst." -#: ../../library/os.rst:5113 +#: ../../library/os.rst:5099 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." @@ -7536,13 +7520,13 @@ msgstr "" "bekannte Probleme haben, wenn ``fork()`` aus einem Thread heraus verwendet " "wird." -#: ../../library/os.rst:5116 +#: ../../library/os.rst:5102 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.fork`` ohne Argumente aus." -#: ../../library/os.rst:5120 +#: ../../library/os.rst:5106 msgid "" "If you use TLS sockets in an application calling ``fork()``, see the warning " "in the :mod:`ssl` documentation." @@ -7550,7 +7534,7 @@ msgstr "" "Wenn du TLS-Sockets in einer Anwendung verwendest, die ``fork()`` aufruft, " "beachte die Warnung in der Dokumentation zu :mod:`ssl`." -#: ../../library/os.rst:5125 ../../library/os.rst:5171 +#: ../../library/os.rst:5111 ../../library/os.rst:5157 msgid "" "On macOS the use of this function is unsafe when mixed with using higher-" "level system APIs, and that includes using :mod:`urllib.request`." @@ -7559,7 +7543,7 @@ msgstr "" "Systemschnittstellen höherer Ebene gemischt wird, wozu auch die Verwendung " "von :mod:`urllib.request` gehört." -#: ../../library/os.rst:5128 +#: ../../library/os.rst:5114 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported " "(:exc:`RuntimeError` is raised)." @@ -7567,7 +7551,7 @@ msgstr "" "Der Aufruf von ``fork()`` in einem Subinterpreter wird nicht mehr " "unterstützt (es wird :exc:`RuntimeError` ausgelöst)." -#: ../../library/os.rst:5132 +#: ../../library/os.rst:5118 msgid "" "If Python is able to detect that your process has multiple " "threads, :func:`os.fork` now raises a :exc:`DeprecationWarning`." @@ -7575,7 +7559,7 @@ msgstr "" "Kann Python erkennen, dass dein Prozess mehrere Threads hat, " "löst :func:`os.fork` nun eine :exc:`DeprecationWarning` aus." -#: ../../library/os.rst:5136 +#: ../../library/os.rst:5122 msgid "" "We chose to surface this as a warning, when detectable, to better inform " "developers of a design problem that the POSIX platform specifically notes as " @@ -7594,7 +7578,7 @@ msgstr "" "sicher sind, wenn im Elternprozess Threads existierten (etwa ``malloc`` und " "``free``)." -#: ../../library/os.rst:5145 +#: ../../library/os.rst:5131 msgid "" "Users of macOS or users of libc or malloc implementations other than those " "typically found in glibc to date are among those already more likely to " @@ -7604,7 +7588,7 @@ msgstr "" "von den bisher in glibc üblichen unterscheiden, gehören zu denen, bei denen " "solcher Code schon jetzt eher zu Deadlocks führt." -#: ../../library/os.rst:5149 +#: ../../library/os.rst:5135 msgid "" "See `this discussion on fork being incompatible with threads `_ for technical details of why we're surfacing " @@ -7615,7 +7599,7 @@ msgstr "" "Diskussion über die Unverträglichkeit von fork mit Threads `_." -#: ../../library/os.rst:5159 +#: ../../library/os.rst:5145 msgid "" "Fork a child process, using a new pseudo-terminal as the child's controlling " "terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, " @@ -7630,21 +7614,21 @@ msgstr "" "Endes des Pseudoterminals. Für einen portableren Ansatz verwende das " "Modul :mod:`pty`. Tritt ein Fehler auf, wird :exc:`OSError` ausgelöst." -#: ../../library/os.rst:5165 +#: ../../library/os.rst:5151 msgid "" "The returned file descriptor *fd* is :ref:`non-inheritable `." msgstr "" "Der zurückgegebene Dateideskriptor *fd* ist :ref:`nicht vererbbar " "`." -#: ../../library/os.rst:5167 +#: ../../library/os.rst:5153 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.forkpty`` ohne Argumente " "aus." -#: ../../library/os.rst:5174 +#: ../../library/os.rst:5160 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported " "(:exc:`RuntimeError` is raised)." @@ -7652,7 +7636,7 @@ msgstr "" "Der Aufruf von ``forkpty()`` in einem Subinterpreter wird nicht mehr " "unterstützt (es wird :exc:`RuntimeError` ausgelöst)." -#: ../../library/os.rst:5178 +#: ../../library/os.rst:5164 msgid "" "If Python is able to detect that your process has multiple threads, this now " "raises a :exc:`DeprecationWarning`. See the longer explanation " @@ -7662,11 +7646,11 @@ msgstr "" "eine :exc:`DeprecationWarning` aus. Siehe die ausführlichere Erklärung " "bei :func:`os.fork`." -#: ../../library/os.rst:5183 +#: ../../library/os.rst:5169 msgid "The returned file descriptor is now made non-inheritable." msgstr "Der zurückgegebene Dateideskriptor ist nun nicht vererbbar." -#: ../../library/os.rst:5195 +#: ../../library/os.rst:5181 msgid "" "Send signal *sig* to the process *pid*. Constants for the specific signals " "available on the host platform are defined in the :mod:`signal` module." @@ -7674,7 +7658,7 @@ msgstr "" "Sendet das Signal *sig* an den Prozess *pid*. Konstanten für die auf der " "Host-Plattform verfügbaren Signale sind im Modul :mod:`signal` definiert." -#: ../../library/os.rst:5198 +#: ../../library/os.rst:5184 msgid "" "Windows: The :const:`signal.CTRL_C_EVENT` " "and :const:`signal.CTRL_BREAK_EVENT` signals are special signals which can " @@ -7690,11 +7674,11 @@ msgstr "" "*sig* führt dazu, dass der Prozess über die API TerminateProcess " "bedingungslos beendet wird und der Exit-Code auf *sig* gesetzt wird." -#: ../../library/os.rst:5205 +#: ../../library/os.rst:5191 msgid "See also :func:`signal.pthread_kill`." msgstr "Siehe auch :func:`signal.pthread_kill`." -#: ../../library/os.rst:5207 +#: ../../library/os.rst:5193 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." @@ -7702,11 +7686,11 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.kill`` mit den Argumenten " "``pid`` und ``sig`` aus." -#: ../../library/os.rst:5221 +#: ../../library/os.rst:5207 msgid "Send the signal *sig* to the process group *pgid*." msgstr "Sendet das Signal *sig* an die Prozessgruppe *pgid*." -#: ../../library/os.rst:5223 +#: ../../library/os.rst:5209 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." @@ -7714,14 +7698,14 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.killpg`` mit den " "Argumenten ``pgid`` und ``sig`` aus." -#: ../../library/os.rst:5230 +#: ../../library/os.rst:5216 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" "Addiert *increment* zur „Niceness“ des Prozesses. Gibt die neue Niceness " "zurück." -#: ../../library/os.rst:5237 +#: ../../library/os.rst:5223 msgid "" "Return a file descriptor referring to the process *pid* with *flags* set. " "This descriptor can be used to perform process management without races and " @@ -7731,11 +7715,11 @@ msgstr "" "gesetzten *flags*. Mit diesem Deskriptor lässt sich die Prozessverwaltung " "ohne Wettlaufsituationen und Signale durchführen." -#: ../../library/os.rst:5241 +#: ../../library/os.rst:5227 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "Weitere Details siehe die Manpage :manpage:`pidfd_open(2)`." -#: ../../library/os.rst:5248 +#: ../../library/os.rst:5234 msgid "" "This flag indicates that the file descriptor will be non-blocking. If the " "process referred to by the file descriptor has not yet terminated, then an " @@ -7747,7 +7731,7 @@ msgstr "" "gibt der Versuch, mit :manpage:`waitid(2)` auf den Dateideskriptor zu " "warten, sofort den Fehler :const:`~errno.EAGAIN` zurück, statt zu blockieren." -#: ../../library/os.rst:5259 +#: ../../library/os.rst:5245 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." @@ -7755,7 +7739,7 @@ msgstr "" "Sperrt Programmsegmente im Speicher. Der Wert von *op* (definiert in ````) bestimmt, welche Segmente gesperrt werden." -#: ../../library/os.rst:5267 +#: ../../library/os.rst:5253 msgid "" "Open a pipe to or from command *cmd*. The return value is an open file " "object connected to the pipe, which can be read or written depending on " @@ -7771,7 +7755,7 @@ msgstr "" "entsprechende Argument der eingebauten Funktion :func:`open`. Das " "zurückgegebene Dateiobjekt liest oder schreibt Text-Strings statt Bytes." -#: ../../library/os.rst:5275 +#: ../../library/os.rst:5261 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -7792,7 +7776,7 @@ msgstr "" "Windows-Systemen enthält der Rückgabewert den vorzeichenbehafteten " "ganzzahligen Rückgabecode des Kindprozesses." -#: ../../library/os.rst:5285 +#: ../../library/os.rst:5271 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the ``close`` " "method result (exit status) into an exit code if it is not ``None``. On " @@ -7803,7 +7787,7 @@ msgstr "" "nicht ``None`` ist. Unter Windows ist das Ergebnis der Methode ``close`` " "direkt der Exit-Code (oder ``None``)." -#: ../../library/os.rst:5290 +#: ../../library/os.rst:5276 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " @@ -7813,7 +7797,7 @@ msgstr "" "Möglichkeiten, Unterprozesse zu verwalten und mit ihnen zu kommunizieren, " "findest du in der Dokumentation dieser Klasse." -#: ../../library/os.rst:5297 +#: ../../library/os.rst:5283 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." @@ -7821,7 +7805,7 @@ msgstr "" "Der :ref:`Python-UTF-8-Modus ` beeinflusst die für *cmd* und den " "Inhalt der Pipe verwendeten Kodierungen." -#: ../../library/os.rst:5300 +#: ../../library/os.rst:5286 msgid "" ":func:`popen` is a simple wrapper around :class:`subprocess.Popen`. " "Use :class:`subprocess.Popen` or :func:`subprocess.run` to control options " @@ -7831,24 +7815,24 @@ msgstr "" "Verwende :class:`subprocess.Popen` oder :func:`subprocess.run`, um Optionen " "wie Kodierungen zu steuern." -#: ../../library/os.rst:5304 ../../library/os.rst:5533 +#: ../../library/os.rst:5290 ../../library/os.rst:5519 msgid "The :mod:`subprocess` module is recommended instead." msgstr "Stattdessen wird das Modul :mod:`subprocess` empfohlen." -#: ../../library/os.rst:5312 +#: ../../library/os.rst:5298 msgid "Wraps the :c:func:`!posix_spawn` C library API for use from Python." msgstr "" "Verpackt die C-Bibliotheks-API :c:func:`!posix_spawn` zur Verwendung aus " "Python." -#: ../../library/os.rst:5314 +#: ../../library/os.rst:5300 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" "Die meisten Benutzer sollten :func:`subprocess.run` " "statt :func:`posix_spawn` verwenden." -#: ../../library/os.rst:5316 +#: ../../library/os.rst:5302 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar " "to :func:`execve`. *env* is allowed to be ``None``, in which case current " @@ -7858,7 +7842,7 @@ msgstr "" "von :func:`execve`. *env* darf ``None`` sein. Dann wird die Umgebung des " "aktuellen Prozesses verwendet." -#: ../../library/os.rst:5320 +#: ../../library/os.rst:5306 msgid "" "The *path* parameter is the path to the executable file. The *path* should " "contain a directory. Use :func:`posix_spawnp` to pass an executable file " @@ -7868,7 +7852,7 @@ msgstr "" "Verzeichnis enthalten. Verwende :func:`posix_spawnp`, um eine ausführbare " "Datei ohne Verzeichnis zu übergeben." -#: ../../library/os.rst:5324 +#: ../../library/os.rst:5310 msgid "" "The *file_actions* argument may be a sequence of tuples describing actions " "to take on specific file descriptors in the child process between the C " @@ -7883,39 +7867,39 @@ msgstr "" "einer der drei unten aufgeführten Typkennzeichner sein, die die übrigen " "Tupelelemente beschreiben:" -#: ../../library/os.rst:5332 +#: ../../library/os.rst:5318 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" -#: ../../library/os.rst:5334 +#: ../../library/os.rst:5320 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "Führt ``os.dup2(os.open(path, flags, mode), fd)`` aus." -#: ../../library/os.rst:5338 +#: ../../library/os.rst:5324 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "(``os.POSIX_SPAWN_CLOSE``, *fd*)" -#: ../../library/os.rst:5340 +#: ../../library/os.rst:5326 msgid "Performs ``os.close(fd)``." msgstr "Führt ``os.close(fd)`` aus." -#: ../../library/os.rst:5344 +#: ../../library/os.rst:5330 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" -#: ../../library/os.rst:5346 +#: ../../library/os.rst:5332 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "Führt ``os.dup2(fd, new_fd)`` aus." -#: ../../library/os.rst:5350 +#: ../../library/os.rst:5336 msgid "(``os.POSIX_SPAWN_CLOSEFROM``, *fd*)" msgstr "(``os.POSIX_SPAWN_CLOSEFROM``, *fd*)" -#: ../../library/os.rst:5352 +#: ../../library/os.rst:5338 msgid "Performs ``os.closerange(fd, INF)``." msgstr "Führt ``os.closerange(fd, INF)`` aus." -#: ../../library/os.rst:5354 +#: ../../library/os.rst:5340 msgid "" "These tuples correspond to the C library :c:func:`!" "posix_spawn_file_actions_addopen`, :c:func:`!" @@ -7931,7 +7915,7 @@ msgstr "" "posix_spawn_file_actions_addclosefrom_np`, mit denen der eigentliche Aufruf " "von :c:func:`!posix_spawn` vorbereitet wird." -#: ../../library/os.rst:5361 +#: ../../library/os.rst:5347 msgid "" "The *setpgroup* argument will set the process group of the child to the " "value specified. If the value specified is 0, the child's process group ID " @@ -7945,7 +7929,7 @@ msgstr "" "Kind die Prozessgruppen-ID des Elternprozesses. Dieses Argument entspricht " "dem Flag :c:macro:`!POSIX_SPAWN_SETPGROUP` der C-Bibliothek." -#: ../../library/os.rst:5367 +#: ../../library/os.rst:5353 msgid "" "If the *resetids* argument is ``True`` it will reset the effective UID and " "GID of the child to the real UID and GID of the parent process. If the " @@ -7963,7 +7947,7 @@ msgstr "" "Einstellung der effektiven UID und GID. Dieses Argument entspricht dem " "Flag :c:macro:`!POSIX_SPAWN_RESETIDS` der C-Bibliothek." -#: ../../library/os.rst:5375 +#: ../../library/os.rst:5361 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` " @@ -7975,7 +7959,7 @@ msgstr "" "POSIX_SPAWN_SETSID` oder :c:macro:`!POSIX_SPAWN_SETSID_NP`. Andernfalls " "wird :exc:`NotImplementedError` ausgelöst." -#: ../../library/os.rst:5380 +#: ../../library/os.rst:5366 msgid "" "The *setsigmask* argument will set the signal mask to the signal set " "specified. If the parameter is not used, then the child inherits the " @@ -7987,7 +7971,7 @@ msgstr "" "Signalmaske des Elternprozesses. Dieses Argument entspricht dem " "Flag :c:macro:`!POSIX_SPAWN_SETSIGMASK` der C-Bibliothek." -#: ../../library/os.rst:5385 +#: ../../library/os.rst:5371 msgid "" "The *setsigdef* argument will reset the disposition of all signals in the " "set specified. This argument corresponds to the C library :c:macro:`!" @@ -7997,7 +7981,7 @@ msgstr "" "angegebenen Menge zurück. Dieses Argument entspricht dem Flag :c:macro:`!" "POSIX_SPAWN_SETSIGDEF` der C-Bibliothek." -#: ../../library/os.rst:5389 +#: ../../library/os.rst:5375 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -8013,7 +7997,7 @@ msgstr "" "der Flags :c:macro:`!POSIX_SPAWN_SETSCHEDPARAM` und :c:macro:`!" "POSIX_SPAWN_SETSCHEDULER` der C-Bibliothek." -#: ../../library/os.rst:5396 ../../library/os.rst:5417 +#: ../../library/os.rst:5382 ../../library/os.rst:5403 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." @@ -8021,7 +8005,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.posix_spawn`` mit den " "Argumenten ``path``, ``argv`` und ``env`` aus." -#: ../../library/os.rst:5400 +#: ../../library/os.rst:5386 msgid "" "*env* parameter accepts ``None``. ``os.POSIX_SPAWN_CLOSEFROM`` is available " "on platforms where :c:func:`!posix_spawn_file_actions_addclosefrom_np` " @@ -8031,13 +8015,13 @@ msgstr "" "auf Plattformen verfügbar, auf denen :c:func:`!" "posix_spawn_file_actions_addclosefrom_np` existiert." -#: ../../library/os.rst:5411 +#: ../../library/os.rst:5397 msgid "Wraps the :c:func:`!posix_spawnp` C library API for use from Python." msgstr "" "Verpackt die C-Bibliotheks-API :c:func:`!posix_spawnp` zur Verwendung aus " "Python." -#: ../../library/os.rst:5413 +#: ../../library/os.rst:5399 msgid "" "Similar to :func:`posix_spawn` except that the system searches for the " "*executable* file in the list of directories specified by the :envvar:`PATH` " @@ -8048,11 +8032,11 @@ msgstr "" "Umgebungsvariable :envvar:`PATH` angibt (auf dieselbe Weise wie bei " "``execvp(3)``)." -#: ../../library/os.rst:5423 +#: ../../library/os.rst:5409 msgid "See :func:`posix_spawn` documentation." msgstr "Siehe die Dokumentation zu :func:`posix_spawn`." -#: ../../library/os.rst:5429 +#: ../../library/os.rst:5415 msgid "" "Register callables to be executed when a new child process is forked " "using :func:`os.fork` or similar process cloning APIs. The parameters are " @@ -8063,13 +8047,13 @@ msgstr "" "Kindprozess erzeugt wird. Die Parameter sind optional und reine " "Schlüsselwortparameter. Jeder gibt einen anderen Aufrufzeitpunkt an." -#: ../../library/os.rst:5434 +#: ../../library/os.rst:5420 msgid "*before* is a function called before forking a child process." msgstr "" "*before* ist eine Funktion, die vor dem Erzeugen eines Kindprozesses " "aufgerufen wird." -#: ../../library/os.rst:5435 +#: ../../library/os.rst:5421 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." @@ -8077,12 +8061,12 @@ msgstr "" "*after_in_parent* ist eine Funktion, die nach dem Erzeugen eines " "Kindprozesses aus dem Elternprozess aufgerufen wird." -#: ../../library/os.rst:5437 +#: ../../library/os.rst:5423 msgid "*after_in_child* is a function called from the child process." msgstr "" "*after_in_child* ist eine Funktion, die aus dem Kindprozess aufgerufen wird." -#: ../../library/os.rst:5439 +#: ../../library/os.rst:5425 msgid "" "These calls are only made if control is expected to return to the Python " "interpreter. A typical :mod:`subprocess` launch will not trigger them as " @@ -8092,7 +8076,7 @@ msgstr "" "Python-Interpreter zurückkehrt. Ein typischer Start mit :mod:`subprocess` " "löst sie nicht aus, da das Kind den Interpreter nicht erneut betritt." -#: ../../library/os.rst:5443 +#: ../../library/os.rst:5429 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " @@ -8103,7 +8087,7 @@ msgstr "" "dem fork registrierte Funktionen (im Eltern- oder Kindprozess) werden in " "Registrierungsreihenfolge aufgerufen." -#: ../../library/os.rst:5448 +#: ../../library/os.rst:5434 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly " @@ -8115,15 +8099,15 @@ msgstr "" "ausdrücklich :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` " "und :c:func:`PyOS_AfterFork_Child` aufruft." -#: ../../library/os.rst:5452 +#: ../../library/os.rst:5438 msgid "There is no way to unregister a function." msgstr "Es gibt keine Möglichkeit, eine Funktion wieder abzumelden." -#: ../../library/os.rst:5468 +#: ../../library/os.rst:5454 msgid "Execute the program *file* in a new process." msgstr "Führt das Programm *file* in einem neuen Prozess aus." -#: ../../library/os.rst:5470 +#: ../../library/os.rst:5456 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -8135,7 +8119,7 @@ msgstr "" "Verwendung dieses Moduls ist diesen Funktionen vorzuziehen. Sieh dir " "besonders den Abschnitt :ref:`subprocess-replacements` an.)" -#: ../../library/os.rst:5475 +#: ../../library/os.rst:5461 msgid "" "If *mode* is :const:`P_NOWAIT`, this function returns the process id of the " "new process; if *mode* is :const:`P_WAIT`, returns the process's exit code " @@ -8150,7 +8134,7 @@ msgstr "" "Prozess-ID tatsächlich das Prozess-Handle und kann daher mit der " "Funktion :func:`waitpid` verwendet werden." -#: ../../library/os.rst:5481 +#: ../../library/os.rst:5467 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." @@ -8159,7 +8143,7 @@ msgstr "" "wenn der neue Prozess abgeschossen wird. Stattdessen löst sie eine OSError-" "Ausnahme aus." -#: ../../library/os.rst:5484 +#: ../../library/os.rst:5470 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -8180,7 +8164,7 @@ msgstr "" "übergeben. In beiden Fällen müssen die Argumente für den Kindprozess mit dem " "Namen des ausgeführten Befehls beginnen." -#: ../../library/os.rst:5493 +#: ../../library/os.rst:5479 msgid "" "The variants which include a second \"p\" near the end " "(:func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) " @@ -8203,7 +8187,7 @@ msgstr "" "ausführbare Datei zu finden; *file* muss einen passenden absoluten oder " "relativen Pfad enthalten." -#: ../../library/os.rst:5503 +#: ../../library/os.rst:5489 msgid "" "For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -8225,7 +8209,7 @@ msgstr "" "sein müssen. Ungültige Schlüssel oder Werte lassen die Funktion mit dem " "Rückgabewert ``127`` fehlschlagen." -#: ../../library/os.rst:5512 +#: ../../library/os.rst:5498 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" @@ -8233,7 +8217,7 @@ msgstr "" "Zum Beispiel sind die folgenden Aufrufe von :func:`spawnlp` " "und :func:`spawnvpe` gleichwertig::" -#: ../../library/os.rst:5515 +#: ../../library/os.rst:5501 msgid "" "import os\n" "os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')\n" @@ -8247,7 +8231,7 @@ msgstr "" "L = ['cp', 'index.html', '/dev/null']\n" "os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)" -#: ../../library/os.rst:5521 +#: ../../library/os.rst:5507 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``file``, ``args``, ``env``." @@ -8255,7 +8239,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.spawn`` mit den Argumenten " "``mode``, ``file``, ``args`` und ``env`` aus." -#: ../../library/os.rst:5525 +#: ../../library/os.rst:5511 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -8267,7 +8251,7 @@ msgstr "" "unter Windows nicht threadsicher. Wir empfehlen, stattdessen das " "Modul :mod:`subprocess` zu verwenden." -#: ../../library/os.rst:5540 +#: ../../library/os.rst:5526 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, " @@ -8279,7 +8263,7 @@ msgstr "" "Funktionen :func:`spawn\\* ` zurück, sobald der neue Prozess erzeugt " "wurde, mit der Prozess-ID als Rückgabewert." -#: ../../library/os.rst:5550 +#: ../../library/os.rst:5536 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\* " @@ -8293,7 +8277,7 @@ msgstr "" "vollständig gelaufen ist, und geben bei erfolgreichem Lauf den Exit-Code des " "Prozesses zurück oder ``-signal``, wenn ein Signal den Prozess beendet." -#: ../../library/os.rst:5562 +#: ../../library/os.rst:5548 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed " @@ -8309,11 +8293,11 @@ msgstr "" "Wird :const:`P_OVERLAY` verwendet, wird der aktuelle Prozess ersetzt; die " "Funktion :func:`spawn\\* ` kehrt nicht zurück." -#: ../../library/os.rst:5573 +#: ../../library/os.rst:5559 msgid "Start a file with its associated application." msgstr "Startet eine Datei mit der ihr zugeordneten Anwendung." -#: ../../library/os.rst:5575 +#: ../../library/os.rst:5561 msgid "" "When *operation* is not specified, this acts like double-clicking the file " "in Windows Explorer, or giving the file name as an argument to " @@ -8326,7 +8310,7 @@ msgstr "" "Datei wird mit der Anwendung geöffnet, der ihre Dateierweiterung zugeordnet " "ist (falls vorhanden)." -#: ../../library/os.rst:5580 +#: ../../library/os.rst:5566 msgid "" "When another *operation* is given, it must be a \"command verb\" that " "specifies what should be done with the file. Common verbs documented by " @@ -8338,7 +8322,7 @@ msgstr "" "dokumentierte Verben sind ``'open'``, ``'print'`` und ``'edit'`` (für " "Dateien) sowie ``'explore'`` und ``'find'`` (für Verzeichnisse)." -#: ../../library/os.rst:5585 +#: ../../library/os.rst:5571 msgid "" "When launching an application, specify *arguments* to be passed as a single " "string. This argument may have no effect when using this function to launch " @@ -8348,7 +8332,7 @@ msgstr "" "einzelnen String an. Dieses Argument hat möglicherweise keine Wirkung, wenn " "mit dieser Funktion ein Dokument gestartet wird." -#: ../../library/os.rst:5589 +#: ../../library/os.rst:5575 msgid "" "The default working directory is inherited, but may be overridden by the " "*cwd* argument. This should be an absolute path. A relative *path* will be " @@ -8358,7 +8342,7 @@ msgstr "" "*cwd* überschrieben werden. Es sollte ein absoluter Pfad sein. Ein relativer " "*path* wird relativ zu diesem Argument aufgelöst." -#: ../../library/os.rst:5593 +#: ../../library/os.rst:5579 msgid "" "Use *show_cmd* to override the default window style. Whether this has any " "effect will depend on the application being launched. Values are integers as " @@ -8368,7 +8352,7 @@ msgstr "" "eine Wirkung hat, hängt von der gestarteten Anwendung ab. Die Werte sind " "Ganzzahlen, wie sie die Win32-Funktion :c:func:`!ShellExecute` unterstützt." -#: ../../library/os.rst:5597 +#: ../../library/os.rst:5583 msgid "" ":func:`startfile` returns as soon as the associated application is launched. " "There is no option to wait for the application to close, and no way to " @@ -8387,7 +8371,7 @@ msgstr "" "Funktion :func:`os.path.normpath`, um sicherzustellen, dass Pfade für Win32 " "richtig kodiert sind." -#: ../../library/os.rst:5605 +#: ../../library/os.rst:5591 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`!ShellExecute` " "function is not resolved until this function is first called. If the " @@ -8398,7 +8382,7 @@ msgstr "" "aufgelöst. Kann die Funktion nicht aufgelöst werden, " "wird :exc:`NotImplementedError` ausgelöst." -#: ../../library/os.rst:5609 +#: ../../library/os.rst:5595 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." @@ -8406,7 +8390,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.startfile`` mit den " "Argumenten ``path`` und ``operation`` aus." -#: ../../library/os.rst:5611 +#: ../../library/os.rst:5597 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." @@ -8415,7 +8399,7 @@ msgstr "" "Argumenten ``path``, ``operation``, ``arguments``, ``cwd`` und ``show_cmd`` " "aus." -#: ../../library/os.rst:5615 +#: ../../library/os.rst:5601 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the " "``os.startfile/2`` audit event." @@ -8423,7 +8407,7 @@ msgstr "" "Die Argumente *arguments*, *cwd* und *show_cmd* sowie das Auditing-Ereignis " "``os.startfile/2`` hinzugefügt." -#: ../../library/os.rst:5622 +#: ../../library/os.rst:5608 msgid "" "Execute the command (a string) in a subshell. This is implemented by " "calling the Standard C function :c:func:`system`, and has the same " @@ -8441,7 +8425,7 @@ msgstr "" "gesendet. Der C-Standard legt die Bedeutung des Rückgabewerts der C-Funktion " "nicht fest, daher ist der Rückgabewert der Python-Funktion systemabhängig." -#: ../../library/os.rst:5630 +#: ../../library/os.rst:5616 msgid "" "On Unix, the return value is the exit status of the process encoded in the " "format specified for :func:`wait`." @@ -8449,7 +8433,7 @@ msgstr "" "Unter Unix ist der Rückgabewert der Exit-Status des Prozesses, kodiert im " "für :func:`wait` angegebenen Format." -#: ../../library/os.rst:5633 +#: ../../library/os.rst:5619 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment " @@ -8464,7 +8448,7 @@ msgstr "" "zurückgibt. Auf Systemen mit einer nicht nativen Shell sieh in der " "Dokumentation deiner Shell nach." -#: ../../library/os.rst:5639 +#: ../../library/os.rst:5625 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is recommended " @@ -8477,7 +8461,7 @@ msgstr "" "findest du im Abschnitt :ref:`subprocess-replacements` der Dokumentation " "zu :mod:`subprocess`." -#: ../../library/os.rst:5644 +#: ../../library/os.rst:5630 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the result " "(exit status) into an exit code. On Windows, the result is directly the exit " @@ -8487,7 +8471,7 @@ msgstr "" "Status) in einen Exit-Code umwandeln. Unter Windows ist das Ergebnis direkt " "der Exit-Code." -#: ../../library/os.rst:5648 +#: ../../library/os.rst:5634 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." @@ -8495,7 +8479,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``os.system`` mit dem Argument " "``command`` aus." -#: ../../library/os.rst:5655 +#: ../../library/os.rst:5641 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" @@ -8503,29 +8487,29 @@ msgstr "" "Gibt die aktuellen globalen Prozesszeiten zurück. Der Rückgabewert ist ein " "Objekt mit fünf Attributen:" -#: ../../library/os.rst:5658 +#: ../../library/os.rst:5644 msgid ":attr:`!user` - user time" msgstr ":attr:`!user` - Benutzerzeit" -#: ../../library/os.rst:5659 +#: ../../library/os.rst:5645 msgid ":attr:`!system` - system time" msgstr ":attr:`!system` - Systemzeit" -#: ../../library/os.rst:5660 +#: ../../library/os.rst:5646 msgid ":attr:`!children_user` - user time of all child processes" msgstr ":attr:`!children_user` - Benutzerzeit aller Kindprozesse" -#: ../../library/os.rst:5661 +#: ../../library/os.rst:5647 msgid ":attr:`!children_system` - system time of all child processes" msgstr ":attr:`!children_system` - Systemzeit aller Kindprozesse" -#: ../../library/os.rst:5662 +#: ../../library/os.rst:5648 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" ":attr:`!elapsed` - vergangene reale Zeit seit einem festen Zeitpunkt in der " "Vergangenheit" -#: ../../library/os.rst:5664 +#: ../../library/os.rst:5650 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`, :attr:`!" @@ -8536,7 +8520,7 @@ msgstr "" "children_user`, :attr:`!children_system` und :attr:`!elapsed` in dieser " "Reihenfolge." -#: ../../library/os.rst:5668 +#: ../../library/os.rst:5654 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -8552,7 +8536,7 @@ msgstr "" "Unter Windows sind nur :attr:`!user` und :attr:`!system` bekannt; die " "anderen Attribute sind null." -#: ../../library/os.rst:5682 +#: ../../library/os.rst:5668 msgid "" "Wait for completion of a child process, and return a tuple containing its " "pid and exit status indication: a 16-bit number, whose low byte is the " @@ -8567,7 +8551,7 @@ msgstr "" "ist); das höchste Bit des niederwertigen Bytes ist gesetzt, wenn eine Core-" "Datei erzeugt wurde." -#: ../../library/os.rst:5688 +#: ../../library/os.rst:5674 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." @@ -8575,7 +8559,7 @@ msgstr "" "Gibt es keine Kinder, auf die gewartet werden könnte, " "wird :exc:`ChildProcessError` ausgelöst." -#: ../../library/os.rst:5691 ../../library/os.rst:5766 +#: ../../library/os.rst:5677 ../../library/os.rst:5752 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." @@ -8583,7 +8567,7 @@ msgstr "" "Mit :func:`waitstatus_to_exitcode` lässt sich der Exit-Status in einen Exit-" "Code umwandeln." -#: ../../library/os.rst:5698 +#: ../../library/os.rst:5684 msgid "" "The other :func:`!wait*` functions documented below can be used to wait for " "the completion of a specific child process and have more " @@ -8594,11 +8578,11 @@ msgstr "" "Optionen. :func:`waitpid` ist die einzige, die auch unter Windows verfügbar " "ist." -#: ../../library/os.rst:5705 +#: ../../library/os.rst:5691 msgid "Wait for the completion of a child process." msgstr "Wartet auf das Ende eines Kindprozesses." -#: ../../library/os.rst:5707 +#: ../../library/os.rst:5693 msgid "" "*idtype* can be :data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or (on " "Linux) :data:`P_PIDFD`. The interpretation of *id* depends on it; see their " @@ -8608,7 +8592,7 @@ msgstr "" "Linux) :data:`P_PIDFD` sein. Davon hängt die Interpretation von *id* ab. " "Siehe die jeweiligen Beschreibungen." -#: ../../library/os.rst:5710 +#: ../../library/os.rst:5696 msgid "" "*options* is an OR combination of flags. At least one " "of :data:`WEXITED`, :data:`WSTOPPED` or :data:`WCONTINUED` is " @@ -8619,7 +8603,7 @@ msgstr "" "erforderlich; :data:`WNOHANG` und :data:`WNOWAIT` sind zusätzliche optionale " "Flags." -#: ../../library/os.rst:5714 +#: ../../library/os.rst:5700 msgid "" "The return value is an object representing the data contained in " "the :c:type:`siginfo_t` structure with the following attributes:" @@ -8627,30 +8611,30 @@ msgstr "" "Der Rückgabewert ist ein Objekt, das die in der Struktur :c:type:`siginfo_t` " "enthaltenen Daten darstellt, mit folgenden Attributen:" -#: ../../library/os.rst:5717 +#: ../../library/os.rst:5703 msgid ":attr:`!si_pid` (process ID)" msgstr ":attr:`!si_pid` (Prozess-ID)" -#: ../../library/os.rst:5718 +#: ../../library/os.rst:5704 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr ":attr:`!si_uid` (reale Benutzer-ID des Kindes)" -#: ../../library/os.rst:5719 +#: ../../library/os.rst:5705 msgid ":attr:`!si_signo` (always :const:`~signal.SIGCHLD`)" msgstr ":attr:`!si_signo` (immer :const:`~signal.SIGCHLD`)" -#: ../../library/os.rst:5720 +#: ../../library/os.rst:5706 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" ":attr:`!si_status` (Exit-Status oder Signalnummer, je nach :attr:`!si_code`)" -#: ../../library/os.rst:5721 +#: ../../library/os.rst:5707 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr ":attr:`!si_code` (mögliche Werte siehe :data:`CLD_EXITED`)" -#: ../../library/os.rst:5723 +#: ../../library/os.rst:5709 msgid "" "If :data:`WNOHANG` is specified and there are no matching children in the " "requested state, ``None`` is returned. Otherwise, if there are no matching " @@ -8661,15 +8645,15 @@ msgstr "" "wird :exc:`ChildProcessError` ausgelöst, wenn es keine passenden Kinder " "gibt, auf die gewartet werden könnte." -#: ../../library/os.rst:5732 +#: ../../library/os.rst:5718 msgid "This function is now available on macOS as well." msgstr "Diese Funktion ist nun auch unter macOS verfügbar." -#: ../../library/os.rst:5738 +#: ../../library/os.rst:5724 msgid "The details of this function differ on Unix and Windows." msgstr "Die Details dieser Funktion unterscheiden sich unter Unix und Windows." -#: ../../library/os.rst:5740 +#: ../../library/os.rst:5726 msgid "" "On Unix: Wait for completion of a child process given by process id *pid*, " "and return a tuple containing its process id and exit status indication " @@ -8683,7 +8667,7 @@ msgstr "" "hängt vom Wert der Ganzzahl *options* ab, die für den normalen Betrieb ``0`` " "sein sollte." -#: ../../library/os.rst:5745 +#: ../../library/os.rst:5731 msgid "" "If *pid* is greater than ``0``, :func:`waitpid` requests status information " "for that specific process. If *pid* is ``0``, the request is for the status " @@ -8699,7 +8683,7 @@ msgstr "" "Prozesses. Ist *pid* kleiner als ``-1``, wird der Status eines beliebigen " "Prozesses in der Prozessgruppe ``-pid`` (dem Betrag von *pid*) angefordert." -#: ../../library/os.rst:5752 +#: ../../library/os.rst:5738 msgid "" "*options* is an OR combination of flags. If it contains :data:`WNOHANG` and " "there are no matching children in the requested state, ``(0, 0)`` is " @@ -8713,7 +8697,7 @@ msgstr "" "keine passenden Kinder gibt, auf die gewartet werden könnte. Weitere " "verwendbare Optionen sind :data:`WUNTRACED` und :data:`WCONTINUED`." -#: ../../library/os.rst:5758 +#: ../../library/os.rst:5744 msgid "" "On Windows: Wait for completion of a process given by process handle *pid*, " "and return a tuple containing *pid*, and its exit status shifted left by 8 " @@ -8734,7 +8718,7 @@ msgstr "" "auf einen Kindprozess. Die mit :const:`P_NOWAIT` aufgerufenen " "Funktionen :func:`spawn\\* ` geben passende Prozess-Handles zurück." -#: ../../library/os.rst:5779 +#: ../../library/os.rst:5765 msgid "" "Similar to :func:`waitpid`, except no process id argument is given and a 3-" "element tuple containing the child's process id, exit status indication, and " @@ -8749,7 +8733,7 @@ msgstr "" "Ressourcennutzung siehe :func:`resource.getrusage`. Das Argument *options* " "ist dasselbe wie bei :func:`waitpid` und :func:`wait4`." -#: ../../library/os.rst:5786 ../../library/os.rst:5800 +#: ../../library/os.rst:5772 ../../library/os.rst:5786 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." @@ -8757,7 +8741,7 @@ msgstr "" "Mit :func:`waitstatus_to_exitcode` lässt sich der Exit-Status in einen Exit-" "Code umwandeln." -#: ../../library/os.rst:5794 +#: ../../library/os.rst:5780 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -8771,7 +8755,7 @@ msgstr "" "Informationen zur Ressourcennutzung siehe :func:`resource.getrusage`. Die " "Argumente von :func:`wait4` sind dieselben wie bei :func:`waitpid`." -#: ../../library/os.rst:5811 +#: ../../library/os.rst:5797 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" @@ -8779,21 +8763,21 @@ msgstr "" "Dies sind die möglichen Werte für *idtype* in :func:`waitid`. Sie " "beeinflussen, wie *id* interpretiert wird:" -#: ../../library/os.rst:5814 +#: ../../library/os.rst:5800 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr ":data:`!P_PID` - wartet auf das Kind, dessen PID *id* ist." -#: ../../library/os.rst:5815 +#: ../../library/os.rst:5801 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" ":data:`!P_PGID` - wartet auf ein beliebiges Kind, dessen Prozessgruppen-ID " "*id* ist." -#: ../../library/os.rst:5816 +#: ../../library/os.rst:5802 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr ":data:`!P_ALL` - wartet auf ein beliebiges Kind; *id* wird ignoriert." -#: ../../library/os.rst:5817 +#: ../../library/os.rst:5803 msgid "" ":data:`!P_PIDFD` - wait for the child identified by the file descriptor *id* " "(a process file descriptor created with :func:`pidfd_open`)." @@ -8802,15 +8786,15 @@ msgstr "" "identifiziert wird (ein mit :func:`pidfd_open` erzeugter Prozess-" "Dateideskriptor)." -#: ../../library/os.rst:5822 +#: ../../library/os.rst:5808 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr ":data:`!P_PIDFD` ist nur unter Linux >= 5.4 verfügbar." -#: ../../library/os.rst:5825 +#: ../../library/os.rst:5811 msgid "The :data:`!P_PIDFD` constant." msgstr "Die Konstante :data:`!P_PIDFD`." -#: ../../library/os.rst:5831 +#: ../../library/os.rst:5817 msgid "" "This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, " "and :func:`waitid` causes child processes to be reported if they have been " @@ -8820,7 +8804,7 @@ msgstr "" "und :func:`waitid` bewirkt, dass Kindprozesse gemeldet werden, wenn sie seit " "ihrer letzten Meldung aus einem Job-Control-Stopp fortgesetzt wurden." -#: ../../library/os.rst:5840 +#: ../../library/os.rst:5826 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." @@ -8828,7 +8812,7 @@ msgstr "" "Dieses *options*-Flag für :func:`waitid` bewirkt, dass beendete Kindprozesse " "gemeldet werden." -#: ../../library/os.rst:5843 +#: ../../library/os.rst:5829 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." @@ -8836,7 +8820,7 @@ msgstr "" "Die anderen Funktionen ``wait*`` melden beendete Kinder immer, daher ist " "diese Option für sie nicht verfügbar." -#: ../../library/os.rst:5853 +#: ../../library/os.rst:5839 msgid "" "This *options* flag for :func:`waitid` causes child processes that have been " "stopped by the delivery of a signal to be reported." @@ -8844,11 +8828,11 @@ msgstr "" "Dieses *options*-Flag für :func:`waitid` bewirkt, dass Kindprozesse gemeldet " "werden, die durch die Zustellung eines Signals angehalten wurden." -#: ../../library/os.rst:5856 ../../library/os.rst:5888 +#: ../../library/os.rst:5842 ../../library/os.rst:5874 msgid "This option is not available for the other ``wait*`` functions." msgstr "Diese Option ist für die anderen Funktionen ``wait*`` nicht verfügbar." -#: ../../library/os.rst:5865 +#: ../../library/os.rst:5851 msgid "" "This *options* flag for :func:`waitpid`, :func:`wait3`, and :func:`wait4` " "causes child processes to also be reported if they have been stopped but " @@ -8859,11 +8843,11 @@ msgstr "" "wurden, ihr aktueller Zustand aber seit dem Anhalten noch nicht gemeldet " "wurde." -#: ../../library/os.rst:5869 +#: ../../library/os.rst:5855 msgid "This option is not available for :func:`waitid`." msgstr "Diese Option ist für :func:`waitid` nicht verfügbar." -#: ../../library/os.rst:5876 +#: ../../library/os.rst:5862 msgid "" "This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, " "and :func:`waitid` to return right away if no child process status is " @@ -8873,7 +8857,7 @@ msgstr "" "dass :func:`waitpid`, :func:`wait3`, :func:`wait4` und :func:`waitid` sofort " "zurückkehren, wenn kein Status eines Kindprozesses sofort verfügbar ist." -#: ../../library/os.rst:5885 +#: ../../library/os.rst:5871 msgid "" "This *options* flag causes :func:`waitid` to leave the child in a waitable " "state, so that a later :func:`!wait*` call can be used to retrieve the child " @@ -8883,7 +8867,7 @@ msgstr "" "belässt, auf den gewartet werden kann, sodass ein späterer Aufruf " "von :func:`!wait*` die Statusinformationen des Kindes erneut abrufen kann." -#: ../../library/os.rst:5900 +#: ../../library/os.rst:5886 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." @@ -8891,19 +8875,19 @@ msgstr "" "Dies sind die möglichen Werte für :attr:`!si_code` im Ergebnis " "von :func:`waitid`." -#: ../../library/os.rst:5907 +#: ../../library/os.rst:5893 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "Die Werte :data:`CLD_KILLED` und :data:`CLD_STOPPED` hinzugefügt." -#: ../../library/os.rst:5913 +#: ../../library/os.rst:5899 msgid "Convert a wait status to an exit code." msgstr "Wandelt einen Wartestatus in einen Exit-Code um." -#: ../../library/os.rst:5915 +#: ../../library/os.rst:5901 msgid "On Unix:" msgstr "Unter Unix:" -#: ../../library/os.rst:5917 +#: ../../library/os.rst:5903 msgid "" "If the process exited normally (if ``WIFEXITED(status)`` is true), return " "the process exit status (return ``WEXITSTATUS(status)``): result greater " @@ -8913,7 +8897,7 @@ msgstr "" "wird der Exit-Status des Prozesses zurückgegeben (Rückgabe von " "``WEXITSTATUS(status)``): Ergebnis größer oder gleich 0." -#: ../../library/os.rst:5920 +#: ../../library/os.rst:5906 msgid "" "If the process was terminated by a signal (if ``WIFSIGNALED(status)`` is " "true), return ``-signum`` where *signum* is the number of the signal that " @@ -8925,16 +8909,16 @@ msgstr "" "Signals ist, das den Prozess beendet hat (Rückgabe von ``-" "WTERMSIG(status)``): Ergebnis kleiner als 0." -#: ../../library/os.rst:5924 +#: ../../library/os.rst:5910 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "Andernfalls wird ein :exc:`ValueError` ausgelöst." -#: ../../library/os.rst:5926 +#: ../../library/os.rst:5912 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" "Unter Windows wird *status* um 8 Bit nach rechts verschoben zurückgegeben." -#: ../../library/os.rst:5928 +#: ../../library/os.rst:5914 msgid "" "On Unix, if the process is being traced or if :func:`waitpid` was called " "with :data:`WUNTRACED` option, the caller must first check if " @@ -8946,7 +8930,7 @@ msgstr "" "``WIFSTOPPED(status)`` wahr ist. Diese Funktion darf nicht aufgerufen " "werden, wenn ``WIFSTOPPED(status)`` wahr ist." -#: ../../library/os.rst:5935 +#: ../../library/os.rst:5921 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` " "functions." @@ -8955,7 +8939,7 @@ msgstr "" "Funktionen :func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:`WTERMSIG`, :func:`WIFSTOPPED` " "und :func:`WSTOPSIG`." -#: ../../library/os.rst:5943 +#: ../../library/os.rst:5929 msgid "" "The following functions take a process status code as returned " "by :func:`system`, :func:`wait`, or :func:`waitpid` as a parameter. They " @@ -8965,7 +8949,7 @@ msgstr "" "entgegen, wie ihn :func:`system`, :func:`wait` oder :func:`waitpid` " "zurückgeben. Mit ihnen lässt sich ermitteln, wie ein Prozess beendet wurde." -#: ../../library/os.rst:5949 +#: ../../library/os.rst:5935 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." @@ -8973,13 +8957,13 @@ msgstr "" "Gibt ``True`` zurück, wenn für den Prozess ein Core-Dump erzeugt wurde, " "andernfalls ``False``." -#: ../../library/os.rst:5952 ../../library/os.rst:6018 +#: ../../library/os.rst:5938 ../../library/os.rst:6004 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" "Diese Funktion sollte nur verwendet werden, wenn :func:`WIFSIGNALED` wahr " "ist." -#: ../../library/os.rst:5959 +#: ../../library/os.rst:5945 msgid "" "Return ``True`` if a stopped child has been resumed by delivery " "of :const:`~signal.SIGCONT` (if the process has been continued from a job " @@ -8989,11 +8973,11 @@ msgstr "" "von :const:`~signal.SIGCONT` fortgesetzt wurde (wenn der Prozess aus einem " "Job-Control-Stopp fortgesetzt wurde), andernfalls ``False``." -#: ../../library/os.rst:5963 +#: ../../library/os.rst:5949 msgid "See :data:`WCONTINUED` option." msgstr "Siehe die Option :data:`WCONTINUED`." -#: ../../library/os.rst:5970 +#: ../../library/os.rst:5956 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." @@ -9001,7 +8985,7 @@ msgstr "" "Gibt ``True`` zurück, wenn der Prozess durch Zustellung eines Signals " "angehalten wurde, andernfalls ``False``." -#: ../../library/os.rst:5973 +#: ../../library/os.rst:5959 msgid "" ":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was " "done using :data:`WUNTRACED` option or when the process is being traced " @@ -9011,7 +8995,7 @@ msgstr "" "von :func:`waitpid` mit der Option :data:`WUNTRACED` erfolgte oder der " "Prozess verfolgt wird (siehe :manpage:`ptrace(2)`)." -#: ../../library/os.rst:5981 +#: ../../library/os.rst:5967 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." @@ -9019,7 +9003,7 @@ msgstr "" "Gibt ``True`` zurück, wenn der Prozess durch ein Signal beendet wurde, " "andernfalls ``False``." -#: ../../library/os.rst:5989 +#: ../../library/os.rst:5975 msgid "" "Return ``True`` if the process exited terminated normally, that is, by " "calling ``exit()`` or ``_exit()``, or by returning from ``main()``; " @@ -9029,33 +9013,33 @@ msgstr "" "Aufruf von ``exit()`` oder ``_exit()`` oder durch Rückkehr aus ``main()``. " "Andernfalls ``False``." -#: ../../library/os.rst:5998 +#: ../../library/os.rst:5984 msgid "Return the process exit status." msgstr "Gibt den Exit-Status des Prozesses zurück." -#: ../../library/os.rst:6000 +#: ../../library/os.rst:5986 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" "Diese Funktion sollte nur verwendet werden, wenn :func:`WIFEXITED` wahr ist." -#: ../../library/os.rst:6007 +#: ../../library/os.rst:5993 msgid "Return the signal which caused the process to stop." msgstr "Gibt das Signal zurück, das den Prozess angehalten hat." -#: ../../library/os.rst:6009 +#: ../../library/os.rst:5995 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" "Diese Funktion sollte nur verwendet werden, wenn :func:`WIFSTOPPED` wahr ist." -#: ../../library/os.rst:6016 +#: ../../library/os.rst:6002 msgid "Return the number of the signal that caused the process to terminate." msgstr "Gibt die Nummer des Signals zurück, das den Prozess beendet hat." -#: ../../library/os.rst:6024 +#: ../../library/os.rst:6010 msgid "Interface to the scheduler" msgstr "Schnittstelle zum Scheduler" -#: ../../library/os.rst:6026 +#: ../../library/os.rst:6012 msgid "" "These functions control how a process is allocated CPU time by the operating " "system. They are only available on some Unix platforms. For more detailed " @@ -9065,7 +9049,7 @@ msgstr "" "zuteilt. Sie sind nur auf manchen Unix-Plattformen verfügbar. Ausführlichere " "Informationen findest du in deinen Unix-Manpages." -#: ../../library/os.rst:6032 +#: ../../library/os.rst:6018 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." @@ -9073,11 +9057,11 @@ msgstr "" "Die folgenden Scheduling-Richtlinien werden bereitgestellt, wenn das " "Betriebssystem sie unterstützt." -#: ../../library/os.rst:6039 +#: ../../library/os.rst:6025 msgid "The default scheduling policy." msgstr "Die Standard-Scheduling-Richtlinie." -#: ../../library/os.rst:6043 +#: ../../library/os.rst:6029 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." @@ -9085,32 +9069,32 @@ msgstr "" "Scheduling-Richtlinie für CPU-intensive Prozesse, die versucht, die " "Interaktivität auf dem übrigen Rechner zu erhalten." -#: ../../library/os.rst:6048 +#: ../../library/os.rst:6034 msgid "Scheduling policy for tasks with deadline constraints." msgstr "Scheduling-Richtlinie für Aufgaben mit Fristvorgaben." -#: ../../library/os.rst:6054 +#: ../../library/os.rst:6040 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" "Scheduling-Richtlinie für Hintergrundaufgaben mit extrem niedriger Priorität." -#: ../../library/os.rst:6058 +#: ../../library/os.rst:6044 msgid "Alias for :data:`SCHED_OTHER`." msgstr "Alias für :data:`SCHED_OTHER`." -#: ../../library/os.rst:6064 +#: ../../library/os.rst:6050 msgid "Scheduling policy for sporadic server programs." msgstr "Scheduling-Richtlinie für sporadische Serverprogramme." -#: ../../library/os.rst:6068 +#: ../../library/os.rst:6054 msgid "A First In First Out scheduling policy." msgstr "Eine First-In-First-Out-Scheduling-Richtlinie." -#: ../../library/os.rst:6072 +#: ../../library/os.rst:6058 msgid "A round-robin scheduling policy." msgstr "Eine Round-Robin-Scheduling-Richtlinie." -#: ../../library/os.rst:6076 +#: ../../library/os.rst:6062 msgid "" "This flag can be OR'ed with any other scheduling policy. When a process with " "this flag set forks, its child's scheduling policy and priority are reset to " @@ -9121,7 +9105,7 @@ msgstr "" "Kindprozess, werden Scheduling-Richtlinie und Priorität des Kindes auf den " "Standard zurückgesetzt." -#: ../../library/os.rst:6083 +#: ../../library/os.rst:6069 msgid "" "This class represents tunable scheduling parameters used " "in :func:`sched_setparam`, :func:`sched_setscheduler`, " @@ -9131,15 +9115,15 @@ msgstr "" "in :func:`sched_setparam`, :func:`sched_setscheduler` " "und :func:`sched_getparam` verwendet werden. Sie ist unveränderlich." -#: ../../library/os.rst:6087 +#: ../../library/os.rst:6073 msgid "At the moment, there is only one possible parameter:" msgstr "Derzeit gibt es nur einen möglichen Parameter:" -#: ../../library/os.rst:6091 +#: ../../library/os.rst:6077 msgid "The scheduling priority for a scheduling policy." msgstr "Die Scheduling-Priorität für eine Scheduling-Richtlinie." -#: ../../library/os.rst:6096 +#: ../../library/os.rst:6082 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -9147,7 +9131,7 @@ msgstr "" "Ermittelt den minimalen Prioritätswert für *policy*. *policy* ist eine der " "obigen Konstanten für Scheduling-Richtlinien." -#: ../../library/os.rst:6102 +#: ../../library/os.rst:6088 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." @@ -9155,7 +9139,7 @@ msgstr "" "Ermittelt den maximalen Prioritätswert für *policy*. *policy* ist eine der " "obigen Konstanten für Scheduling-Richtlinien." -#: ../../library/os.rst:6108 +#: ../../library/os.rst:6094 msgid "" "Set the scheduling policy for the process with PID *pid*. A *pid* of 0 means " "the calling process. *policy* is one of the scheduling policy constants " @@ -9166,7 +9150,7 @@ msgstr "" "Konstanten für Scheduling-Richtlinien. *param* ist eine Instanz " "von :class:`sched_param`." -#: ../../library/os.rst:6115 +#: ../../library/os.rst:6101 msgid "" "Return the scheduling policy for the process with PID *pid*. A *pid* of 0 " "means the calling process. The result is one of the scheduling policy " @@ -9176,7 +9160,7 @@ msgstr "" "*pid* 0, ist der aufrufende Prozess gemeint. Das Ergebnis ist eine der " "obigen Konstanten für Scheduling-Richtlinien." -#: ../../library/os.rst:6122 +#: ../../library/os.rst:6108 msgid "" "Set the scheduling parameters for the process with PID *pid*. A *pid* of 0 " "means the calling process. *param* is a :class:`sched_param` instance." @@ -9185,7 +9169,7 @@ msgstr "" "0, ist der aufrufende Prozess gemeint. *param* ist eine Instanz " "von :class:`sched_param`." -#: ../../library/os.rst:6128 +#: ../../library/os.rst:6114 msgid "" "Return the scheduling parameters as a :class:`sched_param` instance for the " "process with PID *pid*. A *pid* of 0 means the calling process." @@ -9194,7 +9178,7 @@ msgstr "" "von :class:`sched_param` zurück. Ist *pid* 0, ist der aufrufende Prozess " "gemeint." -#: ../../library/os.rst:6134 +#: ../../library/os.rst:6120 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." @@ -9202,12 +9186,12 @@ msgstr "" "Gibt das Round-Robin-Zeitquantum in Sekunden für den Prozess mit der PID " "*pid* zurück. Ist *pid* 0, ist der aufrufende Prozess gemeint." -#: ../../library/os.rst:6140 +#: ../../library/os.rst:6126 msgid "" "Voluntarily relinquish the CPU. See :manpage:`sched_yield(2)` for details." msgstr "Gibt die CPU freiwillig ab. Details siehe :manpage:`sched_yield(2)`." -#: ../../library/os.rst:6145 +#: ../../library/os.rst:6131 msgid "" "Restrict the process with PID *pid* (or the current process if zero) to a " "set of CPUs. *mask* is an iterable of integers representing the set of CPUs " @@ -9217,13 +9201,13 @@ msgstr "" "Prozess) auf eine Menge von CPUs. *mask* ist ein Iterable von Ganzzahlen, " "das die Menge der CPUs darstellt, auf die der Prozess beschränkt werden soll." -#: ../../library/os.rst:6152 +#: ../../library/os.rst:6138 msgid "Return the set of CPUs the process with PID *pid* is restricted to." msgstr "" "Gibt die Menge der CPUs zurück, auf die der Prozess mit der PID *pid* " "beschränkt ist." -#: ../../library/os.rst:6154 +#: ../../library/os.rst:6140 msgid "" "If *pid* is zero, return the set of CPUs the calling thread of the current " "process is restricted to." @@ -9231,15 +9215,15 @@ msgstr "" "Ist *pid* null, wird die Menge der CPUs zurückgegeben, auf die der " "aufrufende Thread des aktuellen Prozesses beschränkt ist." -#: ../../library/os.rst:6157 +#: ../../library/os.rst:6143 msgid "See also the :func:`process_cpu_count` function." msgstr "Siehe auch die Funktion :func:`process_cpu_count`." -#: ../../library/os.rst:6163 +#: ../../library/os.rst:6149 msgid "Miscellaneous System Information" msgstr "Verschiedene Systeminformationen" -#: ../../library/os.rst:6168 +#: ../../library/os.rst:6154 msgid "" "Return string-valued system configuration values. *name* specifies the " "configuration value to retrieve; it may be a string which is the name of a " @@ -9258,7 +9242,7 @@ msgstr "" "Konfigurationsvariablen, die nicht in diesem Mapping enthalten sind, wird " "auch eine Ganzzahl für *name* akzeptiert." -#: ../../library/os.rst:6176 +#: ../../library/os.rst:6162 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." @@ -9266,7 +9250,7 @@ msgstr "" "Ist der durch *name* angegebene Konfigurationswert nicht definiert, wird " "``None`` zurückgegeben." -#: ../../library/os.rst:6179 +#: ../../library/os.rst:6165 msgid "" "If *name* is a string and is not known, :exc:`ValueError` is raised. If a " "specific value for *name* is not supported by the host system, even if it is " @@ -9278,7 +9262,7 @@ msgstr "" "er in ``confstr_names`` enthalten ist, wird ein :exc:`OSError` " "mit :const:`errno.EINVAL` als Fehlernummer ausgelöst." -#: ../../library/os.rst:6189 +#: ../../library/os.rst:6175 msgid "" "Dictionary mapping names accepted by :func:`confstr` to the integer values " "defined for those names by the host operating system. This can be used to " @@ -9289,7 +9273,7 @@ msgstr "" "definiert. Damit lässt sich die Menge der dem System bekannten Namen " "ermitteln." -#: ../../library/os.rst:6198 +#: ../../library/os.rst:6184 msgid "" "Return the number of logical CPUs in the **system**. Returns ``None`` if " "undetermined." @@ -9297,7 +9281,7 @@ msgstr "" "Gibt die Anzahl der logischen CPUs im **System** zurück. Gibt ``None`` " "zurück, wenn sie nicht ermittelt werden kann." -#: ../../library/os.rst:6201 +#: ../../library/os.rst:6187 msgid "" "The :func:`process_cpu_count` function can be used to get the number of " "logical CPUs usable by the calling thread of the **current process**." @@ -9306,7 +9290,7 @@ msgstr "" "logischen CPUs, die der aufrufende Thread des **aktuellen Prozesses** nutzen " "kann." -#: ../../library/os.rst:6206 +#: ../../library/os.rst:6192 msgid "" "If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is " "set, :func:`cpu_count` returns the override value *n*." @@ -9314,7 +9298,7 @@ msgstr "" "Ist :option:`-X cpu_count <-X>` angegeben oder :envvar:`PYTHON_CPU_COUNT` " "gesetzt, gibt :func:`cpu_count` den Überschreibungswert *n* zurück." -#: ../../library/os.rst:6213 +#: ../../library/os.rst:6199 msgid "" "Return the number of processes in the system run queue averaged over the " "last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was " @@ -9324,7 +9308,7 @@ msgstr "" "in der Run-Queue des Systems zurück oder löst :exc:`OSError` aus, wenn die " "Durchschnittslast nicht ermittelt werden konnte." -#: ../../library/os.rst:6222 +#: ../../library/os.rst:6208 msgid "" "Get the number of logical CPUs usable by the calling thread of the **current " "process**. Returns ``None`` if undetermined. It can be less " @@ -9335,7 +9319,7 @@ msgstr "" "ermittelt werden kann. Sie kann je nach CPU-Affinität kleiner " "als :func:`cpu_count` sein." -#: ../../library/os.rst:6226 +#: ../../library/os.rst:6212 msgid "" "The :func:`cpu_count` function can be used to get the number of logical CPUs " "in the **system**." @@ -9343,7 +9327,7 @@ msgstr "" "Mit der Funktion :func:`cpu_count` erhältst du die Anzahl der logischen CPUs " "im **System**." -#: ../../library/os.rst:6229 +#: ../../library/os.rst:6215 msgid "" "If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is " "set, :func:`process_cpu_count` returns the override value *n*." @@ -9351,11 +9335,11 @@ msgstr "" "Ist :option:`-X cpu_count <-X>` angegeben oder :envvar:`PYTHON_CPU_COUNT` " "gesetzt, gibt :func:`process_cpu_count` den Überschreibungswert *n* zurück." -#: ../../library/os.rst:6232 +#: ../../library/os.rst:6218 msgid "See also the :func:`sched_getaffinity` function." msgstr "Siehe auch die Funktion :func:`sched_getaffinity`." -#: ../../library/os.rst:6239 +#: ../../library/os.rst:6225 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -9369,7 +9353,7 @@ msgstr "" "Das Dictionary mit Informationen zu den bekannten Namen ist " "``sysconf_names``." -#: ../../library/os.rst:6249 +#: ../../library/os.rst:6235 msgid "" "Dictionary mapping names accepted by :func:`sysconf` to the integer values " "defined for those names by the host operating system. This can be used to " @@ -9380,11 +9364,11 @@ msgstr "" "definiert. Damit lässt sich die Menge der dem System bekannten Namen " "ermitteln." -#: ../../library/os.rst:6255 +#: ../../library/os.rst:6241 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "Den Namen ``'SC_MINSIGSTKSZ'`` hinzugefügt." -#: ../../library/os.rst:6258 +#: ../../library/os.rst:6244 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." @@ -9392,7 +9376,7 @@ msgstr "" "Die folgenden Datenwerte dienen zur Unterstützung von Operationen zur " "Pfadbearbeitung. Sie sind für alle Plattformen definiert." -#: ../../library/os.rst:6261 +#: ../../library/os.rst:6247 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." @@ -9400,7 +9384,7 @@ msgstr "" "Operationen höherer Ebene auf Pfadnamen sind im Modul :mod:`os.path` " "definiert." -#: ../../library/os.rst:6267 +#: ../../library/os.rst:6253 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available " @@ -9410,7 +9394,7 @@ msgstr "" "Verzeichnis verweist. Unter Windows und POSIX ist das ``'.'``. Auch " "über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6275 +#: ../../library/os.rst:6261 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available " @@ -9420,7 +9404,7 @@ msgstr "" "Verzeichnis verweist. Unter Windows und POSIX ist das ``'..'``. Auch " "über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6284 +#: ../../library/os.rst:6270 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -9435,7 +9419,7 @@ msgstr "" "und :func:`os.path.join` --, es ist aber gelegentlich nützlich. Auch " "über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6294 +#: ../../library/os.rst:6280 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -9447,7 +9431,7 @@ msgstr "" "Windows-Systemen, bei denen ``sep`` ein Backslash ist, ist es auf ``'/'`` " "gesetzt. Auch über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6303 +#: ../../library/os.rst:6289 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." @@ -9455,7 +9439,7 @@ msgstr "" "Das Zeichen, das den Basis-Dateinamen von der Erweiterung trennt, zum " "Beispiel der ``'.'`` in :file:`os.py`. Auch über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6311 +#: ../../library/os.rst:6297 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " @@ -9465,7 +9449,7 @@ msgstr "" "Suchpfaden trennt (wie in :envvar:`PATH`), etwa ``':'`` unter POSIX oder " "``';'`` unter Windows. Auch über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6318 +#: ../../library/os.rst:6304 msgid "" "The default search path used by :func:`exec\\*p\\* ` " "and :func:`spawn\\*p\\* ` if the environment doesn't have a " @@ -9475,7 +9459,7 @@ msgstr "" "und :func:`spawn\\*p\\* ` verwenden, wenn die Umgebung keinen " "Schlüssel ``'PATH'`` hat. Auch über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6325 +#: ../../library/os.rst:6311 msgid "" "The string used to separate (or, rather, terminate) lines on the current " "platform. This may be a single character, such as ``'\\n'`` for POSIX, or " @@ -9490,7 +9474,7 @@ msgstr "" "Dateien schreibst, die im Textmodus (dem Standard) geöffnet wurden. Verwende " "stattdessen auf allen Plattformen ein einzelnes ``'\\n'``." -#: ../../library/os.rst:6334 +#: ../../library/os.rst:6320 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." @@ -9498,7 +9482,7 @@ msgstr "" "Der Dateipfad des Null-Geräts. Zum Beispiel ``'/dev/null'`` unter POSIX und " "``'nul'`` unter Windows. Auch über :mod:`os.path` verfügbar." -#: ../../library/os.rst:6345 +#: ../../library/os.rst:6331 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` " "and :func:`~sys.getdlopenflags` functions. See the Unix manual " @@ -9508,11 +9492,11 @@ msgstr "" "und :func:`~sys.getdlopenflags`. Die Bedeutung der verschiedenen Flags siehe " "die Unix-Manpage :manpage:`dlopen(3)`." -#: ../../library/os.rst:6353 +#: ../../library/os.rst:6339 msgid "Random numbers" msgstr "Zufallszahlen" -#: ../../library/os.rst:6358 +#: ../../library/os.rst:6344 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." @@ -9520,7 +9504,7 @@ msgstr "" "Ermittelt bis zu *size* zufällige Bytes. Die Funktion kann weniger Bytes als " "angefordert zurückgeben." -#: ../../library/os.rst:6361 +#: ../../library/os.rst:6347 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." @@ -9528,7 +9512,7 @@ msgstr "" "Diese Bytes können als Startwert für Zufallszahlengeneratoren im " "Benutzerbereich oder für kryptografische Zwecke verwendet werden." -#: ../../library/os.rst:6364 +#: ../../library/os.rst:6350 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -9540,7 +9524,7 @@ msgstr "" "Datenmengen beeinträchtigt andere Benutzer der Geräte ``/dev/random`` und ``/" "dev/urandom``." -#: ../../library/os.rst:6369 +#: ../../library/os.rst:6355 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:const:`os.GRND_RANDOM` " @@ -9550,7 +9534,7 @@ msgstr "" "per ODER verknüpft enthalten kann: :py:const:`os.GRND_RANDOM` " "und :py:data:`GRND_NONBLOCK`." -#: ../../library/os.rst:6373 +#: ../../library/os.rst:6359 msgid "" "See also the `Linux getrandom() manual page `_." @@ -9558,14 +9542,14 @@ msgstr "" "Siehe auch die `Linux-Manpage zu getrandom() `_." -#: ../../library/os.rst:6382 +#: ../../library/os.rst:6368 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" "Gibt einen Bytestring mit *size* zufälligen Bytes zurück, der für die " "kryptografische Verwendung geeignet ist." -#: ../../library/os.rst:6384 +#: ../../library/os.rst:6370 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " @@ -9576,7 +9560,7 @@ msgstr "" "Anwendungen unvorhersehbar genug sein, ihre genaue Qualität hängt aber von " "der Implementierung des Betriebssystems ab." -#: ../../library/os.rst:6388 +#: ../../library/os.rst:6374 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -9593,21 +9577,28 @@ msgstr "" "Flag :data:`GRND_NONBLOCK`) an zufällige Bytes kommen oder abfragen, bis der " "urandom-Entropiepool des Systems initialisiert ist." -#: ../../library/os.rst:6395 +#: ../../library/os.rst:6381 +msgid "" +"On other Unix-like systems, the C ``getrandom()`` function is used if it is " +"available, otherwise the C ``getentropy()`` function." +msgstr "" + +#: ../../library/os.rst:6384 +#, fuzzy msgid "" -"On a Unix-like system, random bytes are read from the ``/dev/urandom`` " -"device. If the ``/dev/urandom`` device is not available or not readable, " -"the :exc:`NotImplementedError` exception is raised." +"If none of these functions can be used, random bytes are read from the ``/" +"dev/urandom`` device. If the ``/dev/urandom`` device is not available or not " +"readable, the :exc:`NotImplementedError` exception is raised." msgstr "" "Auf einem Unix-ähnlichen System werden zufällige Bytes aus dem Gerät ``/dev/" "urandom`` gelesen. Ist das Gerät ``/dev/urandom`` nicht verfügbar oder nicht " "lesbar, wird die Ausnahme :exc:`NotImplementedError` ausgelöst." -#: ../../library/os.rst:6399 +#: ../../library/os.rst:6388 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "Unter Windows wird ``BCryptGenRandom()`` verwendet." -#: ../../library/os.rst:6402 +#: ../../library/os.rst:6391 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " @@ -9617,7 +9608,7 @@ msgstr "" "verwendende Schnittstelle zum Zufallszahlengenerator deiner Plattform " "findest du in :class:`random.SystemRandom`." -#: ../../library/os.rst:6406 +#: ../../library/os.rst:6395 msgid "" "On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when " "available. On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now " @@ -9628,7 +9619,7 @@ msgstr "" "Funktion ``getentropy()`` verwendet. Diese Funktionen vermeiden die " "Verwendung eines internen Dateideskriptors." -#: ../../library/os.rst:6412 +#: ../../library/os.rst:6401 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." @@ -9637,7 +9628,7 @@ msgstr "" "Entropiepool ist noch nicht initialisiert), wird ersatzweise aus ``/dev/" "urandom`` gelesen." -#: ../../library/os.rst:6416 +#: ../../library/os.rst:6405 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." @@ -9645,7 +9636,7 @@ msgstr "" "Unter Linux wird ``getrandom()`` nun im blockierenden Modus verwendet, um " "die Sicherheit zu erhöhen." -#: ../../library/os.rst:6420 +#: ../../library/os.rst:6409 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." @@ -9653,7 +9644,7 @@ msgstr "" "Unter Windows wird ``BCryptGenRandom()`` statt des veralteten " "``CryptGenRandom()`` verwendet." -#: ../../library/os.rst:6426 +#: ../../library/os.rst:6415 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " @@ -9663,7 +9654,7 @@ msgstr "" "wenn keine zufälligen Bytes verfügbar sind, und beim Lesen aus ``/dev/" "urandom``, wenn der Entropiepool noch nicht initialisiert ist." -#: ../../library/os.rst:6430 +#: ../../library/os.rst:6419 msgid "" "If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not " "block in these cases, but instead immediately raises :exc:`BlockingIOError`." @@ -9671,7 +9662,7 @@ msgstr "" "Ist das Flag :py:data:`GRND_NONBLOCK` gesetzt, blockiert :func:`getrandom` " "in diesen Fällen nicht, sondern löst sofort :exc:`BlockingIOError` aus." -#: ../../library/os.rst:6437 +#: ../../library/os.rst:6426 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." @@ -9689,7 +9680,7 @@ msgstr "effektive ID" #: ../../library/os.rst:404 ../../library/os.rst:470 ../../library/os.rst:479 #: ../../library/os.rst:488 ../../library/os.rst:502 ../../library/os.rst:700 -#: ../../library/os.rst:5191 ../../library/os.rst:5217 +#: ../../library/os.rst:5177 ../../library/os.rst:5203 msgid "process" msgstr "Prozess" @@ -9742,8 +9733,8 @@ msgid "pty" msgstr "pty" #: ../../library/os.rst:2171 ../../library/os.rst:2594 -#: ../../library/os.rst:2813 ../../library/os.rst:4221 -#: ../../library/os.rst:4321 +#: ../../library/os.rst:2813 ../../library/os.rst:4207 +#: ../../library/os.rst:4307 msgid "directory" msgstr "Verzeichnis" @@ -9767,56 +9758,69 @@ msgstr "und os.makedirs()" msgid "stat" msgstr "stat" -#: ../../library/os.rst:4221 ../../library/os.rst:4321 +#: ../../library/os.rst:4207 ../../library/os.rst:4307 msgid "walking" msgstr "durchlaufen" -#: ../../library/os.rst:4221 ../../library/os.rst:4321 +#: ../../library/os.rst:4207 ../../library/os.rst:4307 msgid "traversal" msgstr "Traversierung" -#: ../../library/os.rst:5191 ../../library/os.rst:5217 +#: ../../library/os.rst:5177 ../../library/os.rst:5203 msgid "killing" msgstr "abschießen" -#: ../../library/os.rst:5191 ../../library/os.rst:5217 +#: ../../library/os.rst:5177 ../../library/os.rst:5203 msgid "signalling" msgstr "Signale senden" -#: ../../library/os.rst:6264 ../../library/os.rst:6300 +#: ../../library/os.rst:6250 ../../library/os.rst:6286 msgid ". (dot)" msgstr ". (Punkt)" -#: ../../library/os.rst:6264 ../../library/os.rst:6272 -#: ../../library/os.rst:6280 ../../library/os.rst:6291 -#: ../../library/os.rst:6300 +#: ../../library/os.rst:6250 ../../library/os.rst:6258 +#: ../../library/os.rst:6266 ../../library/os.rst:6277 +#: ../../library/os.rst:6286 msgid "in pathnames" msgstr "in Pfadnamen" -#: ../../library/os.rst:6272 +#: ../../library/os.rst:6258 msgid ".." msgstr ".." -#: ../../library/os.rst:6280 ../../library/os.rst:6291 +#: ../../library/os.rst:6266 ../../library/os.rst:6277 msgid "/ (slash)" msgstr "/ (Schrägstrich)" -#: ../../library/os.rst:6281 +#: ../../library/os.rst:6267 msgid "\\ (backslash)" msgstr "\\ (Backslash)" -#: ../../library/os.rst:6281 +#: ../../library/os.rst:6267 msgid "in pathnames (Windows)" msgstr "in Pfadnamen (Windows)" -#: ../../library/os.rst:6307 +#: ../../library/os.rst:6293 msgid ": (colon)" msgstr ": (Doppelpunkt)" -#: ../../library/os.rst:6307 +#: ../../library/os.rst:6293 msgid "path separator (POSIX)" msgstr "Pfadtrenner (POSIX)" -#: ../../library/os.rst:6307 +#: ../../library/os.rst:6293 msgid "; (semicolon)" msgstr "; (Semikolon)" + +#~ msgid "On macOS systems, the following attributes may also be available:" +#~ msgstr "" +#~ "Auf macOS-Systemen können auch die folgenden Attribute verfügbar sein:" + +#~ msgid "Real size of the file." +#~ msgstr "Tatsächliche Größe der Datei." + +#~ msgid "Creator of the file." +#~ msgstr "Ersteller der Datei." + +#~ msgid "File type." +#~ msgstr "Dateityp." diff --git a/library/platform.po b/library/platform.po index e05ef0a1..fe5e5327 100644 --- a/library/platform.po +++ b/library/platform.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" "Language: de\n" @@ -442,7 +442,7 @@ msgstr "" #: ../../library/platform.rst:328 msgid "" -"``api_level`` - API level of the running device, as an integer (e.g. ``34`` " +"``api_level`` - Major component of the API level, as an integer (e.g. ``34`` " "for Android 14). To get the API level which Python was built against, " "see :func:`sys.getandroidapilevel`." msgstr "" diff --git a/library/plistlib.po b/library/plistlib.po index 3886be4c..3bca4c92 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -47,8 +47,8 @@ msgid "" "dictionary." msgstr "" "Das Dateiformat der Property List (``.plist``) ist eine einfache " -"Serialisierung, die grundlegende Objekttypen wie Dictionaries, Listen, Zahlen " -"und Zeichenketten unterstützt. Das Objekt der obersten Ebene ist " +"Serialisierung, die grundlegende Objekttypen wie Dictionaries, Listen, " +"Zahlen und Zeichenketten unterstützt. Das Objekt der obersten Ebene ist " "üblicherweise ein Dictionary oder ein eingefrorenes Dictionary." #: ../../library/plistlib.rst:23 @@ -222,8 +222,8 @@ msgid "" "iteration order of the dictionary." msgstr "" "Ist *sort_keys* wahr (die Voreinstellung), werden die Schlüssel von " -"Dictionaries in sortierter Reihenfolge in die plist geschrieben, sonst in der " -"Iterationsreihenfolge des Dictionarys." +"Dictionaries in sortierter Reihenfolge in die plist geschrieben, sonst in " +"der Iterationsreihenfolge des Dictionarys." #: ../../library/plistlib.rst:111 msgid "" diff --git a/library/profiling.sampling.po b/library/profiling.sampling.po index 604adfbc..2e7e229b 100644 --- a/library/profiling.sampling.po +++ b/library/profiling.sampling.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-09-22 21:21+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -2176,13 +2176,13 @@ msgstr "" msgid "Tachyon live mode showing all threads" msgstr "" -#: ../../library/profiling.sampling.rst:1329 +#: ../../library/profiling.sampling.rst:1332 msgid "" "Live mode displays real-time profiling statistics, showing combined data " "from multiple threads in a multi-threaded application." msgstr "" -#: ../../library/profiling.sampling.rst:1332 +#: ../../library/profiling.sampling.rst:1335 msgid "" "The display updates continuously as new samples arrive, showing the current " "hottest functions. This mode requires the :mod:`curses` module, which is " @@ -2191,7 +2191,7 @@ msgid "" "columns." msgstr "" -#: ../../library/profiling.sampling.rst:1337 +#: ../../library/profiling.sampling.rst:1340 msgid "" "The header displays the top 3 hottest functions, sampling efficiency " "metrics, and thread status statistics (GIL held percentage, CPU usage, GC " @@ -2199,7 +2199,7 @@ msgid "" "column indicated by an arrow (▼)." msgstr "" -#: ../../library/profiling.sampling.rst:1342 +#: ../../library/profiling.sampling.rst:1345 msgid "" "When :option:`--opcodes` is enabled, an additional opcode panel appears " "below the main table, showing instruction-level statistics for the currently " @@ -2208,68 +2208,68 @@ msgid "" "opcodes." msgstr "" -#: ../../library/profiling.sampling.rst:1349 +#: ../../library/profiling.sampling.rst:1352 msgid "Tachyon live mode with opcode panel" msgstr "" -#: ../../library/profiling.sampling.rst:1354 +#: ../../library/profiling.sampling.rst:1360 msgid "" "Live mode with ``--opcodes`` enabled shows an opcode panel with a bytecode " "instruction breakdown for the selected function." msgstr "" -#: ../../library/profiling.sampling.rst:1359 +#: ../../library/profiling.sampling.rst:1365 msgid "Keyboard commands" msgstr "" -#: ../../library/profiling.sampling.rst:1361 +#: ../../library/profiling.sampling.rst:1367 msgid "Within live mode, keyboard commands control the display:" msgstr "" -#: ../../library/profiling.sampling.rst:1363 +#: ../../library/profiling.sampling.rst:1369 msgid ":kbd:`q`" msgstr "" -#: ../../library/profiling.sampling.rst:1364 +#: ../../library/profiling.sampling.rst:1370 msgid "Quit the profiler and return to the shell." msgstr "" -#: ../../library/profiling.sampling.rst:1366 +#: ../../library/profiling.sampling.rst:1372 msgid ":kbd:`s` / :kbd:`S`" msgstr "" -#: ../../library/profiling.sampling.rst:1367 +#: ../../library/profiling.sampling.rst:1373 msgid "" "Cycle through sort orders forward/backward (sample count, percentage, total " "time, cumulative percentage, cumulative time)." msgstr "" -#: ../../library/profiling.sampling.rst:1370 +#: ../../library/profiling.sampling.rst:1376 msgid ":kbd:`p`" msgstr "" -#: ../../library/profiling.sampling.rst:1371 +#: ../../library/profiling.sampling.rst:1377 msgid "" "Pause or resume display updates. Sampling continues in the background while " "the display is paused, so you can freeze the view to examine results without " "stopping data collection." msgstr "" -#: ../../library/profiling.sampling.rst:1375 +#: ../../library/profiling.sampling.rst:1381 msgid ":kbd:`r`" msgstr "" -#: ../../library/profiling.sampling.rst:1376 +#: ../../library/profiling.sampling.rst:1382 msgid "" "Reset all statistics and start fresh. This is disabled after profiling " "finishes to prevent accidental data loss." msgstr "" -#: ../../library/profiling.sampling.rst:1379 +#: ../../library/profiling.sampling.rst:1385 msgid ":kbd:`/`" msgstr "" -#: ../../library/profiling.sampling.rst:1380 +#: ../../library/profiling.sampling.rst:1386 msgid "" "Enter filter mode to search for functions by name. The filter uses case-" "insensitive substring matching against the filename and function name. Type " @@ -2277,77 +2277,77 @@ msgid "" "regular expressions are not supported." msgstr "" -#: ../../library/profiling.sampling.rst:1385 +#: ../../library/profiling.sampling.rst:1391 msgid ":kbd:`c`" msgstr "" -#: ../../library/profiling.sampling.rst:1386 +#: ../../library/profiling.sampling.rst:1392 msgid "Clear the current filter and show all functions again." msgstr "" -#: ../../library/profiling.sampling.rst:1388 +#: ../../library/profiling.sampling.rst:1394 msgid ":kbd:`t`" msgstr "" -#: ../../library/profiling.sampling.rst:1389 +#: ../../library/profiling.sampling.rst:1395 msgid "" "Toggle between viewing all threads combined or per-thread statistics. In per-" "thread mode, a thread counter (for example, ``1/4``) appears showing your " "position among the available threads." msgstr "" -#: ../../library/profiling.sampling.rst:1393 +#: ../../library/profiling.sampling.rst:1399 msgid ":kbd:`←` :kbd:`→` or :kbd:`↑` :kbd:`↓`" msgstr "" -#: ../../library/profiling.sampling.rst:1394 +#: ../../library/profiling.sampling.rst:1400 msgid "" "In per-thread view, navigate between threads. Navigation wraps around from " "the last thread to the first and vice versa." msgstr "" -#: ../../library/profiling.sampling.rst:1397 +#: ../../library/profiling.sampling.rst:1403 msgid ":kbd:`+` / :kbd:`-`" msgstr "" -#: ../../library/profiling.sampling.rst:1398 +#: ../../library/profiling.sampling.rst:1404 msgid "" "Increase or decrease the display refresh rate. The range is 0.05 seconds (20 " "Hz, very responsive) to 1.0 second (1 Hz, lower overhead). Faster refresh " "rates use more CPU. The default is 0.1 seconds (10 Hz)." msgstr "" -#: ../../library/profiling.sampling.rst:1402 +#: ../../library/profiling.sampling.rst:1408 msgid ":kbd:`x`" msgstr "" -#: ../../library/profiling.sampling.rst:1403 +#: ../../library/profiling.sampling.rst:1409 msgid "" "Toggle trend indicators that show whether functions are becoming hotter or " "cooler over time. When enabled, increasing metrics appear in green and " "decreasing metrics appear in red, comparing each update to the previous one." msgstr "" -#: ../../library/profiling.sampling.rst:1407 +#: ../../library/profiling.sampling.rst:1413 msgid ":kbd:`h` or :kbd:`?`" msgstr "" -#: ../../library/profiling.sampling.rst:1408 +#: ../../library/profiling.sampling.rst:1414 msgid "Show the help screen with all available commands." msgstr "" -#: ../../library/profiling.sampling.rst:1410 +#: ../../library/profiling.sampling.rst:1416 msgid ":kbd:`j` / :kbd:`k` (or :kbd:`Up` / :kbd:`Down`)" msgstr "" -#: ../../library/profiling.sampling.rst:1411 +#: ../../library/profiling.sampling.rst:1417 msgid "" "Navigate through opcode entries in the opcode panel (when ``--opcodes`` is " "enabled). These keys scroll through the instruction-level statistics for the " "currently selected function." msgstr "" -#: ../../library/profiling.sampling.rst:1415 +#: ../../library/profiling.sampling.rst:1421 msgid "" "When profiling finishes (duration expires or target process exits), the " "display shows a \"PROFILING COMPLETE\" banner and freezes the final results. " @@ -2355,29 +2355,29 @@ msgid "" "pressing :kbd:`q` to exit." msgstr "" -#: ../../library/profiling.sampling.rst:1419 +#: ../../library/profiling.sampling.rst:1425 msgid "" "Live mode is incompatible with output format options (:option:`--" "collapsed`, :option:`--flamegraph`, and so on) because it uses an " "interactive terminal interface rather than producing file output." msgstr "" -#: ../../library/profiling.sampling.rst:1425 +#: ../../library/profiling.sampling.rst:1431 msgid "Async-aware profiling" msgstr "" -#: ../../library/profiling.sampling.rst:1427 +#: ../../library/profiling.sampling.rst:1433 msgid "" "For programs using :mod:`asyncio`, the profiler offers async-aware mode " "(:option:`--async-aware`) that reconstructs call stacks based on the task " "structure rather than the raw Python frames::" msgstr "" -#: ../../library/profiling.sampling.rst:1431 +#: ../../library/profiling.sampling.rst:1437 msgid "python -m profiling.sampling run --async-aware async_script.py" msgstr "" -#: ../../library/profiling.sampling.rst:1433 +#: ../../library/profiling.sampling.rst:1439 msgid "" "Standard profiling of async code can be confusing because the physical call " "stack often shows event loop internals rather than the logical flow of your " @@ -2385,7 +2385,7 @@ msgid "" "running and presenting stacks that reflect the ``await`` chain." msgstr "" -#: ../../library/profiling.sampling.rst:1438 +#: ../../library/profiling.sampling.rst:1444 msgid "" "import asyncio\n" "\n" @@ -2401,30 +2401,30 @@ msgid "" " asyncio.run(main())" msgstr "" -#: ../../library/profiling.sampling.rst:1455 +#: ../../library/profiling.sampling.rst:1461 msgid "" "python -m profiling.sampling run --async-aware --flamegraph -o out.html " "script.py" msgstr "" -#: ../../library/profiling.sampling.rst:1459 +#: ../../library/profiling.sampling.rst:1465 msgid "" "Async-aware profiling requires the target process to have the :mod:`asyncio` " "module loaded. If you profile a script before it imports asyncio, async-" "aware mode will not be able to capture task information." msgstr "" -#: ../../library/profiling.sampling.rst:1465 +#: ../../library/profiling.sampling.rst:1471 msgid "Async modes" msgstr "" -#: ../../library/profiling.sampling.rst:1467 +#: ../../library/profiling.sampling.rst:1473 msgid "" "The :option:`--async-mode` option controls which tasks appear in the " "profile::" msgstr "" -#: ../../library/profiling.sampling.rst:1469 +#: ../../library/profiling.sampling.rst:1475 msgid "" "python -m profiling.sampling run --async-aware --async-mode=running " "async_script.py\n" @@ -2432,14 +2432,14 @@ msgid "" "async_script.py" msgstr "" -#: ../../library/profiling.sampling.rst:1472 +#: ../../library/profiling.sampling.rst:1478 msgid "" "With :option:`--async-mode`\\ ``=running`` (the default), only the task " "currently executing on the CPU is profiled. This shows where your program is " "actively spending time and is the typical choice for performance analysis." msgstr "" -#: ../../library/profiling.sampling.rst:1476 +#: ../../library/profiling.sampling.rst:1482 msgid "" "With :option:`--async-mode`\\ ``=all``, tasks that are suspended (awaiting I/" "O, locks, or other tasks) are also included. This mode is useful for " @@ -2447,11 +2447,11 @@ msgid "" "since every suspended task appears in each sample." msgstr "" -#: ../../library/profiling.sampling.rst:1483 +#: ../../library/profiling.sampling.rst:1489 msgid "Task markers and stack reconstruction" msgstr "" -#: ../../library/profiling.sampling.rst:1485 +#: ../../library/profiling.sampling.rst:1491 msgid "" "In async-aware profiles, you will see ```` frames that mark boundaries " "between asyncio tasks. These are synthetic frames inserted by the profiler " @@ -2459,7 +2459,7 @@ msgid "" "these frames." msgstr "" -#: ../../library/profiling.sampling.rst:1490 +#: ../../library/profiling.sampling.rst:1496 msgid "" "When a task awaits another task, the profiler reconstructs the logical call " "chain by following the ``await`` relationships. Only \"leaf\" tasks (tasks " @@ -2468,7 +2468,7 @@ msgid "" "instead." msgstr "" -#: ../../library/profiling.sampling.rst:1495 +#: ../../library/profiling.sampling.rst:1501 msgid "" "If a task has multiple awaiters (a diamond pattern in the task graph), the " "profiler deterministically selects one parent and annotates the task marker " @@ -2477,117 +2477,117 @@ msgid "" "particular stack." msgstr "" -#: ../../library/profiling.sampling.rst:1502 +#: ../../library/profiling.sampling.rst:1508 msgid "Option restrictions" msgstr "" -#: ../../library/profiling.sampling.rst:1504 +#: ../../library/profiling.sampling.rst:1510 msgid "" "Async-aware mode uses a different stack reconstruction mechanism and is " "incompatible with: :option:`--native`, :option:`--no-gc`, :option:`--all-" "threads`, and :option:`--mode`\\ ``=cpu`` or :option:`--mode`\\ ``=gil``." msgstr "" -#: ../../library/profiling.sampling.rst:1510 +#: ../../library/profiling.sampling.rst:1516 msgid "Command-line interface" msgstr "" -#: ../../library/profiling.sampling.rst:1514 +#: ../../library/profiling.sampling.rst:1520 msgid "The complete command-line interface for reference." msgstr "" -#: ../../library/profiling.sampling.rst:1518 +#: ../../library/profiling.sampling.rst:1524 msgid "Global options" msgstr "" -#: ../../library/profiling.sampling.rst:1522 +#: ../../library/profiling.sampling.rst:1528 msgid "Run and profile a Python script or module." msgstr "" -#: ../../library/profiling.sampling.rst:1526 +#: ../../library/profiling.sampling.rst:1532 msgid "Attach to and profile a running process by PID." msgstr "" -#: ../../library/profiling.sampling.rst:1530 +#: ../../library/profiling.sampling.rst:1536 msgid "Print a single one-shot snapshot of a running process's Python stack." msgstr "" -#: ../../library/profiling.sampling.rst:1534 +#: ../../library/profiling.sampling.rst:1540 msgid "Convert a binary profile file to another output format." msgstr "" -#: ../../library/profiling.sampling.rst:1538 +#: ../../library/profiling.sampling.rst:1544 msgid "Dump options" msgstr "" -#: ../../library/profiling.sampling.rst:1540 +#: ../../library/profiling.sampling.rst:1546 msgid "The following options apply to the ``dump`` subcommand:" msgstr "" -#: ../../library/profiling.sampling.rst:1544 +#: ../../library/profiling.sampling.rst:1550 msgid "Dump all threads in the target process instead of just the main thread." msgstr "" -#: ../../library/profiling.sampling.rst:1548 -#: ../../library/profiling.sampling.rst:1595 +#: ../../library/profiling.sampling.rst:1554 +#: ../../library/profiling.sampling.rst:1601 msgid "Include ```` frames for non-Python code." msgstr "" -#: ../../library/profiling.sampling.rst:1552 +#: ../../library/profiling.sampling.rst:1558 msgid "Exclude ```` frames for active garbage collection." msgstr "" -#: ../../library/profiling.sampling.rst:1556 +#: ../../library/profiling.sampling.rst:1562 msgid "Show bytecode opcode names when available." msgstr "" -#: ../../library/profiling.sampling.rst:1560 +#: ../../library/profiling.sampling.rst:1566 msgid "" "Reconstruct the stack across ``await`` boundaries for asyncio applications." msgstr "" -#: ../../library/profiling.sampling.rst:1565 +#: ../../library/profiling.sampling.rst:1571 msgid "" "Async stack mode: ``running`` (only the running task) or ``all`` (all tasks " "including waiting). Defaults to ``all`` for ``dump``. Requires :option:`--" "async-aware`." msgstr "" -#: ../../library/profiling.sampling.rst:1571 +#: ../../library/profiling.sampling.rst:1577 msgid "Pause all threads in the target process while reading the stack." msgstr "" -#: ../../library/profiling.sampling.rst:1575 +#: ../../library/profiling.sampling.rst:1581 msgid "Sampling options" msgstr "" -#: ../../library/profiling.sampling.rst:1579 +#: ../../library/profiling.sampling.rst:1585 msgid "" "Sampling rate (for example, ``10000``, ``10khz``, ``10k``). Default: " "``1khz``." msgstr "" -#: ../../library/profiling.sampling.rst:1583 +#: ../../library/profiling.sampling.rst:1589 msgid "Profiling duration in seconds. Default: run to completion." msgstr "" -#: ../../library/profiling.sampling.rst:1587 +#: ../../library/profiling.sampling.rst:1593 msgid "Sample all threads, not just the main thread." msgstr "" -#: ../../library/profiling.sampling.rst:1591 +#: ../../library/profiling.sampling.rst:1597 msgid "Display sampling statistics during profiling." msgstr "" -#: ../../library/profiling.sampling.rst:1599 +#: ../../library/profiling.sampling.rst:1605 msgid "Exclude ```` frames for garbage collection." msgstr "" -#: ../../library/profiling.sampling.rst:1603 +#: ../../library/profiling.sampling.rst:1609 msgid "Enable async-aware profiling for asyncio programs." msgstr "" -#: ../../library/profiling.sampling.rst:1607 +#: ../../library/profiling.sampling.rst:1613 msgid "" "Gather bytecode opcode information for instruction-level profiling. Shows " "which bytecode instructions are executing, including specializations. " @@ -2595,80 +2595,80 @@ msgid "" "formats only." msgstr "" -#: ../../library/profiling.sampling.rst:1614 +#: ../../library/profiling.sampling.rst:1620 msgid "" "Also profile subprocesses. Each subprocess gets its own profiler instance " "and output file. Incompatible with ``--live``." msgstr "" -#: ../../library/profiling.sampling.rst:1619 +#: ../../library/profiling.sampling.rst:1625 msgid "" "Pause the target process during each sample. This ensures consistent stack " "traces at the cost of slowing down the target. Use with longer intervals " "(1000 µs or higher) to minimize impact. See :ref:`blocking-mode` for details." msgstr "" -#: ../../library/profiling.sampling.rst:1626 +#: ../../library/profiling.sampling.rst:1632 msgid "Mode options" msgstr "" -#: ../../library/profiling.sampling.rst:1630 +#: ../../library/profiling.sampling.rst:1636 msgid "" "Sampling mode: ``wall`` (default), ``cpu``, ``gil``, or ``exception``. The " "``cpu``, ``gil``, and ``exception`` modes are incompatible with ``--async-" "aware``." msgstr "" -#: ../../library/profiling.sampling.rst:1636 +#: ../../library/profiling.sampling.rst:1642 msgid "" "Async profiling mode: ``running`` (default) or ``all``. Requires ``--async-" "aware``." msgstr "" -#: ../../library/profiling.sampling.rst:1641 +#: ../../library/profiling.sampling.rst:1647 msgid "Output options" msgstr "" -#: ../../library/profiling.sampling.rst:1645 +#: ../../library/profiling.sampling.rst:1651 msgid "" "Generate pstats statistics. This is the default. When written to stdout, the " "output is a text table; with :option:`-o`, it is a binary pstats file." msgstr "" -#: ../../library/profiling.sampling.rst:1651 +#: ../../library/profiling.sampling.rst:1657 msgid "Generate collapsed stack format for external flame graph tools." msgstr "" -#: ../../library/profiling.sampling.rst:1655 +#: ../../library/profiling.sampling.rst:1661 msgid "Generate self-contained HTML flame graph." msgstr "" -#: ../../library/profiling.sampling.rst:1659 +#: ../../library/profiling.sampling.rst:1665 msgid "" "Generate differential flamegraph comparing to a baseline binary profile." msgstr "" -#: ../../library/profiling.sampling.rst:1663 +#: ../../library/profiling.sampling.rst:1669 msgid "Generate Gecko JSON format for Firefox Profiler." msgstr "" -#: ../../library/profiling.sampling.rst:1667 +#: ../../library/profiling.sampling.rst:1673 msgid "Generate HTML heatmap with line-level sample counts." msgstr "" -#: ../../library/profiling.sampling.rst:1671 +#: ../../library/profiling.sampling.rst:1677 msgid "" "Generate high-performance binary format for later conversion with the " "``replay`` command." msgstr "" -#: ../../library/profiling.sampling.rst:1676 +#: ../../library/profiling.sampling.rst:1682 msgid "" "Compression for binary format: ``auto`` (use zstd if available, default), " "``zstd``, or ``none``." msgstr "" -#: ../../library/profiling.sampling.rst:1681 +#: ../../library/profiling.sampling.rst:1687 msgid "" "Output file or directory path. Default behavior varies by format: :option:`--" "pstats` prints a text table to stdout, while ``-o`` writes a binary pstats " @@ -2677,7 +2677,7 @@ msgid "" "named ``heatmap_``." msgstr "" -#: ../../library/profiling.sampling.rst:1689 +#: ../../library/profiling.sampling.rst:1695 msgid "" "Automatically open HTML output (:option:`--flamegraph` and :option:`--" "heatmap`) in your default web browser after generation. When profiling " @@ -2685,79 +2685,79 @@ msgid "" "subprocess outputs are never auto-opened." msgstr "" -#: ../../library/profiling.sampling.rst:1696 +#: ../../library/profiling.sampling.rst:1702 msgid "pstats display options" msgstr "" -#: ../../library/profiling.sampling.rst:1698 +#: ../../library/profiling.sampling.rst:1704 msgid "These options apply only to pstats format output." msgstr "" -#: ../../library/profiling.sampling.rst:1702 +#: ../../library/profiling.sampling.rst:1708 msgid "" "Sort order: ``nsamples``, ``tottime``, ``cumtime``, ``sample-pct``, ``cumul-" "pct``, ``nsamples-cumul``, or ``name``. Default: ``nsamples``." msgstr "" -#: ../../library/profiling.sampling.rst:1707 +#: ../../library/profiling.sampling.rst:1713 msgid "Maximum number of entries to display. Default: 15." msgstr "" -#: ../../library/profiling.sampling.rst:1711 +#: ../../library/profiling.sampling.rst:1717 msgid "" "Omit the Legend and Summary of Interesting Functions sections from output." msgstr "" -#: ../../library/profiling.sampling.rst:1715 +#: ../../library/profiling.sampling.rst:1721 msgid "Run command options" msgstr "" -#: ../../library/profiling.sampling.rst:1719 +#: ../../library/profiling.sampling.rst:1725 msgid "Treat the target as a module name rather than a script path." msgstr "" -#: ../../library/profiling.sampling.rst:1723 +#: ../../library/profiling.sampling.rst:1729 msgid "Start interactive terminal interface instead of batch profiling." msgstr "" -#: ../../library/profiling.sampling.rst:1728 +#: ../../library/profiling.sampling.rst:1734 msgid ":mod:`profiling`" msgstr "" -#: ../../library/profiling.sampling.rst:1729 +#: ../../library/profiling.sampling.rst:1735 msgid "Overview of Python profiling tools and guidance on choosing a profiler." msgstr "" -#: ../../library/profiling.sampling.rst:1731 +#: ../../library/profiling.sampling.rst:1737 msgid ":mod:`profiling.tracing`" msgstr "" -#: ../../library/profiling.sampling.rst:1732 +#: ../../library/profiling.sampling.rst:1738 msgid "Deterministic tracing profiler for exact call counts and timing." msgstr "" -#: ../../library/profiling.sampling.rst:1734 +#: ../../library/profiling.sampling.rst:1740 msgid ":mod:`pstats`" msgstr "" -#: ../../library/profiling.sampling.rst:1735 +#: ../../library/profiling.sampling.rst:1741 msgid "Statistics analysis for profile data." msgstr "" -#: ../../library/profiling.sampling.rst:1737 +#: ../../library/profiling.sampling.rst:1743 msgid "`Firefox Profiler `__" msgstr "" -#: ../../library/profiling.sampling.rst:1738 +#: ../../library/profiling.sampling.rst:1744 msgid "" "Web-based profiler that accepts Gecko format output. See the `documentation " "`__ for usage details." msgstr "" -#: ../../library/profiling.sampling.rst:1741 +#: ../../library/profiling.sampling.rst:1747 msgid "`FlameGraph `__" msgstr "" -#: ../../library/profiling.sampling.rst:1742 +#: ../../library/profiling.sampling.rst:1748 msgid "Tools for generating flame graphs from collapsed stack format." msgstr "" diff --git a/library/pyclbr.po b/library/pyclbr.po index f6faf946..dbfad49e 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -83,8 +83,8 @@ msgid "" "read is a package, the returned dictionary has a key ``'__path__'`` whose " "value is a list containing the package search path." msgstr "" -"Gibt einen auf Dictionaries beruhenden Baum zurück, der für jede Funktion und " -"jede Klasse, die im Modul mit einer ``def``- oder ``class``-Anweisung " +"Gibt einen auf Dictionaries beruhenden Baum zurück, der für jede Funktion " +"und jede Klasse, die im Modul mit einer ``def``- oder ``class``-Anweisung " "definiert ist, einen Funktions- oder Klassendeskriptor enthält. Das " "zurückgegebene Dictionary bildet Funktions- und Klassennamen auf Modulebene " "auf ihre Deskriptoren ab. Verschachtelte Objekte werden in das ``children``-" diff --git a/library/pyexpat.po b/library/pyexpat.po index 130553c2..23cf47a1 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -625,7 +625,7 @@ msgid "" "list declaration declares three attributes, this handler is called three " "times, once for each attribute. *elname* is the name of the element to " "which the declaration applies and *attname* is the name of the attribute " -"declared. The The attribute type is a string passed as *type*: ``'CDATA'``, " +"declared. The attribute type is a string passed as *type*: ``'CDATA'``, " "``'ID'``, ``'IDREF'``, ``'IDREFS'``, ``'ENTITY'``, ``'ENTITIES'``, " "``'NMTOKEN'`` or ``'NMTOKENS'``, an enumeration like ``'(x|y)'``, or a " "notation list like ``'NOTATION(n1|n2)'``. *default* gives the default value " diff --git a/library/ssl.po b/library/ssl.po index 42a71677..2bed3f67 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -2928,11 +2928,12 @@ msgstr "" "Betriebssystems bereitgestellt, ist sie wahrscheinlich richtig konfiguriert." #: ../../library/ssl.rst:1732 +#, fuzzy msgid "" "Set the allowed ciphers for sockets created with this context when " "connecting using TLS 1.2 and earlier. The *ciphers* argument should be a " "string in the `OpenSSL cipher list format `_. To set allowed TLS 1.3 ciphers, " +"man1/openssl-ciphers/#cipher-list-format>`_. To set allowed TLS 1.3 ciphers, " "use :meth:`SSLContext.set_ciphersuites`." msgstr "" "Legt die erlaubten Chiffren für Sockets fest, die mit diesem Kontext " diff --git a/library/statistics.po b/library/statistics.po index b6200167..167b1f11 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -73,9 +73,9 @@ msgid "" "\n" ">>> data = [20.7, float('NaN'),19.2, 18.3, float('NaN'), 14.4]\n" ">>> sorted(data) # This has surprising behavior\n" -"[20.7, nan, 14.4, 18.3, 19.2, nan]\n" +"[18.3, nan, 14.4, 20.7, nan, 19.2]\n" ">>> median(data) # This result is unexpected\n" -"16.35\n" +"17.55\n" "\n" ">>> sum(map(isnan, data)) # Number of missing values\n" "2\n" diff --git a/library/subprocess.po b/library/subprocess.po index 6d4558b1..8ac42e20 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -1656,7 +1656,7 @@ msgid "" "... \"ls non_existent_file; exit 0\",\n" "... stderr=subprocess.STDOUT,\n" "... shell=True)\n" -"'ls: non_existent_file: No such file or directory\\n'" +"b'ls: non_existent_file: No such file or directory\\n'" msgstr "" #: ../../library/subprocess.rst:1336 diff --git a/library/sys.po b/library/sys.po index 1236f034..80566f0e 100644 --- a/library/sys.po +++ b/library/sys.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -122,9 +122,9 @@ msgstr "" #: ../../library/sys.rst:70 ../../library/sys.rst:343 ../../library/sys.rst:413 #: ../../library/sys.rst:843 ../../library/sys.rst:861 #: ../../library/sys.rst:1137 ../../library/sys.rst:1793 -#: ../../library/sys.rst:2091 ../../library/sys.rst:2106 -#: ../../library/sys.rst:2114 ../../library/sys.rst:2155 -#: ../../library/sys.rst:2172 ../../library/sys.rst:2425 +#: ../../library/sys.rst:2100 ../../library/sys.rst:2115 +#: ../../library/sys.rst:2123 ../../library/sys.rst:2164 +#: ../../library/sys.rst:2181 ../../library/sys.rst:2434 msgid "Availability" msgstr "Verfügbarkeit" @@ -1498,10 +1498,11 @@ msgid "Return the number of unicode objects that have been interned." msgstr "Gibt die Anzahl der Unicode-Objekte zurück, die internalisiert wurden." #: ../../library/sys.rst:839 +#, fuzzy msgid "" -"Return the build-time API level of Android as an integer. This represents " -"the minimum version of Android this build of Python can run on. For runtime " -"version information, see :func:`platform.android_ver`." +"Return the major component of the Android API level that Python was built " +"against, as an integer. For runtime version information, " +"see :func:`platform.android_ver`." msgstr "" "Gibt die Build-Zeit-API-Stufe von Android als ganze Zahl zurück. Sie stellt " "die Mindestversion von Android dar, auf der dieser Build von Python laufen " @@ -1628,19 +1629,19 @@ msgstr "" #: ../../library/sys.rst:927 ../../library/sys.rst:1809 msgid "" -"``\"normal\"``: Only imports explicitly marked with the ``lazy`` keyword are " -"lazy" +"``\"normal\"``: Respect :keyword:`lazy` and :attr:`module.__lazy_modules__`. " +"This is the default mode." msgstr "" -"``\"normal\"``: Nur Importe, die ausdrücklich mit dem Schlüsselwort ``lazy`` " -"markiert sind, sind verzögert" -#: ../../library/sys.rst:929 -msgid "``\"all\"``: All top-level imports are potentially lazy" +#: ../../library/sys.rst:929 ../../library/sys.rst:1811 +#, fuzzy +msgid "``\"all\"``: Make all eligible module-scope imports potentially lazy." msgstr "" "``\"all\"``: Alle Importe der obersten Ebene sind möglicherweise verzögert" #: ../../library/sys.rst:931 ../../library/sys.rst:1515 -msgid "See also :func:`set_lazy_imports` and :pep:`810`." +#, fuzzy +msgid "See also :func:`set_lazy_imports` and :ref:`lazy-imports`." msgstr "Siehe auch :func:`set_lazy_imports` und :pep:`810`." #: ../../library/sys.rst:938 @@ -2023,7 +2024,7 @@ msgstr "" msgid "See :pep:`525` for more details." msgstr "Weitere Einzelheiten siehe :pep:`525`." -#: ../../library/sys.rst:1160 ../../library/sys.rst:2060 +#: ../../library/sys.rst:1160 ../../library/sys.rst:2069 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" @@ -2038,7 +2039,7 @@ msgstr "" "Gibt die aktuelle Tiefe der Ursprungsverfolgung von Coroutinen zurück, wie " "sie :func:`set_coroutine_origin_tracking_depth` gesetzt hat." -#: ../../library/sys.rst:1172 ../../library/sys.rst:2081 +#: ../../library/sys.rst:1172 ../../library/sys.rst:2090 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." @@ -3136,19 +3137,22 @@ msgstr "" "auch :func:`get_int_max_str_digits`." #: ../../library/sys.rst:1806 +#, fuzzy msgid "" -"Sets the global lazy imports mode. The *mode* parameter must be one of the " -"following strings:" +"Set the lazy import mode for the current interpreter. The *mode* parameter " +"must be one of these strings:" msgstr "" "Setzt den globalen Modus für verzögerte Importe. Der Parameter *mode* muss " "eine der folgenden Zeichenketten sein:" -#: ../../library/sys.rst:1811 -msgid "``\"all\"``: All top-level imports become potentially lazy" +#: ../../library/sys.rst:1813 +msgid "" +"The :ref:`lazy import restrictions ` also apply in ``\"all\"`` " +"mode. A mode change applies to subsequent import statements. It does not " +"resolve lazy import proxies from earlier statements." msgstr "" -"``\"all\"``: Alle Importe der obersten Ebene werden möglicherweise verzögert" -#: ../../library/sys.rst:1813 +#: ../../library/sys.rst:1817 msgid "" "This function is intended for advanced users who need to control lazy " "imports across their entire application. Library developers should generally " @@ -3159,7 +3163,7 @@ msgstr "" "sollten diese Funktion im Allgemeinen nicht verwenden, da sie die Ausführung " "von Anwendungen zur Laufzeit beeinflusst." -#: ../../library/sys.rst:1818 +#: ../../library/sys.rst:1822 msgid "" "In addition to the mode, lazy imports can be controlled via the filter " "provided by :func:`set_lazy_imports_filter`." @@ -3167,11 +3171,12 @@ msgstr "" "Zusätzlich zum Modus lassen sich verzögerte Importe über den Filter steuern, " "den :func:`set_lazy_imports_filter` bereitstellt." -#: ../../library/sys.rst:1821 -msgid "See also :func:`get_lazy_imports` and :pep:`810`." +#: ../../library/sys.rst:1825 +#, fuzzy +msgid "See also :func:`get_lazy_imports` and :ref:`lazy-imports`." msgstr "Siehe auch :func:`get_lazy_imports` und :pep:`810`." -#: ../../library/sys.rst:1828 +#: ../../library/sys.rst:1832 msgid "" "Sets the lazy imports filter callback. The *filter* parameter must be a " "callable or ``None`` to clear the filter." @@ -3179,7 +3184,7 @@ msgstr "" "Setzt den Callback für den Filter verzögerter Importe. Der Parameter " "*filter* muss ein Callable oder ``None`` sein, um den Filter zu löschen." -#: ../../library/sys.rst:1831 +#: ../../library/sys.rst:1835 msgid "" "The filter function is called for every potentially lazy import to determine " "whether it should actually be lazy. It should have the following signature::" @@ -3188,23 +3193,27 @@ msgstr "" "aufgerufen, um zu bestimmen, ob er tatsächlich verzögert sein soll. Sie " "sollte die folgende Signatur haben::" -#: ../../library/sys.rst:1835 +#: ../../library/sys.rst:1839 +#, fuzzy msgid "" -"def filter(importing_module: str, imported_module: str,\n" +"def filter(importing_module: str | None, imported_module: str,\n" " fromlist: tuple[str, ...] | None) -> bool" msgstr "" "def filter(importing_module: str, imported_module: str,\n" " fromlist: tuple[str, ...] | None) -> bool" -#: ../../library/sys.rst:1838 +#: ../../library/sys.rst:1842 msgid "The function is called with three positional arguments:" msgstr "Die Funktion wird mit drei Positionsargumenten aufgerufen:" -#: ../../library/sys.rst:1840 -msgid "*importing_module* is the name of the module doing the import" +#: ../../library/sys.rst:1844 +#, fuzzy +msgid "" +"*importing_module* is the name of the module that executes the import, or " +"``None`` if its globals do not contain ``__name__``" msgstr "*importing_module* ist der Name des Moduls, das den Import durchführt" -#: ../../library/sys.rst:1841 +#: ../../library/sys.rst:1846 msgid "" "*imported_module* is the resolved name of the module being imported (for " "example, ``lazy from .spam import eggs`` passes ``package.spam``)" @@ -3212,7 +3221,7 @@ msgstr "" "*imported_module* ist der aufgelöste Name des zu importierenden Moduls (zum " "Beispiel übergibt ``lazy from .spam import eggs`` ``package.spam``)" -#: ../../library/sys.rst:1844 +#: ../../library/sys.rst:1849 msgid "" "*fromlist* is the tuple of names being imported (for ``from ... import`` " "statements), or ``None`` for regular imports" @@ -3220,7 +3229,7 @@ msgstr "" "*fromlist* ist das Tupel der importierten Namen (bei ``from ... import``-" "Anweisungen) oder ``None`` bei regulären Importen" -#: ../../library/sys.rst:1847 +#: ../../library/sys.rst:1852 msgid "" "The filter should return ``True`` to allow the import to be lazy, or " "``False`` to force an eager import." @@ -3228,7 +3237,14 @@ msgstr "" "Der Filter sollte ``True`` zurückgeben, um den verzögerten Import zu " "erlauben, oder ``False``, um einen sofortigen Import zu erzwingen." -#: ../../library/sys.rst:1850 +#: ../../library/sys.rst:1855 +msgid "" +"The filter runs when the import statement executes, before proxy creation. " +"If the filter raises an exception, the exception propagates from that " +"statement. The filter cannot make an otherwise eager import lazy." +msgstr "" + +#: ../../library/sys.rst:1859 msgid "" "This is an advanced feature intended for specialized users who need fine-" "grained control over lazy import behavior." @@ -3236,11 +3252,12 @@ msgstr "" "Das ist eine fortgeschrittene Funktion für spezialisierte Benutzer, die eine " "feinkörnige Kontrolle über das Verhalten verzögerter Importe brauchen." -#: ../../library/sys.rst:1853 -msgid "See also :func:`get_lazy_imports_filter` and :pep:`810`." +#: ../../library/sys.rst:1862 +#, fuzzy +msgid "See also :func:`get_lazy_imports_filter` and :ref:`lazy-imports`." msgstr "Siehe auch :func:`get_lazy_imports_filter` und :pep:`810`." -#: ../../library/sys.rst:1864 +#: ../../library/sys.rst:1873 msgid "" "Set the system's profile function, which allows you to implement a Python " "source code profiler in Python. See chapter :ref:`profile` for more " @@ -3268,7 +3285,7 @@ msgstr "" "Ein Fehler in der Profilfunktion führt dazu, dass sie sich selbst " "zurücksetzt." -#: ../../library/sys.rst:1876 +#: ../../library/sys.rst:1885 msgid "" "The same tracing mechanism is used for :func:`!setprofile` " "as :func:`settrace`. To trace calls with :func:`!setprofile` inside a " @@ -3279,7 +3296,7 @@ msgstr "" "Trace-Funktion zu verfolgen (z. B. an einem Debugger-Haltepunkt), " "siehe :func:`call_tracing`." -#: ../../library/sys.rst:1880 +#: ../../library/sys.rst:1889 msgid "" "Profile functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -3291,15 +3308,15 @@ msgstr "" "``'call'``, ``'return'``, ``'c_call'``, ``'c_return'`` oder " "``'c_exception'``. *arg* hängt vom Ereignistyp ab." -#: ../../library/sys.rst:1885 ../../library/sys.rst:1972 +#: ../../library/sys.rst:1894 ../../library/sys.rst:1981 msgid "The events have the following meaning:" msgstr "Die Ereignisse haben die folgende Bedeutung:" -#: ../../library/sys.rst:1887 ../../library/sys.rst:1974 +#: ../../library/sys.rst:1896 ../../library/sys.rst:1983 msgid "``'call'``" msgstr "``'call'``" -#: ../../library/sys.rst:1888 +#: ../../library/sys.rst:1897 msgid "" "A function is called (or some other code block entered). The profile " "function is called; *arg* is ``None``." @@ -3307,11 +3324,11 @@ msgstr "" "Eine Funktion wird aufgerufen (oder ein anderer Codeblock betreten). Die " "Profilfunktion wird aufgerufen, *arg* ist ``None``." -#: ../../library/sys.rst:1891 ../../library/sys.rst:1989 +#: ../../library/sys.rst:1900 ../../library/sys.rst:1998 msgid "``'return'``" msgstr "``'return'``" -#: ../../library/sys.rst:1892 +#: ../../library/sys.rst:1901 msgid "" "A function (or other code block) is about to return. The profile function " "is called; *arg* is the value that will be returned, or ``None`` if the " @@ -3322,11 +3339,11 @@ msgstr "" "oder ``None``, wenn das Ereignis durch eine ausgelöste Ausnahme verursacht " "wird." -#: ../../library/sys.rst:1896 +#: ../../library/sys.rst:1905 msgid "``'c_call'``" msgstr "``'c_call'``" -#: ../../library/sys.rst:1897 +#: ../../library/sys.rst:1906 msgid "" "A C function is about to be called. This may be an extension function or a " "built-in. *arg* is the C function object." @@ -3334,24 +3351,24 @@ msgstr "" "Eine C-Funktion wird gleich aufgerufen. Das kann eine Erweiterungsfunktion " "oder eine integrierte Funktion sein. *arg* ist das C-Funktionsobjekt." -#: ../../library/sys.rst:1900 +#: ../../library/sys.rst:1909 msgid "``'c_return'``" msgstr "``'c_return'``" -#: ../../library/sys.rst:1901 +#: ../../library/sys.rst:1910 msgid "A C function has returned. *arg* is the C function object." msgstr "Eine C-Funktion ist zurückgekehrt. *arg* ist das C-Funktionsobjekt." -#: ../../library/sys.rst:1903 +#: ../../library/sys.rst:1912 msgid "``'c_exception'``" msgstr "``'c_exception'``" -#: ../../library/sys.rst:1904 +#: ../../library/sys.rst:1913 msgid "A C function has raised an exception. *arg* is the C function object." msgstr "" "Eine C-Funktion hat eine Ausnahme ausgelöst. *arg* ist das C-Funktionsobjekt." -#: ../../library/sys.rst:1906 +#: ../../library/sys.rst:1915 msgid "" "Raises an :ref:`auditing event ` ``sys.setprofile`` with no " "arguments." @@ -3359,7 +3376,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``sys.setprofile`` ohne " "Argumente aus." -#: ../../library/sys.rst:1911 +#: ../../library/sys.rst:1920 msgid "" "Set the maximum depth of the Python interpreter stack to *limit*. This " "limit prevents infinite recursion from causing an overflow of the C stack " @@ -3369,7 +3386,7 @@ msgstr "" "Dieses Limit verhindert, dass unendliche Rekursion einen Überlauf des C-" "Stacks verursacht und Python zum Absturz bringt." -#: ../../library/sys.rst:1915 +#: ../../library/sys.rst:1924 msgid "" "The highest possible limit is platform-dependent. A user may need to set " "the limit higher when they have a program that requires deep recursion and a " @@ -3382,7 +3399,7 @@ msgstr "" "Das sollte mit Vorsicht geschehen, da ein zu hohes Limit zu einem Absturz " "führen kann." -#: ../../library/sys.rst:1920 +#: ../../library/sys.rst:1929 msgid "" "If the new limit is too low at the current recursion depth, " "a :exc:`RecursionError` exception is raised." @@ -3390,7 +3407,7 @@ msgstr "" "Ist das neue Limit bei der aktuellen Rekursionstiefe zu niedrig, wird " "eine :exc:`RecursionError`-Ausnahme ausgelöst." -#: ../../library/sys.rst:1923 +#: ../../library/sys.rst:1932 msgid "" "A :exc:`RecursionError` exception is now raised if the new limit is too low " "at the current recursion depth." @@ -3398,7 +3415,7 @@ msgstr "" "Eine :exc:`RecursionError`-Ausnahme wird jetzt ausgelöst, wenn das neue " "Limit bei der aktuellen Rekursionstiefe zu niedrig ist." -#: ../../library/sys.rst:1930 +#: ../../library/sys.rst:1939 msgid "" "Set the interpreter's thread switch interval (in seconds). This floating-" "point value determines the ideal duration of the \"timeslices\" allocated to " @@ -3416,7 +3433,7 @@ msgstr "" "Betriebssystem, welcher Thread am Ende des Intervalls eingeplant wird. Der " "Interpreter hat keinen eigenen Scheduler." -#: ../../library/sys.rst:1947 +#: ../../library/sys.rst:1956 msgid "" "Set the system's trace function, which allows you to implement a Python " "source code debugger in Python. The function is thread-specific; for a " @@ -3430,7 +3447,7 @@ msgstr "" "debuggenden Thread mit :func:`settrace` eine Trace-Funktion registrieren " "oder :func:`threading.settrace` verwenden." -#: ../../library/sys.rst:1952 +#: ../../library/sys.rst:1961 msgid "" "Trace functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the :ref:`current stack frame `. *event* is a " @@ -3442,7 +3459,7 @@ msgstr "" "eine Zeichenkette: ``'call'``, ``'line'``, ``'return'``, ``'exception'`` " "oder ``'opcode'``. *arg* hängt vom Ereignistyp ab." -#: ../../library/sys.rst:1957 +#: ../../library/sys.rst:1966 msgid "" "The trace function is invoked (with *event* set to ``'call'``) whenever a " "new local scope is entered; it should return a reference to a local trace " @@ -3455,7 +3472,7 @@ msgstr "" "Geltungsbereich verwendet wird, oder ``None``, wenn der Geltungsbereich " "nicht verfolgt werden soll." -#: ../../library/sys.rst:1962 +#: ../../library/sys.rst:1971 msgid "" "The local trace function should return a reference to itself, or to another " "function which would then be used as the local trace function for the scope." @@ -3464,7 +3481,7 @@ msgstr "" "andere Funktion zurückgeben, die dann als lokale Trace-Funktion für den " "Geltungsbereich verwendet wird." -#: ../../library/sys.rst:1965 +#: ../../library/sys.rst:1974 msgid "" "If there is any error occurred in the trace function, it will be unset, just " "like ``settrace(None)`` is called." @@ -3472,7 +3489,7 @@ msgstr "" "Tritt in der Trace-Funktion ein Fehler auf, wird sie zurückgesetzt, als " "würde ``settrace(None)`` aufgerufen." -#: ../../library/sys.rst:1969 +#: ../../library/sys.rst:1978 msgid "" "Tracing is disabled while calling the trace function (e.g. a function set " "by :func:`!settrace`). For recursive tracing see :func:`call_tracing`." @@ -3481,7 +3498,7 @@ msgstr "" "B. eine mit :func:`!settrace` gesetzte Funktion). Für rekursives Tracing " "siehe :func:`call_tracing`." -#: ../../library/sys.rst:1975 +#: ../../library/sys.rst:1984 msgid "" "A function is called (or some other code block entered). The global trace " "function is called; *arg* is ``None``; the return value specifies the local " @@ -3491,11 +3508,11 @@ msgstr "" "globale Trace-Funktion wird aufgerufen, *arg* ist ``None``, und der " "Rückgabewert gibt die lokale Trace-Funktion an." -#: ../../library/sys.rst:1979 +#: ../../library/sys.rst:1988 msgid "``'line'``" msgstr "``'line'``" -#: ../../library/sys.rst:1980 +#: ../../library/sys.rst:1989 msgid "" "The interpreter is about to execute a new line of code or re-execute the " "condition of a loop. The local trace function is called; *arg* is ``None``; " @@ -3513,7 +3530,7 @@ msgstr "" "sich für einen Frame deaktivieren, indem :attr:`~frame.f_trace_lines` auf " "diesem :ref:`Frame ` auf :const:`False` gesetzt wird." -#: ../../library/sys.rst:1990 +#: ../../library/sys.rst:1999 msgid "" "A function (or other code block) is about to return. The local trace " "function is called; *arg* is the value that will be returned, or ``None`` if " @@ -3525,11 +3542,11 @@ msgstr "" "oder ``None``, wenn das Ereignis durch eine ausgelöste Ausnahme verursacht " "wird. Der Rückgabewert der Trace-Funktion wird ignoriert." -#: ../../library/sys.rst:1995 +#: ../../library/sys.rst:2004 msgid "``'exception'``" msgstr "``'exception'``" -#: ../../library/sys.rst:1996 +#: ../../library/sys.rst:2005 msgid "" "An exception has occurred. The local trace function is called; *arg* is a " "tuple ``(exception, value, traceback)``; the return value specifies the new " @@ -3539,11 +3556,11 @@ msgstr "" "*arg* ist ein Tupel ``(exception, value, traceback)``, und der Rückgabewert " "gibt die neue lokale Trace-Funktion an." -#: ../../library/sys.rst:2000 +#: ../../library/sys.rst:2009 msgid "``'opcode'``" msgstr "``'opcode'``" -#: ../../library/sys.rst:2001 +#: ../../library/sys.rst:2010 msgid "" "The interpreter is about to execute a new opcode (see :mod:`dis` for opcode " "details). The local trace function is called; *arg* is ``None``; the return " @@ -3559,7 +3576,7 @@ msgstr "" "ausdrücklich angefordert werden, indem :attr:`~frame.f_trace_opcodes` auf " "dem :ref:`Frame ` auf :const:`True` gesetzt wird." -#: ../../library/sys.rst:2008 +#: ../../library/sys.rst:2017 msgid "" "Note that as an exception is propagated down the chain of callers, an " "``'exception'`` event is generated at each level." @@ -3567,7 +3584,7 @@ msgstr "" "Beachte: Wird eine Ausnahme die Kette der Aufrufer hinunter weitergegeben, " "wird auf jeder Ebene ein Ereignis ``'exception'`` erzeugt." -#: ../../library/sys.rst:2011 +#: ../../library/sys.rst:2020 msgid "" "For more fine-grained usage, it's possible to set a trace function by " "assigning ``frame.f_trace = tracefunc`` explicitly, rather than relying on " @@ -3592,11 +3609,11 @@ msgstr "" "sein, die einfach ``None`` zurückgibt, um sich bei jedem Frame sofort selbst " "zu deaktivieren)." -#: ../../library/sys.rst:2022 +#: ../../library/sys.rst:2031 msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "Weitere Informationen zu Code- und Frame-Objekten siehe :ref:`types`." -#: ../../library/sys.rst:2024 +#: ../../library/sys.rst:2033 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." @@ -3604,7 +3621,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` ``sys.settrace`` ohne Argumente " "aus." -#: ../../library/sys.rst:2028 +#: ../../library/sys.rst:2037 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -3616,7 +3633,7 @@ msgstr "" "der Implementierungsplattform und nicht Teil der Sprachdefinition und " "möglicherweise daher nicht in allen Python-Implementierungen verfügbar." -#: ../../library/sys.rst:2035 +#: ../../library/sys.rst:2044 msgid "" "``'opcode'`` event type added; :attr:`~frame.f_trace_lines` " "and :attr:`~frame.f_trace_opcodes` attributes added to frames" @@ -3625,7 +3642,7 @@ msgstr "" "Attribute :attr:`~frame.f_trace_lines` und :attr:`~frame.f_trace_opcodes` " "wurden zu Frames hinzugefügt" -#: ../../library/sys.rst:2040 +#: ../../library/sys.rst:2049 msgid "" "Accepts two optional keyword arguments which are callables that accept " "an :term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -3640,7 +3657,7 @@ msgstr "" "*finalizer* wird aufgerufen, wenn ein asynchroner Generator gleich vom " "Garbage Collector eingesammelt wird." -#: ../../library/sys.rst:2046 +#: ../../library/sys.rst:2055 msgid "" "Raises an :ref:`auditing event ` " "``sys.set_asyncgen_hooks_firstiter`` with no arguments." @@ -3648,7 +3665,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` " "``sys.set_asyncgen_hooks_firstiter`` ohne Argumente aus." -#: ../../library/sys.rst:2048 +#: ../../library/sys.rst:2057 msgid "" "Raises an :ref:`auditing event ` " "``sys.set_asyncgen_hooks_finalizer`` with no arguments." @@ -3656,7 +3673,7 @@ msgstr "" "Löst ein :ref:`Auditing-Ereignis ` " "``sys.set_asyncgen_hooks_finalizer`` ohne Argumente aus." -#: ../../library/sys.rst:2050 +#: ../../library/sys.rst:2059 msgid "" "Two auditing events are raised because the underlying API consists of two " "calls, each of which must raise its own event." @@ -3665,7 +3682,7 @@ msgstr "" "aus zwei Aufrufen besteht, von denen jeder sein eigenes Ereignis auslösen " "muss." -#: ../../library/sys.rst:2053 +#: ../../library/sys.rst:2062 msgid "" "See :pep:`525` for more details, and for a reference example of a " "*finalizer* method see the implementation of " @@ -3677,7 +3694,7 @@ msgstr "" "``asyncio.BaseEventLoop._asyncgen_finalizer_hook`` in :source:`Lib/asyncio/" "base_events.py`" -#: ../../library/sys.rst:2065 +#: ../../library/sys.rst:2074 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -3692,7 +3709,7 @@ msgstr "" "erzeugt wurde, mit dem jüngsten Aufruf zuerst. Ist sie deaktiviert, ist " "``cr_origin`` gleich ``None``." -#: ../../library/sys.rst:2072 +#: ../../library/sys.rst:2081 msgid "" "To enable, pass a *depth* value greater than zero; this sets the number of " "frames whose information will be captured. To disable, set *depth* to zero." @@ -3701,11 +3718,11 @@ msgstr "" "die Anzahl der Frames fest, deren Informationen erfasst werden. Um sie zu " "deaktivieren, setze *depth* auf null." -#: ../../library/sys.rst:2076 +#: ../../library/sys.rst:2085 msgid "This setting is thread-specific." msgstr "Diese Einstellung ist Thread-spezifisch." -#: ../../library/sys.rst:2086 +#: ../../library/sys.rst:2095 msgid "" "Activate the stack profiler trampoline *backend*. The only supported backend " "is ``\"perf\"``." @@ -3713,32 +3730,32 @@ msgstr "" "Aktiviert das *backend* des Trampolins des Stack-Profilers. Das einzige " "unterstützte Backend ist ``\"perf\"``." -#: ../../library/sys.rst:2089 +#: ../../library/sys.rst:2098 msgid "Stack trampolines cannot be activated if the JIT is active." msgstr "Stack-Trampoline lassen sich nicht aktivieren, wenn der JIT aktiv ist." -#: ../../library/sys.rst:2097 +#: ../../library/sys.rst:2106 msgid ":ref:`perf_profiling`" msgstr ":ref:`perf_profiling`" -#: ../../library/sys.rst:2098 +#: ../../library/sys.rst:2107 msgid "https://perf.wiki.kernel.org" msgstr "https://perf.wiki.kernel.org" -#: ../../library/sys.rst:2102 +#: ../../library/sys.rst:2111 msgid "Deactivate the current stack profiler trampoline backend." msgstr "Deaktiviert das aktuelle Backend des Trampolins des Stack-Profilers." -#: ../../library/sys.rst:2104 +#: ../../library/sys.rst:2113 msgid "If no stack profiler is activated, this function has no effect." msgstr "Ist kein Stack-Profiler aktiviert, hat diese Funktion keine Wirkung." -#: ../../library/sys.rst:2112 +#: ../../library/sys.rst:2121 msgid "Return ``True`` if a stack profiler trampoline is active." msgstr "" "Gibt ``True`` zurück, wenn ein Trampolin des Stack-Profilers aktiv ist." -#: ../../library/sys.rst:2121 +#: ../../library/sys.rst:2130 msgid "" "Executes *script*, a file containing Python code in the remote process with " "the given *pid*." @@ -3746,7 +3763,7 @@ msgstr "" "Führt *script*, eine Datei mit Python-Code, im entfernten Prozess mit der " "angegebenen *pid* aus." -#: ../../library/sys.rst:2124 +#: ../../library/sys.rst:2133 msgid "" "This function returns immediately, and the code will be executed by the " "target process's main thread at the next available opportunity, similarly to " @@ -3762,7 +3779,7 @@ msgstr "" "sicherzustellen, dass die Datei noch existiert, wann immer der entfernte " "Prozess versucht, sie zu lesen, und dass sie nicht überschrieben wurde." -#: ../../library/sys.rst:2131 +#: ../../library/sys.rst:2140 msgid "" "The remote process must be running a CPython interpreter of the same major " "and minor version as the local process. If either the local or remote " @@ -3775,7 +3792,7 @@ msgstr "" "Candidate), müssen der lokale und der entfernte Interpreter genau dieselbe " "Version haben." -#: ../../library/sys.rst:2136 +#: ../../library/sys.rst:2145 msgid "" "See :ref:`remote-debugging` for more information about the remote debugging " "mechanism." @@ -3783,7 +3800,7 @@ msgstr "" "Weitere Informationen zum Mechanismus des Remote-Debuggings " "siehe :ref:`remote-debugging`." -#: ../../library/sys.rst:2139 ../../library/sys.rst:2141 +#: ../../library/sys.rst:2148 ../../library/sys.rst:2150 msgid "" "When the code is executed in the remote process, an :ref:`auditing event " "` ``sys.remote_exec`` is raised with the *pid* and the path to the " @@ -3795,7 +3812,7 @@ msgstr "" "Skriptdatei ausgelöst. Dieses Ereignis wird in dem Prozess ausgelöst, " "der :func:`sys.remote_exec` aufgerufen hat." -#: ../../library/sys.rst:2146 ../../library/sys.rst:2148 +#: ../../library/sys.rst:2155 ../../library/sys.rst:2157 msgid "" "When the script is executed in the remote process, an :ref:`auditing event " "` ``cpython.remote_debugger_script`` is raised with the path in " @@ -3807,11 +3824,11 @@ msgstr "" "entfernten Prozess ausgelöst. Dieses Ereignis wird im entfernten Prozess " "ausgelöst, nicht in dem, der :func:`sys.remote_exec` aufgerufen hat." -#: ../../library/sys.rst:2156 +#: ../../library/sys.rst:2165 msgid "See :pep:`768` for more details." msgstr "Weitere Einzelheiten siehe :pep:`768`." -#: ../../library/sys.rst:2162 +#: ../../library/sys.rst:2171 msgid "" "Changes the :term:`filesystem encoding and error handler` to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." @@ -3820,7 +3837,7 @@ msgstr "" "encoding and error handler>` zu „mbcs“ beziehungsweise „replace“, aus " "Konsistenz mit Python-Versionen vor 3.6." -#: ../../library/sys.rst:2166 +#: ../../library/sys.rst:2175 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." @@ -3829,7 +3846,7 @@ msgstr "" "Umgebungsvariable :envvar:`PYTHONLEGACYWINDOWSFSENCODING` vor dem Starten " "von Python zu definieren." -#: ../../library/sys.rst:2169 +#: ../../library/sys.rst:2178 msgid "" "See also :func:`sys.getfilesystemencoding` " "and :func:`sys.getfilesystemencodeerrors`." @@ -3837,7 +3854,7 @@ msgstr "" "Siehe auch :func:`sys.getfilesystemencoding` " "und :func:`sys.getfilesystemencodeerrors`." -#: ../../library/sys.rst:2175 +#: ../../library/sys.rst:2184 msgid "" "Changing the filesystem encoding after Python startup is risky because the " "old fsencoding or paths encoded by the old fsencoding may be cached " @@ -3848,15 +3865,15 @@ msgstr "" "möglicherweise irgendwo zwischengespeichert sind. Verwende " "stattdessen :envvar:`PYTHONLEGACYWINDOWSFSENCODING`." -#: ../../library/sys.rst:2179 +#: ../../library/sys.rst:2188 msgid "See :pep:`529` for more details." msgstr "Weitere Einzelheiten siehe :pep:`529`." -#: ../../library/sys.rst:2182 +#: ../../library/sys.rst:2191 msgid "Use :envvar:`PYTHONLEGACYWINDOWSFSENCODING` instead." msgstr "Verwende stattdessen :envvar:`PYTHONLEGACYWINDOWSFSENCODING`." -#: ../../library/sys.rst:2189 +#: ../../library/sys.rst:2198 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" @@ -3864,7 +3881,7 @@ msgstr "" ":term:`Dateiobjekte `, die der Interpreter für Standardeingabe, " "Standardausgabe und Standardfehlerausgabe verwendet:" -#: ../../library/sys.rst:2192 +#: ../../library/sys.rst:2201 msgid "" "``stdin`` is used for all interactive input (including calls " "to :func:`input`);" @@ -3872,7 +3889,7 @@ msgstr "" "``stdin`` wird für alle interaktiven Eingaben verwendet (einschließlich " "Aufrufen von :func:`input`)." -#: ../../library/sys.rst:2194 +#: ../../library/sys.rst:2203 msgid "" "``stdout`` is used for the output of :func:`print` and :term:`expression` " "statements and for the prompts of :func:`input`;" @@ -3881,13 +3898,13 @@ msgstr "" "`-Anweisungen und für die Eingabeaufforderungen " "von :func:`input` verwendet." -#: ../../library/sys.rst:2196 +#: ../../library/sys.rst:2205 msgid "The interpreter's own prompts and its error messages go to ``stderr``." msgstr "" "Die eigenen Eingabeaufforderungen des Interpreters und seine Fehlermeldungen " "gehen an ``stderr``." -#: ../../library/sys.rst:2198 +#: ../../library/sys.rst:2207 msgid "" "These streams are regular :term:`text files ` like those returned " "by the :func:`open` function. Their parameters are chosen as follows:" @@ -3896,7 +3913,7 @@ msgstr "" "der Funktion :func:`open` zurückgegebenen. Ihre Parameter werden wie folgt " "gewählt:" -#: ../../library/sys.rst:2202 +#: ../../library/sys.rst:2211 msgid "" "The encoding and error handling are initialized " "from :c:member:`PyConfig.stdio_encoding` " @@ -3906,7 +3923,7 @@ msgstr "" "aus :c:member:`PyConfig.stdio_encoding` " "und :c:member:`PyConfig.stdio_errors` initialisiert." -#: ../../library/sys.rst:2205 +#: ../../library/sys.rst:2214 msgid "" "On Windows, UTF-8 is used for the console device. Non-character devices " "such as disk files and pipes use the system locale encoding (i.e. the ANSI " @@ -3925,7 +3942,7 @@ msgstr "" "die :term:`Lokalkodierung ` des Systems, wenn der Prozess " "anfangs nicht an eine Konsole angebunden ist." -#: ../../library/sys.rst:2214 +#: ../../library/sys.rst:2223 msgid "" "The special behaviour of the console can be overridden by setting the " "environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In " @@ -3936,7 +3953,7 @@ msgstr "" "wird. In diesem Fall werden die Codepages der Konsole wie bei jedem anderen " "Zeichengerät verwendet." -#: ../../library/sys.rst:2219 +#: ../../library/sys.rst:2228 msgid "" "Under all platforms, you can override the character encoding by setting " "the :envvar:`PYTHONIOENCODING` environment variable before starting Python " @@ -3952,7 +3969,7 @@ msgstr "" "gilt das jedoch nur, wenn auch :envvar:`PYTHONLEGACYWINDOWSSTDIO` gesetzt " "ist." -#: ../../library/sys.rst:2226 +#: ../../library/sys.rst:2235 msgid "" "When interactive, the ``stdout`` stream is line-buffered. Otherwise, it is " "block-buffered like regular text files. The ``stderr`` stream is line-" @@ -3966,14 +3983,14 @@ msgstr "" "ungepuffert machen, indem du die Befehlszeilenoption :option:`-u` übergibst " "oder die Umgebungsvariable :envvar:`PYTHONUNBUFFERED` setzt." -#: ../../library/sys.rst:2232 +#: ../../library/sys.rst:2241 msgid "" "Non-interactive ``stderr`` is now line-buffered instead of fully buffered." msgstr "" "Nicht interaktives ``stderr`` ist jetzt zeilengepuffert statt vollständig " "gepuffert." -#: ../../library/sys.rst:2238 +#: ../../library/sys.rst:2247 msgid "" "To write or read binary data from/to the standard streams, use the " "underlying binary :data:`~io.TextIOBase.buffer` object. For example, to " @@ -3985,7 +4002,7 @@ msgstr "" "nach :data:`stdout` zu schreiben, verwende " "``sys.stdout.buffer.write(b'abc')``." -#: ../../library/sys.rst:2242 +#: ../../library/sys.rst:2251 msgid "" "However, if you are writing a library (and do not control in which context " "its code will be executed), be aware that the standard streams may be " @@ -3997,7 +4014,7 @@ msgstr "" "Datenströme durch dateiähnliche Objekte wie :class:`io.StringIO` ersetzt " "werden können, die das Attribut :attr:`!buffer` nicht unterstützen." -#: ../../library/sys.rst:2252 +#: ../../library/sys.rst:2261 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -4009,7 +4026,7 @@ msgstr "" "verwendet und können nützlich sein, um auf den tatsächlichen Standard-" "Datenstrom auszugeben, egal ob das Objekt ``sys.std*`` umgeleitet wurde." -#: ../../library/sys.rst:2257 +#: ../../library/sys.rst:2266 msgid "" "It can also be used to restore the actual files to known working file " "objects in case they have been overwritten with a broken object. However, " @@ -4022,7 +4039,7 @@ msgstr "" "vorherigen Datenstrom vor dem Ersetzen ausdrücklich zu speichern und das " "gespeicherte Objekt wiederherzustellen." -#: ../../library/sys.rst:2263 +#: ../../library/sys.rst:2272 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -4035,14 +4052,14 @@ msgstr "" "Anwendungen der Fall, die nicht mit einer Konsole verbunden sind, und bei " "mit :program:`pythonw` gestarteten Python-Anwendungen." -#: ../../library/sys.rst:2271 +#: ../../library/sys.rst:2280 msgid "" "A frozenset of strings containing the names of standard library modules." msgstr "" "Ein Frozenset von Zeichenketten mit den Namen von Modulen der " "Standardbibliothek." -#: ../../library/sys.rst:2273 +#: ../../library/sys.rst:2282 msgid "" "It is the same on all platforms. Modules which are not available on some " "platforms and modules disabled at Python build are also listed. All module " @@ -4055,7 +4072,7 @@ msgstr "" "Python-Module, integrierte, eingefrorene und Erweiterungsmodule. Testmodule " "sind ausgeschlossen." -#: ../../library/sys.rst:2278 +#: ../../library/sys.rst:2287 msgid "" "For packages, only the main package is listed: sub-packages and sub-modules " "are not listed. For example, the ``email`` package is listed, but the " @@ -4067,30 +4084,30 @@ msgstr "" "das Unterpaket ``email.mime`` und das Untermodul ``email.message`` aber " "nicht." -#: ../../library/sys.rst:2283 +#: ../../library/sys.rst:2292 msgid "See also the :data:`sys.builtin_module_names` list." msgstr "Siehe auch die Liste :data:`sys.builtin_module_names`." -#: ../../library/sys.rst:2290 +#: ../../library/sys.rst:2299 msgid "" "A :term:`named tuple` holding information about the thread implementation." msgstr "" "Ein :term:`benanntes Tupel ` mit Informationen über die Thread-" "Implementierung." -#: ../../library/sys.rst:2295 +#: ../../library/sys.rst:2304 msgid "The name of the thread implementation:" msgstr "Der Name der Thread-Implementierung:" -#: ../../library/sys.rst:2297 +#: ../../library/sys.rst:2306 msgid "``\"nt\"``: Windows threads" msgstr "``\"nt\"``: Windows-Threads" -#: ../../library/sys.rst:2298 +#: ../../library/sys.rst:2307 msgid "``\"pthread\"``: POSIX threads" msgstr "``\"pthread\"``: POSIX-Threads" -#: ../../library/sys.rst:2299 +#: ../../library/sys.rst:2308 msgid "" "``\"pthread-stubs\"``: stub POSIX threads (on WebAssembly platforms without " "threading support)" @@ -4098,20 +4115,20 @@ msgstr "" "``\"pthread-stubs\"``: Stub-POSIX-Threads (auf WebAssembly-Plattformen ohne " "Threading-Unterstützung)" -#: ../../library/sys.rst:2301 +#: ../../library/sys.rst:2310 msgid "``\"solaris\"``: Solaris threads" msgstr "``\"solaris\"``: Solaris-Threads" -#: ../../library/sys.rst:2305 +#: ../../library/sys.rst:2314 msgid "The name of the lock implementation:" msgstr "Der Name der Sperren-Implementierung:" -#: ../../library/sys.rst:2307 +#: ../../library/sys.rst:2316 msgid "``\"semaphore\"``: a lock uses a semaphore (Python 3.14 and older)" msgstr "" "``\"semaphore\"``: eine Sperre verwendet ein Semaphor (Python 3.14 und älter)" -#: ../../library/sys.rst:2308 +#: ../../library/sys.rst:2317 msgid "" "``\"mutex+cond\"``: a lock uses a mutex and a condition variable (Python " "3.14 and older)" @@ -4119,7 +4136,7 @@ msgstr "" "``\"mutex+cond\"``: eine Sperre verwendet einen Mutex und eine " "Bedingungsvariable (Python 3.14 und älter)" -#: ../../library/sys.rst:2309 +#: ../../library/sys.rst:2318 msgid "" "``\"pymutex\"``: a lock uses the :c:type:`PyMutex` implementation (Python " "3.15 and newer)" @@ -4127,11 +4144,11 @@ msgstr "" "``\"pymutex\"``: eine Sperre verwendet die Implementierung :c:type:`PyMutex` " "(Python 3.15 und neuer)" -#: ../../library/sys.rst:2310 +#: ../../library/sys.rst:2319 msgid "``None`` if this information is unknown" msgstr "``None``, wenn diese Information unbekannt ist" -#: ../../library/sys.rst:2314 +#: ../../library/sys.rst:2323 msgid "" "The name and version of the thread library. It is a string, or ``None`` if " "this information is unknown." @@ -4139,7 +4156,7 @@ msgstr "" "Der Name und die Version der Thread-Bibliothek. Es ist eine Zeichenkette " "oder ``None``, wenn diese Information unbekannt ist." -#: ../../library/sys.rst:2322 +#: ../../library/sys.rst:2331 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -4153,11 +4170,11 @@ msgstr "" "``1000``. Bei ``0`` oder weniger werden alle Traceback-Informationen " "unterdrückt, und nur der Ausnahmetyp und der Wert werden ausgegeben." -#: ../../library/sys.rst:2330 +#: ../../library/sys.rst:2339 msgid "Handle an unraisable exception." msgstr "Behandelt eine nicht weiterleitbare Ausnahme." -#: ../../library/sys.rst:2332 +#: ../../library/sys.rst:2341 msgid "" "Called when an exception has occurred but there is no way for Python to " "handle it. For example, when a destructor raises an exception or during " @@ -4167,32 +4184,32 @@ msgstr "" "behandeln kann. Zum Beispiel, wenn ein Destruktor eine Ausnahme auslöst oder " "während der Garbage Collection (:func:`gc.collect`)." -#: ../../library/sys.rst:2336 +#: ../../library/sys.rst:2345 msgid "The *unraisable* argument has the following attributes:" msgstr "Das Argument *unraisable* hat die folgenden Attribute:" -#: ../../library/sys.rst:2338 +#: ../../library/sys.rst:2347 msgid ":attr:`!exc_type`: Exception type." msgstr ":attr:`!exc_type`: Ausnahmetyp." -#: ../../library/sys.rst:2339 +#: ../../library/sys.rst:2348 msgid ":attr:`!exc_value`: Exception value, can be ``None``." msgstr ":attr:`!exc_value`: Ausnahmewert, kann ``None`` sein." -#: ../../library/sys.rst:2340 +#: ../../library/sys.rst:2349 msgid ":attr:`!exc_traceback`: Exception traceback, can be ``None``." msgstr ":attr:`!exc_traceback`: Traceback der Ausnahme, kann ``None`` sein." -#: ../../library/sys.rst:2341 +#: ../../library/sys.rst:2350 msgid ":attr:`!err_msg`: Error message, can be ``None``." msgstr ":attr:`!err_msg`: Fehlermeldung, kann ``None`` sein." -#: ../../library/sys.rst:2342 +#: ../../library/sys.rst:2351 msgid ":attr:`!object`: Object causing the exception, can be ``None``." msgstr "" ":attr:`!object`: Objekt, das die Ausnahme verursacht, kann ``None`` sein." -#: ../../library/sys.rst:2344 +#: ../../library/sys.rst:2353 msgid "" "The default hook formats :attr:`!err_msg` and :attr:`!object` as: " "``f'{err_msg}: {object!r}'``; use \"Exception ignored in\" error message " @@ -4207,7 +4224,7 @@ msgstr "" "lässt sich mit :ref:`Umgebungsvariablen ` " "deaktivieren." -#: ../../library/sys.rst:2350 +#: ../../library/sys.rst:2359 msgid "" ":func:`sys.unraisablehook` can be overridden to control how unraisable " "exceptions are handled." @@ -4215,15 +4232,15 @@ msgstr "" ":func:`sys.unraisablehook` kann überschrieben werden, um zu steuern, wie " "nicht weiterleitbare Ausnahmen behandelt werden." -#: ../../library/sys.rst:2353 +#: ../../library/sys.rst:2362 msgid "Exceptions are now printed with colorful text." msgstr "Ausnahmen werden jetzt mit farbigem Text ausgegeben." -#: ../../library/sys.rst:2358 +#: ../../library/sys.rst:2367 msgid ":func:`excepthook` which handles uncaught exceptions." msgstr ":func:`excepthook`, das nicht abgefangene Ausnahmen behandelt." -#: ../../library/sys.rst:2362 +#: ../../library/sys.rst:2371 msgid "" "Storing :attr:`!exc_value` using a custom hook can create a reference cycle. " "It should be cleared explicitly to break the reference cycle when the " @@ -4233,7 +4250,7 @@ msgstr "" "Referenzzyklus erzeugen. Es sollte ausdrücklich gelöscht werden, um den " "Referenzzyklus zu durchbrechen, wenn die Ausnahme nicht mehr gebraucht wird." -#: ../../library/sys.rst:2366 +#: ../../library/sys.rst:2375 msgid "" "Storing :attr:`!object` using a custom hook can resurrect it if it is set to " "an object which is being finalized. Avoid storing :attr:`!object` after the " @@ -4244,7 +4261,7 @@ msgstr "" "wird. Vermeide es, :attr:`!object` nach Abschluss des eigenen Hooks zu " "speichern, um keine Objekte wiederzubeleben." -#: ../../library/sys.rst:2370 ../../library/sys.rst:2372 +#: ../../library/sys.rst:2379 ../../library/sys.rst:2381 msgid "" "Raise an auditing event ``sys.unraisablehook`` with arguments *hook*, " "*unraisable* when an exception that cannot be handled occurs. The " @@ -4256,7 +4273,7 @@ msgstr "" "kann. Das Objekt *unraisable* ist dasselbe, das an den Hook übergeben wird. " "Wurde kein Hook gesetzt, kann *hook* ``None`` sein." -#: ../../library/sys.rst:2381 +#: ../../library/sys.rst:2390 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -4271,7 +4288,7 @@ msgstr "" "stattdessen :data:`version_info` und die vom Modul :mod:`platform` " "bereitgestellten Funktionen." -#: ../../library/sys.rst:2390 +#: ../../library/sys.rst:2399 msgid "" "The C API version, equivalent to the C macro :c:macro:`PYTHON_API_VERSION`. " "Defined for backwards compatibility." @@ -4279,7 +4296,7 @@ msgstr "" "Die Version der C-API, äquivalent zum C-Makro :c:macro:`PYTHON_API_VERSION`. " "Aus Gründen der Abwärtskompatibilität definiert." -#: ../../library/sys.rst:2393 +#: ../../library/sys.rst:2402 msgid "" "Currently, this constant is not updated in new Python versions, and is not " "useful for versioning. This may change in the future." @@ -4288,7 +4305,7 @@ msgstr "" "und ist für die Versionierung nicht nützlich. Das kann sich in Zukunft " "ändern." -#: ../../library/sys.rst:2399 +#: ../../library/sys.rst:2408 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -4306,11 +4323,11 @@ msgstr "" "über den Namen zugegriffen werden, ``sys.version_info[0]`` ist also " "äquivalent zu ``sys.version_info.major`` und so weiter." -#: ../../library/sys.rst:2407 +#: ../../library/sys.rst:2416 msgid "Added named component attributes." msgstr "Benannte Komponentenattribute wurden hinzugefügt." -#: ../../library/sys.rst:2412 +#: ../../library/sys.rst:2421 msgid "" "This is an implementation detail of the warnings framework; do not modify " "this value. Refer to the :mod:`warnings` module for more information on the " @@ -4320,7 +4337,7 @@ msgstr "" "Wert nicht. Weitere Informationen zum Warnungs-Framework siehe das " "Modul :mod:`warnings`." -#: ../../library/sys.rst:2419 +#: ../../library/sys.rst:2428 msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " @@ -4335,7 +4352,7 @@ msgstr "" "sys` zu Informationszwecken bereitgestellt, das Ändern dieses Werts hat " "keine Auswirkung auf die von Python verwendeten Registry-Schlüssel." -#: ../../library/sys.rst:2431 +#: ../../library/sys.rst:2440 msgid "" "Namespace containing functions and constants for register callbacks and " "controlling monitoring events. See :mod:`sys.monitoring` for details." @@ -4344,7 +4361,7 @@ msgstr "" "zum Steuern von Überwachungsereignissen. Einzelheiten " "siehe :mod:`sys.monitoring`." -#: ../../library/sys.rst:2437 +#: ../../library/sys.rst:2446 msgid "" "A dictionary of the various implementation-specific flags passed through " "the :option:`-X` command-line option. Option names are either mapped to " @@ -4355,7 +4372,7 @@ msgstr "" "werden auf ihre Werte abgebildet, falls ausdrücklich angegeben, oder " "auf :const:`True`. Beispiel:" -#: ../../library/sys.rst:2441 +#: ../../library/sys.rst:2450 msgid "" "$ ./python -Xa=b -Xc\n" "Python 3.2a3+ (py3k, Oct 16 2010, 20:14:50)\n" @@ -4375,7 +4392,7 @@ msgstr "" ">>> sys._xoptions\n" "{'a': 'b', 'c': True}" -#: ../../library/sys.rst:2453 +#: ../../library/sys.rst:2462 msgid "" "This is a CPython-specific way of accessing options passed through :option:`-" "X`. Other implementations may export them through other means, or not at " @@ -4385,11 +4402,11 @@ msgstr "" "Optionen zuzugreifen. Andere Implementierungen stellen sie möglicherweise " "auf andere Weise bereit oder gar nicht." -#: ../../library/sys.rst:2461 +#: ../../library/sys.rst:2470 msgid "Citations" msgstr "Quellenangaben" -#: ../../library/sys.rst:2462 +#: ../../library/sys.rst:2471 msgid "" "ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at https://www.open-std.org/jtc1/sc22/wg14/www/docs/" @@ -4411,19 +4428,19 @@ msgstr "Objekt" msgid "traceback" msgstr "traceback" -#: ../../library/sys.rst:1071 ../../library/sys.rst:1860 +#: ../../library/sys.rst:1071 ../../library/sys.rst:1869 msgid "profile function" msgstr "profile function" -#: ../../library/sys.rst:1071 ../../library/sys.rst:1860 +#: ../../library/sys.rst:1071 ../../library/sys.rst:1869 msgid "profiler" msgstr "profiler" -#: ../../library/sys.rst:1080 ../../library/sys.rst:1943 +#: ../../library/sys.rst:1080 ../../library/sys.rst:1952 msgid "trace function" msgstr "trace function" -#: ../../library/sys.rst:1080 ../../library/sys.rst:1943 +#: ../../library/sys.rst:1080 ../../library/sys.rst:1952 msgid "debugger" msgstr "debugger" @@ -4458,3 +4475,15 @@ msgstr "interpreter prompt" #: ../../library/sys.rst:1769 msgid "..." msgstr "..." + +#~ msgid "" +#~ "``\"normal\"``: Only imports explicitly marked with the ``lazy`` keyword " +#~ "are lazy" +#~ msgstr "" +#~ "``\"normal\"``: Nur Importe, die ausdrücklich mit dem Schlüsselwort " +#~ "``lazy`` markiert sind, sind verzögert" + +#~ msgid "``\"all\"``: All top-level imports become potentially lazy" +#~ msgstr "" +#~ "``\"all\"``: Alle Importe der obersten Ebene werden möglicherweise " +#~ "verzögert" diff --git a/library/tempfile.po b/library/tempfile.po index aa2153b5..f263d6b0 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" "Language: de\n" @@ -103,8 +103,8 @@ msgid "" "for NamedTemporaryFile." msgstr "" -#: ../../library/tempfile.rst:66 ../../library/tempfile.rst:135 -#: ../../library/tempfile.rst:273 +#: ../../library/tempfile.rst:66 ../../library/tempfile.rst:140 +#: ../../library/tempfile.rst:278 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -114,8 +114,8 @@ msgstr "" msgid "The :py:const:`os.O_TMPFILE` flag is now used if available." msgstr "" -#: ../../library/tempfile.rst:72 ../../library/tempfile.rst:137 -#: ../../library/tempfile.rst:167 +#: ../../library/tempfile.rst:72 ../../library/tempfile.rst:142 +#: ../../library/tempfile.rst:172 msgid "Added *errors* parameter." msgstr "" @@ -169,33 +169,39 @@ msgid "" "automatic cleaning of the temporary file upon the context manager exit." msgstr "" -#: ../../library/tempfile.rst:109 +#: ../../library/tempfile.rst:111 +msgid "" +"Reopening the temporary file by name is only safe when the file's directory " +"is trusted. See :cwe:`377` for more information." +msgstr "" + +#: ../../library/tempfile.rst:114 msgid "" "Opening the temporary file again by its name while it is still open works as " "follows:" msgstr "" -#: ../../library/tempfile.rst:112 +#: ../../library/tempfile.rst:117 msgid "On POSIX the file can always be opened again." msgstr "" -#: ../../library/tempfile.rst:113 +#: ../../library/tempfile.rst:118 msgid "" "On Windows, make sure that at least one of the following conditions are " "fulfilled:" msgstr "" -#: ../../library/tempfile.rst:116 +#: ../../library/tempfile.rst:121 msgid "*delete* is false" msgstr "" -#: ../../library/tempfile.rst:117 +#: ../../library/tempfile.rst:122 msgid "" "additional open shares delete access (e.g. by calling :func:`os.open` with " "the flag ``O_TEMPORARY``)" msgstr "" -#: ../../library/tempfile.rst:119 +#: ../../library/tempfile.rst:124 msgid "" "*delete* is true but *delete_on_close* is false. Note, that in this case the " "additional opens that do not share delete access (e.g. created via " @@ -204,7 +210,7 @@ msgid "" "a :exc:`PermissionError`." msgstr "" -#: ../../library/tempfile.rst:125 +#: ../../library/tempfile.rst:130 msgid "" "On Windows, if *delete_on_close* is false, and the file is created in a " "directory for which the user lacks delete access, then the :func:`os.unlink` " @@ -214,17 +220,17 @@ msgid "" "not granted." msgstr "" -#: ../../library/tempfile.rst:132 +#: ../../library/tempfile.rst:137 msgid "" "On POSIX (only), a process that is terminated abruptly with SIGKILL cannot " "automatically delete any NamedTemporaryFiles it created." msgstr "" -#: ../../library/tempfile.rst:140 +#: ../../library/tempfile.rst:145 msgid "Added *delete_on_close* parameter." msgstr "" -#: ../../library/tempfile.rst:146 +#: ../../library/tempfile.rst:151 msgid "" "This class operates exactly as :func:`TemporaryFile` does, except that data " "is spooled in memory until the file size exceeds *max_size*, or until the " @@ -233,13 +239,13 @@ msgid "" "with :func:`TemporaryFile`." msgstr "" -#: ../../library/tempfile.rst:154 +#: ../../library/tempfile.rst:159 msgid "" "The resulting file has one additional method, :meth:`!rollover`, which " "causes the file to roll over to an on-disk file regardless of its size." msgstr "" -#: ../../library/tempfile.rst:157 +#: ../../library/tempfile.rst:162 msgid "" "The returned object is a file-like object whose :attr:`!_file` attribute is " "either an :class:`io.BytesIO` or :class:`io.TextIOWrapper` object (depending " @@ -248,18 +254,18 @@ msgid "" "object can be used in a :keyword:`with` statement, just like a normal file." msgstr "" -#: ../../library/tempfile.rst:164 +#: ../../library/tempfile.rst:169 msgid "the truncate method now accepts a *size* argument." msgstr "" -#: ../../library/tempfile.rst:170 +#: ../../library/tempfile.rst:175 msgid "" "Fully implements the :class:`io.BufferedIOBase` and :class:`io.TextIOBase` " "abstract base classes (depending on whether binary or text *mode* was " "specified)." msgstr "" -#: ../../library/tempfile.rst:178 +#: ../../library/tempfile.rst:183 msgid "" "This class securely creates a temporary directory using the same rules " "as :func:`mkdtemp`. The resulting object can be used as a :term:`context " @@ -268,7 +274,7 @@ msgid "" "directory and all its contents are removed from the filesystem." msgstr "" -#: ../../library/tempfile.rst:186 +#: ../../library/tempfile.rst:191 msgid "" "The directory name can be retrieved from the :attr:`!name` attribute of the " "returned object. When the returned object is used as a :term:`context " @@ -276,7 +282,7 @@ msgid "" "as` clause in the :keyword:`with` statement, if there is one." msgstr "" -#: ../../library/tempfile.rst:193 +#: ../../library/tempfile.rst:198 msgid "" "The directory can be explicitly cleaned up by calling the :meth:`!cleanup` " "method. If *ignore_cleanup_errors* is true, any unhandled exceptions during " @@ -288,7 +294,7 @@ msgid "" "shutdown)." msgstr "" -#: ../../library/tempfile.rst:202 +#: ../../library/tempfile.rst:207 msgid "" "The *delete* parameter can be used to disable cleanup of the directory tree " "upon exiting the context. While it may seem unusual for a context manager " @@ -297,34 +303,34 @@ msgid "" "based on other logic." msgstr "" -#: ../../library/tempfile.rst:210 +#: ../../library/tempfile.rst:215 msgid "" "Cleanup is not robust against the tree being modified while it is removed. " "Files outside of the tree may have their permissions and file flags reset." msgstr "" -#: ../../library/tempfile.rst:213 +#: ../../library/tempfile.rst:218 msgid "" "On systems where :data:`shutil.rmtree.avoids_symlink_attacks` is false, " "manipulating symbolic links during cleanup may cause files outside of the " "tree to be removed." msgstr "" -#: ../../library/tempfile.rst:217 ../../library/tempfile.rst:299 +#: ../../library/tempfile.rst:222 ../../library/tempfile.rst:304 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." msgstr "" -#: ../../library/tempfile.rst:221 +#: ../../library/tempfile.rst:226 msgid "Added *ignore_cleanup_errors* parameter." msgstr "" -#: ../../library/tempfile.rst:224 +#: ../../library/tempfile.rst:229 msgid "Added the *delete* parameter." msgstr "" -#: ../../library/tempfile.rst:230 +#: ../../library/tempfile.rst:235 msgid "" "Creates a temporary file in the most secure manner possible. There are no " "race conditions in the file's creation, assuming that the platform properly " @@ -334,20 +340,20 @@ msgid "" "executable by no one." msgstr "" -#: ../../library/tempfile.rst:237 +#: ../../library/tempfile.rst:242 msgid "" "The file descriptor is :ref:`not inherited by child processes " "`." msgstr "" -#: ../../library/tempfile.rst:239 +#: ../../library/tempfile.rst:244 msgid "" "Unlike :func:`TemporaryFile`, the user of :func:`mkstemp` is responsible for " "closing the file descriptor (for example, using :func:`os.close`) and " "deleting the temporary file (for example, using :func:`os.remove`)." msgstr "" -#: ../../library/tempfile.rst:243 +#: ../../library/tempfile.rst:248 msgid "" "If *suffix* is not ``None``, the file name will end with that suffix, " "otherwise there will be no suffix. :func:`mkstemp` does not put a dot " @@ -355,14 +361,14 @@ msgid "" "beginning of *suffix*." msgstr "" -#: ../../library/tempfile.rst:248 +#: ../../library/tempfile.rst:253 msgid "" "If *prefix* is not ``None``, the file name will begin with that prefix; " "otherwise, a default prefix is used. The default is the return value " "of :func:`gettempprefix` or :func:`gettempprefixb`, as appropriate." msgstr "" -#: ../../library/tempfile.rst:252 +#: ../../library/tempfile.rst:257 msgid "" "If *dir* is not ``None``, the file will be created in that directory; " "otherwise, a default directory is used. The default directory is chosen " @@ -373,7 +379,7 @@ msgid "" "commands via ``os.popen()``." msgstr "" -#: ../../library/tempfile.rst:260 +#: ../../library/tempfile.rst:265 msgid "" "If any of *suffix*, *prefix*, and *dir* are not ``None``, they must be the " "same type. If they are bytes, the returned name will be bytes instead of " @@ -381,20 +387,20 @@ msgid "" "behavior, pass ``suffix=b''``." msgstr "" -#: ../../library/tempfile.rst:266 +#: ../../library/tempfile.rst:271 msgid "" "If *text* is specified and true, the file is opened in text mode. Otherwise, " "(the default) the file is opened in binary mode." msgstr "" -#: ../../library/tempfile.rst:269 +#: ../../library/tempfile.rst:274 msgid "" ":func:`mkstemp` returns a tuple containing an OS-level handle to an open " "file (as would be returned by :func:`os.open`) and the absolute pathname of " "that file, in that order." msgstr "" -#: ../../library/tempfile.rst:275 ../../library/tempfile.rst:301 +#: ../../library/tempfile.rst:280 ../../library/tempfile.rst:306 msgid "" "*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to " "obtain a bytes return value. Prior to this, only str was allowed. *suffix* " @@ -402,111 +408,111 @@ msgid "" "default value to be used." msgstr "" -#: ../../library/tempfile.rst:281 ../../library/tempfile.rst:307 +#: ../../library/tempfile.rst:286 ../../library/tempfile.rst:312 msgid "The *dir* parameter now accepts a :term:`path-like object`." msgstr "" -#: ../../library/tempfile.rst:287 +#: ../../library/tempfile.rst:292 msgid "" "Creates a temporary directory in the most secure manner possible. There are " "no race conditions in the directory's creation. The directory is readable, " "writable, and searchable only by the creating user ID." msgstr "" -#: ../../library/tempfile.rst:291 +#: ../../library/tempfile.rst:296 msgid "" "The user of :func:`mkdtemp` is responsible for deleting the temporary " "directory and its contents when done with it." msgstr "" -#: ../../library/tempfile.rst:294 +#: ../../library/tempfile.rst:299 msgid "" "The *prefix*, *suffix*, and *dir* arguments are the same as " "for :func:`mkstemp`." msgstr "" -#: ../../library/tempfile.rst:297 +#: ../../library/tempfile.rst:302 msgid ":func:`mkdtemp` returns the absolute pathname of the new directory." msgstr "" -#: ../../library/tempfile.rst:310 +#: ../../library/tempfile.rst:315 msgid "" ":func:`mkdtemp` now always returns an absolute path, even if *dir* is " "relative." msgstr "" -#: ../../library/tempfile.rst:316 +#: ../../library/tempfile.rst:321 msgid "" "Return the name of the directory used for temporary files. This defines the " "default value for the *dir* argument to all functions in this module." msgstr "" -#: ../../library/tempfile.rst:320 +#: ../../library/tempfile.rst:325 msgid "" "Python searches a standard list of directories to find one which the calling " "user can create files in. The list is:" msgstr "" -#: ../../library/tempfile.rst:323 +#: ../../library/tempfile.rst:328 msgid "The directory named by the :envvar:`TMPDIR` environment variable." msgstr "" -#: ../../library/tempfile.rst:325 +#: ../../library/tempfile.rst:330 msgid "The directory named by the :envvar:`TEMP` environment variable." msgstr "" -#: ../../library/tempfile.rst:327 +#: ../../library/tempfile.rst:332 msgid "The directory named by the :envvar:`TMP` environment variable." msgstr "" -#: ../../library/tempfile.rst:329 +#: ../../library/tempfile.rst:334 msgid "A platform-specific location:" msgstr "" -#: ../../library/tempfile.rst:331 +#: ../../library/tempfile.rst:336 msgid "" "On Windows, the directories :file:`%USERPROFILE%\\\\AppData\\\\Local\\" "\\Temp`, :file:`%SYSTEMROOT%\\\\Temp`, :file:`C:\\\\TEMP`, :file:`C:\\" "\\TMP`, :file:`\\\\TEMP`, and :file:`\\\\TMP`, in that order." msgstr "" -#: ../../library/tempfile.rst:337 +#: ../../library/tempfile.rst:342 msgid "" "On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, " "and :file:`/usr/tmp`, in that order." msgstr "" -#: ../../library/tempfile.rst:340 +#: ../../library/tempfile.rst:345 msgid "As a last resort, the current working directory." msgstr "" -#: ../../library/tempfile.rst:342 +#: ../../library/tempfile.rst:347 msgid "" "The result of this search is cached, see the description of :data:`tempdir` " "below." msgstr "" -#: ../../library/tempfile.rst:347 +#: ../../library/tempfile.rst:352 msgid "" "Always returns a str. Previously it would return any :data:`tempdir` value " "regardless of type so long as it was not ``None``." msgstr "" -#: ../../library/tempfile.rst:352 +#: ../../library/tempfile.rst:357 msgid "Same as :func:`gettempdir` but the return value is in bytes." msgstr "" -#: ../../library/tempfile.rst:358 +#: ../../library/tempfile.rst:363 msgid "" "Return the filename prefix used to create temporary files. This does not " "contain the directory component." msgstr "" -#: ../../library/tempfile.rst:363 +#: ../../library/tempfile.rst:368 msgid "Same as :func:`gettempprefix` but the return value is in bytes." msgstr "" -#: ../../library/tempfile.rst:367 +#: ../../library/tempfile.rst:372 msgid "" "The module uses a global variable to store the name of the directory used " "for temporary files returned by :func:`gettempdir`. It can be set directly " @@ -516,21 +522,21 @@ msgid "" "unsuspecting code by changing global API behavior." msgstr "" -#: ../../library/tempfile.rst:376 +#: ../../library/tempfile.rst:381 msgid "" "When set to a value other than ``None``, this variable defines the default " "value for the *dir* argument to the functions defined in this module, " "including its type, bytes or str. It cannot be a :term:`path-like object`." msgstr "" -#: ../../library/tempfile.rst:381 +#: ../../library/tempfile.rst:386 msgid "" "If ``tempdir`` is ``None`` (the default) at any call to any of the above " "functions except :func:`gettempprefix` it is initialized following the " "algorithm described in :func:`gettempdir`." msgstr "" -#: ../../library/tempfile.rst:387 +#: ../../library/tempfile.rst:392 msgid "" "Beware that if you set ``tempdir`` to a bytes value, there is a nasty side " "effect: The global default return type of :func:`mkstemp` " @@ -540,16 +546,16 @@ msgid "" "maintained for compatibility with the historical implementation." msgstr "" -#: ../../library/tempfile.rst:398 +#: ../../library/tempfile.rst:403 msgid "Examples" msgstr "Beispiele" -#: ../../library/tempfile.rst:400 +#: ../../library/tempfile.rst:405 msgid "" "Here are some examples of typical usage of the :mod:`!tempfile` module::" msgstr "" -#: ../../library/tempfile.rst:402 +#: ../../library/tempfile.rst:407 msgid "" ">>> import tempfile\n" "\n" @@ -574,6 +580,7 @@ msgid "" "\n" "# create a temporary file using a context manager\n" "# close the file, use the name to open the file again\n" +"# this is only safe if the directory cannot be modified by untrusted users\n" ">>> with tempfile.NamedTemporaryFile(delete_on_close=False) as fp:\n" "... fp.write(b'Hello world!')\n" "... fp.close()\n" @@ -592,11 +599,11 @@ msgid "" "# directory and contents have been removed" msgstr "" -#: ../../library/tempfile.rst:445 +#: ../../library/tempfile.rst:451 msgid "Deprecated functions and variables" msgstr "" -#: ../../library/tempfile.rst:447 +#: ../../library/tempfile.rst:453 msgid "" "A historical way to create temporary files was to first generate a file name " "with the :func:`mktemp` function and then create a file using this name. " @@ -607,11 +614,11 @@ msgid "" "used by :func:`mkstemp` and the other functions described above." msgstr "" -#: ../../library/tempfile.rst:458 +#: ../../library/tempfile.rst:464 msgid "Use :func:`mkstemp` instead." msgstr "" -#: ../../library/tempfile.rst:461 +#: ../../library/tempfile.rst:467 msgid "" "Return an absolute pathname of a file that did not exist at the time the " "call is made. The *prefix*, *suffix*, and *dir* arguments are similar to " @@ -619,7 +626,7 @@ msgid "" "``prefix=None`` are not supported." msgstr "" -#: ../../library/tempfile.rst:468 +#: ../../library/tempfile.rst:474 msgid "" "Use of this function may introduce a security hole in your program. By the " "time you get around to doing anything with the file name it returns, someone " @@ -628,7 +635,7 @@ msgid "" "parameter::" msgstr "" -#: ../../library/tempfile.rst:474 +#: ../../library/tempfile.rst:480 msgid "" ">>> f = NamedTemporaryFile(delete=False)\n" ">>> f.name\n" diff --git a/library/test.po b/library/test.po index f1ca1e6e..6fcfaa4f 100644 --- a/library/test.po +++ b/library/test.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -901,12 +901,18 @@ msgstr "" "``__name__`` ``'__main__'`` ist. Wird verwendet, wenn :mod:`test.regrtest` " "die Tests ausführt." -#: ../../library/test.rst:522 +#: ../../library/test.rst:519 +msgid "" +"If called at the top level, sets label \"requires\\_\\ *resource*\" on the " +"module." +msgstr "" + +#: ../../library/test.rst:524 msgid "Return a repr of *dict* with keys sorted." msgstr "" "Gibt eine repr-Darstellung von *dict* mit sortierten Schlüsseln zurück." -#: ../../library/test.rst:527 +#: ../../library/test.rst:529 msgid "" "Return the path to the file named *filename*. If no match is found " "*filename* is returned. This does not equal a failure since it could be the " @@ -916,7 +922,7 @@ msgstr "" "Entsprechung gefunden, wird *filename* zurückgegeben. Das bedeutet kein " "Scheitern, denn es kann der Pfad zur Datei sein." -#: ../../library/test.rst:531 +#: ../../library/test.rst:533 msgid "" "Setting *subdir* indicates a relative path to use to find the file rather " "than looking directly in the path directories." @@ -924,11 +930,44 @@ msgstr "" "Setzt man *subdir*, gibt das einen relativen Pfad an, über den die Datei " "gesucht wird, statt unmittelbar in den Verzeichnissen des Pfades zu suchen." -#: ../../library/test.rst:537 +#: ../../library/test.rst:539 +msgid "" +"Add a label to a test. Use ``@mark('label')`` as a decorator of a test " +"method or class." +msgstr "" + +#: ../../library/test.rst:542 +msgid "" +"The optional *value* (``True`` by default) is matched on the command line by " +"``--label label=value``, whereas ``--label label`` matches any value." +msgstr "" + +#: ../../library/test.rst:545 +msgid "" +"Many :mod:`test.support` decorators " +"like :func:`requires_resource`, :func:`~test.support.cpython_only` " +"or :func:`bigmemtest` add labels automatically." +msgstr "" + +#: ../../library/test.rst:552 +msgid "Add a label to every test of a module. Call it at the module level::" +msgstr "" + +#: ../../library/test.rst:554 +msgid "test.support.mark_module('pickletest')" +msgstr "" + +#: ../../library/test.rst:556 +msgid "" +"The module is the caller, unless its :func:`globals` dict is passed as the " +"*globals* argument." +msgstr "" + +#: ../../library/test.rst:562 msgid "Get size of a page in bytes." msgstr "Liefert die Größe einer Speicherseite in Bytes." -#: ../../library/test.rst:544 +#: ../../library/test.rst:569 msgid "" "Set the :func:`sys.setswitchinterval` to the given *interval*. Defines a " "minimum interval for Android systems to prevent the system from hanging." @@ -937,7 +976,7 @@ msgstr "" "Android-Systeme ein kleinstes Intervall fest, damit das System nicht hängen " "bleibt." -#: ../../library/test.rst:550 +#: ../../library/test.rst:575 msgid "" "Use this check to guard CPython's implementation-specific tests or to run " "them only on the implementations guarded by the arguments. This function " @@ -948,7 +987,7 @@ msgstr "" "benennen. Die Funktion gibt je nach Hostplattform ``True`` oder ``False`` " "zurück. Beispiel::" -#: ../../library/test.rst:555 +#: ../../library/test.rst:580 msgid "" "check_impl_detail() # Only on CPython (default).\n" "check_impl_detail(jython=True) # Only on Jython.\n" @@ -958,7 +997,7 @@ msgstr "" "check_impl_detail(jython=True) # Only on Jython.\n" "check_impl_detail(cpython=False) # Everywhere except CPython." -#: ../../library/test.rst:562 +#: ../../library/test.rst:587 msgid "" "Set the values for :data:`max_memuse` and :data:`real_max_memuse` for big " "memory tests." @@ -966,7 +1005,7 @@ msgstr "" "Setzt die Werte von :data:`max_memuse` und :data:`real_max_memuse` für Tests " "mit großem Speicherbedarf." -#: ../../library/test.rst:568 +#: ../../library/test.rst:593 msgid "" "Store the value from *stdout*. It is meant to hold the stdout at the time " "the regrtest began." @@ -974,7 +1013,7 @@ msgstr "" "Speichert den Wert von *stdout*. Er soll stdout zu dem Zeitpunkt festhalten, " "an dem der regrtest begann." -#: ../../library/test.rst:574 +#: ../../library/test.rst:599 msgid "" "Return the original stdout set by :func:`record_original_stdout` or " "``sys.stdout`` if it's not set." @@ -982,7 +1021,7 @@ msgstr "" "Gibt das ursprüngliche stdout zurück, das :func:`record_original_stdout` " "gesetzt hat, oder ``sys.stdout``, wenn es nicht gesetzt ist." -#: ../../library/test.rst:580 +#: ../../library/test.rst:605 msgid "" "Return a list of command line arguments reproducing the current settings in " "``sys.flags`` and ``sys.warnoptions``." @@ -990,7 +1029,7 @@ msgstr "" "Gibt eine Liste von Befehlszeilenargumenten zurück, die die aktuellen " "Einstellungen in ``sys.flags`` und ``sys.warnoptions`` nachbilden." -#: ../../library/test.rst:586 +#: ../../library/test.rst:611 msgid "" "Return a list of command line arguments reproducing the current optimization " "settings in ``sys.flags``." @@ -998,7 +1037,7 @@ msgstr "" "Gibt eine Liste von Befehlszeilenargumenten zurück, die die aktuellen " "Optimierungseinstellungen in ``sys.flags`` nachbilden." -#: ../../library/test.rst:594 +#: ../../library/test.rst:619 msgid "" "A context managers that temporarily replaces the named stream " "with :class:`io.StringIO` object." @@ -1006,11 +1045,11 @@ msgstr "" "Ein Kontextmanager, der den genannten Strom vorübergehend durch " "ein :class:`io.StringIO`-Objekt ersetzt." -#: ../../library/test.rst:597 +#: ../../library/test.rst:622 msgid "Example use with output streams::" msgstr "Beispiel für die Verwendung mit Ausgabeströmen::" -#: ../../library/test.rst:599 +#: ../../library/test.rst:624 msgid "" "with captured_stdout() as stdout, captured_stderr() as stderr:\n" " print(\"hello\")\n" @@ -1024,11 +1063,11 @@ msgstr "" "assert stdout.getvalue() == \"hello\\n\"\n" "assert stderr.getvalue() == \"error\\n\"" -#: ../../library/test.rst:605 +#: ../../library/test.rst:630 msgid "Example use with input stream::" msgstr "Beispiel für die Verwendung mit dem Eingabestrom::" -#: ../../library/test.rst:607 +#: ../../library/test.rst:632 msgid "" "with captured_stdin() as stdin:\n" " stdin.write('hello\\n')\n" @@ -1044,11 +1083,11 @@ msgstr "" " captured = input()\n" "self.assertEqual(captured, \"hello\")" -#: ../../library/test.rst:617 +#: ../../library/test.rst:642 msgid "A context manager that temporary disables :mod:`faulthandler`." msgstr "Ein Kontextmanager, der :mod:`faulthandler` vorübergehend abschaltet." -#: ../../library/test.rst:622 +#: ../../library/test.rst:647 msgid "" "Force as many objects as possible to be collected. This is needed because " "timely deallocation is not guaranteed by the garbage collector. This means " @@ -1060,7 +1099,7 @@ msgstr "" "können ``__del__``-Methoden später aufgerufen werden als erwartet und " "Weakrefs länger am Leben bleiben als erwartet." -#: ../../library/test.rst:630 +#: ../../library/test.rst:655 msgid "" "A context manager that disables the garbage collector on entry. On exit, the " "garbage collector is restored to its prior state." @@ -1068,16 +1107,16 @@ msgstr "" "Ein Kontextmanager, der beim Eintritt den Garbage Collector abschaltet. Beim " "Verlassen wird sein vorheriger Zustand wiederhergestellt." -#: ../../library/test.rst:636 +#: ../../library/test.rst:661 msgid "Context manager to swap out an attribute with a new object." msgstr "Kontextmanager, um ein Attribut gegen ein neues Objekt auszutauschen." -#: ../../library/test.rst:638 ../../library/test.rst:656 -#: ../../library/test.rst:913 ../../library/test.rst:1445 +#: ../../library/test.rst:663 ../../library/test.rst:681 +#: ../../library/test.rst:951 ../../library/test.rst:1483 msgid "Usage::" msgstr "Verwendung::" -#: ../../library/test.rst:640 +#: ../../library/test.rst:665 msgid "" "with swap_attr(obj, \"attr\", 5):\n" " ..." @@ -1085,7 +1124,7 @@ msgstr "" "with swap_attr(obj, \"attr\", 5):\n" " ..." -#: ../../library/test.rst:643 +#: ../../library/test.rst:668 msgid "" "This will set ``obj.attr`` to 5 for the duration of the ``with`` block, " "restoring the old value at the end of the block. If ``attr`` doesn't exist " @@ -1095,7 +1134,7 @@ msgstr "" "Ende des Blocks den alten Wert wieder her. Gibt es ``attr`` an ``obj`` " "nicht, wird es erzeugt und am Ende des Blocks wieder gelöscht." -#: ../../library/test.rst:648 ../../library/test.rst:666 +#: ../../library/test.rst:673 ../../library/test.rst:691 msgid "" "The old value (or ``None`` if it doesn't exist) will be assigned to the " "target of the \"as\" clause, if there is one." @@ -1103,11 +1142,11 @@ msgstr "" "Der alte Wert – oder ``None``, wenn es ihn nicht gibt – wird dem Ziel der " "„as“-Klausel zugewiesen, sofern es eine gibt." -#: ../../library/test.rst:654 +#: ../../library/test.rst:679 msgid "Context manager to swap out an item with a new object." msgstr "Kontextmanager, um einen Eintrag gegen ein neues Objekt auszutauschen." -#: ../../library/test.rst:658 +#: ../../library/test.rst:683 msgid "" "with swap_item(obj, \"item\", 5):\n" " ..." @@ -1115,7 +1154,7 @@ msgstr "" "with swap_item(obj, \"item\", 5):\n" " ..." -#: ../../library/test.rst:661 +#: ../../library/test.rst:686 msgid "" "This will set ``obj[\"item\"]`` to 5 for the duration of the ``with`` block, " "restoring the old value at the end of the block. If ``item`` doesn't exist " @@ -1125,7 +1164,7 @@ msgstr "" "stellt am Ende des Blocks den alten Wert wieder her. Gibt es ``item`` an " "``obj`` nicht, wird es erzeugt und am Ende des Blocks wieder gelöscht." -#: ../../library/test.rst:672 +#: ../../library/test.rst:697 msgid "" "Call the ``flush()`` method on :data:`sys.stdout` and then " "on :data:`sys.stderr`. It can be used to make sure that the logs order is " @@ -1135,7 +1174,7 @@ msgstr "" "auf :data:`sys.stderr` auf. Damit lässt sich sicherstellen, dass die " "Reihenfolge der Protokolleinträge stimmt, bevor nach stderr geschrieben wird." -#: ../../library/test.rst:681 +#: ../../library/test.rst:706 msgid "" "Print a warning into :data:`sys.__stderr__`. Format the message as: " "``f\"Warning -- {msg}\"``. If *msg* is made of multiple lines, add " @@ -1145,7 +1184,7 @@ msgstr "" "als ``f\"Warning -- {msg}\"``. Besteht *msg* aus mehreren Zeilen, wird jeder " "Zeile das Präfix ``\"Warning -- \"`` vorangestellt." -#: ../../library/test.rst:690 +#: ../../library/test.rst:715 msgid "" "Wait until process *pid* completes and check that the process exit code is " "*exitcode*." @@ -1153,7 +1192,7 @@ msgstr "" "Wartet, bis der Prozess *pid* fertig ist, und prüft, dass sein " "Beendigungscode *exitcode* ist." -#: ../../library/test.rst:693 +#: ../../library/test.rst:718 msgid "" "Raise an :exc:`AssertionError` if the process exit code is not equal to " "*exitcode*." @@ -1161,7 +1200,7 @@ msgstr "" "Löst einen :exc:`AssertionError` aus, wenn der Beendigungscode des Prozesses " "nicht *exitcode* ist." -#: ../../library/test.rst:696 +#: ../../library/test.rst:721 msgid "" "If the process runs longer than *timeout* seconds (:data:`SHORT_TIMEOUT` by " "default), kill the process and raise an :exc:`AssertionError`. The timeout " @@ -1172,7 +1211,7 @@ msgstr "" "ein :exc:`AssertionError` ausgelöst. Die Zeitgrenze steht unter Windows " "nicht zur Verfügung." -#: ../../library/test.rst:705 +#: ../../library/test.rst:730 msgid "" "Return the size of the :c:type:`PyObject` whose structure members are " "defined by *fmt*. The returned value includes the size of the Python object " @@ -1182,7 +1221,7 @@ msgstr "" "*fmt* festgelegt sind. Der zurückgegebene Wert umfasst die Größe des Python-" "Objektkopfes und die Ausrichtung." -#: ../../library/test.rst:711 +#: ../../library/test.rst:736 msgid "" "Return the size of the :c:type:`PyVarObject` whose structure members are " "defined by *fmt*. The returned value includes the size of the Python object " @@ -1192,7 +1231,7 @@ msgstr "" "durch *fmt* festgelegt sind. Der zurückgegebene Wert umfasst die Größe des " "Python-Objektkopfes und die Ausrichtung." -#: ../../library/test.rst:717 +#: ../../library/test.rst:742 msgid "" "For testcase *test*, assert that the ``sys.getsizeof`` for *o* plus the GC " "header size equals *size*." @@ -1200,7 +1239,7 @@ msgstr "" "Sichert für den Testfall *test* zu, dass ``sys.getsizeof`` für *o* plus die " "Größe des GC-Kopfes gleich *size* ist." -#: ../../library/test.rst:723 +#: ../../library/test.rst:748 msgid "" "A decorator to conditionally mark tests " "with :deco:`unittest.expectedFailure`. Any use of this decorator should have " @@ -1210,7 +1249,7 @@ msgstr "" "markiert. Zu jeder Verwendung dieses Dekorators sollte ein Kommentar stehen, " "der das zugehörige Ticket benennt." -#: ../../library/test.rst:730 +#: ../../library/test.rst:755 msgid "" "A decorator that skips the decorated test on TLS certification validation " "failures." @@ -1218,7 +1257,7 @@ msgstr "" "Ein Dekorator, der den dekorierten Test überspringt, wenn die Prüfung von " "TLS-Zertifikaten fehlschlägt." -#: ../../library/test.rst:735 +#: ../../library/test.rst:760 msgid "" "A decorator for running a function in a different locale, correctly " "resetting it after it has finished. *catstr* is the locale category as a " @@ -1230,7 +1269,7 @@ msgstr "" "Zeichenkette, zum Beispiel ``\"LC_ALL\"``. Die übergebenen *locales* werden " "der Reihe nach probiert; die erste gültige Locale wird verwendet." -#: ../../library/test.rst:743 +#: ../../library/test.rst:768 msgid "" "A decorator for running a function in a specific timezone, correctly " "resetting it after it has finished." @@ -1238,7 +1277,7 @@ msgstr "" "Ein Dekorator, der eine Funktion in einer bestimmten Zeitzone ausführt und " "diese danach richtig zurücksetzt." -#: ../../library/test.rst:749 +#: ../../library/test.rst:774 msgid "" "Decorator for the minimum version when running test on FreeBSD. If the " "FreeBSD version is less than the minimum, the test is skipped." @@ -1246,7 +1285,7 @@ msgstr "" "Dekorator für die kleinste Version, wenn der Test unter FreeBSD läuft. Ist " "die FreeBSD-Version kleiner als die kleinste, wird der Test übersprungen." -#: ../../library/test.rst:755 +#: ../../library/test.rst:780 msgid "" "Decorator for the minimum version when running test on Linux. If the Linux " "version is less than the minimum, the test is skipped." @@ -1254,7 +1293,7 @@ msgstr "" "Dekorator für die kleinste Version, wenn der Test unter Linux läuft. Ist die " "Linux-Version kleiner als die kleinste, wird der Test übersprungen." -#: ../../library/test.rst:761 +#: ../../library/test.rst:786 msgid "" "Decorator for the minimum version when running test on macOS. If the macOS " "version is less than the minimum, the test is skipped." @@ -1262,7 +1301,7 @@ msgstr "" "Dekorator für die kleinste Version, wenn der Test unter macOS läuft. Ist die " "macOS-Version kleiner als die kleinste, wird der Test übersprungen." -#: ../../library/test.rst:767 +#: ../../library/test.rst:792 msgid "" "Decorator for skipping tests on the free-threaded build. If the :term:`GIL` " "is disabled, the test is skipped." @@ -1270,37 +1309,52 @@ msgstr "" "Dekorator, um Tests beim Build mit freien Threads zu überspringen. Ist " "der :term:`GIL` abgeschaltet, wird der Test übersprungen." -#: ../../library/test.rst:773 +#: ../../library/test.rst:798 msgid "Decorator for skipping tests on non-IEEE 754 platforms." msgstr "Dekorator, um Tests auf Plattformen ohne IEEE 754 zu überspringen." -#: ../../library/test.rst:778 -msgid "Decorator for skipping tests if :mod:`zlib` doesn't exist." +#: ../../library/test.rst:803 +#, fuzzy +msgid "" +"Decorator for skipping tests if :mod:`zlib` doesn't exist. Adds label " +"\"requires_zlib\"." msgstr "Dekorator, um Tests zu überspringen, wenn es :mod:`zlib` nicht gibt." -#: ../../library/test.rst:783 -msgid "Decorator for skipping tests if :mod:`gzip` doesn't exist." +#: ../../library/test.rst:809 +#, fuzzy +msgid "" +"Decorator for skipping tests if :mod:`gzip` doesn't exist. Adds label " +"\"requires_gzip\"." msgstr "Dekorator, um Tests zu überspringen, wenn es :mod:`gzip` nicht gibt." -#: ../../library/test.rst:788 -msgid "Decorator for skipping tests if :mod:`bz2` doesn't exist." +#: ../../library/test.rst:815 +#, fuzzy +msgid "" +"Decorator for skipping tests if :mod:`bz2` doesn't exist. Adds label " +"\"requires_bz2\"." msgstr "Dekorator, um Tests zu überspringen, wenn es :mod:`bz2` nicht gibt." -#: ../../library/test.rst:793 -msgid "Decorator for skipping tests if :mod:`lzma` doesn't exist." +#: ../../library/test.rst:821 +#, fuzzy +msgid "" +"Decorator for skipping tests if :mod:`lzma` doesn't exist. Adds label " +"\"requires_lzma\"." msgstr "Dekorator, um Tests zu überspringen, wenn es :mod:`lzma` nicht gibt." -#: ../../library/test.rst:798 -msgid "Decorator for skipping tests if *resource* is not available." +#: ../../library/test.rst:827 +#, fuzzy +msgid "" +"Decorator for skipping tests if *resource* is not available. Adds label " +"\"requires\\_\\ *resource*\"." msgstr "" "Dekorator, um Tests zu überspringen, wenn *resource* nicht zur Verfügung " "steht." -#: ../../library/test.rst:803 +#: ../../library/test.rst:833 msgid "Decorator for only running the test if :data:`HAVE_DOCSTRINGS`." msgstr "Dekorator, der den Test nur bei :data:`HAVE_DOCSTRINGS` ausführt." -#: ../../library/test.rst:808 +#: ../../library/test.rst:838 msgid "" "Decorator for only running the test if :ref:`Limited C API ` " "is available." @@ -1308,19 +1362,25 @@ msgstr "" "Dekorator, der den Test nur ausführt, wenn die :ref:`eingeschränkte C-API " "` zur Verfügung steht." -#: ../../library/test.rst:814 -msgid "Decorator for tests only applicable to CPython." +#: ../../library/test.rst:844 +#, fuzzy +msgid "" +"Decorator for tests only applicable to CPython. Adds label " +"\"impl_detail_cpython\"." msgstr "Dekorator für Tests, die nur für CPython gelten." -#: ../../library/test.rst:819 +#: ../../library/test.rst:850 +#, fuzzy msgid "" "Decorator for invoking :func:`check_impl_detail` on *guards*. If that " -"returns ``False``, then uses *msg* as the reason for skipping the test." +"returns ``False``, then uses *msg* as the reason for skipping the test. For " +"every keyword argument *name* adds a label \"impl_detail\\_\\ *name*\" if " +"its value is true or \"impl_detail_no\\_\\ *name*\" otherwise." msgstr "" "Dekorator, der :func:`check_impl_detail` mit *guards* aufruft. Gibt das " "``False`` zurück, dient *msg* als Grund dafür, den Test zu überspringen." -#: ../../library/test.rst:824 +#: ../../library/test.rst:859 msgid "" "Decorator for marking tests as thread-unsafe. This test always runs in one " "thread even when invoked with ``--parallel-threads``." @@ -1328,12 +1388,12 @@ msgstr "" "Dekorator, um Tests als nicht threadsicher zu markieren. Solch ein Test " "läuft immer in einem Thread, auch beim Aufruf mit ``--parallel-threads``." -#: ../../library/test.rst:830 +#: ../../library/test.rst:865 msgid "Decorator to temporarily turn off tracing for the duration of the test." msgstr "" "Dekorator, der das Tracing für die Dauer des Tests vorübergehend abschaltet." -#: ../../library/test.rst:835 +#: ../../library/test.rst:870 msgid "" "Decorator for tests which involve reference counting. The decorator does " "not run the test if it is not run by CPython. Any trace function is unset " @@ -1345,11 +1405,11 @@ msgstr "" "etwaige Trace-Funktion wird für die Dauer des Tests entfernt, damit sie die " "Referenzzahlen nicht unerwartet verändert." -#: ../../library/test.rst:843 +#: ../../library/test.rst:878 msgid "Decorator for bigmem tests." msgstr "Dekorator für bigmem-Tests." -#: ../../library/test.rst:845 +#: ../../library/test.rst:880 msgid "" "*size* is a requested size for the test (in arbitrary, test-interpreted " "units.) *memuse* is the number of bytes per unit for the test, or a good " @@ -1362,7 +1422,7 @@ msgstr "" "braucht, ließe sich zum Beispiel mit ``@bigmemtest(size=_4G, memuse=2)`` " "dekorieren." -#: ../../library/test.rst:850 +#: ../../library/test.rst:885 msgid "" "The *size* argument is normally passed to the decorated test method as an " "extra argument. If *dry_run* is ``True``, the value passed to the test " @@ -1375,11 +1435,18 @@ msgstr "" "``False``, bedeutet das, dass der Test keine Probeläufe unterstützt, wenn ``-" "M`` nicht angegeben ist." -#: ../../library/test.rst:858 -msgid "Decorator for tests that fill the address space." +#: ../../library/test.rst:890 +msgid "Adds label \"bigmemtest\"." +msgstr "" + +#: ../../library/test.rst:895 +#, fuzzy +msgid "" +"Decorator for tests that fill the address space. Adds label " +"\"bigaddrspacetest\"." msgstr "Dekorator für Tests, die den Adressraum füllen." -#: ../../library/test.rst:863 +#: ../../library/test.rst:901 msgid "" "Return ``False`` if there is no evidence the interpreter was compiled with " "``musl``, otherwise return a version triple, either ``(0, 0, 0)`` if the " @@ -1394,7 +1461,7 @@ msgstr "" "angenommen, dass sie mit ``musl`` kompiliert sind, sonst wird " "``platform.libc_ver`` geprüft." -#: ../../library/test.rst:872 +#: ../../library/test.rst:910 msgid "" "Test for syntax errors in *statement* by attempting to compile *statement*. " "*testcase* is the :mod:`unittest` instance for the test. *errtext* is the " @@ -1410,12 +1477,12 @@ msgstr "" "wird mit der Zeile der Ausnahme verglichen. Ist *offset* nicht ``None``, " "wird mit dem Offset der Ausnahme verglichen." -#: ../../library/test.rst:882 +#: ../../library/test.rst:920 msgid "Open *url*. If open fails, raises :exc:`TestFailed`." msgstr "" "Öffnet *url*. Schlägt das Öffnen fehl, wird :exc:`TestFailed` ausgelöst." -#: ../../library/test.rst:887 +#: ../../library/test.rst:925 msgid "" "Call this " "from :meth:`~unittest.TestCase.setUp`, :meth:`~unittest.TestCase.tearDown`, " @@ -1429,7 +1496,7 @@ msgstr "" "keine zusätzlichen Kindprozesse (Zombies) übrig, die Ressourcen belegen und " "bei der Suche nach Refleaks Ärger machen." -#: ../../library/test.rst:896 +#: ../../library/test.rst:934 msgid "" "Get an attribute, raising :exc:`unittest.SkipTest` if :exc:`AttributeError` " "is raised." @@ -1437,7 +1504,7 @@ msgstr "" "Holt ein Attribut und löst :exc:`unittest.SkipTest` aus, wenn " "ein :exc:`AttributeError` auftritt." -#: ../../library/test.rst:902 +#: ../../library/test.rst:940 msgid "" "Context manager catching unraisable exception " "using :func:`sys.unraisablehook`." @@ -1445,7 +1512,7 @@ msgstr "" "Kontextmanager, der eine nicht weiterleitbare Ausnahme (unraisable " "exception) mit :func:`sys.unraisablehook` abfängt." -#: ../../library/test.rst:905 +#: ../../library/test.rst:943 msgid "" "Storing the exception value (``cm.unraisable.exc_value``) creates a " "reference cycle. The reference cycle is broken explicitly when the context " @@ -1455,7 +1522,7 @@ msgstr "" "Zirkelbezug. Dieser wird beim Verlassen des Kontextmanagers ausdrücklich " "aufgelöst." -#: ../../library/test.rst:909 +#: ../../library/test.rst:947 msgid "" "Storing the object (``cm.unraisable.object``) can resurrect it if it is set " "to an object which is being finalized. Exiting the context manager clears " @@ -1465,7 +1532,7 @@ msgstr "" "wenn es auf ein Objekt gesetzt wird, das gerade finalisiert wird. Beim " "Verlassen des Kontextmanagers wird das gespeicherte Objekt geleert." -#: ../../library/test.rst:915 +#: ../../library/test.rst:953 msgid "" "with support.catch_unraisable_exception() as cm:\n" " # code creating an \"unraisable exception\"\n" @@ -1487,7 +1554,7 @@ msgstr "" "# cm.unraisable attribute no longer exists at this point\n" "# (to break a reference cycle)" -#: ../../library/test.rst:930 +#: ../../library/test.rst:968 msgid "" "Generic implementation of the :mod:`unittest` ``load_tests`` protocol for " "use in test packages. *pkg_dir* is the root directory of the package; " @@ -1501,7 +1568,7 @@ msgstr "" "``load_tests`` erwartet. In einfachen Fällen kann die ``__init__.py`` des " "Testpakets so aussehen::" -#: ../../library/test.rst:936 +#: ../../library/test.rst:974 msgid "" "import os\n" "from test.support import load_package_tests\n" @@ -1515,7 +1582,7 @@ msgstr "" "def load_tests(*args):\n" " return load_package_tests(os.path.dirname(__file__), *args)" -#: ../../library/test.rst:945 +#: ../../library/test.rst:983 msgid "" "Returns the set of attributes, functions or methods of *ref_api* not found " "on *other_api*, except for a defined list of items to be ignored in this " @@ -1525,7 +1592,7 @@ msgstr "" "die sich nicht in *other_api* finden – abgesehen von einer festgelegten " "Liste von Einträgen in *ignore*, die bei dieser Prüfung übergangen werden." -#: ../../library/test.rst:949 +#: ../../library/test.rst:987 msgid "" "By default this skips private attributes beginning with '_' but includes all " "magic methods, i.e. those starting and ending in '__'." @@ -1534,7 +1601,7 @@ msgstr "" "Alle magischen Methoden, also jene, die mit '__' beginnen und enden, sind " "dagegen eingeschlossen." -#: ../../library/test.rst:957 +#: ../../library/test.rst:995 msgid "" "Override *object_to_patch.attr_name* with *new_value*. Also add cleanup " "procedure to *test_instance* to restore *object_to_patch* for *attr_name*. " @@ -1545,7 +1612,7 @@ msgstr "" "*attr_name* wiederherstellt. *attr_name* sollte ein gültiges Attribut von " "*object_to_patch* sein." -#: ../../library/test.rst:965 +#: ../../library/test.rst:1003 msgid "" "Run *code* in subinterpreter. Raise :exc:`unittest.SkipTest` " "if :mod:`tracemalloc` is enabled." @@ -1553,7 +1620,7 @@ msgstr "" "Führt *code* in einem Subinterpreter aus. Löst :exc:`unittest.SkipTest` aus, " "wenn :mod:`tracemalloc` eingeschaltet ist." -#: ../../library/test.rst:973 +#: ../../library/test.rst:1011 msgid "" "Decorator that runs the decorated test in a fresh interpreter subprocess, in " "isolation, so that it does not share global or interpreter state with the " @@ -1576,7 +1643,7 @@ msgstr "" "einzeln gemeldet. Ein gemeldetes Scheitern oder ein gemeldeter Fehler zeigt " "den ursprünglichen Traceback des Subprozesses als Ursache der Ausnahme." -#: ../../library/test.rst:983 +#: ../../library/test.rst:1021 msgid "" "When a **method** is decorated, only that method runs in a subprocess; all " "fixtures " @@ -1590,7 +1657,7 @@ msgstr "" "und ``setUpModule()`` / ``tearDownModule()``) laufen sowohl im Elternprozess " "– wie gewohnt – als auch im Subprozess um die Methode herum." -#: ../../library/test.rst:989 +#: ../../library/test.rst:1027 msgid "" "When a **class** is decorated, the whole class runs in a single subprocess, " "and :meth:`~unittest.TestCase.setUpClass`, :meth:`~unittest.TestCase.tearDownClass`, :meth:`~unittest.TestCase.setUp` " @@ -1611,7 +1678,7 @@ msgstr "" "Klassendekorator nicht steuern und läuft daher weiterhin auch im " "Elternprozess. Prüfe es bei Bedarf mit :data:`runningInSubprocess`." -#: ../../library/test.rst:999 +#: ../../library/test.rst:1037 msgid "" "The subprocess inherits the enabled resources (``-u``), memory limit (``-" "M``) and verbosity (``-v``) of the parent test run, so " @@ -1624,7 +1691,7 @@ msgstr "" "sodass :func:`~test.support.requires_resource`, :func:`~test.support.requires`, :func:`~test.support.bigmemtest` " "und ähnliche sich in beiden Prozessen gleich verhalten." -#: ../../library/test.rst:1005 +#: ../../library/test.rst:1043 msgid "" "*options* is a sequence of interpreter command line options to run the " "subprocess with, and *env* is a mapping of environment variables to set in " @@ -1639,7 +1706,7 @@ msgstr "" "und :option:`-I` den Subprozess die ``PYTHON*``-Umgebungsvariablen übergehen " "lassen, auch :envvar:`PYTHONPATH`." -#: ../../library/test.rst:1013 +#: ../../library/test.rst:1051 msgid "" "*timeout* is the number of seconds to wait for the subprocess; the test is " "reported as an error if it does not complete in time. By default there is no " @@ -1650,13 +1717,13 @@ msgstr "" "Voreingestellt gibt es keine Zeitgrenze, und ein hängender Test bleibt der " "Zeitgrenze des Testrunners überlassen." -#: ../../library/test.rst:1018 +#: ../../library/test.rst:1056 msgid "The test is skipped on platforms without subprocess support." msgstr "" "Auf Plattformen ohne Unterstützung für Subprozesse wird der Test " "übersprungen." -#: ../../library/test.rst:1023 +#: ../../library/test.rst:1061 msgid "" "``True`` while the code runs in the isolated subprocess spawned " "by :func:`runInSubprocess`, and ``False`` otherwise (including in the parent " @@ -1672,12 +1739,12 @@ msgstr "" "``setUpModule()`` und ``tearDownModule()`` können den Wert prüfen, um zu " "entscheiden, welcher Code im Subprozess läuft." -#: ../../library/test.rst:1037 +#: ../../library/test.rst:1075 msgid "Assert instances of *cls* are deallocated after iterating." msgstr "" "Sichert zu, dass Instanzen von *cls* nach dem Iterieren freigegeben sind." -#: ../../library/test.rst:1042 +#: ../../library/test.rst:1080 msgid "" "Check for the existence of the compiler executables whose names are listed " "in *cmd_names* or all the compiler executables when *cmd_names* is empty and " @@ -1687,14 +1754,14 @@ msgstr "" "stehen – oder alle Compiler-Programme, wenn *cmd_names* leer ist –, und gibt " "das erste fehlende Programm zurück oder ``None``, wenn keines fehlt." -#: ../../library/test.rst:1050 +#: ../../library/test.rst:1088 msgid "" "Assert that the ``__all__`` variable of *module* contains all public names." msgstr "" "Sichert zu, dass die Variable ``__all__`` von *module* alle öffentlichen " "Namen enthält." -#: ../../library/test.rst:1052 +#: ../../library/test.rst:1090 msgid "" "The module's public names (its API) are detected automatically based on " "whether they match the public name convention and were defined in *module*." @@ -1703,7 +1770,7 @@ msgstr "" "erkannt, ob sie der Konvention für öffentliche Namen entsprechen und in " "*module* definiert wurden." -#: ../../library/test.rst:1056 +#: ../../library/test.rst:1094 msgid "" "The *name_of_module* argument can specify (as a string or tuple thereof) " "what module(s) an API could be defined in order to be detected as a public " @@ -1716,7 +1783,7 @@ msgstr "" "Teil seiner öffentlichen API aus anderen Modulen importiert, womöglich aus " "einem C-Backend, wie ``csv`` und sein ``_csv``." -#: ../../library/test.rst:1061 +#: ../../library/test.rst:1099 msgid "" "The *extra* argument can be a set of names that wouldn't otherwise be " "automatically detected as \"public\", like objects without a " @@ -1728,7 +1795,7 @@ msgstr "" "richtiges :attr:`~definition.__module__`-Attribut. Wird es angegeben, kommt " "es zu den selbsttätig erkannten hinzu." -#: ../../library/test.rst:1065 +#: ../../library/test.rst:1103 msgid "" "The *not_exported* argument can be a set of names that must not be treated " "as part of the public API even though their names indicate otherwise." @@ -1737,11 +1804,11 @@ msgstr "" "Teil der öffentlichen API gelten dürfen, auch wenn ihre Namen etwas anderes " "vermuten lassen." -#: ../../library/test.rst:1068 ../../library/test.rst:1823 +#: ../../library/test.rst:1106 ../../library/test.rst:1863 msgid "Example use::" msgstr "Beispiel::" -#: ../../library/test.rst:1070 +#: ../../library/test.rst:1108 msgid "" "import bar\n" "import foo\n" @@ -1777,7 +1844,7 @@ msgstr "" " support.check__all__(self, bar, ('bar', '_bar'),\n" " extra=extra, not_exported=not_exported)" -#: ../../library/test.rst:1091 +#: ../../library/test.rst:1129 msgid "" "Skip tests if the :mod:`!multiprocessing.synchronize` module is missing, if " "there is no available semaphore implementation, or if creating a lock raises " @@ -1787,13 +1854,13 @@ msgstr "" "keine Umsetzung von Semaphoren zur Verfügung steht oder das Erzeugen eines " "Locks einen :exc:`OSError` auslöst." -#: ../../library/test.rst:1100 +#: ../../library/test.rst:1138 msgid "Assert that type *tp* cannot be instantiated using *args* and *kwds*." msgstr "" "Sichert zu, dass sich der Typ *tp* nicht mit *args* und *kwds* instanzieren " "lässt." -#: ../../library/test.rst:1107 +#: ../../library/test.rst:1145 msgid "" "This function returns a context manager that will change the " "global :func:`sys.set_int_max_str_digits` setting for the duration of the " @@ -1805,11 +1872,11 @@ msgstr "" "ändert. So lässt sich Testcode ausführen, der beim Umwandeln zwischen ganzer " "Zahl und Zeichenkette eine andere Grenze für die Anzahl der Ziffern braucht." -#: ../../library/test.rst:1115 +#: ../../library/test.rst:1153 msgid "The :mod:`!test.support` module defines the following classes:" msgstr "Das Modul :mod:`!test.support` definiert die folgenden Klassen:" -#: ../../library/test.rst:1120 +#: ../../library/test.rst:1158 msgid "" "A context manager used to try to prevent crash dialog popups on tests that " "are expected to crash a subprocess." @@ -1817,7 +1884,7 @@ msgstr "" "Ein Kontextmanager, der zu verhindern versucht, dass bei Tests, die einen " "Subprozess absichtlich zum Abstürzen bringen, Absturzdialoge aufgehen." -#: ../../library/test.rst:1123 +#: ../../library/test.rst:1161 msgid "" "On Windows, it disables Windows Error Reporting dialogs using `SetErrorMode " "`_." @@ -1826,7 +1893,7 @@ msgstr "" "mit `SetErrorMode `_ ab." -#: ../../library/test.rst:1126 +#: ../../library/test.rst:1164 msgid "" "On UNIX, :func:`resource.setrlimit` is used to " "set :const:`resource.RLIMIT_CORE`'s soft limit to 0 to prevent coredump file " @@ -1836,14 +1903,14 @@ msgstr "" "von :const:`resource.RLIMIT_CORE` auf 0 gesetzt, damit keine Coredump-Datei " "entsteht." -#: ../../library/test.rst:1130 +#: ../../library/test.rst:1168 msgid "" "On both platforms, the old value is restored by :meth:`~object.__exit__`." msgstr "" "Auf beiden Plattformen stellt :meth:`~object.__exit__` den alten Wert wieder " "her." -#: ../../library/test.rst:1135 +#: ../../library/test.rst:1173 msgid "" "Class to save and restore signal handlers registered by the Python signal " "handler." @@ -1851,7 +1918,7 @@ msgstr "" "Klasse, um die vom Python-Signalhandler angemeldeten Signalhandler zu " "sichern und wiederherzustellen." -#: ../../library/test.rst:1140 +#: ../../library/test.rst:1178 msgid "" "Save the signal handlers to a dictionary mapping signal numbers to the " "current signal handler." @@ -1859,40 +1926,40 @@ msgstr "" "Sichert die Signalhandler in ein Dictionary, das Signalnummern auf den " "aktuellen Signalhandler abbildet." -#: ../../library/test.rst:1145 +#: ../../library/test.rst:1183 msgid "" "Set the signal numbers from the :meth:`save` dictionary to the saved handler." msgstr "" "Setzt die Signalnummern aus dem Dictionary von :meth:`save` auf den " "gesicherten Handler." -#: ../../library/test.rst:1153 +#: ../../library/test.rst:1191 msgid "Try to match a single dict with the supplied arguments." msgstr "" "Versucht, ein einzelnes Dict mit den übergebenen Argumenten abzugleichen." -#: ../../library/test.rst:1158 +#: ../../library/test.rst:1196 msgid "Try to match a single stored value (*dv*) with a supplied value (*v*)." msgstr "" "Versucht, einen einzelnen gespeicherten Wert (*dv*) mit einem übergebenen " "Wert (*v*) abzugleichen." -#: ../../library/test.rst:1162 +#: ../../library/test.rst:1200 msgid ":mod:`!test.support.socket_helper` --- Utilities for socket tests" msgstr ":mod:`!test.support.socket_helper` --- Werkzeuge für Socket-Tests" -#: ../../library/test.rst:1168 +#: ../../library/test.rst:1206 msgid "" "The :mod:`!test.support.socket_helper` module provides support for socket " "tests." msgstr "Das Modul :mod:`!test.support.socket_helper` unterstützt Socket-Tests." -#: ../../library/test.rst:1175 +#: ../../library/test.rst:1213 msgid "Set to ``True`` if IPv6 is enabled on this host, ``False`` otherwise." msgstr "" "``True``, wenn IPv6 auf diesem Host eingeschaltet ist, sonst ``False``." -#: ../../library/test.rst:1180 +#: ../../library/test.rst:1218 msgid "" "Returns an unused port that should be suitable for binding. This is " "achieved by creating a temporary socket with the same family and type as the " @@ -1911,7 +1978,7 @@ msgstr "" "entlockt. Der temporäre Socket wird dann geschlossen und gelöscht und der " "ephemere Port zurückgegeben." -#: ../../library/test.rst:1189 +#: ../../library/test.rst:1227 msgid "" "Either this method or :func:`bind_port` should be used for any tests where a " "server socket needs to be bound to a particular port for the duration of the " @@ -1934,7 +2001,7 @@ msgstr "" "abgeraten, denn dann lassen sich mehrere Instanzen des Tests womöglich nicht " "gleichzeitig ausführen, was für Buildbots ein Problem ist." -#: ../../library/test.rst:1203 +#: ../../library/test.rst:1241 msgid "" "Bind the socket to a free port and return the port number. Relies on " "ephemeral ports in order to ensure we are using an unbound port. This is " @@ -1959,7 +2026,7 @@ msgstr "" "setzen. Der einzige Grund, sie zu setzen, ist das Prüfen von Multicast über " "mehrere UDP-Sockets." -#: ../../library/test.rst:1214 +#: ../../library/test.rst:1252 msgid "" "Additionally, if the :const:`~socket.SO_EXCLUSIVEADDRUSE` socket option is " "available (i.e. on Windows), it will be set on the socket. This will " @@ -1970,7 +2037,7 @@ msgstr "" "Verfügung, also unter Windows, wird sie am Socket gesetzt. Damit kann sich " "für die Dauer des Tests niemand sonst an unseren Host und Port binden." -#: ../../library/test.rst:1222 +#: ../../library/test.rst:1260 msgid "" "Bind a Unix socket, raising :exc:`unittest.SkipTest` " "if :exc:`PermissionError` is raised." @@ -1978,7 +2045,7 @@ msgstr "" "Bindet einen Unix-Socket und löst :exc:`unittest.SkipTest` aus, wenn " "ein :exc:`PermissionError` auftritt." -#: ../../library/test.rst:1228 +#: ../../library/test.rst:1266 msgid "" "A decorator for running tests that require a functional ``bind()`` for Unix " "sockets." @@ -1986,7 +2053,7 @@ msgstr "" "Ein Dekorator für Tests, die ein funktionierendes ``bind()`` für Unix-" "Sockets brauchen." -#: ../../library/test.rst:1234 +#: ../../library/test.rst:1272 msgid "" "A context manager that raises :exc:`~test.support.ResourceDenied` when " "various issues with the internet connection manifest themselves as " @@ -1995,7 +2062,7 @@ msgstr "" "Ein Kontextmanager, der :exc:`~test.support.ResourceDenied` auslöst, wenn " "sich verschiedene Probleme mit der Internetverbindung als Ausnahmen zeigen." -#: ../../library/test.rst:1240 +#: ../../library/test.rst:1278 msgid "" ":mod:`!test.support.script_helper` --- Utilities for the Python execution " "tests" @@ -2003,7 +2070,7 @@ msgstr "" ":mod:`!test.support.script_helper` --- Werkzeuge für die Tests der Python-" "Ausführung" -#: ../../library/test.rst:1246 +#: ../../library/test.rst:1284 msgid "" "The :mod:`!test.support.script_helper` module provides support for Python's " "script execution tests." @@ -2011,7 +2078,7 @@ msgstr "" "Das Modul :mod:`!test.support.script_helper` unterstützt die Tests der " "Skriptausführung von Python." -#: ../../library/test.rst:1251 +#: ../../library/test.rst:1289 msgid "" "Return ``True`` if ``sys.executable interpreter`` requires environment " "variables in order to be able to run at all." @@ -2019,7 +2086,7 @@ msgstr "" "Gibt ``True`` zurück, wenn ``sys.executable interpreter`` Umgebungsvariablen " "braucht, um überhaupt laufen zu können." -#: ../../library/test.rst:1254 +#: ../../library/test.rst:1292 msgid "" "This is designed to be used with ``@unittest.skipIf()`` to annotate tests " "that need to use an ``assert_python*()`` function to launch an isolated mode " @@ -2030,7 +2097,7 @@ msgstr "" "Subinterpreter-Prozess im isolierten Modus (``-I``) oder ohne Umgebung (``-" "E``) zu starten." -#: ../../library/test.rst:1258 +#: ../../library/test.rst:1296 msgid "" "A normal build & test does not run into this situation but it can happen " "when trying to run the standard library test suite from an interpreter that " @@ -2041,7 +2108,7 @@ msgstr "" "aus laufen lässt, der für die aktuelle Logik von Python zur Suche des Home-" "Verzeichnisses kein offensichtliches Home hat." -#: ../../library/test.rst:1262 +#: ../../library/test.rst:1300 msgid "" "Setting :envvar:`PYTHONHOME` is one way to get most of the testsuite to run " "in that situation. :envvar:`PYTHONPATH` or :envvar:`PYTHONNOUSERSITE` are " @@ -2053,7 +2120,7 @@ msgstr "" "und :envvar:`PYTHONNOUSERSITE` sind weitere verbreitete Umgebungsvariablen, " "die beeinflussen können, ob der Interpreter startet." -#: ../../library/test.rst:1270 +#: ../../library/test.rst:1308 msgid "" "Set up the environment based on *env_vars* for running the interpreter in a " "subprocess. The values can include ``__isolated``, ``__cleanenv``, " @@ -2063,12 +2130,12 @@ msgstr "" "Subprozess auszuführen. Zu den Werten können ``__isolated``, ``__cleanenv``, " "``__cwd`` und ``TERM`` gehören." -#: ../../library/test.rst:1274 ../../library/test.rst:1290 -#: ../../library/test.rst:1302 +#: ../../library/test.rst:1312 ../../library/test.rst:1328 +#: ../../library/test.rst:1340 msgid "The function no longer strips whitespaces from *stderr*." msgstr "Die Funktion entfernt keinen Leerraum mehr aus *stderr*." -#: ../../library/test.rst:1280 +#: ../../library/test.rst:1318 msgid "" "Assert that running the interpreter with *args* and optional environment " "variables *env_vars* succeeds (``rc == 0``) and return a ``(return code, " @@ -2078,7 +2145,7 @@ msgstr "" "Umgebungsvariablen *env_vars* erfolgreich läuft (``rc == 0``), und gibt ein " "Tupel ``(return code, stdout, stderr)`` zurück." -#: ../../library/test.rst:1284 +#: ../../library/test.rst:1322 msgid "" "If the *__cleanenv* keyword-only parameter is set, *env_vars* is used as a " "fresh environment." @@ -2086,7 +2153,7 @@ msgstr "" "Ist der nur als Schlüsselwort übergebbare Parameter *__cleanenv* gesetzt, " "dient *env_vars* als frische Umgebung." -#: ../../library/test.rst:1287 +#: ../../library/test.rst:1325 msgid "" "Python is started in isolated mode (command line option ``-I``), except if " "the *__isolated* keyword-only parameter is set to ``False``." @@ -2095,7 +2162,7 @@ msgstr "" "denn, der nur als Schlüsselwort übergebbare Parameter *__isolated* ist auf " "``False`` gesetzt." -#: ../../library/test.rst:1296 +#: ../../library/test.rst:1334 msgid "" "Assert that running the interpreter with *args* and optional environment " "variables *env_vars* fails (``rc != 0``) and return a ``(return code, " @@ -2105,15 +2172,15 @@ msgstr "" "Umgebungsvariablen *env_vars* scheitert (``rc != 0``), und gibt ein Tupel " "``(return code, stdout, stderr)`` zurück." -#: ../../library/test.rst:1300 +#: ../../library/test.rst:1338 msgid "See :func:`assert_python_ok` for more options." msgstr "Weitere Optionen unter :func:`assert_python_ok`." -#: ../../library/test.rst:1308 +#: ../../library/test.rst:1346 msgid "Run a Python subprocess with the given arguments." msgstr "Führt einen Python-Subprozess mit den angegebenen Argumenten aus." -#: ../../library/test.rst:1310 +#: ../../library/test.rst:1348 msgid "" "*kw* is extra keyword args to pass to :func:`subprocess.Popen`. Returns " "a :class:`subprocess.Popen` object." @@ -2121,7 +2188,7 @@ msgstr "" "*kw* sind zusätzliche Schlüsselwortargumente für :func:`subprocess.Popen`. " "Gibt ein :class:`subprocess.Popen`-Objekt zurück." -#: ../../library/test.rst:1316 +#: ../../library/test.rst:1354 msgid "" "Run the given :class:`subprocess.Popen` process until completion and return " "stdout." @@ -2129,7 +2196,7 @@ msgstr "" "Führt den angegebenen :class:`subprocess.Popen`-Prozess bis zum Ende aus und " "gibt stdout zurück." -#: ../../library/test.rst:1322 +#: ../../library/test.rst:1360 msgid "" "Create script containing *source* in path *script_dir* and " "*script_basename*. If *omit_suffix* is ``False``, append ``.py`` to the " @@ -2139,7 +2206,7 @@ msgstr "" "Inhalt *source*. Ist *omit_suffix* ``False``, wird ``.py`` an den Namen " "angehängt. Gibt den vollständigen Skriptpfad zurück." -#: ../../library/test.rst:1329 +#: ../../library/test.rst:1367 msgid "" "Create zip file at *zip_dir* and *zip_basename* with extension ``zip`` which " "contains the files in *script_name*. *name_in_zip* is the archive name. " @@ -2149,7 +2216,7 @@ msgstr "" "``zip``, die die Dateien aus *script_name* enthält. *name_in_zip* ist der " "Archivname. Gibt ein Tupel ``(full path, full path of archive name)`` zurück." -#: ../../library/test.rst:1336 +#: ../../library/test.rst:1374 msgid "" "Create a directory named *pkg_dir* containing an ``__init__`` file with " "*init_source* as its contents." @@ -2157,7 +2224,7 @@ msgstr "" "Erzeugt ein Verzeichnis *pkg_dir* mit einer Datei ``__init__``, die " "*init_source* als Inhalt hat." -#: ../../library/test.rst:1343 +#: ../../library/test.rst:1381 msgid "" "Create a zip package directory with a path of *zip_dir* and *zip_basename* " "containing an empty ``__init__`` file and a file *script_basename* " @@ -2171,7 +2238,7 @@ msgstr "" "kompiliert und dem ZIP-Paket hinzugefügt. Gibt ein Tupel aus dem " "vollständigen ZIP-Pfad und dem Archivnamen der ZIP-Datei zurück." -#: ../../library/test.rst:1351 +#: ../../library/test.rst:1389 msgid "" ":mod:`!test.support.bytecode_helper` --- Support tools for testing correct " "bytecode generation" @@ -2179,7 +2246,7 @@ msgstr "" ":mod:`!test.support.bytecode_helper` --- Hilfswerkzeuge, um die korrekte " "Bytecode-Erzeugung zu prüfen" -#: ../../library/test.rst:1356 +#: ../../library/test.rst:1394 msgid "" "The :mod:`!test.support.bytecode_helper` module provides support for testing " "and inspecting bytecode generation." @@ -2187,43 +2254,43 @@ msgstr "" "Das Modul :mod:`!test.support.bytecode_helper` unterstützt dabei, die " "Bytecode-Erzeugung zu prüfen und zu untersuchen." -#: ../../library/test.rst:1361 +#: ../../library/test.rst:1399 msgid "The module defines the following class:" msgstr "Das Modul definiert die folgende Klasse:" -#: ../../library/test.rst:1365 +#: ../../library/test.rst:1403 msgid "This class has custom assertion methods for inspecting bytecode." msgstr "" "Diese Klasse hat eigene Zusicherungsmethoden, um Bytecode zu untersuchen." -#: ../../library/test.rst:1369 +#: ../../library/test.rst:1407 msgid "Return the disassembly of *co* as string." msgstr "Gibt die Disassemblierung von *co* als Zeichenkette zurück." -#: ../../library/test.rst:1374 +#: ../../library/test.rst:1412 msgid "" "Return instr if *opname* is found, otherwise throws :exc:`AssertionError`." msgstr "" "Gibt instr zurück, wenn *opname* gefunden wird, sonst " "wird :exc:`AssertionError` ausgelöst." -#: ../../library/test.rst:1379 +#: ../../library/test.rst:1417 msgid "Throws :exc:`AssertionError` if *opname* is found." msgstr "Löst :exc:`AssertionError` aus, wenn *opname* gefunden wird." -#: ../../library/test.rst:1383 +#: ../../library/test.rst:1421 msgid ":mod:`!test.support.threading_helper` --- Utilities for threading tests" msgstr "" ":mod:`!test.support.threading_helper` --- Werkzeuge für Threading-Tests" -#: ../../library/test.rst:1388 +#: ../../library/test.rst:1426 msgid "" "The :mod:`!test.support.threading_helper` module provides support for " "threading tests." msgstr "" "Das Modul :mod:`!test.support.threading_helper` unterstützt Threading-Tests." -#: ../../library/test.rst:1395 +#: ../../library/test.rst:1433 msgid "" "Join a *thread* within *timeout*. Raise an :exc:`AssertionError` if thread " "is still alive after *timeout* seconds." @@ -2232,13 +2299,13 @@ msgstr "" "einen :exc:`AssertionError` aus, wenn der Thread nach *timeout* Sekunden " "noch lebt." -#: ../../library/test.rst:1401 +#: ../../library/test.rst:1439 msgid "Decorator to ensure the threads are cleaned up even if the test fails." msgstr "" "Dekorator, der sicherstellt, dass die Threads auch dann aufgeräumt werden, " "wenn der Test scheitert." -#: ../../library/test.rst:1406 +#: ../../library/test.rst:1444 msgid "" "Context manager to start *threads*, which is a sequence of threads. *unlock* " "is a function called after the threads are started, even if an exception was " @@ -2251,7 +2318,7 @@ msgstr "" "wäre :meth:`threading.Event.set`. Beim Verlassen versucht ``start_threads``, " "auf das Ende der gestarteten Threads zu warten." -#: ../../library/test.rst:1414 +#: ../../library/test.rst:1452 msgid "" "Cleanup up threads not specified in *original_values*. Designed to emit a " "warning if a test leaves running threads in the background." @@ -2259,13 +2326,13 @@ msgstr "" "Räumt Threads auf, die nicht in *original_values* stehen. Soll eine Warnung " "ausgeben, wenn ein Test laufende Threads im Hintergrund hinterlässt." -#: ../../library/test.rst:1420 +#: ../../library/test.rst:1458 msgid "Return current thread count and copy of dangling threads." msgstr "" "Gibt die aktuelle Anzahl der Threads und eine Kopie der hängenden Threads " "zurück." -#: ../../library/test.rst:1425 +#: ../../library/test.rst:1463 msgid "" "Context manager to wait until all threads created in the ``with`` statement " "exit." @@ -2273,7 +2340,7 @@ msgstr "" "Kontextmanager, der wartet, bis alle in der ``with``-Anweisung erzeugten " "Threads beendet sind." -#: ../../library/test.rst:1431 +#: ../../library/test.rst:1469 msgid "" "Context manager catching :class:`threading.Thread` exception " "using :func:`threading.excepthook`." @@ -2281,35 +2348,35 @@ msgstr "" "Kontextmanager, der eine Ausnahme aus :class:`threading.Thread` " "mit :func:`threading.excepthook` abfängt." -#: ../../library/test.rst:1434 +#: ../../library/test.rst:1472 msgid "Attributes set when an exception is caught:" msgstr "Attribute, die beim Abfangen einer Ausnahme gesetzt werden:" -#: ../../library/test.rst:1436 +#: ../../library/test.rst:1474 msgid "``exc_type``" msgstr "``exc_type``" -#: ../../library/test.rst:1437 +#: ../../library/test.rst:1475 msgid "``exc_value``" msgstr "``exc_value``" -#: ../../library/test.rst:1438 +#: ../../library/test.rst:1476 msgid "``exc_traceback``" msgstr "``exc_traceback``" -#: ../../library/test.rst:1439 +#: ../../library/test.rst:1477 msgid "``thread``" msgstr "``thread``" -#: ../../library/test.rst:1441 +#: ../../library/test.rst:1479 msgid "See :func:`threading.excepthook` documentation." msgstr "Siehe die Dokumentation von :func:`threading.excepthook`." -#: ../../library/test.rst:1443 +#: ../../library/test.rst:1481 msgid "These attributes are deleted at the context manager exit." msgstr "Diese Attribute werden beim Verlassen des Kontextmanagers gelöscht." -#: ../../library/test.rst:1447 +#: ../../library/test.rst:1485 msgid "" "with threading_helper.catch_threading_exception() as cm:\n" " # code spawning a thread which raises an exception\n" @@ -2335,7 +2402,7 @@ msgstr "" "# exists at this point\n" "# (to avoid reference cycles)" -#: ../../library/test.rst:1464 +#: ../../library/test.rst:1502 msgid "" "Run the worker function concurrently in multiple threads. Re-raises an " "exception if any thread raises one, after all threads have finished." @@ -2344,26 +2411,26 @@ msgstr "" "Ausnahme erneut aus, wenn irgendein Thread eine auslöst, nachdem alle " "Threads fertig sind." -#: ../../library/test.rst:1470 +#: ../../library/test.rst:1508 msgid ":mod:`!test.support.os_helper` --- Utilities for os tests" msgstr ":mod:`!test.support.os_helper` --- Werkzeuge für os-Tests" -#: ../../library/test.rst:1475 +#: ../../library/test.rst:1513 msgid "" "The :mod:`!test.support.os_helper` module provides support for os tests." msgstr "Das Modul :mod:`!test.support.os_helper` unterstützt os-Tests." -#: ../../library/test.rst:1482 +#: ../../library/test.rst:1520 msgid "A non-ASCII character encodable by :func:`os.fsencode`." msgstr "" "Ein Zeichen außerhalb von ASCII, das sich mit :func:`os.fsencode` kodieren " "lässt." -#: ../../library/test.rst:1487 +#: ../../library/test.rst:1525 msgid "Set to :func:`os.getcwd`." msgstr "Enthält :func:`os.getcwd`." -#: ../../library/test.rst:1492 +#: ../../library/test.rst:1530 msgid "" "Set to a name that is safe to use as the name of a temporary file. Any " "temporary file that is created should be closed and unlinked (removed)." @@ -2372,7 +2439,7 @@ msgstr "" "verwenden lässt. Jede erzeugte temporäre Datei sollte geschlossen und " "entfernt werden." -#: ../../library/test.rst:1498 +#: ../../library/test.rst:1536 msgid "" "Set to a filename containing the :data:`FS_NONASCII` character, if it " "exists. This guarantees that if the filename exists, it can be encoded and " @@ -2386,7 +2453,7 @@ msgstr "" "brauchen, auf Plattformen leicht überspringen, auf denen sie nicht " "funktionieren können." -#: ../../library/test.rst:1506 +#: ../../library/test.rst:1544 msgid "" "Set to a filename (str type) that should not be able to be encoded by file " "system encoding in strict mode. It may be ``None`` if it's not possible to " @@ -2396,7 +2463,7 @@ msgstr "" "Kodierung des Dateisystems kodieren lassen sollte. Kann ``None`` sein, wenn " "sich ein solcher Dateiname nicht erzeugen lässt." -#: ../../library/test.rst:1513 +#: ../../library/test.rst:1551 msgid "" "Set to a filename (bytes type) that should not be able to be decoded by file " "system encoding in strict mode. It may be ``None`` if it's not possible to " @@ -2406,11 +2473,11 @@ msgstr "" "der Kodierung des Dateisystems dekodieren lassen sollte. Kann ``None`` sein, " "wenn sich ein solcher Dateiname nicht erzeugen lässt." -#: ../../library/test.rst:1520 +#: ../../library/test.rst:1558 msgid "Set to a non-ASCII name for a temporary file." msgstr "Enthält einen Namen außerhalb von ASCII für eine temporäre Datei." -#: ../../library/test.rst:1525 +#: ../../library/test.rst:1563 msgid "" "Class used to temporarily set or unset environment variables. Instances can " "be used as a context manager and have a complete dictionary interface for " @@ -2425,11 +2492,11 @@ msgstr "" "Kontextmanagers werden alle über diese Instanz vorgenommenen Änderungen an " "Umgebungsvariablen zurückgerollt." -#: ../../library/test.rst:1531 +#: ../../library/test.rst:1569 msgid "Added dictionary interface." msgstr "Die Dictionary-Schnittstelle kam hinzu." -#: ../../library/test.rst:1537 +#: ../../library/test.rst:1575 msgid "" "Simple :term:`path-like object`. It implements " "the :meth:`~os.PathLike.__fspath__` method which just returns the *path* " @@ -2441,7 +2508,7 @@ msgstr "" "zurückgibt. Ist *path* eine Ausnahme, wird sie in :meth:`!__fspath__` " "ausgelöst." -#: ../../library/test.rst:1545 +#: ../../library/test.rst:1583 msgid "" "Temporarily set the environment variable ``envvar`` to the value of " "``value``." @@ -2449,27 +2516,27 @@ msgstr "" "Setzt die Umgebungsvariable ``envvar`` vorübergehend auf den Wert von " "``value``." -#: ../../library/test.rst:1551 +#: ../../library/test.rst:1589 msgid "Temporarily unset one or more environment variables." msgstr "Hebt eine oder mehrere Umgebungsvariablen vorübergehend auf." -#: ../../library/test.rst:1553 +#: ../../library/test.rst:1591 msgid "More than one environment variable can be unset." msgstr "Es lässt sich mehr als eine Umgebungsvariable aufheben." -#: ../../library/test.rst:1559 +#: ../../library/test.rst:1597 msgid "Return ``True`` if the OS supports symbolic links, ``False`` otherwise." msgstr "" "Gibt ``True`` zurück, wenn das Betriebssystem symbolische Verknüpfungen " "unterstützt, sonst ``False``." -#: ../../library/test.rst:1565 +#: ../../library/test.rst:1603 msgid "Return ``True`` if the OS supports xattr, ``False`` otherwise." msgstr "" "Gibt ``True`` zurück, wenn das Betriebssystem xattr unterstützt, sonst " "``False``." -#: ../../library/test.rst:1571 +#: ../../library/test.rst:1609 msgid "" "A context manager that temporarily changes the current working directory to " "*path* and yields the directory." @@ -2477,7 +2544,7 @@ msgstr "" "Ein Kontextmanager, der das aktuelle Arbeitsverzeichnis vorübergehend auf " "*path* ändert und das Verzeichnis liefert." -#: ../../library/test.rst:1574 +#: ../../library/test.rst:1612 msgid "" "If *quiet* is ``False``, the context manager raises an exception on error. " "Otherwise, it issues only a warning and keeps the current working directory " @@ -2487,24 +2554,24 @@ msgstr "" "Ausnahme aus. Andernfalls gibt er nur eine Warnung aus und lässt das " "aktuelle Arbeitsverzeichnis unverändert." -#: ../../library/test.rst:1581 +#: ../../library/test.rst:1619 msgid "" "Create an empty file with *filename*. If it already exists, truncate it." msgstr "" "Erzeugt eine leere Datei *filename*. Gibt es sie schon, wird sie " "abgeschnitten." -#: ../../library/test.rst:1586 +#: ../../library/test.rst:1624 msgid "Count the number of open file descriptors." msgstr "Zählt die offenen Dateideskriptoren." -#: ../../library/test.rst:1591 +#: ../../library/test.rst:1629 msgid "Return ``True`` if the file system for *directory* is case-insensitive." msgstr "" "Gibt ``True`` zurück, wenn das Dateisystem von *directory* die Groß- und " "Kleinschreibung nicht beachtet." -#: ../../library/test.rst:1596 +#: ../../library/test.rst:1634 msgid "" "Create an invalid file descriptor by opening and closing a temporary file, " "and returning its descriptor." @@ -2512,7 +2579,7 @@ msgstr "" "Erzeugt einen ungültigen Dateideskriptor, indem eine temporäre Datei " "geöffnet und geschlossen und ihr Deskriptor zurückgegeben wird." -#: ../../library/test.rst:1602 +#: ../../library/test.rst:1640 msgid "" "Call :func:`os.rmdir` on *filename*. On Windows platforms, this is wrapped " "with a wait loop that checks for the existence of the file, which is needed " @@ -2523,7 +2590,7 @@ msgstr "" "wegen Antivirenprogrammen nötig, die Dateien offen halten und so das Löschen " "verhindern können." -#: ../../library/test.rst:1610 +#: ../../library/test.rst:1648 msgid "" "Call :func:`shutil.rmtree` on *path* or call :func:`os.lstat` " "and :func:`os.rmdir` to remove a path and its contents. As " @@ -2535,17 +2602,17 @@ msgstr "" "bei :func:`rmdir` ist das unter Windows in eine Warteschleife gehüllt, die " "prüft, ob die Dateien noch vorhanden sind." -#: ../../library/test.rst:1618 +#: ../../library/test.rst:1656 msgid "A decorator for running tests that require support for symbolic links." msgstr "" "Ein Dekorator für Tests, die Unterstützung für symbolische Verknüpfungen " "brauchen." -#: ../../library/test.rst:1623 +#: ../../library/test.rst:1661 msgid "A decorator for running tests that require support for xattr." msgstr "Ein Dekorator für Tests, die Unterstützung für xattr brauchen." -#: ../../library/test.rst:1628 +#: ../../library/test.rst:1666 msgid "" "A context manager that temporarily creates a new directory and changes the " "current working directory (CWD)." @@ -2553,7 +2620,7 @@ msgstr "" "Ein Kontextmanager, der vorübergehend ein neues Verzeichnis erzeugt und das " "aktuelle Arbeitsverzeichnis wechselt." -#: ../../library/test.rst:1631 +#: ../../library/test.rst:1669 msgid "" "The context manager creates a temporary directory in the current directory " "with name *name* before temporarily changing the current working directory. " @@ -2565,7 +2632,7 @@ msgstr "" "vorübergehend wechselt. Ist *name* ``None``, wird das temporäre Verzeichnis " "mit :func:`tempfile.mkdtemp` erzeugt." -#: ../../library/test.rst:1636 +#: ../../library/test.rst:1674 msgid "" "If *quiet* is ``False`` and it is not possible to create or change the CWD, " "an error is raised. Otherwise, only a warning is raised and the original " @@ -2575,7 +2642,7 @@ msgstr "" "erzeugen oder wechseln, wird ein Fehler ausgelöst. Andernfalls erscheint nur " "eine Warnung und das ursprüngliche Arbeitsverzeichnis wird verwendet." -#: ../../library/test.rst:1643 +#: ../../library/test.rst:1681 msgid "" "A context manager that creates a temporary directory at *path* and yields " "the directory." @@ -2583,7 +2650,7 @@ msgstr "" "Ein Kontextmanager, der unter *path* ein temporäres Verzeichnis erzeugt und " "das Verzeichnis liefert." -#: ../../library/test.rst:1646 +#: ../../library/test.rst:1684 msgid "" "If *path* is ``None``, the temporary directory is created " "using :func:`tempfile.mkdtemp`. If *quiet* is ``False``, the context " @@ -2595,11 +2662,11 @@ msgstr "" "Kontextmanager bei einem Fehler eine Ausnahme aus. Andernfalls erscheint nur " "eine Warnung, wenn *path* angegeben ist und sich nicht erzeugen lässt." -#: ../../library/test.rst:1654 +#: ../../library/test.rst:1692 msgid "A context manager that temporarily sets the process umask." msgstr "Ein Kontextmanager, der die umask des Prozesses vorübergehend setzt." -#: ../../library/test.rst:1659 +#: ../../library/test.rst:1697 msgid "" "Call :func:`os.unlink` on *filename*. As with :func:`rmdir`, on Windows " "platforms, this is wrapped with a wait loop that checks for the existence of " @@ -2609,7 +2676,7 @@ msgstr "" "unter Windows in eine Warteschleife gehüllt, die prüft, ob die Datei noch " "vorhanden ist." -#: ../../library/test.rst:1666 +#: ../../library/test.rst:1704 msgid "" "A decorator for running tests with the :envvar:`SOURCE_DATE_EPOCH` " "environment variable set to *epoch*." @@ -2617,7 +2684,7 @@ msgstr "" "Ein Dekorator, der Tests mit der " "Umgebungsvariablen :envvar:`SOURCE_DATE_EPOCH` auf *epoch* gesetzt ausführt." -#: ../../library/test.rst:1672 +#: ../../library/test.rst:1710 msgid "" "A decorator for running tests with the :envvar:`SOURCE_DATE_EPOCH` " "environment variable unset." @@ -2625,7 +2692,7 @@ msgstr "" "Ein Dekorator, der Tests mit aufgehobener " "Umgebungsvariable :envvar:`SOURCE_DATE_EPOCH` ausführt." -#: ../../library/test.rst:1678 +#: ../../library/test.rst:1716 msgid "" "Metaclass wrapping all test methods of the class " "with :func:`with_source_date_epoch` if the *source_date_epoch* keyword class " @@ -2637,7 +2704,7 @@ msgstr "" "Klassenargument *source_date_epoch* wahr ist, sonst " "in :func:`without_source_date_epoch`. Zum Beispiel::" -#: ../../library/test.rst:1683 +#: ../../library/test.rst:1721 msgid "" "class TestsWithSourceEpoch(Tests,\n" " metaclass=SourceDateEpochTestMeta,\n" @@ -2649,27 +2716,27 @@ msgstr "" " source_date_epoch=True):\n" " pass" -#: ../../library/test.rst:1691 +#: ../../library/test.rst:1729 msgid ":mod:`!test.support.import_helper` --- Utilities for import tests" msgstr ":mod:`!test.support.import_helper` --- Werkzeuge für Import-Tests" -#: ../../library/test.rst:1696 +#: ../../library/test.rst:1734 msgid "" "The :mod:`!test.support.import_helper` module provides support for import " "tests." msgstr "Das Modul :mod:`!test.support.import_helper` unterstützt Import-Tests." -#: ../../library/test.rst:1701 +#: ../../library/test.rst:1739 msgid "Creating module objects" msgstr "Modulobjekte erzeugen" -#: ../../library/test.rst:1705 +#: ../../library/test.rst:1743 msgid "Create a new, empty :term:`module` or :term:`package` and return it." msgstr "" "Erzeugt ein neues, leeres :term:`Modul ` oder :term:`Paket " "` und gibt es zurück." -#: ../../library/test.rst:1707 +#: ../../library/test.rst:1745 msgid "" "*name*, *loader* and *ispkg* (as ``is_package``) are passed " "to :class:`importlib.machinery.ModuleSpec`." @@ -2677,7 +2744,7 @@ msgstr "" "*name*, *loader* und *ispkg* (als ``is_package``) werden " "an :class:`importlib.machinery.ModuleSpec` übergeben." -#: ../../library/test.rst:1713 +#: ../../library/test.rst:1751 msgid "" "Create a :term:`module` from a name or spec and add it " "to :data:`sys.modules`." @@ -2685,15 +2752,15 @@ msgstr "" "Erzeugt ein :term:`Modul ` aus einem Namen oder einer Spec und fügt " "es zu :data:`sys.modules` hinzu." -#: ../../library/test.rst:1715 ../../library/test.rst:1724 +#: ../../library/test.rst:1753 ../../library/test.rst:1762 msgid "If *parents* is ``True``, create any missing parent modules." msgstr "Ist *parents* ``True``, werden fehlende übergeordnete Module erzeugt." -#: ../../library/test.rst:1717 +#: ../../library/test.rst:1755 msgid "Return the new module." msgstr "Gibt das neue Modul zurück." -#: ../../library/test.rst:1722 +#: ../../library/test.rst:1760 msgid "" "Create a :term:`package` from a name or spec and add it " "to :data:`sys.modules`." @@ -2701,19 +2768,19 @@ msgstr "" "Erzeugt ein :term:`Paket ` aus einem Namen oder einer Spec und fügt " "es zu :data:`sys.modules` hinzu." -#: ../../library/test.rst:1726 +#: ../../library/test.rst:1764 msgid "Return the new package." msgstr "Gibt das neue Paket zurück." -#: ../../library/test.rst:1730 +#: ../../library/test.rst:1768 msgid "Manipulating sys.modules" msgstr "sys.modules bearbeiten" -#: ../../library/test.rst:1735 +#: ../../library/test.rst:1773 msgid "Remove the module named *name* from :data:`sys.modules`." msgstr "Entfernt das Modul namens *name* aus :data:`sys.modules`." -#: ../../library/test.rst:1740 +#: ../../library/test.rst:1778 msgid "" "Remove the module named *modname* from :data:`sys.modules` and delete any " "byte-compiled files of the module." @@ -2721,11 +2788,11 @@ msgstr "" "Entfernt das Modul namens *modname* aus :data:`sys.modules` und löscht alle " "bytekompilierten Dateien des Moduls." -#: ../../library/test.rst:1746 +#: ../../library/test.rst:1784 msgid "Return a tuple containing a copy of :data:`sys.modules`." msgstr "Gibt ein Tupel mit einer Kopie von :data:`sys.modules` zurück." -#: ../../library/test.rst:1751 +#: ../../library/test.rst:1789 msgid "" "Remove modules except for *oldmodules* and ``encodings`` " "from :data:`sys.modules` in order to preserve the internal cache." @@ -2733,7 +2800,7 @@ msgstr "" "Entfernt Module außer *oldmodules* und ``encodings`` " "aus :data:`sys.modules`, um den internen Zwischenspeicher zu erhalten." -#: ../../library/test.rst:1757 +#: ../../library/test.rst:1795 msgid "" "A context manager that makes a copy of :data:`sys.modules` on entry and " "restores it on exit." @@ -2741,7 +2808,7 @@ msgstr "" "Ein Kontextmanager, der beim Eintritt eine Kopie von :data:`sys.modules` " "anlegt und sie beim Verlassen wiederherstellt." -#: ../../library/test.rst:1763 +#: ../../library/test.rst:1801 msgid "" "A context manager to force imports to return new module references. This is " "useful for testing module-level behaviors, such as the emission of " @@ -2751,7 +2818,7 @@ msgstr "" "zurückzugeben. Nützlich, um Verhalten auf Modulebene zu prüfen, etwa das " "Ausgeben einer :exc:`DeprecationWarning` beim Import." -#: ../../library/test.rst:1767 +#: ../../library/test.rst:1805 msgid "" "When created, this makes a copy of :data:`sys.modules` and removes names " "from *module_names* from the original. On exit, the original module " @@ -2761,7 +2828,7 @@ msgstr "" "Namen aus *module_names* aus dem Original. Beim Verlassen werden die " "ursprünglichen Modulreferenzen wiederhergestellt." -#: ../../library/test.rst:1771 ../../library/test.rst:1817 +#: ../../library/test.rst:1809 ../../library/test.rst:1857 msgid "" "If *usefrozen* is False (the default) then the frozen importer is disabled " "(except for essential modules like ``importlib._bootstrap``)." @@ -2770,11 +2837,11 @@ msgstr "" "Module deaktiviert (außer für wesentliche Module wie " "``importlib._bootstrap``)." -#: ../../library/test.rst:1774 +#: ../../library/test.rst:1812 msgid "Example usage::" msgstr "Anwendungsbeispiel::" -#: ../../library/test.rst:1776 +#: ../../library/test.rst:1814 msgid "" "with CleanImport('foo'):\n" " importlib.import_module('foo') # New reference." @@ -2782,11 +2849,11 @@ msgstr "" "with CleanImport('foo'):\n" " importlib.import_module('foo') # New reference." -#: ../../library/test.rst:1781 +#: ../../library/test.rst:1819 msgid "Importing modules" msgstr "Module importieren" -#: ../../library/test.rst:1785 +#: ../../library/test.rst:1823 msgid "" "This function imports and returns the named module. Unlike a normal import, " "this function raises :exc:`unittest.SkipTest` if the module cannot be " @@ -2796,7 +2863,7 @@ msgstr "" "ein gewöhnlicher Import löst sie :exc:`unittest.SkipTest` aus, wenn sich das " "Modul nicht importieren lässt." -#: ../../library/test.rst:1789 +#: ../../library/test.rst:1827 msgid "" "Module and package deprecation messages are suppressed during this import if " "*deprecated* is ``True``. If a module is required on a platform but " @@ -2809,7 +2876,13 @@ msgstr "" "ein Iterable von Plattformpräfixen, die mit :data:`sys.platform` verglichen " "werden." -#: ../../library/test.rst:1798 +#: ../../library/test.rst:1832 +msgid "" +"If called at the top level, sets label \"requires\\_\\ *name*\" on the " +"module." +msgstr "" + +#: ../../library/test.rst:1838 msgid "" "This function imports and returns a fresh copy of the named Python module by " "removing the named module from :data:`sys.modules` before doing the import. " @@ -2822,7 +2895,7 @@ msgstr "" "bei :func:`reload ` – von dieser Operation unberührt " "bleibt." -#: ../../library/test.rst:1803 +#: ../../library/test.rst:1843 msgid "" "*fresh* is an iterable of additional module names that are also removed from " "the :data:`sys.modules` cache before doing the import." @@ -2830,7 +2903,7 @@ msgstr "" "*fresh* ist ein Iterable weiterer Modulnamen, die vor dem Import ebenfalls " "aus dem Zwischenspeicher :data:`sys.modules` entfernt werden." -#: ../../library/test.rst:1806 +#: ../../library/test.rst:1846 msgid "" "*blocked* is an iterable of module names that are replaced with ``None`` in " "the module cache during the import to ensure that attempts to import them " @@ -2840,7 +2913,7 @@ msgstr "" "während des Imports durch ``None`` ersetzt werden, damit Versuche, sie zu " "importieren, einen :exc:`ImportError` auslösen." -#: ../../library/test.rst:1810 +#: ../../library/test.rst:1850 msgid "" "The named module and any modules named in the *fresh* and *blocked* " "parameters are saved before starting the import and then reinserted " @@ -2850,7 +2923,7 @@ msgstr "" "genannten Module werden vor dem Import gesichert und nach dem frischen " "Import wieder in :data:`sys.modules` eingefügt." -#: ../../library/test.rst:1814 +#: ../../library/test.rst:1854 msgid "" "Module and package deprecation messages are suppressed during this import if " "*deprecated* is ``True``." @@ -2858,7 +2931,7 @@ msgstr "" "Meldungen über veraltete Module und Pakete werden während dieses Imports " "unterdrückt, wenn *deprecated* ``True`` ist." -#: ../../library/test.rst:1820 +#: ../../library/test.rst:1860 msgid "" "This function will raise :exc:`ImportError` if the named module cannot be " "imported." @@ -2866,7 +2939,7 @@ msgstr "" "Diese Funktion löst :exc:`ImportError` aus, wenn sich das genannte Modul " "nicht importieren lässt." -#: ../../library/test.rst:1825 +#: ../../library/test.rst:1865 msgid "" "# Get copies of the warnings module for testing without affecting the\n" "# version being used by the rest of the test suite. One copy uses the\n" @@ -2882,11 +2955,11 @@ msgstr "" "py_warnings = import_fresh_module('warnings', blocked=['_warnings'])\n" "c_warnings = import_fresh_module('warnings', fresh=['_warnings'])" -#: ../../library/test.rst:1837 +#: ../../library/test.rst:1877 msgid "Import and return the named module." msgstr "Importiert das genannte Modul und gibt es zurück." -#: ../../library/test.rst:1839 +#: ../../library/test.rst:1879 msgid "" "If the module is already imported, this is returned. Otherwise, import the " "module and return it. If the module is not found a new, empty module will be " @@ -2896,7 +2969,7 @@ msgstr "" "das Modul importiert und zurückgegeben. Wird das Modul nicht gefunden, wird " "ein neues, leeres Modul erzeugt." -#: ../../library/test.rst:1843 +#: ../../library/test.rst:1883 msgid "" "If *clearnone* is ``True``, this will first remove any ``None`` values that " "would block the import." @@ -2904,17 +2977,17 @@ msgstr "" "Ist *clearnone* ``True``, werden zuerst alle ``None``-Werte entfernt, die " "den Import blockieren würden." -#: ../../library/test.rst:1848 +#: ../../library/test.rst:1888 msgid "Manipulating sys.path" msgstr "sys.path bearbeiten" -#: ../../library/test.rst:1852 +#: ../../library/test.rst:1892 msgid "A context manager to temporarily add directories to :data:`sys.path`." msgstr "" "Ein Kontextmanager, um :data:`sys.path` vorübergehend Verzeichnisse " "hinzuzufügen." -#: ../../library/test.rst:1854 +#: ../../library/test.rst:1894 msgid "" "This makes a copy of :data:`sys.path`, appends any directories given as " "positional arguments, then reverts :data:`sys.path` to the copied settings " @@ -2924,7 +2997,7 @@ msgstr "" "Argumente übergebenen Verzeichnisse an und setzt :data:`sys.path` am Ende " "des Kontexts auf die kopierten Einstellungen zurück." -#: ../../library/test.rst:1858 +#: ../../library/test.rst:1898 msgid "" "Note that *all* :data:`sys.path` modifications in the body of the context " "manager, including replacement of the object, will be reverted at the end of " @@ -2934,7 +3007,7 @@ msgstr "" "Kontextmanagers am Ende des Blocks zurückgenommen werden, auch ein Austausch " "des Objekts." -#: ../../library/test.rst:1865 +#: ../../library/test.rst:1905 msgid "" "A context manager that will create a new Python module *name* with *source* " "source code in a temporary directory and inserts this directory at the start " @@ -2946,7 +3019,7 @@ msgstr "" "den Anfang von :data:`sys.path` stellt. Der Kontextmanager liefert ein Tupel " "mit dem Namen und dem Pfad zum Skript im temporären Verzeichnis." -#: ../../library/test.rst:1870 +#: ../../library/test.rst:1910 msgid "" "If the name matches an existing module, this will be cleared " "from :data:`sys.modules` on entry and restored on exit." @@ -2954,15 +3027,15 @@ msgstr "" "Entspricht der Name einem vorhandenen Modul, wird dieses beim Eintritt " "aus :data:`sys.modules` entfernt und beim Verlassen wiederhergestellt." -#: ../../library/test.rst:1873 +#: ../../library/test.rst:1913 msgid "If no name is given, the module will be named \"spam\"." msgstr "Wird kein Name angegeben, heißt das Modul „spam“." -#: ../../library/test.rst:1878 +#: ../../library/test.rst:1918 msgid "Manipulating internals" msgstr "Interna bearbeiten" -#: ../../library/test.rst:1882 +#: ../../library/test.rst:1922 msgid "" "Move a :pep:`3147`/:pep:`488` pyc file to its legacy pyc location and return " "the file system path to the legacy pyc file. The *source* value is the file " @@ -2975,7 +3048,7 @@ msgstr "" "pyc-Datei nach PEP 3147/488 aber schon, oder *allow_compile* muss gesetzt " "sein." -#: ../../library/test.rst:1887 +#: ../../library/test.rst:1927 msgid "" "If *allow_compile* is ``True`` this will create a .pyc file if it does not " "exist." @@ -2983,13 +3056,13 @@ msgstr "" "Ist *allow_compile* ``True``, wird eine .pyc-Datei erzeugt, falls sie nicht " "existiert." -#: ../../library/test.rst:1892 +#: ../../library/test.rst:1932 msgid "A context manager that forces frozen modules to be used or excluded." msgstr "" "Ein Kontextmanager, der die Verwendung eingefrorener Module erzwingt oder " "sie ausschließt." -#: ../../library/test.rst:1894 +#: ../../library/test.rst:1934 msgid "" "If *enabled* is ``True`` frozen modules are used, otherwise they are " "excluded." @@ -2997,7 +3070,7 @@ msgstr "" "Ist *enabled* ``True``, werden eingefrorene Module verwendet, andernfalls " "werden sie ausgeschlossen." -#: ../../library/test.rst:1896 +#: ../../library/test.rst:1936 msgid "" "This only applies to modules that have not yet been imported. Some essential " "modules will always be imported frozen." @@ -3005,7 +3078,7 @@ msgstr "" "Das gilt nur für Module, die noch nicht importiert wurden. Einige " "wesentliche Module werden immer eingefroren importiert." -#: ../../library/test.rst:1902 +#: ../../library/test.rst:1942 msgid "" "A context manager that forces (if *enabled* is ``True``) or prevents legacy " "(single-phase init) modules from being allowed in subinterpreters." @@ -3013,7 +3086,7 @@ msgstr "" "Ein Kontextmanager, der Legacy-Module (mit einphasiger Initialisierung) in " "Subinterpretern erzwingt (wenn *enabled* ``True`` ist) oder verhindert." -#: ../../library/test.rst:1905 +#: ../../library/test.rst:1945 msgid "" "This only applies to modules that haven't been imported yet. It overrides " "the :c:member:`PyInterpreterConfig.check_multi_interp_extensions` setting." @@ -3022,11 +3095,11 @@ msgstr "" "die " "Einstellung :c:member:`PyInterpreterConfig.check_multi_interp_extensions`." -#: ../../library/test.rst:1911 +#: ../../library/test.rst:1951 msgid "Lazy imports" msgstr "Verzögerte Importe" -#: ../../library/test.rst:1915 +#: ../../library/test.rst:1955 msgid "" "Test that when *imported_module* is imported, none of the modules named in " "*modules_to_block* are imported as a side effect." @@ -3034,7 +3107,7 @@ msgstr "" "Prüft, dass beim Import von *imported_module* keines der in " "*modules_to_block* genannten Module als Nebenwirkung importiert wird." -#: ../../library/test.rst:1918 +#: ../../library/test.rst:1958 msgid "" "*additional_code* if given should be additional Python source code to " "execute before checking that the blocked modules still haven't been imported." @@ -3043,18 +3116,18 @@ msgstr "" "sein, der ausgeführt wird, bevor geprüft wird, dass die blockierten Module " "weiterhin nicht importiert wurden." -#: ../../library/test.rst:1923 +#: ../../library/test.rst:1963 msgid ":mod:`!test.support.warnings_helper` --- Utilities for warnings tests" msgstr ":mod:`!test.support.warnings_helper` --- Werkzeuge für Warnungs-Tests" -#: ../../library/test.rst:1928 +#: ../../library/test.rst:1968 msgid "" "The :mod:`!test.support.warnings_helper` module provides support for " "warnings tests." msgstr "" "Das Modul :mod:`!test.support.warnings_helper` unterstützt Warnungs-Tests." -#: ../../library/test.rst:1935 +#: ../../library/test.rst:1975 msgid "" "Suppress warnings that are instances of *category*, which must " "be :exc:`Warning` or a subclass. Roughly equivalent " @@ -3068,7 +3141,7 @@ msgstr "" "mit :meth:`warnings.simplefilter('ignore', category=category) " "`. Zum Beispiel::" -#: ../../library/test.rst:1941 +#: ../../library/test.rst:1981 msgid "" "@warning_helper.ignore_warnings(category=DeprecationWarning)\n" "def test_suppress_warning():\n" @@ -3078,7 +3151,7 @@ msgstr "" "def test_suppress_warning():\n" " # do something" -#: ../../library/test.rst:1950 +#: ../../library/test.rst:1990 msgid "" "Context manager to check that no :exc:`ResourceWarning` was raised. You " "must remove the object which may emit :exc:`ResourceWarning` before the end " @@ -3088,7 +3161,7 @@ msgstr "" "wurde. Du musst das Objekt, das eine :exc:`ResourceWarning` ausgeben kann, " "vor dem Ende des Kontextmanagers entfernen." -#: ../../library/test.rst:1957 +#: ../../library/test.rst:1997 msgid "" "Test for syntax warning in *statement* by attempting to compile *statement*. " "Test also that the :exc:`SyntaxWarning` is emitted only once, and that it " @@ -3109,7 +3182,7 @@ msgstr "" "wird mit der Zeile von Warnung und Ausnahme verglichen. Ist *offset* nicht " "``None``, wird mit dem Offset der Ausnahme verglichen." -#: ../../library/test.rst:1971 +#: ../../library/test.rst:2011 msgid "" "A convenience wrapper for :func:`warnings.catch_warnings` that makes it " "easier to test that a warning was correctly raised. It is approximately " @@ -3123,7 +3196,7 @@ msgstr "" "mit :meth:`warnings.simplefilter` auf ``always``, mit der Möglichkeit, die " "aufgezeichneten Ergebnisse selbsttätig zu prüfen." -#: ../../library/test.rst:1977 +#: ../../library/test.rst:2017 msgid "" "``check_warnings`` accepts 2-tuples of the form ``(\"message regexp\", " "WarningCategory)`` as positional arguments. If one or more *filters* are " @@ -3144,20 +3217,20 @@ msgstr "" "der Test ebenfalls. Um die erste dieser Prüfungen abzuschalten, setze " "*quiet* auf ``True``." -#: ../../library/test.rst:1986 +#: ../../library/test.rst:2026 msgid "If no arguments are specified, it defaults to::" msgstr "Ohne Argumente gilt::" -#: ../../library/test.rst:1988 +#: ../../library/test.rst:2028 msgid "check_warnings((\"\", Warning), quiet=True)" msgstr "check_warnings((\"\", Warning), quiet=True)" -#: ../../library/test.rst:1990 +#: ../../library/test.rst:2030 msgid "In this case all warnings are caught and no errors are raised." msgstr "" "In diesem Fall werden alle Warnungen abgefangen und keine Fehler ausgelöst." -#: ../../library/test.rst:1992 +#: ../../library/test.rst:2032 msgid "" "On entry to the context manager, a :class:`WarningsRecorder` instance is " "returned. The recorded warnings are available via " @@ -3171,11 +3244,11 @@ msgstr "" "Methode :meth:`~WarningsRecorder.reset` verwirft die bisher aufgezeichneten " "Warnungen." -#: ../../library/test.rst:1997 +#: ../../library/test.rst:2037 msgid "The context manager is designed to be used like this::" msgstr "Der Kontextmanager ist für diese Verwendung gedacht::" -#: ../../library/test.rst:1999 +#: ../../library/test.rst:2039 msgid "" "with check_warnings((\"assertion is always true\", SyntaxWarning),\n" " (\"\", UserWarning)):\n" @@ -3187,7 +3260,7 @@ msgstr "" " exec('assert(False, \"Hey!\")')\n" " warnings.warn(UserWarning(\"Hide me!\"))" -#: ../../library/test.rst:2004 +#: ../../library/test.rst:2044 msgid "" "In this case if either warning was not raised, or some other warning was " "raised, :func:`check_warnings` would raise an error." @@ -3195,7 +3268,7 @@ msgstr "" "Wurde in diesem Fall eine der beiden Warnungen nicht ausgelöst oder eine " "andere Warnung, würde :func:`check_warnings` einen Fehler auslösen." -#: ../../library/test.rst:2007 +#: ../../library/test.rst:2047 msgid "" "When a test needs to look more deeply into the warnings, rather than just " "checking whether or not they occurred, code like this can be used::" @@ -3203,7 +3276,7 @@ msgstr "" "Muss ein Test genauer in die Warnungen hineinsehen, statt nur zu prüfen, ob " "sie aufgetreten sind, lässt sich Code wie dieser verwenden::" -#: ../../library/test.rst:2010 +#: ../../library/test.rst:2050 msgid "" "with check_warnings(quiet=True) as w:\n" " warnings.warn(\"foo\")\n" @@ -3225,7 +3298,7 @@ msgstr "" " w.reset()\n" " assert len(w.warnings) == 0" -#: ../../library/test.rst:2021 +#: ../../library/test.rst:2061 msgid "" "Here all warnings will be caught, and the test code tests the captured " "warnings directly." @@ -3233,11 +3306,11 @@ msgstr "" "Hier werden alle Warnungen abgefangen und der Testcode prüft die " "aufgefangenen Warnungen unmittelbar." -#: ../../library/test.rst:2024 +#: ../../library/test.rst:2064 msgid "New optional arguments *filters* and *quiet*." msgstr "Neue optionale Argumente *filters* und *quiet*." -#: ../../library/test.rst:2030 +#: ../../library/test.rst:2070 msgid "" "Class used to record warnings for unit tests. Wraps the warnings list " "returned by :func:`warnings.catch_warnings` when recording is " @@ -3248,7 +3321,7 @@ msgstr "" "Aufzeichnen zurückgibt. :func:`check_warnings` gibt eine Instanz dieser " "Klasse zurück." -#: ../../library/test.rst:2034 +#: ../../library/test.rst:2074 msgid "" "As a convenience, the attributes of the object representing the most recent " "warning can also be accessed directly through the recorder object. If no " @@ -3260,14 +3333,14 @@ msgstr "" "Wurde seit dem Erzeugen oder dem letzten Zurücksetzen des Recorders keine " "Warnung ausgelöst, geben diese Attribute ``None`` zurück." -#: ../../library/test.rst:2041 +#: ../../library/test.rst:2081 msgid "" "A list of warnings recorded since the recorder was created or last reset." msgstr "" "Eine Liste der Warnungen, die seit dem Erzeugen oder dem letzten " "Zurücksetzen des Recorders aufgezeichnet wurden." -#: ../../library/test.rst:2045 +#: ../../library/test.rst:2085 msgid "" "Discard previously recorded warnings from the recorder's view. The " "underlying warnings list is not modified." diff --git a/library/traceback.po b/library/traceback.po index ee53a3f6..8c62badf 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:01+0000\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" "Language: de\n" @@ -390,8 +390,8 @@ msgstr "" #: ../../library/traceback.rst:334 msgid "" "The :attr:`~BaseException.__notes__` value from the original exception, or " -"``None`` if the exception does not have any notes. If it is not ``None`` is " -"it formatted in the traceback after the exception string." +"``None`` if the exception does not have any notes. If it is not ``None``, it " +"is formatted in the traceback after the exception string." msgstr "" #: ../../library/traceback.rst:343 diff --git a/library/turtle.po b/library/turtle.po index 5b9981a1..fc579806 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-11-01 16:00+0100\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -234,7 +234,7 @@ msgstr "" "``right()``. Viele Befehle haben außerdem knappere Aliasnamen, etwa ``fd()`` " "für :func:`forward`." -#: ../../library/turtle.rst:124 ../../library/turtle.rst:810 +#: ../../library/turtle.rst:124 ../../library/turtle.rst:812 msgid "Pen control" msgstr "Stiftsteuerung" @@ -426,9 +426,9 @@ msgstr "Parameter" #: ../../library/turtle.rst:269 ../../library/turtle.rst:295 #: ../../library/turtle.rst:395 ../../library/turtle.rst:417 #: ../../library/turtle.rst:440 ../../library/turtle.rst:491 -#: ../../library/turtle.rst:763 ../../library/turtle.rst:1312 -#: ../../library/turtle.rst:1733 ../../library/turtle.rst:1734 -#: ../../library/turtle.rst:1735 ../../library/turtle.rst:1736 +#: ../../library/turtle.rst:765 ../../library/turtle.rst:1314 +#: ../../library/turtle.rst:1738 ../../library/turtle.rst:1739 +#: ../../library/turtle.rst:1740 ../../library/turtle.rst:1741 msgid "a number" msgstr "eine Zahl" @@ -540,11 +540,11 @@ msgstr "eine Zahl oder ein Paar/Vektor von Zahlen" #: ../../library/turtle.rst:323 ../../library/turtle.rst:355 #: ../../library/turtle.rst:356 ../../library/turtle.rst:492 -#: ../../library/turtle.rst:1290 ../../library/turtle.rst:1332 -#: ../../library/turtle.rst:1355 ../../library/turtle.rst:1356 +#: ../../library/turtle.rst:1292 ../../library/turtle.rst:1334 #: ../../library/turtle.rst:1357 ../../library/turtle.rst:1358 -#: ../../library/turtle.rst:1974 ../../library/turtle.rst:1975 -#: ../../library/turtle.rst:1976 ../../library/turtle.rst:2022 +#: ../../library/turtle.rst:1359 ../../library/turtle.rst:1360 +#: ../../library/turtle.rst:1979 ../../library/turtle.rst:1980 +#: ../../library/turtle.rst:1981 ../../library/turtle.rst:2027 msgid "a number or ``None``" msgstr "eine Zahl oder ``None``" @@ -588,8 +588,8 @@ msgstr "" ">>> turtle.pos()\n" "(0.00,0.00)" -#: ../../library/turtle.rst:357 ../../library/turtle.rst:1154 -#: ../../library/turtle.rst:2160 +#: ../../library/turtle.rst:357 ../../library/turtle.rst:1156 +#: ../../library/turtle.rst:2142 msgid "a boolean" msgstr "Ein Boolean" @@ -776,18 +776,21 @@ msgstr "" "0.0" #: ../../library/turtle.rst:493 ../../library/turtle.rst:590 -#: ../../library/turtle.rst:1576 +#: ../../library/turtle.rst:1581 ../../library/turtle.rst:2182 +#: ../../library/turtle.rst:2183 msgid "an integer or ``None``" msgstr "eine Ganzzahl oder ``None``" #: ../../library/turtle.rst:495 +#, fuzzy msgid "" "Draw a circle with the given *radius*. The center is *radius* units left of " "the turtle; *extent*, an angle, determines which part of the circle is " "drawn. If *extent* is not given, draw the entire circle. If *extent* is not " "a full circle, one endpoint of the arc is the current pen position. Draw the " -"arc in counterclockwise direction if *radius* is positive, otherwise in " -"clockwise direction. Finally, the turtle's heading is changed by *extent*." +"arc in the counterclockwise direction if *radius* is positive, otherwise in " +"the clockwise direction. Finally, the turtle's heading is changed by " +"*extent*." msgstr "" "Zeichne einen Kreis mit dem angegebenen *radius*. Der Mittelpunkt liegt " "*radius* Einheiten links von der Turtle, *extent* – ein Winkel – bestimmt, " @@ -843,8 +846,8 @@ msgstr "" ">>> turtle.heading()\n" "180.0" -#: ../../library/turtle.rst:533 ../../library/turtle.rst:1707 -#: ../../library/turtle.rst:1708 +#: ../../library/turtle.rst:533 ../../library/turtle.rst:1712 +#: ../../library/turtle.rst:1713 msgid "a positive integer or ``None``" msgstr "eine positive Ganzzahl oder ``None``" @@ -902,8 +905,9 @@ msgstr "" ">>> stamp_id = turtle.stamp()\n" ">>> turtle.fd(50)" -#: ../../library/turtle.rst:568 ../../library/turtle.rst:1401 -#: ../../library/turtle.rst:1901 +#: ../../library/turtle.rst:568 ../../library/turtle.rst:1403 +#: ../../library/turtle.rst:1426 ../../library/turtle.rst:1454 +#: ../../library/turtle.rst:1906 msgid "an integer" msgstr "eine Ganzzahl" @@ -968,14 +972,12 @@ msgstr "" #: ../../library/turtle.rst:609 msgid "" -"Undo (repeatedly) the last turtle action(s). Number of available undo " -"actions is determined by the size of the undobuffer." +"Undo the last turtle action. Calling :func:`!undo` repeatedly undoes one " +"action at a time. The number of actions that can be undone is set by the " +"size of the undo buffer, see :func:`setundobuffer`." msgstr "" -"Mache die letzte(n) Turtle-Aktion(en) (wiederholt) rückgängig. Die Anzahl " -"der verfügbaren Rückgängig-Aktionen wird durch die Größe des Undo-Puffers " -"bestimmt." -#: ../../library/turtle.rst:612 +#: ../../library/turtle.rst:613 msgid "" ">>> for i in range(4):\n" "... turtle.fd(50); turtle.lt(80)\n" @@ -989,16 +991,18 @@ msgstr "" ">>> for i in range(8):\n" "... turtle.undo()" -#: ../../library/turtle.rst:624 +#: ../../library/turtle.rst:625 msgid "an integer, a string or ``None``" msgstr "eine Ganzzahl, eine Zeichenkette oder ``None``" -#: ../../library/turtle.rst:626 +#: ../../library/turtle.rst:627 +#, fuzzy msgid "" "Return or set the turtle's speed. If *speed* is not given, return the " "current speed. Otherwise set the turtle's speed to an integer from 0 to 10. " -"If *speed* is a number greater than 10 or smaller than 0.5, the speed is set " -"to 0. You can also use these names instead of numbers:" +"A number above 0.5 and below 10.5 is rounded to the nearest integer. Any " +"other number sets the speed to 0. You can also use these names instead of " +"numbers:" msgstr "" "Gib die Geschwindigkeit der Turtle zurück oder setze sie. Wird *speed* nicht " "angegeben, wird die aktuelle Geschwindigkeit zurückgegeben. Andernfalls wird " @@ -1007,27 +1011,27 @@ msgstr "" "Geschwindigkeit auf 0 gesetzt. Du kannst auch diese Namen anstelle von " "Zahlen verwenden:" -#: ../../library/turtle.rst:631 +#: ../../library/turtle.rst:633 msgid "\"fastest\": 0" msgstr "\"fastest\": 0" -#: ../../library/turtle.rst:632 +#: ../../library/turtle.rst:634 msgid "\"fast\": 10" msgstr "\"fast\": 10" -#: ../../library/turtle.rst:633 +#: ../../library/turtle.rst:635 msgid "\"normal\": 6" msgstr "\"normal\": 6" -#: ../../library/turtle.rst:634 +#: ../../library/turtle.rst:636 msgid "\"slow\": 3" msgstr "\"slow\": 3" -#: ../../library/turtle.rst:635 +#: ../../library/turtle.rst:637 msgid "\"slowest\": 1" msgstr "\"slowest\": 1" -#: ../../library/turtle.rst:637 +#: ../../library/turtle.rst:639 msgid "" "Speeds from 1 to 10 give increasingly faster animation of line drawing and " "turtle turning. A speed of 0 means that no animation takes " @@ -1040,7 +1044,7 @@ msgstr "" "und :func:`back` lassen die Turtle springen, und ebenso lassen :func:`left` " "und :func:`right` die Turtle sofort drehen." -#: ../../library/turtle.rst:642 +#: ../../library/turtle.rst:644 msgid "" ">>> turtle.speed()\n" "3\n" @@ -1060,16 +1064,16 @@ msgstr "" ">>> turtle.speed()\n" "9" -#: ../../library/turtle.rst:656 +#: ../../library/turtle.rst:658 msgid "Tell Turtle's state" msgstr "Zustand der Turtle abfragen" -#: ../../library/turtle.rst:661 +#: ../../library/turtle.rst:663 msgid "Return the turtle's current location (x,y) as a :class:`Vec2D` vector." msgstr "" "Gib die aktuelle Position der Turtle (x,y) als :class:`Vec2D`-Vektor zurück." -#: ../../library/turtle.rst:663 +#: ../../library/turtle.rst:665 msgid "" ">>> turtle.pos()\n" "(440.00,-0.00)" @@ -1077,15 +1081,15 @@ msgstr "" ">>> turtle.pos()\n" "(440.00,-0.00)" -#: ../../library/turtle.rst:672 ../../library/turtle.rst:737 +#: ../../library/turtle.rst:674 ../../library/turtle.rst:739 msgid "a number or a pair/vector of numbers or a turtle instance" msgstr "eine Zahl oder ein Paar/Vektor von Zahlen oder eine Turtle-Instanz" -#: ../../library/turtle.rst:673 ../../library/turtle.rst:738 +#: ../../library/turtle.rst:675 ../../library/turtle.rst:740 msgid "a number if *x* is a number, else ``None``" msgstr "eine Zahl, falls *x* eine Zahl ist, andernfalls ``None``" -#: ../../library/turtle.rst:675 +#: ../../library/turtle.rst:677 msgid "" "Return the angle of the line from the turtle's position to (x,y). If *y* is " "``None``, *x* must be a pair of coordinates, a :class:`Vec2D`, for example " @@ -1099,7 +1103,7 @@ msgstr "" "Winkel wird von der Startausrichtung der Turtle aus gemessen, die vom Turtle-" "Modus abhängt, siehe :func:`mode`." -#: ../../library/turtle.rst:681 +#: ../../library/turtle.rst:683 msgid "" ">>> turtle.goto(10, 10)\n" ">>> turtle.towards(0,0)\n" @@ -1109,11 +1113,11 @@ msgstr "" ">>> turtle.towards(0,0)\n" "225.0" -#: ../../library/turtle.rst:691 +#: ../../library/turtle.rst:693 msgid "Return the turtle's x coordinate." msgstr "Gib die x-Koordinate der Turtle zurück." -#: ../../library/turtle.rst:693 +#: ../../library/turtle.rst:695 msgid "" ">>> turtle.home()\n" ">>> turtle.left(50)\n" @@ -1131,11 +1135,11 @@ msgstr "" ">>> print(round(turtle.xcor(), 5))\n" "64.27876" -#: ../../library/turtle.rst:707 +#: ../../library/turtle.rst:709 msgid "Return the turtle's y coordinate." msgstr "Gib die y-Koordinate der Turtle zurück." -#: ../../library/turtle.rst:709 +#: ../../library/turtle.rst:711 msgid "" ">>> turtle.home()\n" ">>> turtle.left(60)\n" @@ -1153,7 +1157,7 @@ msgstr "" ">>> print(round(turtle.ycor(), 5))\n" "86.60254" -#: ../../library/turtle.rst:723 +#: ../../library/turtle.rst:725 msgid "" "Return the turtle's current heading. The value depends on the turtle mode, " "see :func:`mode`." @@ -1161,7 +1165,7 @@ msgstr "" "Gib die aktuelle Ausrichtung der Turtle zurück. Der Wert hängt vom Turtle-" "Modus ab, siehe :func:`mode`." -#: ../../library/turtle.rst:726 +#: ../../library/turtle.rst:728 msgid "" ">>> turtle.home()\n" ">>> turtle.left(67)\n" @@ -1173,7 +1177,7 @@ msgstr "" ">>> turtle.heading()\n" "67.0" -#: ../../library/turtle.rst:740 +#: ../../library/turtle.rst:742 msgid "" "Return the distance from the turtle to (x,y) in turtle step units. If *y* is " "``None``, *x* must be a pair of coordinates, a :class:`Vec2D`, for example " @@ -1183,7 +1187,7 @@ msgstr "" "Ist *y* ``None``, muss *x* ein Koordinatenpaar sein, ein :class:`Vec2D` – " "zum Beispiel wie von :func:`pos` zurückgegeben – oder eine andere Turtle." -#: ../../library/turtle.rst:744 +#: ../../library/turtle.rst:746 msgid "" ">>> turtle.home()\n" ">>> turtle.distance(30,40)\n" @@ -1205,11 +1209,11 @@ msgstr "" ">>> turtle.distance(joe)\n" "77.0" -#: ../../library/turtle.rst:759 +#: ../../library/turtle.rst:761 msgid "Settings for measurement" msgstr "Einstellungen für Messungen" -#: ../../library/turtle.rst:765 +#: ../../library/turtle.rst:767 msgid "" "Set the angle measurement units to degrees. The number of degrees in a full " "circle is set to *fullcircle*, which defaults to 360." @@ -1217,7 +1221,7 @@ msgstr "" "Setze die Winkelmesseinheiten auf Grad. Die Anzahl der Grad für einen vollen " "Kreis wird auf *fullcircle* gesetzt, standardmäßig 360." -#: ../../library/turtle.rst:768 +#: ../../library/turtle.rst:770 msgid "" ">>> turtle.home()\n" ">>> turtle.left(90)\n" @@ -1247,7 +1251,7 @@ msgstr "" ">>> turtle.heading()\n" "90.0" -#: ../../library/turtle.rst:788 +#: ../../library/turtle.rst:790 msgid "" "Set the angle measurement units to radians. Equivalent to ``degrees(2 * " "math.pi)``." @@ -1255,7 +1259,7 @@ msgstr "" "Setze die Winkelmesseinheiten auf Radiant. Entspricht ``degrees(2 * " "math.pi)``." -#: ../../library/turtle.rst:791 +#: ../../library/turtle.rst:793 msgid "" ">>> turtle.home()\n" ">>> turtle.left(90)\n" @@ -1273,24 +1277,24 @@ msgstr "" ">>> turtle.heading()\n" "1.5707963267948966" -#: ../../library/turtle.rst:813 +#: ../../library/turtle.rst:815 msgid "Drawing state" msgstr "Zeichenzustand" -#: ../../library/turtle.rst:819 +#: ../../library/turtle.rst:821 msgid "Lower the pen. The turtle draws a line when it moves." msgstr "Senke den Stift. Die Turtle zeichnet eine Linie, wenn sie sich bewegt." -#: ../../library/turtle.rst:826 +#: ../../library/turtle.rst:828 msgid "Lift the pen. The turtle does not draw when it moves." msgstr "Hebe den Stift. Die Turtle zeichnet nicht, wenn sie sich bewegt." -#: ../../library/turtle.rst:832 ../../library/turtle.rst:1256 -#: ../../library/turtle.rst:1257 ../../library/turtle.rst:1258 +#: ../../library/turtle.rst:834 ../../library/turtle.rst:1258 +#: ../../library/turtle.rst:1259 ../../library/turtle.rst:1260 msgid "a positive number or ``None``" msgstr "eine positive Zahl oder ``None``" -#: ../../library/turtle.rst:834 +#: ../../library/turtle.rst:836 msgid "" "Return or set the line thickness. If *width* is not given, return the " "current pensize. If resizemode is set to \"auto\" and the turtle shape is a " @@ -1301,7 +1305,7 @@ msgstr "" "gesetzt und die Form der Turtle ein Polygon, wird dieses Polygon mit " "derselben Liniendicke gezeichnet." -#: ../../library/turtle.rst:838 +#: ../../library/turtle.rst:840 msgid "" ">>> turtle.pensize()\n" "1\n" @@ -1311,15 +1315,15 @@ msgstr "" "1\n" ">>> turtle.pensize(10) # from here on lines of width 10 are drawn" -#: ../../library/turtle.rst:848 +#: ../../library/turtle.rst:850 msgid "a dictionary or ``None``" msgstr "ein Dictionary oder ``None``" -#: ../../library/turtle.rst:849 +#: ../../library/turtle.rst:851 msgid "keyword arguments with the keys below" msgstr "Schlüsselwortargumente mit den unten aufgeführten Schlüsseln" -#: ../../library/turtle.rst:851 +#: ../../library/turtle.rst:853 msgid "" "Return or set the pen's attributes. The attributes are returned as a " "dictionary with the following keys and values:" @@ -1327,51 +1331,51 @@ msgstr "" "Gibt die Attribute des Stifts zurück oder setzt sie. Die Attribute werden " "als Dictionary mit folgenden Schlüsseln und Werten zurückgegeben:" -#: ../../library/turtle.rst:854 +#: ../../library/turtle.rst:856 msgid "\"shown\": ``True`` or ``False``" msgstr "\"shown\": ``True`` oder ``False``" -#: ../../library/turtle.rst:855 +#: ../../library/turtle.rst:857 msgid "\"pendown\": ``True`` or ``False``" msgstr "\"pendown\": ``True`` oder ``False``" -#: ../../library/turtle.rst:856 +#: ../../library/turtle.rst:858 msgid "\"pencolor\": a color string or a color tuple" msgstr "\"pencolor\": ein Farbstring oder ein Farb-Tupel" -#: ../../library/turtle.rst:857 +#: ../../library/turtle.rst:859 msgid "\"fillcolor\": a color string or a color tuple" msgstr "\"fillcolor\": ein Farbstring oder ein Farb-Tupel" -#: ../../library/turtle.rst:858 +#: ../../library/turtle.rst:860 msgid "\"pensize\": a positive number" msgstr "\"pensize\": eine positive Zahl" -#: ../../library/turtle.rst:859 +#: ../../library/turtle.rst:861 msgid "\"speed\": a number from 0 to 10" msgstr "\"speed\": eine Zahl von 0 bis 10" -#: ../../library/turtle.rst:860 +#: ../../library/turtle.rst:862 msgid "\"resizemode\": \"auto\", \"user\" or \"noresize\"" msgstr "\"resizemode\": \"auto\", \"user\" oder \"noresize\"" -#: ../../library/turtle.rst:861 +#: ../../library/turtle.rst:863 msgid "\"stretchfactor\": a pair of positive numbers" msgstr "\"stretchfactor\": ein Paar positiver Zahlen" -#: ../../library/turtle.rst:862 +#: ../../library/turtle.rst:864 msgid "\"shearfactor\": a number" msgstr "\"shearfactor\": eine Zahl" -#: ../../library/turtle.rst:863 +#: ../../library/turtle.rst:865 msgid "\"outline\": a positive number" msgstr "\"outline\": eine positive Zahl" -#: ../../library/turtle.rst:864 +#: ../../library/turtle.rst:866 msgid "\"tilt\": a number" msgstr "\"tilt\": eine Zahl" -#: ../../library/turtle.rst:866 +#: ../../library/turtle.rst:868 msgid "" "Such a dictionary can be passed as *pen* to restore a former pen state. The " "attributes can also be given as keyword arguments, which can be used to set " @@ -1382,7 +1386,7 @@ msgstr "" "Schlüsselwortargumente angegeben werden, womit sich mehrere davon in einer " "einzigen Anweisung setzen lassen." -#: ../../library/turtle.rst:870 +#: ../../library/turtle.rst:872 msgid "" ">>> turtle.pen(fillcolor=\"black\", pencolor=\"red\", pensize=10)\n" ">>> turtle.pen()\n" @@ -1420,12 +1424,12 @@ msgstr "" ">>> turtle.pen()[\"fillcolor\"]\n" "'green'" -#: ../../library/turtle.rst:894 +#: ../../library/turtle.rst:896 msgid "Return ``True`` if the pen is down, ``False`` if it's up." msgstr "" "Gib ``True`` zurück, wenn der Stift unten ist, ``False``, wenn er oben ist." -#: ../../library/turtle.rst:896 +#: ../../library/turtle.rst:898 msgid "" ">>> turtle.penup()\n" ">>> turtle.isdown()\n" @@ -1441,24 +1445,24 @@ msgstr "" ">>> turtle.isdown()\n" "True" -#: ../../library/turtle.rst:908 +#: ../../library/turtle.rst:910 msgid "Color control" msgstr "Farbkontrolle" -#: ../../library/turtle.rst:914 +#: ../../library/turtle.rst:916 msgid "Return or set the pencolor." msgstr "Gib die Stiftfarbe zurück oder setze sie." -#: ../../library/turtle.rst:916 ../../library/turtle.rst:968 -#: ../../library/turtle.rst:1625 +#: ../../library/turtle.rst:918 ../../library/turtle.rst:970 +#: ../../library/turtle.rst:1630 msgid "Four input formats are allowed:" msgstr "Vier Eingabeformate sind erlaubt:" -#: ../../library/turtle.rst:918 +#: ../../library/turtle.rst:920 msgid "``pencolor()``" msgstr "``pencolor()``" -#: ../../library/turtle.rst:919 +#: ../../library/turtle.rst:921 msgid "" "Return the current pencolor as color specification string or as a tuple (see " "example). May be used as input to " @@ -1470,11 +1474,11 @@ msgstr "" "von :func:`color`, :func:`pencolor`, :func:`fillcolor` oder :func:`bgcolor` " "verwendet werden." -#: ../../library/turtle.rst:924 +#: ../../library/turtle.rst:926 msgid "``pencolor(colorstring)``" msgstr "``pencolor(colorstring)``" -#: ../../library/turtle.rst:925 +#: ../../library/turtle.rst:927 msgid "" "Set the pencolor to *colorstring*, which is a Tk color specification string, " "such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." @@ -1482,11 +1486,11 @@ msgstr "" "Setze die Stiftfarbe auf *colorstring*, was ein Tk-Farbangabe-String ist, " "wie zum Beispiel ``\"red\"``, ``\"yellow\"`` oder ``\"#33cc8c\"``." -#: ../../library/turtle.rst:928 +#: ../../library/turtle.rst:930 msgid "``pencolor((r, g, b))``" msgstr "``pencolor((r, g, b))``" -#: ../../library/turtle.rst:929 +#: ../../library/turtle.rst:931 msgid "" "Set the pencolor to the RGB color represented by the tuple of *r*, *g*, and " "*b*. Each of *r*, *g*, and *b* must be between 0 and colormode, where " @@ -1497,11 +1501,11 @@ msgstr "" "0..colormode liegen, wobei colormode entweder 1.0 oder 255 ist " "(siehe :func:`colormode`)." -#: ../../library/turtle.rst:933 +#: ../../library/turtle.rst:935 msgid "``pencolor(r, g, b)``" msgstr "``pencolor(r, g, b)``" -#: ../../library/turtle.rst:934 +#: ../../library/turtle.rst:936 msgid "" "Set the pencolor to the RGB color represented by *r*, *g*, and *b*. Each of " "*r*, *g*, and *b* must be between 0 and colormode." @@ -1509,7 +1513,7 @@ msgstr "" "Setze die Stiftfarbe auf die durch *r*, *g* und *b* dargestellte RGB-Farbe. " "Jeder der Werte *r*, *g* und *b* muss im Bereich 0..colormode liegen." -#: ../../library/turtle.rst:937 +#: ../../library/turtle.rst:939 msgid "" "If the turtle shape is a polygon, the outline of that polygon is drawn with " "the newly set pencolor." @@ -1517,7 +1521,7 @@ msgstr "" "Ist die Form der Turtle ein Polygon, wird der Umriss dieses Polygons mit der " "neu gesetzten Stiftfarbe gezeichnet." -#: ../../library/turtle.rst:940 +#: ../../library/turtle.rst:942 msgid "" ">>> colormode()\n" "1.0\n" @@ -1555,15 +1559,15 @@ msgstr "" ">>> turtle.pencolor()\n" "(50.0, 193.0, 143.0)" -#: ../../library/turtle.rst:966 +#: ../../library/turtle.rst:968 msgid "Return or set the fillcolor." msgstr "Gib die Füllfarbe zurück oder setze sie." -#: ../../library/turtle.rst:970 +#: ../../library/turtle.rst:972 msgid "``fillcolor()``" msgstr "``fillcolor()``" -#: ../../library/turtle.rst:971 +#: ../../library/turtle.rst:973 msgid "" "Return the current fillcolor as color specification string, possibly in " "tuple format (see example). May be used as input to " @@ -1575,11 +1579,11 @@ msgstr "" "weiteren Aufruf von :func:`color`, :func:`pencolor`, :func:`fillcolor` " "oder :func:`bgcolor` verwendet werden." -#: ../../library/turtle.rst:976 +#: ../../library/turtle.rst:978 msgid "``fillcolor(colorstring)``" msgstr "``fillcolor(colorstring)``" -#: ../../library/turtle.rst:977 +#: ../../library/turtle.rst:979 msgid "" "Set the fillcolor to *colorstring*, which is a Tk color specification " "string, such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." @@ -1587,11 +1591,11 @@ msgstr "" "Setze die Füllfarbe auf *colorstring*, was ein Tk-Farbangabe-String ist, wie " "zum Beispiel ``\"red\"``, ``\"yellow\"`` oder ``\"#33cc8c\"``." -#: ../../library/turtle.rst:980 +#: ../../library/turtle.rst:982 msgid "``fillcolor((r, g, b))``" msgstr "``fillcolor((r, g, b))``" -#: ../../library/turtle.rst:981 +#: ../../library/turtle.rst:983 msgid "" "Set the fillcolor to the RGB color represented by the tuple of *r*, *g*, and " "*b*. Each of *r*, *g*, and *b* must be between 0 and colormode, where " @@ -1602,11 +1606,11 @@ msgstr "" "0..colormode liegen, wobei colormode entweder 1.0 oder 255 ist " "(siehe :func:`colormode`)." -#: ../../library/turtle.rst:985 +#: ../../library/turtle.rst:987 msgid "``fillcolor(r, g, b)``" msgstr "``fillcolor(r, g, b)``" -#: ../../library/turtle.rst:986 +#: ../../library/turtle.rst:988 msgid "" "Set the fillcolor to the RGB color represented by *r*, *g*, and *b*. Each of " "*r*, *g*, and *b* must be between 0 and colormode." @@ -1614,7 +1618,7 @@ msgstr "" "Setze die Füllfarbe auf die durch *r*, *g* und *b* dargestellte RGB-Farbe. " "Jeder der Werte *r*, *g* und *b* muss im Bereich 0..colormode liegen." -#: ../../library/turtle.rst:989 +#: ../../library/turtle.rst:991 msgid "" "If the turtle shape is a polygon, the interior of that polygon is drawn with " "the newly set fillcolor." @@ -1622,7 +1626,7 @@ msgstr "" "Ist die Form der Turtle ein Polygon, wird das Innere dieses Polygons mit der " "neu gesetzten Füllfarbe gezeichnet." -#: ../../library/turtle.rst:992 +#: ../../library/turtle.rst:994 msgid "" ">>> turtle.fillcolor(\"violet\")\n" ">>> turtle.fillcolor()\n" @@ -1648,22 +1652,22 @@ msgstr "" ">>> turtle.fillcolor()\n" "(255.0, 255.0, 255.0)" -#: ../../library/turtle.rst:1013 +#: ../../library/turtle.rst:1015 msgid "Return or set the pencolor and fillcolor." msgstr "Gib die Stiftfarbe und die Füllfarbe zurück oder setze sie." -#: ../../library/turtle.rst:1015 +#: ../../library/turtle.rst:1017 msgid "" "Several input formats are allowed. They use 0 to 3 arguments as follows:" msgstr "" "Mehrere Eingabeformate sind erlaubt. Sie verwenden dabei 0 bis 3 Argumente " "wie folgt:" -#: ../../library/turtle.rst:1018 +#: ../../library/turtle.rst:1020 msgid "``color()``" msgstr "``color()``" -#: ../../library/turtle.rst:1019 +#: ../../library/turtle.rst:1021 msgid "" "Return the current pencolor and the current fillcolor as a pair of color " "specification strings or tuples as returned by :func:`pencolor` " @@ -1673,11 +1677,11 @@ msgstr "" "Farbangabe-Strings oder Tupeln zurück, wie sie von :func:`pencolor` " "und :func:`fillcolor` zurückgegeben werden." -#: ../../library/turtle.rst:1023 +#: ../../library/turtle.rst:1025 msgid "``color(colorstring)``, ``color((r,g,b))``, ``color(r,g,b)``" msgstr "``color(colorstring)``, ``color((r,g,b))``, ``color(r,g,b)``" -#: ../../library/turtle.rst:1024 +#: ../../library/turtle.rst:1026 msgid "" "Inputs as in :func:`pencolor`. Set both the pencolor and the fillcolor to " "the given value." @@ -1685,13 +1689,13 @@ msgstr "" "Eingaben wie bei :func:`pencolor`, setzt sowohl fillcolor als auch pencolor " "auf den angegebenen Wert." -#: ../../library/turtle.rst:1027 +#: ../../library/turtle.rst:1029 msgid "" "``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``" msgstr "" "``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``" -#: ../../library/turtle.rst:1028 +#: ../../library/turtle.rst:1030 msgid "" "Equivalent to ``pencolor(colorstring1)`` and ``fillcolor(colorstring2)`` and " "analogously if the other input format is used." @@ -1699,7 +1703,7 @@ msgstr "" "Entspricht ``pencolor(colorstring1)`` und ``fillcolor(colorstring2)`` und " "analog, wenn das andere Eingabeformat verwendet wird." -#: ../../library/turtle.rst:1031 +#: ../../library/turtle.rst:1033 msgid "" "If the turtle shape is a polygon, the outline and interior of that polygon " "are drawn with the newly set colors." @@ -1707,7 +1711,7 @@ msgstr "" "Ist die Form der Turtle ein Polygon, werden Umriss und Inneres dieses " "Polygons mit den neu gesetzten Farben gezeichnet." -#: ../../library/turtle.rst:1034 +#: ../../library/turtle.rst:1036 msgid "" ">>> turtle.color(\"red\", \"green\")\n" ">>> turtle.color()\n" @@ -1723,20 +1727,20 @@ msgstr "" ">>> color()\n" "((40.0, 80.0, 120.0), (160.0, 200.0, 240.0))" -#: ../../library/turtle.rst:1045 +#: ../../library/turtle.rst:1047 msgid "See also: Screen method :func:`colormode`." msgstr "Siehe auch: Screen-Methode :func:`colormode`." -#: ../../library/turtle.rst:1049 +#: ../../library/turtle.rst:1051 msgid "Filling" msgstr "Füllen" -#: ../../library/turtle.rst:1060 +#: ../../library/turtle.rst:1062 msgid "Return ``True`` if the turtle is filling, ``False`` otherwise." msgstr "" "Gib ``True`` zurück, wenn die Turtle gerade füllt, andernfalls ``False``." -#: ../../library/turtle.rst:1062 +#: ../../library/turtle.rst:1064 msgid "" ">>> turtle.begin_fill()\n" ">>> if turtle.filling():\n" @@ -1750,11 +1754,11 @@ msgstr "" "... else:\n" "... turtle.pensize(3)" -#: ../../library/turtle.rst:1074 +#: ../../library/turtle.rst:1076 msgid "Fill the shape drawn in the :keyword:`with` block." msgstr "Füllt die Form, die im Block :keyword:`with` gezeichnet wird." -#: ../../library/turtle.rst:1076 +#: ../../library/turtle.rst:1078 msgid "" ">>> turtle.color(\"black\", \"red\")\n" ">>> with turtle.fill():\n" @@ -1764,7 +1768,7 @@ msgstr "" ">>> with turtle.fill():\n" "... turtle.circle(80)" -#: ../../library/turtle.rst:1083 +#: ../../library/turtle.rst:1085 msgid "" ":func:`fill` is a :term:`context manager`, so using it is the same as " "calling :func:`begin_fill` before the block and :func:`end_fill` after it:" @@ -1773,7 +1777,7 @@ msgstr "" "Verwendung entspricht also dem Aufruf von :func:`begin_fill` vor dem Block " "und :func:`end_fill` danach:" -#: ../../library/turtle.rst:1086 ../../library/turtle.rst:1112 +#: ../../library/turtle.rst:1088 ../../library/turtle.rst:1114 msgid "" ">>> turtle.color(\"black\", \"red\")\n" ">>> turtle.begin_fill()\n" @@ -1785,7 +1789,7 @@ msgstr "" ">>> turtle.circle(80)\n" ">>> turtle.end_fill()" -#: ../../library/turtle.rst:1099 +#: ../../library/turtle.rst:1101 msgid "" "Call just before drawing a shape to be filled. The shape is filled by the " "next call to :func:`end_fill`." @@ -1793,13 +1797,13 @@ msgstr "" "Kurz vor dem Zeichnen einer zu füllenden Form aufrufen. Die Form wird beim " "nächsten Aufruf von :func:`end_fill` gefüllt." -#: ../../library/turtle.rst:1105 +#: ../../library/turtle.rst:1107 msgid "Fill the shape drawn after the last call to :func:`begin_fill`." msgstr "" "Fülle die Form, die seit dem letzten Aufruf von :func:`begin_fill` " "gezeichnet wurde." -#: ../../library/turtle.rst:1107 +#: ../../library/turtle.rst:1109 msgid "" "If the shape crosses itself or several shapes overlap, whether the " "overlapping parts are filled depends on the operating system, the type of " @@ -1812,11 +1816,11 @@ msgstr "" "Beispiel kann der oben gezeigte Turtle-Stern entweder komplett gelb sein " "oder einige weiße Bereiche aufweisen." -#: ../../library/turtle.rst:1122 +#: ../../library/turtle.rst:1124 msgid "More drawing control" msgstr "Mehr Zeichenkontrolle" -#: ../../library/turtle.rst:1126 +#: ../../library/turtle.rst:1128 msgid "" "Delete the turtle's drawings and re-center the turtle. The turtle's settings " "are restored to their default values." @@ -1824,7 +1828,7 @@ msgstr "" "Lösche die Zeichnungen der Turtle und zentriere die Turtle neu. Die " "Einstellungen der Turtle werden auf ihre Standardwerte zurückgesetzt." -#: ../../library/turtle.rst:1129 +#: ../../library/turtle.rst:1131 msgid "" ">>> turtle.goto(0,-22)\n" ">>> turtle.left(100)\n" @@ -1850,7 +1854,7 @@ msgstr "" ">>> turtle.heading()\n" "0.0" -#: ../../library/turtle.rst:1147 +#: ../../library/turtle.rst:1149 msgid "" "Delete the turtle's drawings from the screen. The state and position of the " "turtle as well as the drawings of other turtles are not affected." @@ -1858,23 +1862,24 @@ msgstr "" "Lösche die Zeichnungen der Turtle vom Bildschirm. Zustand und Position der " "Turtle sowie die Zeichnungen anderer Turtles bleiben davon unberührt." -#: ../../library/turtle.rst:1153 +#: ../../library/turtle.rst:1155 msgid "an object" msgstr "ein Objekt" -#: ../../library/turtle.rst:1155 ../../library/turtle.rst:1851 -#: ../../library/turtle.rst:1960 ../../library/turtle.rst:1961 -#: ../../library/turtle.rst:1972 ../../library/turtle.rst:1973 -#: ../../library/turtle.rst:2070 ../../library/turtle.rst:2159 -#: ../../library/turtle.rst:2205 ../../library/turtle.rst:2261 +#: ../../library/turtle.rst:1157 ../../library/turtle.rst:1856 +#: ../../library/turtle.rst:1965 ../../library/turtle.rst:1966 +#: ../../library/turtle.rst:1977 ../../library/turtle.rst:1978 +#: ../../library/turtle.rst:2075 ../../library/turtle.rst:2141 +#: ../../library/turtle.rst:2210 ../../library/turtle.rst:2266 +#: ../../library/turtle.rst:2605 msgid "a string" msgstr "eine Zeichenkette" -#: ../../library/turtle.rst:1156 +#: ../../library/turtle.rst:1158 msgid "a tuple of a string, an integer and a string" msgstr "ein Tupel aus einem String, einer Ganzzahl und einem String" -#: ../../library/turtle.rst:1158 +#: ../../library/turtle.rst:1160 msgid "" "Write text at the current turtle position. The text is the string " "representation of *arg*. *align* is one of the strings \"left\", \"center\" " @@ -1889,7 +1894,7 @@ msgstr "" "Schriftart. Ist *move* ``True``, wird der Stift an die untere rechte Ecke " "des Textes bewegt." -#: ../../library/turtle.rst:1164 +#: ../../library/turtle.rst:1166 msgid "" ">>> turtle.write(\"Home = \", True, align=\"center\")\n" ">>> turtle.write((0,0), True)" @@ -1897,31 +1902,31 @@ msgstr "" ">>> turtle.write(\"Home = \", True, align=\"center\")\n" ">>> turtle.write((0,0), True)" -#: ../../library/turtle.rst:1172 +#: ../../library/turtle.rst:1174 msgid "Turtle state" msgstr "Turtle-Status" -#: ../../library/turtle.rst:1175 +#: ../../library/turtle.rst:1177 msgid "Visibility" msgstr "Sichtbarkeit" -#: ../../library/turtle.rst:1180 +#: ../../library/turtle.rst:1182 msgid "Make the turtle invisible. If the pen is down, movement still draws." msgstr "" "Mache die Turtle unsichtbar. Ist der Stift unten, zeichnet eine Bewegung " "weiterhin." -#: ../../library/turtle.rst:1186 +#: ../../library/turtle.rst:1188 msgid "Make the turtle visible." msgstr "Mache die Turtle sichtbar." -#: ../../library/turtle.rst:1191 +#: ../../library/turtle.rst:1193 msgid "Return ``True`` if the turtle is visible, ``False`` if it's hidden." msgstr "" "Gib ``True`` zurück, wenn die Turtle sichtbar ist, ``False``, wenn sie " "versteckt ist." -#: ../../library/turtle.rst:1193 +#: ../../library/turtle.rst:1195 msgid "" ">>> turtle.hideturtle()\n" ">>> turtle.isvisible()\n" @@ -1937,23 +1942,24 @@ msgstr "" ">>> turtle.isvisible()\n" "True" -#: ../../library/turtle.rst:1205 +#: ../../library/turtle.rst:1207 msgid "Appearance" msgstr "Erscheinungsbild" -#: ../../library/turtle.rst:1209 ../../library/turtle.rst:1229 -#: ../../library/turtle.rst:1660 ../../library/turtle.rst:1875 -#: ../../library/turtle.rst:1994 +#: ../../library/turtle.rst:1211 ../../library/turtle.rst:1231 +#: ../../library/turtle.rst:1665 ../../library/turtle.rst:1880 +#: ../../library/turtle.rst:1999 msgid "a string or ``None``" msgstr "eine Zeichenkette oder ``None``" -#: ../../library/turtle.rst:1211 +#: ../../library/turtle.rst:1213 +#, fuzzy msgid "" "Set the turtle shape to the named shape. If *name* is not given, return the " "name of the current shape. The shape must exist in " -"the :class:`TurtleScreen`'s shape dictionary. Initially there are the " -"following shapes: \"arrow\", \"turtle\", \"circle\", \"square\", " -"\"triangle\" and \"classic\". To add shapes, see the :class:`Screen` " +"the :class:`TurtleScreen`'s shape list. Initially there are the following " +"shapes: \"arrow\", \"turtle\", \"circle\", \"square\", \"triangle\" and " +"\"classic\". To add shapes, see the :class:`Screen` " "method :func:`register_shape`." msgstr "" "Setze die Form der Turtle auf die Form mit dem angegebenen Namen. Wird " @@ -1963,7 +1969,7 @@ msgstr "" "\"square\", \"triangle\" und \"classic\". Um Formen hinzuzufügen, siehe " "die :class:`Screen`-Methode :func:`register_shape`." -#: ../../library/turtle.rst:1217 +#: ../../library/turtle.rst:1219 msgid "" ">>> turtle.shape()\n" "'classic'\n" @@ -1977,7 +1983,7 @@ msgstr "" ">>> turtle.shape()\n" "'turtle'" -#: ../../library/turtle.rst:1231 +#: ../../library/turtle.rst:1233 msgid "" "Set the resizemode to \"auto\", \"user\" or \"noresize\". If *rmode* is not " "given, return the current resizemode. The different resizemodes have the " @@ -1987,14 +1993,14 @@ msgstr "" "nicht angegeben, wird der aktuelle resizemode zurückgegeben. Die " "verschiedenen resizemodes haben folgende Auswirkungen:" -#: ../../library/turtle.rst:1235 +#: ../../library/turtle.rst:1237 msgid "" "\"auto\": the turtle is resized according to the value of :func:`pensize`." msgstr "" "\"auto\": Die Größe der Turtle richtet sich nach dem Wert " "von :func:`pensize`." -#: ../../library/turtle.rst:1236 +#: ../../library/turtle.rst:1238 msgid "" "\"user\": the turtle is resized according to the stretch factors and outline " "width, which are set by :func:`shapesize`." @@ -2002,11 +2008,11 @@ msgstr "" "\"user\": Die Größe der Turtle richtet sich nach den Streckfaktoren und der " "Umrissbreite, die :func:`shapesize` setzt." -#: ../../library/turtle.rst:1238 +#: ../../library/turtle.rst:1240 msgid "\"noresize\": the turtle is not resized." msgstr "\"noresize\": Die Größe der Turtle wird nicht verändert." -#: ../../library/turtle.rst:1240 +#: ../../library/turtle.rst:1242 msgid "" "``resizemode(\"user\")`` is called by :func:`shapesize` when used with " "arguments." @@ -2014,7 +2020,7 @@ msgstr "" "``resizemode(\"user\")`` wird von :func:`shapesize` aufgerufen, wenn es mit " "Argumenten verwendet wird." -#: ../../library/turtle.rst:1243 +#: ../../library/turtle.rst:1245 msgid "" ">>> turtle.resizemode()\n" "'noresize'\n" @@ -2028,7 +2034,7 @@ msgstr "" ">>> turtle.resizemode()\n" "'auto'" -#: ../../library/turtle.rst:1260 +#: ../../library/turtle.rst:1262 msgid "" "Return or set the turtle's stretch factors and outline width. If no " "arguments are given, return the current values. Otherwise set resizemode to " @@ -2040,20 +2046,20 @@ msgstr "" "zurückgegeben. Andernfalls wird resizemode auf \"user\" gesetzt, sodass die " "Turtle entsprechend ihren Streckfaktoren gestreckt dargestellt wird:" -#: ../../library/turtle.rst:1265 +#: ../../library/turtle.rst:1267 msgid "*stretch_wid*: the stretch factor perpendicular to the turtle's heading" msgstr "*stretch_wid*: der Streckfaktor senkrecht zur Ausrichtung der Turtle" -#: ../../library/turtle.rst:1266 +#: ../../library/turtle.rst:1268 msgid "" "*stretch_len*: the stretch factor in the direction of the turtle's heading" msgstr "*stretch_len*: der Streckfaktor in Richtung der Ausrichtung der Turtle" -#: ../../library/turtle.rst:1268 +#: ../../library/turtle.rst:1270 msgid "*outline*: the width of the shape's outline" msgstr "*outline*: die Breite des Umrisses der Form" -#: ../../library/turtle.rst:1270 +#: ../../library/turtle.rst:1272 msgid "" "For example, ``shapesize(2, 1)`` makes the turtle twice as wide without " "changing its length. If only *stretch_wid* is given, *stretch_len* is set to " @@ -2063,7 +2069,7 @@ msgstr "" "ihre Länge zu ändern. Wird nur *stretch_wid* angegeben, wird *stretch_len* " "auf denselben Wert gesetzt." -#: ../../library/turtle.rst:1274 +#: ../../library/turtle.rst:1276 msgid "" ">>> turtle.shapesize()\n" "(1.0, 1.0, 1)\n" @@ -2085,7 +2091,7 @@ msgstr "" ">>> turtle.shapesize()\n" "(5, 5, 8)" -#: ../../library/turtle.rst:1292 +#: ../../library/turtle.rst:1294 msgid "" "Return or set the current shear factor. Shearing slants the turtle shape, " "like the slant of italic letters. The shear factor says how much it is " @@ -2104,7 +2110,7 @@ msgstr "" "resizemode auf \"user\" gesetzt. Die Ausrichtung der Turtle ändert sich " "nicht. Genau genommen ist der Scherfaktor der Tangens des Scherwinkels." -#: ../../library/turtle.rst:1300 +#: ../../library/turtle.rst:1302 msgid "" ">>> turtle.shape(\"circle\")\n" ">>> turtle.shapesize(5,2)\n" @@ -2118,7 +2124,7 @@ msgstr "" ">>> turtle.shearfactor()\n" "0.5" -#: ../../library/turtle.rst:1314 +#: ../../library/turtle.rst:1316 msgid "" "Turn the turtle shape by *angle* from its current tilt angle. The turtle's " "heading does not change, so the turtle keeps moving in the same direction. " @@ -2128,7 +2134,7 @@ msgstr "" "Die Ausrichtung der Turtle ändert sich nicht, sie bewegt sich also weiter in " "dieselbe Richtung. Siehe :func:`tiltangle`." -#: ../../library/turtle.rst:1318 +#: ../../library/turtle.rst:1320 msgid "" ">>> turtle.reset()\n" ">>> turtle.shape(\"circle\")\n" @@ -2146,7 +2152,7 @@ msgstr "" ">>> turtle.tilt(30)\n" ">>> turtle.fd(50)" -#: ../../library/turtle.rst:1334 +#: ../../library/turtle.rst:1336 msgid "" "Return or set the current tilt angle. The tilt angle is the angle between " "the direction the turtle shape points in and the direction the turtle moves " @@ -2165,7 +2171,7 @@ msgstr "" "nicht. Ist *angle* nicht angegeben, wird der aktuelle Kippwinkel " "zurückgegeben." -#: ../../library/turtle.rst:1342 +#: ../../library/turtle.rst:1344 msgid "" ">>> turtle.reset()\n" ">>> turtle.shape(\"circle\")\n" @@ -2181,7 +2187,7 @@ msgstr "" ">>> turtle.tiltangle()\n" "45.0" -#: ../../library/turtle.rst:1360 +#: ../../library/turtle.rst:1362 msgid "" "Return or set the transformation matrix of the turtle shape. The matrix " "combines the stretch factors, the shear factor and the tilt angle of the " @@ -2200,7 +2206,7 @@ msgstr "" "Kippwinkel entsprechend aktualisiert. ``t11 * t22 - t12 * t21`` darf nicht " "null sein, sonst wird ein Fehler ausgelöst." -#: ../../library/turtle.rst:1368 +#: ../../library/turtle.rst:1370 msgid "" ">>> turtle = Turtle()\n" ">>> turtle.shape(\"square\")\n" @@ -2216,18 +2222,19 @@ msgstr "" ">>> turtle.shapetransform()\n" "(4.0, -1.0, -0.0, 2.0)" -#: ../../library/turtle.rst:1381 +#: ../../library/turtle.rst:1383 +#, fuzzy msgid "" "Return the points that form the outline of the current turtle shape as a " "tuple of ``(x, y)`` coordinate pairs. These points can be used to define a " -"new shape or parts of a :ref:`compound shape `" +"new shape or parts of a :ref:`compound shape `." msgstr "" "Gibt die Punkte, die den Umriss der aktuellen Turtle-Form bilden, als Tupel " "von Koordinatenpaaren ``(x, y)`` zurück. Mit diesen Punkten lässt sich eine " "neue Form oder Teile einer :ref:`zusammengesetzten Form ` " "definieren." -#: ../../library/turtle.rst:1385 +#: ../../library/turtle.rst:1387 msgid "" ">>> turtle.shape(\"square\")\n" ">>> turtle.shapetransform(4, -1, 0, 2)\n" @@ -2239,25 +2246,28 @@ msgstr "" ">>> turtle.get_shapepoly()\n" "((50, -20), (30, 20), (-50, 20), (-30, -20))" -#: ../../library/turtle.rst:1395 +#: ../../library/turtle.rst:1397 msgid "Using events" msgstr "Ereignisse verwenden" -#: ../../library/turtle.rst:1400 ../../library/turtle.rst:1900 +#: ../../library/turtle.rst:1402 ../../library/turtle.rst:1425 +#: ../../library/turtle.rst:1453 ../../library/turtle.rst:1905 msgid "a function with two arguments or ``None``" msgstr "eine Funktion mit zwei Argumenten oder ``None``" -#: ../../library/turtle.rst:1402 ../../library/turtle.rst:1902 +#: ../../library/turtle.rst:1404 ../../library/turtle.rst:1427 +#: ../../library/turtle.rst:1455 ../../library/turtle.rst:1907 msgid "a boolean or ``None``" msgstr "ein Wahrheitswert oder ``None``" -#: ../../library/turtle.rst:1404 +#: ../../library/turtle.rst:1406 +#, fuzzy msgid "" "Bind *fun* to mouse-click events on this turtle. *fun* is called with the " "coordinates of the clicked point on the canvas. If *fun* is ``None``, " "existing bindings are removed. *btn* is the number of the mouse button and " "defaults to 1, the left mouse button. If *add* is ``True``, a new binding is " -"added, otherwise it replaces a former binding. Example for the anonymous " +"added, otherwise it replaces a previous binding. Example for the anonymous " "turtle, that is, the procedural way:" msgstr "" "Binde *fun* an Mausklick-Ereignisse auf dieser Turtle. *fun* wird mit den " @@ -2267,7 +2277,7 @@ msgstr "" "wird eine neue Bindung hinzugefügt, andernfalls ersetzt sie eine frühere " "Bindung. Beispiel für die anonyme Turtle, also der prozedurale Weg:" -#: ../../library/turtle.rst:1411 +#: ../../library/turtle.rst:1413 msgid "" ">>> def turn(x, y):\n" "... left(180)\n" @@ -2281,39 +2291,30 @@ msgstr "" ">>> onclick(turn) # Now clicking into the turtle will turn it.\n" ">>> onclick(None) # event-binding will be removed" -#: ../../library/turtle.rst:1423 ../../library/turtle.rst:1448 -msgid "" -"a function with two arguments which will be called with the coordinates of " -"the clicked point on the canvas" -msgstr "" -"eine Funktion mit zwei Argumenten, die mit den Koordinaten des angeklickten " -"Punkts auf der Zeichenfläche aufgerufen wird" - -#: ../../library/turtle.rst:1425 ../../library/turtle.rst:1450 -msgid "number of the mouse-button, defaults to 1 (left mouse button)" -msgstr "Nummer der Maustaste, standardmäßig 1 (linke Maustaste)" - -#: ../../library/turtle.rst:1426 ../../library/turtle.rst:1451 -msgid "" -"``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise " -"it will replace a former binding" -msgstr "" -"``True`` oder ``False`` -- ist es ``True``, wird eine neue Bindung " -"hinzugefügt, andernfalls ersetzt sie eine vorherige Bindung" - #: ../../library/turtle.rst:1429 +#, fuzzy msgid "" -"Bind *fun* to mouse-button-release events on this turtle. If *fun* is " -"``None``, existing bindings are removed." +"Bind *fun* to mouse-button-release events on this turtle. *fun* is called " +"with the coordinates of the point on the canvas where the mouse button is " +"released. If *fun* is ``None``, existing bindings are removed. *btn* is the " +"number of the mouse button and defaults to 1, the left mouse button. If " +"*add* is ``True``, a new binding is added, otherwise it replaces a previous " +"binding." msgstr "" -"Binde *fun* an Loslassen-der-Maustaste-Ereignisse dieser Turtle. Ist *fun* " -"``None``, werden bestehende Bindungen entfernt." +"Binde *fun* an Mausklick-Ereignisse auf diesem Screen. *fun* wird mit den " +"Koordinaten des angeklickten Punktes auf der Leinwand aufgerufen. Ist *fun* " +"``None``, werden bestehende Bindungen entfernt. *btn* ist die Nummer der " +"Maustaste und ist standardmäßig 1, die linke Maustaste. Ist *add* ``True``, " +"wird eine neue Bindung hinzugefügt, andernfalls ersetzt sie eine frühere " +"Bindung." -#: ../../library/turtle.rst:1432 +#: ../../library/turtle.rst:1436 +#, fuzzy msgid "" ">>> class MyTurtle(Turtle):\n" "... def glow(self,x,y):\n" "... self.fillcolor(\"red\")\n" +"...\n" "... def unglow(self,x,y):\n" "... self.fillcolor(\"\")\n" "...\n" @@ -2333,39 +2334,41 @@ msgstr "" "red,\n" ">>> turtle.onrelease(turtle.unglow) # releasing turns it to transparent." -#: ../../library/turtle.rst:1454 -msgid "" -"Bind *fun* to mouse-move events on this turtle. If *fun* is ``None``, " -"existing bindings are removed." -msgstr "" -"Binde *fun* an Mausbewegungs-Ereignisse dieser Turtle. Ist *fun* ``None``, " -"werden bestehende Bindungen entfernt." - #: ../../library/turtle.rst:1457 +#, fuzzy msgid "" -"Remark: Every sequence of mouse-move-events on a turtle is preceded by a " -"mouse-click event on that turtle." +"Bind *fun* to mouse-move events on this turtle. *fun* is called with the " +"coordinates of the mouse pointer on the canvas. If *fun* is ``None``, " +"existing bindings are removed. *btn* is the number of the mouse button and " +"defaults to 1, the left mouse button. If *add* is ``True``, a new binding is " +"added, otherwise it replaces a previous binding. Every sequence of mouse-" +"move events on a turtle is preceded by a mouse-click event on that turtle." msgstr "" -"Anmerkung: Jeder Abfolge von Mausbewegungs-Ereignissen auf einer Turtle geht " -"ein Mausklick-Ereignis auf dieser Turtle voraus." +"Binde *fun* an Mausklick-Ereignisse auf dieser Turtle. *fun* wird mit den " +"Koordinaten des angeklickten Punktes auf der Leinwand aufgerufen. Ist *fun* " +"``None``, werden bestehende Bindungen entfernt. *btn* ist die Nummer der " +"Maustaste und ist standardmäßig 1, die linke Maustaste. Ist *add* ``True``, " +"wird eine neue Bindung hinzugefügt, andernfalls ersetzt sie eine frühere " +"Bindung. Beispiel für die anonyme Turtle, also der prozedurale Weg:" -#: ../../library/turtle.rst:1460 +#: ../../library/turtle.rst:1465 msgid ">>> turtle.ondrag(turtle.goto)" msgstr ">>> turtle.ondrag(turtle.goto)" -#: ../../library/turtle.rst:1465 +#: ../../library/turtle.rst:1470 +#, fuzzy msgid "" -"Subsequently, clicking and dragging the Turtle will move it across the " -"screen thereby producing handdrawings (if pen is down)." +"Clicking and dragging the turtle then moves it across the screen, drawing by " +"hand if the pen is down." msgstr "" "Anschließend bewegt das Klicken und Ziehen der Turtle diese über den " "Bildschirm und erzeugt dabei Handzeichnungen (wenn der Stift unten ist)." -#: ../../library/turtle.rst:1470 +#: ../../library/turtle.rst:1475 msgid "Special Turtle methods" msgstr "Spezielle Turtle-Methoden" -#: ../../library/turtle.rst:1474 +#: ../../library/turtle.rst:1479 msgid "" "Record the vertices of a polygon drawn in the :keyword:`with` block. The " "first and last vertices will be connected." @@ -2373,7 +2376,7 @@ msgstr "" "Zeichnet die Eckpunkte eines Polygons auf, das im Block :keyword:`with` " "gezeichnet wird. Der erste und der letzte Eckpunkt werden verbunden." -#: ../../library/turtle.rst:1477 +#: ../../library/turtle.rst:1482 msgid "" ">>> with turtle.poly():\n" "... turtle.forward(100)\n" @@ -2385,7 +2388,7 @@ msgstr "" "... turtle.right(60)\n" "... turtle.forward(100)" -#: ../../library/turtle.rst:1485 +#: ../../library/turtle.rst:1490 msgid "" ":func:`poly` is a :term:`context manager`, so using it is the same as " "calling :func:`begin_poly` before the block and :func:`end_poly` after it:" @@ -2394,7 +2397,7 @@ msgstr "" "Verwendung entspricht also dem Aufruf von :func:`begin_poly` vor dem Block " "und :func:`end_poly` danach:" -#: ../../library/turtle.rst:1488 +#: ../../library/turtle.rst:1493 msgid "" ">>> turtle.begin_poly()\n" ">>> turtle.forward(100)\n" @@ -2408,7 +2411,7 @@ msgstr "" ">>> turtle.forward(100)\n" ">>> turtle.end_poly()" -#: ../../library/turtle.rst:1502 +#: ../../library/turtle.rst:1507 msgid "" "Start recording the vertices of a polygon. The current turtle position is " "the first vertex of the polygon." @@ -2416,7 +2419,7 @@ msgstr "" "Beginne mit dem Aufzeichnen der Eckpunkte eines Polygons. Die aktuelle " "Position der Turtle ist der erste Eckpunkt des Polygons." -#: ../../library/turtle.rst:1508 +#: ../../library/turtle.rst:1513 msgid "" "Stop recording the vertices of a polygon. The current turtle position is the " "last vertex of the polygon. This will be connected with the first vertex." @@ -2425,11 +2428,11 @@ msgstr "" "der Turtle ist der letzte Eckpunkt des Polygons. Dieser wird mit dem ersten " "Eckpunkt verbunden." -#: ../../library/turtle.rst:1514 +#: ../../library/turtle.rst:1519 msgid "Return the last recorded polygon." msgstr "Gib das zuletzt aufgezeichnete Polygon zurück." -#: ../../library/turtle.rst:1516 +#: ../../library/turtle.rst:1521 msgid "" ">>> turtle.home()\n" ">>> turtle.begin_poly()\n" @@ -2453,7 +2456,7 @@ msgstr "" ">>> p = turtle.get_poly()\n" ">>> register_shape(\"myFavouriteShape\", p)" -#: ../../library/turtle.rst:1533 +#: ../../library/turtle.rst:1538 msgid "" "Create and return a clone of the turtle. The clone has the same position, " "heading and turtle properties." @@ -2461,7 +2464,7 @@ msgstr "" "Erstelle und gib einen Klon der Turtle mit derselben Position, Ausrichtung " "und denselben Turtle-Eigenschaften zurück." -#: ../../library/turtle.rst:1536 +#: ../../library/turtle.rst:1541 msgid "" ">>> leonel = Turtle()\n" ">>> marco = leonel.clone()" @@ -2469,11 +2472,11 @@ msgstr "" ">>> leonel = Turtle()\n" ">>> marco = leonel.clone()" -#: ../../library/turtle.rst:1546 +#: ../../library/turtle.rst:1551 msgid "Return the Turtle object itself." msgstr "Gib das Turtle-Objekt selbst zurück." -#: ../../library/turtle.rst:1548 +#: ../../library/turtle.rst:1553 msgid "" "Call ``getturtle()`` to get the turtle used by functions such " "as :func:`forward` and :func:`left`:" @@ -2481,7 +2484,7 @@ msgstr "" "Rufe ``getturtle()`` auf, um die Turtle zu bekommen, die Funktionen " "wie :func:`forward` und :func:`left` verwenden:" -#: ../../library/turtle.rst:1551 +#: ../../library/turtle.rst:1556 msgid "" ">>> pet = getturtle()\n" ">>> pet.fd(50)\n" @@ -2493,7 +2496,7 @@ msgstr "" ">>> pet\n" "" -#: ../../library/turtle.rst:1562 +#: ../../library/turtle.rst:1567 msgid "" "Return the :class:`TurtleScreen` object the turtle is drawing on. " "TurtleScreen methods can then be called for that object." @@ -2501,7 +2504,7 @@ msgstr "" "Gib das :class:`TurtleScreen`-Objekt zurück, auf dem die Turtle zeichnet. " "Für dieses Objekt können dann TurtleScreen-Methoden aufgerufen werden." -#: ../../library/turtle.rst:1565 +#: ../../library/turtle.rst:1570 msgid "" ">>> ts = turtle.getscreen()\n" ">>> ts\n" @@ -2513,7 +2516,7 @@ msgstr "" "\n" ">>> ts.bgcolor(\"pink\")" -#: ../../library/turtle.rst:1578 +#: ../../library/turtle.rst:1583 msgid "" "Set or disable the undo buffer. If *size* is an integer, an empty undo " "buffer of the given size is installed. *size* is the maximum number of " @@ -2526,27 +2529,28 @@ msgstr "" "Funktion :func:`undo` rückgängig gemacht werden können. Ist *size* ``None``, " "wird der Undo-Puffer deaktiviert." -#: ../../library/turtle.rst:1583 +#: ../../library/turtle.rst:1588 msgid ">>> turtle.setundobuffer(42)" msgstr ">>> turtle.setundobuffer(42)" -#: ../../library/turtle.rst:1591 +#: ../../library/turtle.rst:1596 msgid "Return the number of entries in the undo buffer." msgstr "Gib die Anzahl der Einträge im Undo-Puffer zurück." -#: ../../library/turtle.rst:1593 +#: ../../library/turtle.rst:1598 +#, fuzzy msgid "" -">>> while undobufferentries():\n" -"... undo()" +">>> while turtle.undobufferentries():\n" +"... turtle.undo()" msgstr "" ">>> while undobufferentries():\n" "... undo()" -#: ../../library/turtle.rst:1604 +#: ../../library/turtle.rst:1609 msgid "Screen methods and functions" msgstr "Screen-Methoden und -Funktionen" -#: ../../library/turtle.rst:1606 +#: ../../library/turtle.rst:1611 msgid "" "Most of the examples in this section refer to a TurtleScreen instance called " "``screen``." @@ -2554,19 +2558,19 @@ msgstr "" "Die meisten Beispiele in diesem Abschnitt beziehen sich auf eine " "TurtleScreen-Instanz namens ``screen``." -#: ../../library/turtle.rst:1617 +#: ../../library/turtle.rst:1622 msgid "Window control" msgstr "Fenstersteuerung" -#: ../../library/turtle.rst:1623 +#: ../../library/turtle.rst:1628 msgid "Return or set the background color of the TurtleScreen." msgstr "Gib die Hintergrundfarbe des TurtleScreen zurück oder setze sie." -#: ../../library/turtle.rst:1627 +#: ../../library/turtle.rst:1632 msgid "``bgcolor()``" msgstr "``bgcolor()``" -#: ../../library/turtle.rst:1628 +#: ../../library/turtle.rst:1633 msgid "" "Return the current background color as a color specification string or as a " "tuple (see example). May be used as input to " @@ -2578,11 +2582,11 @@ msgstr "" "von :func:`color`, :func:`pencolor`, :func:`fillcolor` oder :func:`bgcolor` " "verwendet werden." -#: ../../library/turtle.rst:1633 +#: ../../library/turtle.rst:1638 msgid "``bgcolor(colorstring)``" msgstr "``bgcolor(colorstring)``" -#: ../../library/turtle.rst:1634 +#: ../../library/turtle.rst:1639 msgid "" "Set the background color to *colorstring*, which is a Tk color specification " "string, such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." @@ -2590,11 +2594,11 @@ msgstr "" "Setzt die Hintergrundfarbe auf *colorstring*, eine Tk-Farbangabe als " "Zeichenkette, etwa ``\"red\"``, ``\"yellow\"`` oder ``\"#33cc8c\"``." -#: ../../library/turtle.rst:1637 +#: ../../library/turtle.rst:1642 msgid "``bgcolor((r, g, b))``" msgstr "``bgcolor((r, g, b))``" -#: ../../library/turtle.rst:1638 +#: ../../library/turtle.rst:1643 msgid "" "Set the background color to the RGB color represented by the tuple of *r*, " "*g*, and *b*. Each of *r*, *g*, and *b* must be between 0 and colormode, " @@ -2605,11 +2609,11 @@ msgstr "" "0..colormode liegen, wobei colormode entweder 1.0 oder 255 ist " "(siehe :func:`colormode`)." -#: ../../library/turtle.rst:1643 +#: ../../library/turtle.rst:1648 msgid "``bgcolor(r, g, b)``" msgstr "``bgcolor(r, g, b)``" -#: ../../library/turtle.rst:1644 +#: ../../library/turtle.rst:1649 msgid "" "Set the background color to the RGB color represented by *r*, *g*, and *b*. " "Each of *r*, *g*, and *b* must be between 0 and colormode." @@ -2617,7 +2621,7 @@ msgstr "" "Setze die Hintergrundfarbe auf die durch *r*, *g* und *b* dargestellte RGB-" "Farbe. Jeder der Werte *r*, *g* und *b* muss im Bereich 0..colormode liegen." -#: ../../library/turtle.rst:1647 +#: ../../library/turtle.rst:1652 msgid "" ">>> screen.bgcolor(\"orange\")\n" ">>> screen.bgcolor()\n" @@ -2633,7 +2637,7 @@ msgstr "" ">>> screen.bgcolor()\n" "(128.0, 0.0, 128.0)" -#: ../../library/turtle.rst:1662 +#: ../../library/turtle.rst:1667 msgid "" "Set the background image or return the name of the current one. If *picname* " "is the name of an image file (PNG, GIF, PGM, and PPM), set that image as the " @@ -2647,7 +2651,7 @@ msgstr "" "Hintergrundbild gelöscht, falls vorhanden. Ist *picname* ``None``, wird der " "Dateiname des aktuellen Hintergrundbilds zurückgegeben. ::" -#: ../../library/turtle.rst:1668 +#: ../../library/turtle.rst:1673 msgid "" ">>> screen.bgpic()\n" "'nopic'\n" @@ -2661,7 +2665,7 @@ msgstr "" ">>> screen.bgpic()\n" "'landscape.gif'" -#: ../../library/turtle.rst:1679 +#: ../../library/turtle.rst:1684 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``clearscreen``. The global function ``clear`` is a different one " @@ -2671,7 +2675,7 @@ msgstr "" "``clearscreen`` verfügbar. Die globale Funktion ``clear`` ist eine andere, " "die von der Turtle-Methode ``clear`` abgeleitet ist." -#: ../../library/turtle.rst:1686 +#: ../../library/turtle.rst:1691 msgid "" "Delete all drawings and all turtles from the TurtleScreen. Reset the now " "empty TurtleScreen to its initial state: white background, no background " @@ -2681,7 +2685,7 @@ msgstr "" "leeren TurtleScreen auf seinen Ausgangszustand zurück: weißer Hintergrund, " "kein Hintergrundbild, keine Ereignisbindungen und Tracing aktiviert." -#: ../../library/turtle.rst:1695 +#: ../../library/turtle.rst:1700 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``resetscreen``. The global function ``reset`` is another one derived " @@ -2691,15 +2695,16 @@ msgstr "" "``resetscreen`` verfügbar. Die globale Funktion ``reset`` ist eine andere, " "die von der Turtle-Methode ``reset`` abgeleitet ist." -#: ../../library/turtle.rst:1702 +#: ../../library/turtle.rst:1707 msgid "Reset all turtles on the screen to their initial state." msgstr "Setze alle Turtles auf dem Screen auf ihren Ausgangszustand zurück." -#: ../../library/turtle.rst:1709 -msgid "a colorstring or a color tuple or ``None``" -msgstr "ein Farbstring, ein Farb-Tupel oder ``None``" +#: ../../library/turtle.rst:1714 +#, fuzzy +msgid "a colorstring or ``None``" +msgstr "eine Zeichenkette oder ``None``" -#: ../../library/turtle.rst:1711 +#: ../../library/turtle.rst:1716 msgid "" "Resize the canvas the turtles are drawing on. *canvwidth* and *canvheight* " "are the new width and height of the canvas in pixels, and *bg* is the new " @@ -2712,7 +2717,7 @@ msgstr "" "angegeben, werden die aktuelle Breite und Höhe der Zeichenfläche " "zurückgegeben." -#: ../../library/turtle.rst:1716 +#: ../../library/turtle.rst:1721 msgid "" "The drawing window is not altered. To see hidden parts of the canvas, use " "the scrollbars. This can make visible those parts of a drawing which were " @@ -2724,7 +2729,7 @@ msgstr "" "sichtbar machen, die vorher außerhalb der Zeichenfläche lagen, etwa um eine " "Turtle zu finden, die von der Zeichenfläche verschwunden ist." -#: ../../library/turtle.rst:1721 +#: ../../library/turtle.rst:1726 msgid "" ">>> screen.screensize()\n" "(400, 300)\n" @@ -2738,7 +2743,7 @@ msgstr "" ">>> screen.screensize()\n" "(2000, 1500)" -#: ../../library/turtle.rst:1738 +#: ../../library/turtle.rst:1743 msgid "" "Set up a user-defined coordinate system. *llx* and *lly* are the x and y " "coordinates of the lower left corner of the canvas. *urx* and *ury* are the " @@ -2755,7 +2760,7 @@ msgstr "" "Koordinaten neu gezeichnet. In benutzerdefinierten Koordinatensystemen " "können Winkel verzerrt erscheinen, siehe :func:`mode`." -#: ../../library/turtle.rst:1745 +#: ../../library/turtle.rst:1750 msgid "" ">>> screen.reset()\n" ">>> screen.setworldcoordinates(-50,-7.5,50,7.5)\n" @@ -2773,11 +2778,11 @@ msgstr "" ">>> for _ in range(8):\n" "... left(45); fd(2) # a regular octagon" -#: ../../library/turtle.rst:1766 +#: ../../library/turtle.rst:1771 msgid "Animation control" msgstr "Animationskontrolle" -#: ../../library/turtle.rst:1770 +#: ../../library/turtle.rst:1775 msgid "" "Temporarily turn off turtle animation. The code inside the :keyword:`with` " "block is not animated. Once the block is exited, the drawing appears. This " @@ -2790,7 +2795,7 @@ msgstr "" "zeichnen, bei denen selbst die schnellste Geschwindigkeitseinstellung zu " "langsam ist." -#: ../../library/turtle.rst:1775 +#: ../../library/turtle.rst:1780 msgid "" ">>> with screen.no_animation():\n" "... for dist in range(2, 400, 2):\n" @@ -2802,12 +2807,12 @@ msgstr "" "... fd(dist)\n" "... rt(90)" -#: ../../library/turtle.rst:1788 ../../library/turtle.rst:1806 -#: ../../library/turtle.rst:1807 +#: ../../library/turtle.rst:1793 ../../library/turtle.rst:1811 +#: ../../library/turtle.rst:1812 msgid "a nonnegative integer or ``None``" msgstr "eine nichtnegative Ganzzahl oder ``None``" -#: ../../library/turtle.rst:1790 +#: ../../library/turtle.rst:1795 msgid "" "Return or set the drawing delay in milliseconds. This is approximately the " "time interval between two consecutive canvas updates. The longer the drawing " @@ -2818,7 +2823,7 @@ msgstr "" "Aktualisierungen der Leinwand. Je länger die Zeichenverzögerung, desto " "langsamer die Animation." -#: ../../library/turtle.rst:1794 +#: ../../library/turtle.rst:1799 msgid "" ">>> screen.delay()\n" "10\n" @@ -2832,7 +2837,7 @@ msgstr "" ">>> screen.delay()\n" "5" -#: ../../library/turtle.rst:1809 +#: ../../library/turtle.rst:1814 msgid "" "Turn turtle animation on or off and set the drawing delay. If *n* is given, " "only every n-th regular screen update is performed, which can be used to " @@ -2849,7 +2854,7 @@ msgstr "" "angegeben, setzt es die Zeichenverzögerung, siehe :func:`delay`. Beim Aufruf " "ohne Argumente wird der aktuelle Wert von *n* zurückgegeben." -#: ../../library/turtle.rst:1816 +#: ../../library/turtle.rst:1821 msgid "" ">>> screen.tracer(8, 25)\n" ">>> dist = 2\n" @@ -2865,25 +2870,27 @@ msgstr "" "... rt(90)\n" "... dist += 2" -#: ../../library/turtle.rst:1829 -msgid "Perform a TurtleScreen update. To be used when tracer is turned off." +#: ../../library/turtle.rst:1834 +#, fuzzy +msgid "" +"Perform a TurtleScreen update. To be used when :func:`tracer` is turned off." msgstr "" "Führe eine TurtleScreen-Aktualisierung durch. Zu verwenden, wenn tracer " "ausgeschaltet ist." -#: ../../library/turtle.rst:1831 +#: ../../library/turtle.rst:1836 msgid "See also the RawTurtle/Turtle method :func:`speed`." msgstr "Siehe auch die RawTurtle/Turtle-Methode :func:`speed`." -#: ../../library/turtle.rst:1835 +#: ../../library/turtle.rst:1840 msgid "Using screen events" msgstr "Screen-Events verwenden" -#: ../../library/turtle.rst:1839 ../../library/turtle.rst:1840 +#: ../../library/turtle.rst:1844 ../../library/turtle.rst:1845 msgid "ignored" msgstr "wird ignoriert" -#: ../../library/turtle.rst:1842 +#: ../../library/turtle.rst:1847 msgid "" "Set focus on the :class:`TurtleScreen` so that it receives key events. The " "two dummy arguments are only there so that :func:`listen` can be passed " @@ -2893,11 +2900,11 @@ msgstr "" "empfängt. Die beiden Dummy-Argumente gibt es nur, damit :func:`listen` " "an :func:`onclick` übergeben werden kann." -#: ../../library/turtle.rst:1850 ../../library/turtle.rst:1874 +#: ../../library/turtle.rst:1855 ../../library/turtle.rst:1879 msgid "a function with no arguments or ``None``" msgstr "eine Funktion ohne Argumente oder ``None``" -#: ../../library/turtle.rst:1853 +#: ../../library/turtle.rst:1858 msgid "" "Bind *fun* to the key-release event of *key*. *key* is a key, such as \"a\", " "or a key symbol, such as \"space\". If *fun* is ``None``, the event binding " @@ -2909,7 +2916,7 @@ msgstr "" "Ereignisbindung entfernt. Um Tastatur-Ereignisse empfangen zu können, muss " "der :class:`TurtleScreen` den Fokus haben, siehe :func:`listen`." -#: ../../library/turtle.rst:1858 +#: ../../library/turtle.rst:1863 msgid "" ">>> def f():\n" "... fd(50)\n" @@ -2925,7 +2932,7 @@ msgstr "" ">>> screen.onkey(f, \"Up\")\n" ">>> screen.listen()" -#: ../../library/turtle.rst:1868 +#: ../../library/turtle.rst:1873 msgid "" "The turtle can then be moved by repeatedly pressing the up-arrow key, " "drawing a hexagon." @@ -2933,7 +2940,7 @@ msgstr "" "Die Turtle lässt sich dann durch wiederholtes Drücken der Pfeiltaste nach " "oben bewegen und zeichnet dabei ein Sechseck." -#: ../../library/turtle.rst:1877 +#: ../../library/turtle.rst:1882 msgid "" "Bind *fun* to the key-press event of *key*. *key* is a key, such as \"a\", " "or a key symbol, such as \"space\". If *key* is not given, *fun* is bound to " @@ -2947,7 +2954,7 @@ msgstr "" "die Ereignisbindung entfernt. Um Tastatur-Ereignisse empfangen zu können, " "muss der :class:`TurtleScreen` den Fokus haben, siehe :func:`listen`." -#: ../../library/turtle.rst:1883 +#: ../../library/turtle.rst:1888 msgid "" ">>> def f():\n" "... fd(50)\n" @@ -2963,7 +2970,7 @@ msgstr "" ">>> screen.onkeypress(f, \"Up\")\n" ">>> screen.listen()" -#: ../../library/turtle.rst:1893 +#: ../../library/turtle.rst:1898 msgid "" "The turtle can then be moved by pressing or holding down the up-arrow key, " "drawing a hexagon." @@ -2971,13 +2978,14 @@ msgstr "" "Die Turtle lässt sich dann durch Drücken oder Gedrückthalten der Pfeiltaste " "nach oben bewegen und zeichnet dabei ein Sechseck." -#: ../../library/turtle.rst:1904 +#: ../../library/turtle.rst:1909 +#, fuzzy msgid "" "Bind *fun* to mouse-click events on this screen. *fun* is called with the " "coordinates of the clicked point on the canvas. If *fun* is ``None``, " "existing bindings are removed. *btn* is the number of the mouse button and " "defaults to 1, the left mouse button. If *add* is ``True``, a new binding is " -"added, otherwise it replaces a former binding." +"added, otherwise it replaces a previous binding." msgstr "" "Binde *fun* an Mausklick-Ereignisse auf diesem Screen. *fun* wird mit den " "Koordinaten des angeklickten Punktes auf der Leinwand aufgerufen. Ist *fun* " @@ -2986,7 +2994,7 @@ msgstr "" "wird eine neue Bindung hinzugefügt, andernfalls ersetzt sie eine frühere " "Bindung." -#: ../../library/turtle.rst:1910 +#: ../../library/turtle.rst:1915 msgid "" "Example for a TurtleScreen instance named ``screen`` and a Turtle instance " "named ``turtle``:" @@ -2994,7 +3002,7 @@ msgstr "" "Beispiel für eine TurtleScreen-Instanz namens ``screen`` und eine Turtle-" "Instanz namens ``turtle``:" -#: ../../library/turtle.rst:1913 +#: ../../library/turtle.rst:1918 msgid "" ">>> screen.onclick(turtle.goto) # Subsequently clicking into the " "TurtleScreen will\n" @@ -3008,7 +3016,7 @@ msgstr "" "point.\n" ">>> screen.onclick(None) # remove event binding again" -#: ../../library/turtle.rst:1921 +#: ../../library/turtle.rst:1926 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``onscreenclick``. The global function ``onclick`` is another one " @@ -3018,19 +3026,19 @@ msgstr "" "``onscreenclick`` verfügbar. Die globale Funktion ``onclick`` ist eine " "andere, die von der Turtle-Methode ``onclick`` abgeleitet ist." -#: ../../library/turtle.rst:1928 +#: ../../library/turtle.rst:1933 msgid "a function with no arguments" msgstr "eine Funktion ohne Argumente" -#: ../../library/turtle.rst:1929 +#: ../../library/turtle.rst:1934 msgid "a nonnegative number" msgstr "eine nichtnegative Zahl" -#: ../../library/turtle.rst:1931 +#: ../../library/turtle.rst:1936 msgid "Install a timer that calls *fun* after *t* milliseconds." msgstr "Installiere einen Timer, der *fun* nach *t* Millisekunden aufruft." -#: ../../library/turtle.rst:1933 +#: ../../library/turtle.rst:1938 msgid "" ">>> running = True\n" ">>> def f():\n" @@ -3050,7 +3058,7 @@ msgstr "" ">>> f() # makes the turtle march around\n" ">>> running = False" -#: ../../library/turtle.rst:1949 +#: ../../library/turtle.rst:1954 msgid "" "Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` " "method. Must be the last statement in a turtle graphics program. Must *not* " @@ -3063,11 +3071,11 @@ msgstr "" "werden, wenn ein Skript innerhalb von IDLE im Modus -n ausgeführt wird " "(siehe :ref:`idle-no-subprocess`)." -#: ../../library/turtle.rst:1956 +#: ../../library/turtle.rst:1961 msgid "Input methods" msgstr "Eingabemethoden" -#: ../../library/turtle.rst:1963 +#: ../../library/turtle.rst:1968 msgid "" "Pop up a dialog window for input of a string. *title* is the title of the " "dialog window and *prompt* is a text describing what information to input. " @@ -3078,17 +3086,18 @@ msgstr "" "Information einzugeben ist. Gib die eingegebene Zeichenkette zurück. Wird " "der Dialog abgebrochen, wird ``None`` zurückgegeben. ::" -#: ../../library/turtle.rst:1967 +#: ../../library/turtle.rst:1972 msgid ">>> screen.textinput(\"NIM\", \"Name of first player:\")" msgstr ">>> screen.textinput(\"NIM\", \"Name of first player:\")" -#: ../../library/turtle.rst:1978 +#: ../../library/turtle.rst:1983 +#, fuzzy msgid "" "Pop up a dialog window for input of a number. *title* is the title of the " "dialog window and *prompt* is a text describing what numerical information " "to input. *default* is the default value, *minval* and *maxval* are the " -"minimum and maximum values for input. If these are given, the number entered " -"must be between *minval* and *maxval*. If not, a hint is issued and the " +"minimum and maximum values for input. If these are given and the number " +"entered is not between *minval* and *maxval*, a hint is issued and the " "dialog remains open for correction. Return the number entered. If the dialog " "is canceled, return ``None``. ::" msgstr "" @@ -3101,7 +3110,7 @@ msgstr "" "geöffnet. Gib die eingegebene Zahl zurück. Wird der Dialog abgebrochen, wird " "``None`` zurückgegeben. ::" -#: ../../library/turtle.rst:1986 +#: ../../library/turtle.rst:1991 msgid "" ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, " "maxval=10000)" @@ -3109,11 +3118,11 @@ msgstr "" ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, " "maxval=10000)" -#: ../../library/turtle.rst:1990 +#: ../../library/turtle.rst:1995 msgid "Settings and special methods" msgstr "Einstellungen und spezielle Methoden" -#: ../../library/turtle.rst:1996 +#: ../../library/turtle.rst:2001 msgid "" "Set the turtle mode and perform a reset. *mode* is one of the strings " "\"standard\", \"logo\" or \"world\". If *mode* is not given, return the " @@ -3123,7 +3132,7 @@ msgstr "" "Zeichenketten \"standard\", \"logo\" oder \"world\". Wird *mode* nicht " "angegeben, wird der aktuelle Modus zurückgegeben." -#: ../../library/turtle.rst:2000 +#: ../../library/turtle.rst:2005 msgid "" "Mode \"standard\" is compatible with the old :mod:`!turtle` module. Mode " "\"logo\" is compatible with most Logo turtle graphics. Mode \"world\" uses " @@ -3136,43 +3145,43 @@ msgstr "" "siehe :func:`setworldcoordinates`. In diesem Modus erscheinen Winkel " "verzerrt, wenn die x- und die y-Einheit nicht gleich lang sind." -#: ../../library/turtle.rst:2006 +#: ../../library/turtle.rst:2011 msgid "Mode" msgstr "Modus" -#: ../../library/turtle.rst:2006 +#: ../../library/turtle.rst:2011 msgid "Initial turtle heading" msgstr "Anfängliche Ausrichtung der Turtle" -#: ../../library/turtle.rst:2006 +#: ../../library/turtle.rst:2011 msgid "positive angles" msgstr "positive Winkel" -#: ../../library/turtle.rst:2008 +#: ../../library/turtle.rst:2013 msgid "\"standard\"" msgstr "\"standard\"" -#: ../../library/turtle.rst:2008 +#: ../../library/turtle.rst:2013 msgid "to the right (east)" msgstr "nach rechts (Osten)" -#: ../../library/turtle.rst:2008 +#: ../../library/turtle.rst:2013 msgid "counterclockwise" msgstr "gegen den Uhrzeigersinn" -#: ../../library/turtle.rst:2009 +#: ../../library/turtle.rst:2014 msgid "\"logo\"" msgstr "\"logo\"" -#: ../../library/turtle.rst:2009 +#: ../../library/turtle.rst:2014 msgid "upward (north)" msgstr "nach oben (Norden)" -#: ../../library/turtle.rst:2009 +#: ../../library/turtle.rst:2014 msgid "clockwise" msgstr "im Uhrzeigersinn" -#: ../../library/turtle.rst:2012 +#: ../../library/turtle.rst:2017 msgid "" ">>> mode(\"logo\") # resets turtle heading to north\n" ">>> mode()\n" @@ -3182,7 +3191,7 @@ msgstr "" ">>> mode()\n" "'logo'" -#: ../../library/turtle.rst:2024 +#: ../../library/turtle.rst:2029 msgid "" "Return the colormode or set it to 1.0 or 255. After setting it, the *r*, *g* " "and *b* values of color triples have to be between 0 and *cmode*." @@ -3191,13 +3200,14 @@ msgstr "" "müssen die Werte *r*, *g* und *b* von Farbtripeln zwischen 0 und *cmode* " "liegen." -#: ../../library/turtle.rst:2027 +#: ../../library/turtle.rst:2032 +#, fuzzy msgid "" ">>> screen.colormode(1)\n" ">>> turtle.pencolor(240, 160, 80)\n" "Traceback (most recent call last):\n" " ...\n" -"TurtleGraphicsError: bad color sequence: (240, 160, 80)\n" +"turtle.TurtleGraphicsError: bad color sequence: (240, 160, 80)\n" ">>> screen.colormode()\n" "1.0\n" ">>> screen.colormode(255)\n" @@ -3217,7 +3227,7 @@ msgstr "" "255\n" ">>> turtle.pencolor(240,160,80)" -#: ../../library/turtle.rst:2045 +#: ../../library/turtle.rst:2050 msgid "" "Return the Canvas of this TurtleScreen. Useful for insiders who know what " "to do with a Tkinter Canvas." @@ -3225,7 +3235,7 @@ msgstr "" "Gib die Canvas dieses TurtleScreen zurück. Nützlich für Insider, die wissen, " "was mit einer Tkinter-Canvas anzufangen ist." -#: ../../library/turtle.rst:2048 +#: ../../library/turtle.rst:2053 msgid "" ">>> cv = screen.getcanvas()\n" ">>> cv\n" @@ -3235,12 +3245,12 @@ msgstr "" ">>> cv\n" "" -#: ../../library/turtle.rst:2058 +#: ../../library/turtle.rst:2063 msgid "Return a list of names of all currently available turtle shapes." msgstr "" "Gib eine Liste der Namen aller aktuell verfügbaren Turtle-Formen zurück." -#: ../../library/turtle.rst:2060 +#: ../../library/turtle.rst:2065 msgid "" ">>> screen.getshapes()\n" "['arrow', 'blank', 'circle', ..., 'turtle']" @@ -3248,14 +3258,14 @@ msgstr "" ">>> screen.getshapes()\n" "['arrow', 'blank', 'circle', ..., 'turtle']" -#: ../../library/turtle.rst:2071 +#: ../../library/turtle.rst:2076 msgid "" "a string, a tuple of pairs of numbers, a :class:`Shape` object or ``None``" msgstr "" "eine Zeichenkette, ein Tupel aus Zahlenpaaren, ein :class:`Shape`-Objekt " "oder ``None``" -#: ../../library/turtle.rst:2074 +#: ../../library/turtle.rst:2079 msgid "" "Add a turtle shape to the TurtleScreen's shape list. It can be called in " "four different ways:" @@ -3263,7 +3273,7 @@ msgstr "" "Füge der Formenliste des TurtleScreen eine Turtle-Form hinzu. Das lässt sich " "auf vier verschiedene Weisen aufrufen:" -#: ../../library/turtle.rst:2077 +#: ../../library/turtle.rst:2082 msgid "" "*name* is the name of an image file (PNG, GIF, PGM, and PPM) and *shape* is " "``None``: Install the corresponding image shape. ::" @@ -3271,11 +3281,11 @@ msgstr "" "*name* ist der Name einer Bilddatei (PNG, GIF, PGM und PPM) und *shape* ist " "``None``: Installiere die entsprechende Bildform. ::" -#: ../../library/turtle.rst:2080 +#: ../../library/turtle.rst:2085 msgid ">>> screen.register_shape(\"turtle.gif\")" msgstr ">>> screen.register_shape(\"turtle.gif\")" -#: ../../library/turtle.rst:2082 +#: ../../library/turtle.rst:2087 msgid "" "*name* is an arbitrary string and *shape* is the name of an image file (PNG, " "GIF, PGM, and PPM): Install the corresponding image shape. ::" @@ -3283,11 +3293,11 @@ msgstr "" "*name* ist eine beliebige Zeichenkette und *shape* ist der Name einer " "Bilddatei (PNG, GIF, PGM und PPM): Installiere die entsprechende Bildform. ::" -#: ../../library/turtle.rst:2085 +#: ../../library/turtle.rst:2090 msgid ">>> screen.register_shape(\"turtle\", \"turtle.gif\")" msgstr ">>> screen.register_shape(\"turtle\", \"turtle.gif\")" -#: ../../library/turtle.rst:2087 +#: ../../library/turtle.rst:2092 msgid "" "*name* is an arbitrary string and *shape* is a tuple of pairs of " "coordinates: Install the corresponding polygon shape." @@ -3295,11 +3305,11 @@ msgstr "" "*name* ist eine beliebige Zeichenkette und *shape* ist ein Tupel aus " "Koordinatenpaaren: Installiere die entsprechende Polygonform." -#: ../../library/turtle.rst:2090 +#: ../../library/turtle.rst:2095 msgid ">>> screen.register_shape(\"triangle\", ((5,-3), (0,5), (-5,-3)))" msgstr ">>> screen.register_shape(\"triangle\", ((5,-3), (0,5), (-5,-3)))" -#: ../../library/turtle.rst:2095 +#: ../../library/turtle.rst:2100 msgid "" "*name* is an arbitrary string and *shape* is a (compound) :class:`Shape` " "object: Install the corresponding compound shape." @@ -3308,7 +3318,7 @@ msgstr "" "(zusammengesetztes) :class:`Shape`-Objekt: Installiere die entsprechende " "zusammengesetzte Form." -#: ../../library/turtle.rst:2098 +#: ../../library/turtle.rst:2103 msgid "" "Image shapes do not rotate when turning the turtle, so they do not display " "the heading of the turtle. To use a registered shape, call :func:`shape` " @@ -3318,7 +3328,7 @@ msgstr "" "also nicht die Ausrichtung der Turtle an. Um eine registrierte Form zu " "verwenden, rufe :func:`shape` mit ihrem Namen auf." -#: ../../library/turtle.rst:2102 +#: ../../library/turtle.rst:2107 msgid "" "Added support for PNG, PGM, and PPM image formats. Both a shape name and an " "image file name can be specified." @@ -3326,11 +3336,11 @@ msgstr "" "Unterstützung für die Bildformate PNG, PGM und PPM hinzugefügt. Es kann " "sowohl ein Formname als auch ein Bilddateiname angegeben werden." -#: ../../library/turtle.rst:2109 +#: ../../library/turtle.rst:2114 msgid "Return the list of turtles on the screen." msgstr "Gib die Liste der Turtles auf dem Screen zurück." -#: ../../library/turtle.rst:2111 +#: ../../library/turtle.rst:2116 msgid "" ">>> for turtle in screen.turtles():\n" "... turtle.color(\"red\")" @@ -3338,11 +3348,11 @@ msgstr "" ">>> for turtle in screen.turtles():\n" "... turtle.color(\"red\")" -#: ../../library/turtle.rst:2120 +#: ../../library/turtle.rst:2125 msgid "Return the height of the turtle window. ::" msgstr "Gib die Höhe des Turtle-Fensters zurück. ::" -#: ../../library/turtle.rst:2122 +#: ../../library/turtle.rst:2127 msgid "" ">>> screen.window_height()\n" "480" @@ -3350,11 +3360,11 @@ msgstr "" ">>> screen.window_height()\n" "480" -#: ../../library/turtle.rst:2128 +#: ../../library/turtle.rst:2133 msgid "Return the width of the turtle window. ::" msgstr "Gib die Weite des Turtle-Fensters zurück. ::" -#: ../../library/turtle.rst:2130 +#: ../../library/turtle.rst:2135 msgid "" ">>> screen.window_width()\n" "640" @@ -3362,33 +3372,7 @@ msgstr "" ">>> screen.window_width()\n" "640" -#: ../../library/turtle.rst:2138 -msgid "Screen-only methods" -msgstr "Methoden, die es nur beim Screen gibt" - -#: ../../library/turtle.rst:2142 -msgid "Close the turtle graphics window." -msgstr "Schließe das Turtle-Grafikfenster." - -#: ../../library/turtle.rst:2147 -msgid "Bind ``bye()`` method to mouse clicks on the Screen." -msgstr "Binde die Methode ``bye()`` an Mausklicks auf dem Screen." - -#: ../../library/turtle.rst:2150 -msgid "" -"If the value \"using_IDLE\" in the configuration dictionary is ``False`` " -"(default value), also enter mainloop. Remark: If IDLE with the ``-n`` " -"switch (no subprocess) is used, this value should be set to ``True`` " -"in :file:`turtle.cfg`. In this case IDLE's own mainloop is active also for " -"the client script." -msgstr "" -"Ist der Wert \"using_IDLE\" im Konfigurations-Dictionary ``False`` " -"(Standardwert), wird auch mainloop aufgerufen. Anmerkung: Wird IDLE mit dem " -"Schalter ``-n`` (kein Subprozess) verwendet, sollte dieser Wert " -"in :file:`turtle.cfg` auf ``True`` gesetzt werden. In diesem Fall ist IDLEs " -"eigene mainloop auch für das Client-Skript aktiv." - -#: ../../library/turtle.rst:2162 +#: ../../library/turtle.rst:2144 msgid "" "Save the current drawing and the turtles as a PostScript file. *filename* is " "the path of the file to create. It must end with ``\".ps\"`` or " @@ -3403,7 +3387,7 @@ msgstr "" "*overwrite* muss als Schlüsselwortargument angegeben werden, etwa " "``overwrite=True``." -#: ../../library/turtle.rst:2168 +#: ../../library/turtle.rst:2150 msgid "" ">>> screen.save(\"my_drawing.ps\")\n" ">>> screen.save(\"my_drawing.ps\", overwrite=True)" @@ -3411,63 +3395,75 @@ msgstr "" ">>> screen.save(\"my_drawing.ps\")\n" ">>> screen.save(\"my_drawing.ps\", overwrite=True)" -#: ../../library/turtle.rst:2179 -msgid "" -"Set the size and position of the main window. Default values of arguments " -"are stored in the configuration dictionary and can be changed via " -"a :file:`turtle.cfg` file." -msgstr "" -"Setze die Größe und Position des Hauptfensters. Standardwerte der Argumente " -"sind im Konfigurations-Dictionary gespeichert und können über " -"eine :file:`turtle.cfg`-Datei geändert werden." +#: ../../library/turtle.rst:2163 +msgid "Screen-only methods" +msgstr "Methoden, die es nur beim Screen gibt" -#: ../../library/turtle.rst:2183 +#: ../../library/turtle.rst:2167 +msgid "Close the turtle graphics window." +msgstr "Schließe das Turtle-Grafikfenster." + +#: ../../library/turtle.rst:2172 msgid "" -"if an integer, a size in pixels, if a float, a fraction of the screen; " -"default is 50% of screen" +"Bind :func:`bye` to mouse clicks on the screen and start the event loop. " +"Clicking on the screen then closes the turtle graphics window. If the " +"configuration value ``using_IDLE`` is ``True``, the event loop is not " +"started, see :func:`mainloop`." msgstr "" -"bei einer Ganzzahl eine Größe in Pixeln, bei einer Gleitkommazahl ein Anteil " -"des Bildschirms; Standard ist 50 % des Bildschirms" + +#: ../../library/turtle.rst:2180 ../../library/turtle.rst:2181 +#, fuzzy +msgid "an integer or a float" +msgstr "eine Zahl (Ganzzahl oder Gleitkommazahl)" #: ../../library/turtle.rst:2185 -msgid "" -"if an integer, the height in pixels, if a float, a fraction of the screen; " -"default is 75% of screen" -msgstr "" -"bei einer Ganzzahl die Höhe in Pixeln, bei einer Gleitkommazahl ein Anteil " -"des Bildschirms; Standard ist 75 % des Bildschirms" +#, fuzzy +msgid "Set the size and position of the main window." +msgstr "Gib die Weite des Turtle-Fensters zurück. ::" #: ../../library/turtle.rst:2187 msgid "" -"if positive, starting position in pixels from the left edge of the screen, " -"if negative from the right edge, if ``None``, center window horizontally" +"*width* and *height* are the size of the window. As integers they are sizes " +"in pixels, as floats they are fractions of the screen, so 0.5 is half the " +"screen. The defaults are 50% of the screen width and 75% of its height." msgstr "" -"bei einem positiven Wert die Startposition in Pixeln vom linken " -"Bildschirmrand aus, bei einem negativen Wert vom rechten Rand aus, bei " -"``None`` wird das Fenster horizontal zentriert" -#: ../../library/turtle.rst:2190 +#: ../../library/turtle.rst:2191 +#, fuzzy msgid "" -"if positive, starting position in pixels from the top edge of the screen, if " -"negative from the bottom edge, if ``None``, center window vertically" +"*startx* and *starty* are the position of the window. If positive, they are " +"the distance in pixels from the left and top edges of the screen, if " +"negative from the right and bottom edges. If ``None``, the window is " +"centered in that direction." msgstr "" "bei einem positiven Wert die Startposition in Pixeln vom oberen " "Bildschirmrand aus, bei einem negativen Wert vom unteren Rand aus, bei " "``None`` wird das Fenster vertikal zentriert" -#: ../../library/turtle.rst:2194 +#: ../../library/turtle.rst:2196 +#, fuzzy msgid "" -">>> screen.setup (width=200, height=200, startx=0, starty=0)\n" -">>> # sets window to 200x200 pixels, in upper left of screen\n" -">>> screen.setup(width=.75, height=0.5, startx=None, starty=None)\n" -">>> # sets window to 75% of screen by 50% of screen and centers" +"The default values of all arguments are stored in the configuration " +"dictionary and can be changed with a :file:`turtle.cfg` file." +msgstr "" +"Setze die Größe und Position des Hauptfensters. Standardwerte der Argumente " +"sind im Konfigurations-Dictionary gespeichert und können über " +"eine :file:`turtle.cfg`-Datei geändert werden." + +#: ../../library/turtle.rst:2199 +#, fuzzy +msgid "" +">>> screen.setup(width=200, height=200, startx=0, starty=0)\n" +">>> # sets window to 200x200 pixels, in upper left of screen\n" +">>> screen.setup(width=0.75, height=0.5)\n" +">>> # sets window to 75% of screen by 50% of screen and centers" msgstr "" ">>> screen.setup (width=200, height=200, startx=0, starty=0)\n" ">>> # sets window to 200x200 pixels, in upper left of screen\n" ">>> screen.setup(width=.75, height=0.5, startx=None, starty=None)\n" ">>> # sets window to 75% of screen by 50% of screen and centers" -#: ../../library/turtle.rst:2207 +#: ../../library/turtle.rst:2212 msgid "" "Set the title of the turtle window to *titlestring*. The title is shown in " "the title bar of the turtle graphics window." @@ -3475,15 +3471,15 @@ msgstr "" "Setze den Titel des Turtle-Fensters auf *titlestring*. Der Titel wird in der " "Titelleiste des Turtle-Grafikfensters angezeigt." -#: ../../library/turtle.rst:2210 +#: ../../library/turtle.rst:2215 msgid ">>> screen.title(\"Welcome to the turtle zoo!\")" msgstr ">>> screen.title(\"Welcome to the turtle zoo!\")" -#: ../../library/turtle.rst:2217 +#: ../../library/turtle.rst:2222 msgid "Public classes" msgstr "Öffentliche Klassen" -#: ../../library/turtle.rst:2222 +#: ../../library/turtle.rst:2227 msgid "" "a :class:`!tkinter.Canvas`, a :class:`ScrolledCanvas` or " "a :class:`TurtleScreen`" @@ -3491,15 +3487,16 @@ msgstr "" "ein :class:`!tkinter.Canvas`, ein :class:`ScrolledCanvas` oder " "ein :class:`TurtleScreen`" -#: ../../library/turtle.rst:2225 +#: ../../library/turtle.rst:2230 +#, fuzzy msgid "" -"Create a turtle. The turtle has all methods described above as \"methods of " -"Turtle/RawTurtle\"." +"Create a turtle. The turtle has all the methods described in :ref:`turtle-" +"methods`." msgstr "" "Erstelle eine Turtle. Die Turtle hat alle oben als \"Methoden von Turtle/" "RawTurtle\" beschriebenen Methoden." -#: ../../library/turtle.rst:2231 +#: ../../library/turtle.rst:2236 msgid "" "Subclass of RawTurtle, has the same interface but draws on a " "default :class:`Screen` object created automatically when needed for the " @@ -3509,19 +3506,20 @@ msgstr "" "einem Standard-:class:`Screen`-Objekt, das automatisch erstellt wird, wenn " "es zum ersten Mal benötigt wird." -#: ../../library/turtle.rst:2237 +#: ../../library/turtle.rst:2242 msgid "a :class:`!tkinter.Canvas`" msgstr "a :class:`!tkinter.Canvas`" -#: ../../library/turtle.rst:2239 +#: ../../library/turtle.rst:2244 +#, fuzzy msgid "" -"Provides screen oriented methods like :func:`bgcolor` etc. that are " +"Provides the screen-oriented methods, such as :func:`bgcolor`, that are " "described above." msgstr "" "Stellt bildschirmorientierte Methoden wie :func:`bgcolor` usw. bereit, die " "oben beschrieben sind." -#: ../../library/turtle.rst:2245 +#: ../../library/turtle.rst:2250 msgid "" "Subclass of :class:`TurtleScreen`, with :ref:`four methods added " "`. Calling ``Screen()`` returns the single screen object. If " @@ -3532,27 +3530,26 @@ msgstr "" "Objekt zurück. Existiert es noch nicht, wird es erzeugt. Andernfalls wird " "das vorhandene zurückgegeben." -#: ../../library/turtle.rst:2253 -msgid "" -"some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas " -"with scrollbars added" -msgstr "" -"ein Tkinter-Widget, das den ScrolledCanvas enthält, d. h. ein Tkinter-Canvas " -"mit hinzugefügten Bildlaufleisten" +#: ../../library/turtle.rst:2258 +#, fuzzy +msgid "a Tkinter widget" +msgstr "eine Ganzzahl" -#: ../../library/turtle.rst:2256 +#: ../../library/turtle.rst:2260 +#, fuzzy msgid "" -"Used by class Screen, which thus automatically provides a ScrolledCanvas as " -"playground for the turtles." +"A Tkinter canvas with scrollbars added. *master* is the widget that contains " +"it. Used by class :class:`Screen`, which thus automatically provides a " +"ScrolledCanvas as playground for the turtles." msgstr "" "Wird von der Klasse Screen verwendet, die dadurch automatisch einen " "ScrolledCanvas als Spielfläche für die Turtles bereitstellt." -#: ../../library/turtle.rst:2262 +#: ../../library/turtle.rst:2267 msgid "depends on *type_*" msgstr "hängt von *type_* ab" -#: ../../library/turtle.rst:2264 +#: ../../library/turtle.rst:2269 msgid "" "Data structure modeling shapes. *type_* is one of the strings \"polygon\", " "\"image\" or \"compound\". What *data* must be depends on *type_*: for " @@ -3567,19 +3564,19 @@ msgstr "" "eine zusammengesetzte Form über die Methode :meth:`addcomponent` aufgebaut " "wird." -#: ../../library/turtle.rst:2272 +#: ../../library/turtle.rst:2277 msgid "a tuple of pairs of numbers" msgstr "ein Tupel aus Zahlenpaaren" -#: ../../library/turtle.rst:2273 +#: ../../library/turtle.rst:2278 msgid "a color" msgstr "eine Farbe" -#: ../../library/turtle.rst:2274 +#: ../../library/turtle.rst:2279 msgid "a color or ``None``" msgstr "eine Farbe oder ``None``" -#: ../../library/turtle.rst:2276 +#: ../../library/turtle.rst:2281 msgid "" "Add a component to a shape of type \"compound\". *poly* is a polygon, a " "tuple of pairs of numbers. *fill* is the color the polygon is filled with " @@ -3591,11 +3588,11 @@ msgstr "" "Polygon gefüllt wird, und *outline* ist die Farbe seines Umrisses. Wird " "*outline* nicht angegeben, wird dafür ebenfalls *fill* verwendet." -#: ../../library/turtle.rst:2281 +#: ../../library/turtle.rst:2286 msgid "Example:" msgstr "Beispiel:" -#: ../../library/turtle.rst:2283 +#: ../../library/turtle.rst:2288 msgid "" ">>> poly = ((0,0), (10,-5), (0,10), (-10,-5))\n" ">>> s = Shape(\"compound\")\n" @@ -3607,11 +3604,11 @@ msgstr "" ">>> s.addcomponent(poly, \"red\", \"blue\")\n" ">>> # ... add more components and then use register_shape()" -#: ../../library/turtle.rst:2291 +#: ../../library/turtle.rst:2296 msgid "See :ref:`compoundshapes`." msgstr "Siehe :ref:`compoundshapes`." -#: ../../library/turtle.rst:2296 +#: ../../library/turtle.rst:2301 msgid "" "A two-dimensional vector class, used as a helper class for implementing " "turtle graphics. May be useful for turtle graphics programs too. Derived " @@ -3621,43 +3618,43 @@ msgstr "" "von Turtle-Grafik dient. Kann auch für Turtle-Grafik-Programme selbst " "nützlich sein. Von tuple abgeleitet, ein Vektor ist also ein Tupel!" -#: ../../library/turtle.rst:2300 +#: ../../library/turtle.rst:2305 msgid "Provides (for *a*, *b* vectors, *k* number):" msgstr "Bietet (für Vektoren *a*, *b*, Zahl *k*):" -#: ../../library/turtle.rst:2302 +#: ../../library/turtle.rst:2307 msgid "``a + b`` vector addition" msgstr "``a + b`` Vectoraddition" -#: ../../library/turtle.rst:2303 +#: ../../library/turtle.rst:2308 msgid "``a - b`` vector subtraction" msgstr "``a - b`` Vectorsubtraction" -#: ../../library/turtle.rst:2304 +#: ../../library/turtle.rst:2309 msgid "``a * b`` inner product" msgstr "``a * b`` Skalarprodukt" -#: ../../library/turtle.rst:2305 +#: ../../library/turtle.rst:2310 msgid "``k * a`` and ``a * k`` multiplication with scalar" msgstr "``k * a`` und ``a * k`` Multiplikation mit Skalar" -#: ../../library/turtle.rst:2306 +#: ../../library/turtle.rst:2311 msgid "``abs(a)`` absolute value of a" msgstr "``abs(a)`` Absolutwert von a" -#: ../../library/turtle.rst:2307 +#: ../../library/turtle.rst:2312 msgid "``a.rotate(angle)`` rotation" msgstr "``a.rotate(angle)`` Rotation" -#: ../../library/turtle.rst:2311 +#: ../../library/turtle.rst:2316 msgid "Exceptions" msgstr "Erklärungen" -#: ../../library/turtle.rst:2313 +#: ../../library/turtle.rst:2318 msgid "The :mod:`!turtle` module defines the following exception:" msgstr "Das Modul :mod:`!turtle` definiert die folgende Ausnahme:" -#: ../../library/turtle.rst:2317 +#: ../../library/turtle.rst:2322 msgid "" "Raised for invalid arguments or operations. For example, a malformed color " "string:" @@ -3665,7 +3662,7 @@ msgstr "" "Wird bei ungültigen Argumenten oder Operationen ausgelöst. Zum Beispiel bei " "einer fehlerhaften Farbzeichenkette:" -#: ../../library/turtle.rst:2320 +#: ../../library/turtle.rst:2325 msgid "" ">>> turtle.color(\"blau\")\n" "Traceback (most recent call last):\n" @@ -3677,21 +3674,21 @@ msgstr "" " ...\n" "turtle.TurtleGraphicsError: bad color string: blau" -#: ../../library/turtle.rst:2334 +#: ../../library/turtle.rst:2339 msgid "How-to guides" msgstr "How-to-Anleitungen" -#: ../../library/turtle.rst:2336 +#: ../../library/turtle.rst:2341 msgid "This section covers some typical turtle use-cases and approaches." msgstr "" "Dieser Abschnitt behandelt einige typische Anwendungsfälle und " "Vorgehensweisen für Turtle." -#: ../../library/turtle.rst:2342 +#: ../../library/turtle.rst:2347 msgid "How to automatically begin and end filling" msgstr "Füllen automatisch beginnen und beenden" -#: ../../library/turtle.rst:2344 +#: ../../library/turtle.rst:2349 msgid "" "Starting with Python 3.14, you can use the :func:`fill` :term:`context " "manager` instead of :func:`begin_fill` and :func:`end_fill` to automatically " @@ -3702,7 +3699,7 @@ msgstr "" "verwenden, um das Füllen automatisch zu beginnen und zu beenden. Hier ist " "ein Beispiel::" -#: ../../library/turtle.rst:2348 +#: ../../library/turtle.rst:2353 msgid "" "with fill():\n" " for i in range(4):\n" @@ -3718,11 +3715,11 @@ msgstr "" "\n" "forward(200)" -#: ../../library/turtle.rst:2355 +#: ../../library/turtle.rst:2360 msgid "The code above is equivalent to::" msgstr "Der obige Code ist äquivalent zu::" -#: ../../library/turtle.rst:2357 +#: ../../library/turtle.rst:2362 msgid "" "begin_fill()\n" "for i in range(4):\n" @@ -3740,11 +3737,11 @@ msgstr "" "\n" "forward(200)" -#: ../../library/turtle.rst:2370 +#: ../../library/turtle.rst:2375 msgid "How to use compound shapes" msgstr "Zusammengesetzte Formen verwenden" -#: ../../library/turtle.rst:2372 +#: ../../library/turtle.rst:2377 msgid "" "To use compound turtle shapes, which consist of several polygons of " "different color, you must use the helper class :class:`Shape` explicitly as " @@ -3754,11 +3751,11 @@ msgstr "" "unterschiedlicher Farbe bestehen, musst du die Hilfsklasse :class:`Shape` " "explizit verwenden, wie unten beschrieben:" -#: ../../library/turtle.rst:2376 +#: ../../library/turtle.rst:2381 msgid "Create an empty :class:`Shape` object of type \"compound\"." msgstr "Erstelle ein leeres :class:`Shape`-Objekt vom Typ \"compound\"." -#: ../../library/turtle.rst:2377 +#: ../../library/turtle.rst:2382 msgid "" "Add as many components to this object as desired, using " "the :meth:`~Shape.addcomponent` method." @@ -3766,11 +3763,11 @@ msgstr "" "Füge diesem Objekt beliebig viele Komponenten hinzu, indem du die " "Methode :meth:`~Shape.addcomponent` verwendest." -#: ../../library/turtle.rst:2380 +#: ../../library/turtle.rst:2385 msgid "For example:" msgstr "Zum Beispiel:" -#: ../../library/turtle.rst:2382 +#: ../../library/turtle.rst:2387 msgid "" ">>> s = Shape(\"compound\")\n" ">>> poly1 = ((0,0), (10,-5), (0,10), (-10,-5))\n" @@ -3784,11 +3781,12 @@ msgstr "" ">>> poly2 = ((0,0), (10,-5), (-10,-5))\n" ">>> s.addcomponent(poly2, \"blue\", \"red\")" -#: ../../library/turtle.rst:2391 -msgid "Now add the Shape to the Screen's shapelist and use it:" +#: ../../library/turtle.rst:2396 +#, fuzzy +msgid "Now add the Shape to the Screen's shape list and use it:" msgstr "Füge nun die Shape zur Formenliste des Screens hinzu und verwende sie:" -#: ../../library/turtle.rst:2393 +#: ../../library/turtle.rst:2398 msgid "" ">>> register_shape(\"myshape\", s)\n" ">>> shape(\"myshape\")" @@ -3796,11 +3794,11 @@ msgstr "" ">>> register_shape(\"myshape\", s)\n" ">>> shape(\"myshape\")" -#: ../../library/turtle.rst:2403 +#: ../../library/turtle.rst:2408 msgid "How to use the ``turtle`` module namespace" msgstr "Das ``turtle``-Modul im eigenen Namensraum verwenden" -#: ../../library/turtle.rst:2405 +#: ../../library/turtle.rst:2410 msgid "" "Using ``from turtle import *`` is convenient - but be warned that it imports " "a rather large collection of objects, and if you're doing anything but " @@ -3815,7 +3813,7 @@ msgstr "" "einem Skript verwendest, in dem auch andere Module importiert werden " "könnten)." -#: ../../library/turtle.rst:2411 +#: ../../library/turtle.rst:2416 msgid "" "The solution is to use ``import turtle`` - ``fd()`` becomes ``turtle.fd()``, " "``width()`` becomes ``turtle.width()`` and so on. (If typing \"turtle\" over " @@ -3827,11 +3825,11 @@ msgstr "" "(Falls es lästig wird, immer wieder \"turtle\" zu tippen, verwende " "stattdessen zum Beispiel ``import turtle as t``.)" -#: ../../library/turtle.rst:2420 +#: ../../library/turtle.rst:2425 msgid "How to use turtle graphics in a script" msgstr "Turtle-Grafik in einem Skript verwenden" -#: ../../library/turtle.rst:2422 +#: ../../library/turtle.rst:2427 msgid "" "It's recommended to use the ``turtle`` module namespace as described " "immediately above, for example::" @@ -3839,7 +3837,7 @@ msgstr "" "Es wird empfohlen, den Namensraum des Moduls ``turtle`` wie unmittelbar oben " "beschrieben zu verwenden, zum Beispiel::" -#: ../../library/turtle.rst:2425 +#: ../../library/turtle.rst:2430 msgid "" "import turtle as t\n" "from random import random\n" @@ -3859,7 +3857,7 @@ msgstr "" " t.right(angle)\n" " t.fd(steps)" -#: ../../library/turtle.rst:2434 +#: ../../library/turtle.rst:2439 msgid "" "Another step is also required though - as soon as the script ends, Python " "will also close the turtle's window. Add::" @@ -3868,11 +3866,11 @@ msgstr "" "endet, wird Python auch das Fenster der Turtle schließen. Füge Folgendes " "hinzu::" -#: ../../library/turtle.rst:2437 +#: ../../library/turtle.rst:2442 msgid "t.mainloop()" msgstr "t.mainloop()" -#: ../../library/turtle.rst:2439 +#: ../../library/turtle.rst:2444 msgid "" "to the end of the script. The script will now wait to be dismissed and will " "not exit until it is terminated, for example by closing the turtle graphics " @@ -3882,17 +3880,17 @@ msgstr "" "und beendet sich nicht, bis es beendet wird, zum Beispiel durch Schließen " "des Turtle-Grafikfensters." -#: ../../library/turtle.rst:2447 +#: ../../library/turtle.rst:2452 msgid "How to use object-oriented turtle graphics" msgstr "Objektorientierte Turtle-Grafik verwenden" -#: ../../library/turtle.rst:2449 +#: ../../library/turtle.rst:2454 msgid "" ":ref:`Explanation of the object-oriented interface `" msgstr "" ":ref:`Erklärung der objektorientierten Schnittstelle `" -#: ../../library/turtle.rst:2451 +#: ../../library/turtle.rst:2456 msgid "" "Other than for very basic introductory purposes, or for trying things out as " "quickly as possible, it's more usual and much more powerful to use the " @@ -3904,7 +3902,7 @@ msgstr "" "den objektorientierten Ansatz für Turtle-Grafik zu verwenden. Dies " "ermöglicht zum Beispiel mehrere Turtles gleichzeitig auf dem Bildschirm." -#: ../../library/turtle.rst:2456 +#: ../../library/turtle.rst:2461 msgid "" "In this approach, the various turtle commands are methods of objects (mostly " "of ``Turtle`` objects). You *can* use the object-oriented approach in the " @@ -3915,11 +3913,11 @@ msgstr "" "Ansatz auch in der Shell verwenden, typischer wäre es aber in einem Python-" "Skript." -#: ../../library/turtle.rst:2460 +#: ../../library/turtle.rst:2465 msgid "The example above then becomes::" msgstr "Das obige Beispiel wird dann zu::" -#: ../../library/turtle.rst:2462 +#: ../../library/turtle.rst:2467 msgid "" "from turtle import Turtle\n" "from random import random\n" @@ -3945,7 +3943,7 @@ msgstr "" "\n" "t.screen.mainloop()" -#: ../../library/turtle.rst:2474 +#: ../../library/turtle.rst:2479 msgid "" "Note the last line. ``t.screen`` is an instance of the :class:`Screen` that " "a Turtle instance exists on; it's created automatically along with the " @@ -3955,11 +3953,11 @@ msgstr "" "auf der eine Turtle-Instanz existiert. Sie wird automatisch zusammen mit der " "Turtle erstellt." -#: ../../library/turtle.rst:2478 +#: ../../library/turtle.rst:2483 msgid "The turtle's screen can be customised, for example::" msgstr "Der Turtle-Scree kann angepasst werden, zum Beispiel::" -#: ../../library/turtle.rst:2480 +#: ../../library/turtle.rst:2485 msgid "" "t.screen.title('Object-oriented turtle demo')\n" "t.screen.bgcolor(\"orange\")" @@ -3967,11 +3965,11 @@ msgstr "" "t.screen.title('Object-oriented turtle demo')\n" "t.screen.bgcolor(\"orange\")" -#: ../../library/turtle.rst:2487 +#: ../../library/turtle.rst:2492 msgid "How to use :func:`!help`" msgstr "Wie man :func:`!help` verwendet" -#: ../../library/turtle.rst:2489 +#: ../../library/turtle.rst:2494 msgid "" "The public methods of the Screen and Turtle classes are documented " "extensively via docstrings. So these can be used as online-help via the " @@ -3981,81 +3979,68 @@ msgstr "" "über Docstrings dokumentiert. Diese können daher über die Python-" "Hilfefunktionen als Online-Hilfe verwendet werden:" -#: ../../library/turtle.rst:2493 +#: ../../library/turtle.rst:2498 +#, fuzzy msgid "" "When using IDLE, tooltips show the signatures and first lines of the " -"docstrings of typed in function-/method calls." +"docstrings of typed in function/method calls." msgstr "" "Bei Verwendung von IDLE zeigen Tooltips die Signaturen und die ersten Zeilen " "der Docstrings eingetippter Funktions-/Methodenaufrufe." -#: ../../library/turtle.rst:2496 +#: ../../library/turtle.rst:2501 msgid "Calling :func:`help` on methods or functions displays the docstrings::" msgstr "" "Der Aufruf von :func:`help` für Methoden oder Funktionen zeigt die " "Docstrings an::" -#: ../../library/turtle.rst:2498 +#: ../../library/turtle.rst:2503 msgid "" -">>> help(Screen.bgcolor)\n" -"Help on method bgcolor in module turtle:\n" -"\n" -"bgcolor(self, *args) unbound turtle.Screen method\n" -" Set or return backgroundcolor of the TurtleScreen.\n" +">>> help(TurtleScreen.bgcolor)\n" +"Help on function bgcolor in module turtle:\n" "\n" -" Arguments (if given): a color string or three numbers\n" -" in the range 0..colormode or a 3-tuple of such numbers.\n" +"bgcolor(self, *args)\n" +" Return or set the background color of the TurtleScreen.\n" "\n" +" Four input formats are allowed:\n" +" - bgcolor()\n" +" Return the current background color as a color specification\n" +" string or as a tuple (see example). May be used as input\n" +" to another color(), pencolor(), fillcolor() or bgcolor() call.\n" +" - bgcolor(colorstring)\n" +" Set the background color to colorstring, which is a Tk color\n" +" specification string, such as \"red\", \"yellow\", or \"#33cc8c\".\n" +" - bgcolor((r, g, b))\n" +" Set the background color to the RGB color represented by\n" +" the tuple of r, g, and b. Each of r, g, and b must be\n" +" between 0 and colormode, where colormode is either 1.0 or 255\n" +" (see colormode()).\n" +" - bgcolor(r, g, b)\n" +" Set the background color to the RGB color represented by\n" +" r, g, and b. Each of r, g, and b must be between 0 and\n" +" colormode.\n" "\n" -" >>> screen.bgcolor(\"orange\")\n" -" >>> screen.bgcolor()\n" -" \"orange\"\n" -" >>> screen.bgcolor(0.5,0,0.5)\n" -" >>> screen.bgcolor()\n" -" \"#800080\"\n" +" Example (for a TurtleScreen instance named screen):\n" +" >>> screen.bgcolor(\"orange\")\n" +" >>> screen.bgcolor()\n" +" 'orange'\n" +" >>> screen.colormode(255)\n" +" >>> screen.bgcolor(\"#800080\")\n" +" >>> screen.bgcolor()\n" +" (128.0, 0.0, 128.0)\n" "\n" ">>> help(Turtle.penup)\n" -"Help on method penup in module turtle:\n" +"Help on function penup in module turtle:\n" "\n" -"penup(self) unbound turtle.Turtle method\n" -" Pull the pen up -- no drawing when moving.\n" +"penup(self)\n" +" Lift the pen.\n" "\n" " Aliases: penup | pu | up\n" "\n" -" No argument\n" -"\n" -" >>> turtle.penup()" +" The turtle does not draw when it moves." msgstr "" -">>> help(Screen.bgcolor)\n" -"Help on method bgcolor in module turtle:\n" -"\n" -"bgcolor(self, *args) unbound turtle.Screen method\n" -" Set or return backgroundcolor of the TurtleScreen.\n" -"\n" -" Arguments (if given): a color string or three numbers\n" -" in the range 0..colormode or a 3-tuple of such numbers.\n" -"\n" -"\n" -" >>> screen.bgcolor(\"orange\")\n" -" >>> screen.bgcolor()\n" -" \"orange\"\n" -" >>> screen.bgcolor(0.5,0,0.5)\n" -" >>> screen.bgcolor()\n" -" \"#800080\"\n" -"\n" -">>> help(Turtle.penup)\n" -"Help on method penup in module turtle:\n" -"\n" -"penup(self) unbound turtle.Turtle method\n" -" Pull the pen up -- no drawing when moving.\n" -"\n" -" Aliases: penup | pu | up\n" -"\n" -" No argument\n" -"\n" -" >>> turtle.penup()" -#: ../../library/turtle.rst:2527 +#: ../../library/turtle.rst:2546 msgid "" "The docstrings of the functions which are derived from methods have a " "modified form::" @@ -4063,71 +4048,53 @@ msgstr "" "Die Docstrings der Funktionen, die von Methoden abgeleitet sind, haben eine " "abgewandelte Form::" -#: ../../library/turtle.rst:2530 +#: ../../library/turtle.rst:2549 msgid "" ">>> help(bgcolor)\n" "Help on function bgcolor in module turtle:\n" "\n" "bgcolor(*args)\n" -" Set or return backgroundcolor of the TurtleScreen.\n" -"\n" -" Arguments (if given): a color string or three numbers\n" -" in the range 0..colormode or a 3-tuple of such numbers.\n" -"\n" -" Example::\n" +" Return or set the background color of the TurtleScreen.\n" "\n" -" >>> bgcolor(\"orange\")\n" -" >>> bgcolor()\n" -" \"orange\"\n" -" >>> bgcolor(0.5,0,0.5)\n" -" >>> bgcolor()\n" -" \"#800080\"\n" -"\n" -">>> help(penup)\n" -"Help on function penup in module turtle:\n" -"\n" -"penup()\n" -" Pull the pen up -- no drawing when moving.\n" -"\n" -" Aliases: penup | pu | up\n" -"\n" -" No argument\n" +" Four input formats are allowed:\n" +" - bgcolor()\n" +" Return the current background color as a color specification\n" +" string or as a tuple (see example). May be used as input\n" +" to another color(), pencolor(), fillcolor() or bgcolor() call.\n" +" - bgcolor(colorstring)\n" +" Set the background color to colorstring, which is a Tk color\n" +" specification string, such as \"red\", \"yellow\", or \"#33cc8c\".\n" +" - bgcolor((r, g, b))\n" +" Set the background color to the RGB color represented by\n" +" the tuple of r, g, and b. Each of r, g, and b must be\n" +" between 0 and colormode, where colormode is either 1.0 or 255\n" +" (see colormode()).\n" +" - bgcolor(r, g, b)\n" +" Set the background color to the RGB color represented by\n" +" r, g, and b. Each of r, g, and b must be between 0 and\n" +" colormode.\n" "\n" " Example:\n" -" >>> penup()" -msgstr "" -">>> help(bgcolor)\n" -"Help on function bgcolor in module turtle:\n" -"\n" -"bgcolor(*args)\n" -" Set or return backgroundcolor of the TurtleScreen.\n" -"\n" -" Arguments (if given): a color string or three numbers\n" -" in the range 0..colormode or a 3-tuple of such numbers.\n" -"\n" -" Example::\n" -"\n" -" >>> bgcolor(\"orange\")\n" -" >>> bgcolor()\n" -" \"orange\"\n" -" >>> bgcolor(0.5,0,0.5)\n" -" >>> bgcolor()\n" -" \"#800080\"\n" +" >>> bgcolor(\"orange\")\n" +" >>> bgcolor()\n" +" 'orange'\n" +" >>> colormode(255)\n" +" >>> bgcolor(\"#800080\")\n" +" >>> bgcolor()\n" +" (128.0, 0.0, 128.0)\n" "\n" ">>> help(penup)\n" "Help on function penup in module turtle:\n" "\n" "penup()\n" -" Pull the pen up -- no drawing when moving.\n" +" Lift the pen.\n" "\n" " Aliases: penup | pu | up\n" "\n" -" No argument\n" -"\n" -" Example:\n" -" >>> penup()" +" The turtle does not draw when it moves." +msgstr "" -#: ../../library/turtle.rst:2561 +#: ../../library/turtle.rst:2592 msgid "" "These modified docstrings are created automatically together with the " "function definitions that are derived from the methods at import time." @@ -4136,11 +4103,11 @@ msgstr "" "Funktionsdefinitionen erstellt, die zur Importzeit von den Methoden " "abgeleitet werden." -#: ../../library/turtle.rst:2566 +#: ../../library/turtle.rst:2597 msgid "Translation of docstrings into different languages" msgstr "Übersetzung von Docstrings in verschiedene Sprachen" -#: ../../library/turtle.rst:2568 +#: ../../library/turtle.rst:2599 msgid "" "There is a utility to create a dictionary the keys of which are the method " "names and the values of which are the docstrings of the public methods of " @@ -4150,17 +4117,13 @@ msgstr "" "die Methodennamen und dessen Werte die Docstrings der öffentlichen Methoden " "der Klassen Screen und Turtle sind." -#: ../../library/turtle.rst:2574 -msgid "a string, used as filename" -msgstr "eine Zeichenkette, verwendet als Dateiname" - -#: ../../library/turtle.rst:2576 +#: ../../library/turtle.rst:2607 +#, fuzzy msgid "" -"Create and write docstring-dictionary to a Python script with the given " -"filename. This function has to be called explicitly (it is not used by the " -"turtle graphics classes). The docstring dictionary will be written to the " -"Python script :file:`{filename}.py`. It is intended to serve as a template " -"for translation of the docstrings into different languages." +"Write the docstring dictionary to a Python script. The dictionary is written " +"to the file :file:`{filename}.py`. It is intended to serve as a template for " +"translating the docstrings into different languages. This function has to be " +"called explicitly. It is not used by the turtle graphics classes." msgstr "" "Erstelle das Docstring-Dictionary und schreibe es in ein Python-Skript mit " "dem angegebenen Dateinamen. Diese Funktion muss explizit aufgerufen werden " @@ -4169,17 +4132,18 @@ msgstr "" "ist als Vorlage für die Übersetzung der Docstrings in verschiedene Sprachen " "gedacht." -#: ../../library/turtle.rst:2582 +#: ../../library/turtle.rst:2612 +#, fuzzy msgid "" "If you (or your students) want to use :mod:`!turtle` with online help in " "your native language, you have to translate the docstrings and save the " -"resulting file as e.g. :file:`turtle_docstringdict_german.py`." +"resulting file as, for example, :file:`turtle_docstringdict_german.py`." msgstr "" "Wenn du (oder deine Lernenden) :mod:`!turtle` mit Online-Hilfe in deiner " "Muttersprache verwenden möchtest, musst du die Docstrings übersetzen und die " "entstehende Datei z. B. als :file:`turtle_docstringdict_german.py` speichern." -#: ../../library/turtle.rst:2586 +#: ../../library/turtle.rst:2616 msgid "" "If you have an appropriate entry in your :file:`turtle.cfg` file this " "dictionary will be read in at import time and will replace the original " @@ -4189,7 +4153,7 @@ msgstr "" "hast, wird dieses Dictionary zur Importzeit eingelesen und ersetzt die " "ursprünglichen englischen Docstrings." -#: ../../library/turtle.rst:2589 +#: ../../library/turtle.rst:2619 msgid "" "At the time of this writing there are docstring dictionaries in German and " "in Italian. (Requests please to glingl@aon.at.)" @@ -4197,11 +4161,11 @@ msgstr "" "Zum Zeitpunkt der Erstellung dieses Textes gibt es Docstring-Dictionaries " "auf Deutsch und auf Italienisch. (Anfragen bitte an glingl@aon.at.)" -#: ../../library/turtle.rst:2595 +#: ../../library/turtle.rst:2625 msgid "How to configure Screen and Turtles" msgstr "Wie man Screen und Turtles konfiguriert" -#: ../../library/turtle.rst:2597 +#: ../../library/turtle.rst:2627 msgid "" "The built-in default configuration mimics the appearance and behaviour of " "the old turtle module in order to retain best possible compatibility with it." @@ -4210,13 +4174,14 @@ msgstr "" "Verhalten des alten turtle-Moduls nach, um eine möglichst gute " "Kompatibilität damit zu bewahren." -#: ../../library/turtle.rst:2600 +#: ../../library/turtle.rst:2630 +#, fuzzy msgid "" "If you want to use a different configuration which better reflects the " -"features of this module or which better fits to your needs, e.g. for use in " -"a classroom, you can prepare a configuration file ``turtle.cfg`` which will " -"be read at import time and modify the configuration according to its " -"settings." +"features of this module or which better fits to your needs, for example for " +"use in a classroom, you can prepare a configuration file ``turtle.cfg`` " +"which will be read at import time and modify the configuration according to " +"its settings." msgstr "" "Wenn du eine andere Konfiguration verwenden möchtest, die die Funktionen " "dieses Moduls besser widerspiegelt oder besser zu deinen Bedürfnissen passt, " @@ -4224,13 +4189,14 @@ msgstr "" "``turtle.cfg`` vorbereiten, die zur Importzeit eingelesen wird und die " "Konfiguration entsprechend ihrer Einstellungen ändert." -#: ../../library/turtle.rst:2605 +#: ../../library/turtle.rst:2635 +#, fuzzy msgid "" -"The built in configuration would correspond to the following ``turtle.cfg``:" +"The built-in configuration would correspond to the following ``turtle.cfg``:" msgstr "" "Die integrierte Konfiguration würde der folgenden ``turtle.cfg`` entsprechen:" -#: ../../library/turtle.rst:2607 +#: ../../library/turtle.rst:2637 msgid "" "width = 0.5\n" "height = 0.75\n" @@ -4274,11 +4240,11 @@ msgstr "" "title = Python Turtle Graphics\n" "using_IDLE = False" -#: ../../library/turtle.rst:2630 +#: ../../library/turtle.rst:2660 msgid "Short explanation of selected entries:" msgstr "Kurze Erklärung ausgewählter Einträge:" -#: ../../library/turtle.rst:2632 +#: ../../library/turtle.rst:2662 msgid "" "The first four lines correspond to the arguments of the :func:`Screen.setup " "` method." @@ -4286,7 +4252,7 @@ msgstr "" "Die ersten vier Zeilen entsprechen den Argumenten der " "Methode :func:`Screen.setup `." -#: ../../library/turtle.rst:2634 +#: ../../library/turtle.rst:2664 msgid "" "Line 5 and 6 correspond to the arguments of the " "method :func:`Screen.screensize `." @@ -4294,17 +4260,19 @@ msgstr "" "Zeile 5 und 6 entsprechen den Argumenten der " "Methode :func:`Screen.screensize `." -#: ../../library/turtle.rst:2636 +#: ../../library/turtle.rst:2666 +#, fuzzy msgid "" -"*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For " -"more info try ``help(shape)``." +"*shape* can be any of the built-in shapes, such as arrow or turtle. For more " +"information, see :func:`shape`." msgstr "" "*shape* kann eine der integrierten Formen sein, z. B.: arrow, turtle usw. " "Für weitere Informationen versuche ``help(shape)``." -#: ../../library/turtle.rst:2638 +#: ../../library/turtle.rst:2668 +#, fuzzy msgid "" -"If you want to use no fill color (i.e. make the turtle transparent), you " +"If you want to use no fill color (that is, make the turtle transparent), you " "have to write ``fillcolor = \"\"`` (but all nonempty strings must not have " "quotes in the cfg file)." msgstr "" @@ -4313,27 +4281,29 @@ msgstr "" "nichtleeren Zeichenketten dürfen in der cfg-Datei keine Anführungszeichen " "haben)." -#: ../../library/turtle.rst:2641 +#: ../../library/turtle.rst:2671 +#, fuzzy msgid "" -"If you want to reflect the turtle its state, you have to use ``resizemode = " -"auto``." +"If you want the turtle's appearance to reflect its state, you have to set " +"``resizemode = auto``." msgstr "" "Wenn die Turtle ihren Zustand widerspiegeln soll, musst du ``resizemode = " "auto`` verwenden." -#: ../../library/turtle.rst:2643 +#: ../../library/turtle.rst:2673 +#, fuzzy msgid "" -"If you set e.g. ``language = italian`` the " +"If you set, for example, ``language = italian`` the " "docstringdict :file:`turtle_docstringdict_italian.py` will be loaded at " -"import time (if present on the import path, e.g. in the same directory " -"as :mod:`!turtle`)." +"import time (if present on the import path, for example, in the same " +"directory as :mod:`!turtle`)." msgstr "" "Wenn du z.B. ``language = italian`` setzt, wird das " "docstringdict :file:`turtle_docstringdict_italian.py` zur Importzeit geladen " "(sofern es im Importpfad vorhanden ist, z. B. im selben Verzeichnis " "wie :mod:`!turtle`)." -#: ../../library/turtle.rst:2646 +#: ../../library/turtle.rst:2676 msgid "" "The entries *exampleturtle* and *examplescreen* define the names of these " "objects as they occur in the docstrings. The transformation of method-" @@ -4345,17 +4315,18 @@ msgstr "" "Methoden-Docstrings in Funktions-Docstrings werden diese Namen aus den " "Docstrings entfernt." -#: ../../library/turtle.rst:2650 +#: ../../library/turtle.rst:2680 +#, fuzzy msgid "" "*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its " -"``-n`` switch (\"no subprocess\"). This will prevent :func:`exitonclick` to " -"enter the mainloop." +"``-n`` switch (\"no subprocess\"). This will prevent :func:`exitonclick` " +"from entering the mainloop." msgstr "" "*using_IDLE*: Setze dies auf ``True``, wenn du regelmäßig mit IDLE und " "dessen Schalter ``-n`` (\"no subprocess\") arbeitest. Dies verhindert, " "dass :func:`exitonclick` die mainloop aufruft." -#: ../../library/turtle.rst:2654 +#: ../../library/turtle.rst:2684 msgid "" "There can be a :file:`turtle.cfg` file in the directory where :mod:`!turtle` " "is stored and an additional one in the current working directory. The " @@ -4365,7 +4336,7 @@ msgstr "" "turtle` gespeichert ist, sowie eine zusätzliche im aktuellen " "Arbeitsverzeichnis. Letztere überschreibt die Einstellungen der ersten." -#: ../../library/turtle.rst:2658 +#: ../../library/turtle.rst:2688 msgid "" "The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. " "You can study it as an example and see its effects when running the demos " @@ -4375,21 +4346,22 @@ msgstr "" "Datei. Du kannst sie als Beispiel studieren und ihre Auswirkungen beim " "Ausführen der Demos sehen (vorzugsweise nicht innerhalb des Demo-Viewers)." -#: ../../library/turtle.rst:2666 +#: ../../library/turtle.rst:2696 msgid "Explanation" msgstr "Erklärung" -#: ../../library/turtle.rst:2668 +#: ../../library/turtle.rst:2698 +#, fuzzy msgid "" -"A turtle object draws on a screen object, and there a number of key classes " -"in the turtle object-oriented interface that can be used to create them and " -"relate them to each other." +"A turtle object draws on a screen object, and there are a number of key " +"classes in the turtle object-oriented interface that can be used to create " +"them and relate them to each other." msgstr "" "Ein Turtle-Objekt zeichnet auf einem Screen-Objekt, und es gibt eine Reihe " "zentraler Klassen in der objektorientierten Turtle-Schnittstelle, mit denen " "man diese erstellen und miteinander in Beziehung setzen kann." -#: ../../library/turtle.rst:2672 +#: ../../library/turtle.rst:2702 msgid "" "A :class:`Turtle` instance will automatically create a :class:`Screen` " "instance if one is not already present." @@ -4397,7 +4369,7 @@ msgstr "" "Eine :class:`Turtle`-Instanz erstellt automatisch eine :class:`Screen`-" "Instanz, falls noch keine vorhanden ist." -#: ../../library/turtle.rst:2675 +#: ../../library/turtle.rst:2705 msgid "" "``Turtle`` is a subclass of :class:`RawTurtle`, which *doesn't* " "automatically create a drawing surface - a *canvas* will need to be provided " @@ -4409,7 +4381,7 @@ msgstr "" "oder erstellt werden. Die *canvas* kann ein :class:`!" "tkinter.Canvas`, :class:`ScrolledCanvas` oder :class:`TurtleScreen` sein." -#: ../../library/turtle.rst:2681 +#: ../../library/turtle.rst:2711 msgid "" ":class:`TurtleScreen` is the basic drawing surface for a " "turtle. :class:`Screen` is a subclass of ``TurtleScreen``, and " @@ -4425,7 +4397,7 @@ msgstr "" "Konstruktor von ``TurtleScreen`` benötigt ein :class:`!tkinter.Canvas` oder " "ein :class:`ScrolledCanvas` als Argument." -#: ../../library/turtle.rst:2688 +#: ../../library/turtle.rst:2718 msgid "" "The functional interface for turtle graphics uses the various methods of " "``Turtle`` and ``TurtleScreen``/``Screen``. Behind the scenes, a screen " @@ -4440,7 +4412,7 @@ msgstr "" "Turtle-Objekt erstellt, sobald eine der von einer Turtle-Methode " "abgeleiteten Funktionen aufgerufen wird." -#: ../../library/turtle.rst:2694 +#: ../../library/turtle.rst:2724 msgid "" "To use multiple turtles on a screen, the object-oriented interface must be " "used." @@ -4448,11 +4420,11 @@ msgstr "" "Um mehrere Turtles auf einem Screen zu verwenden, muss die objektorientierte " "Schnittstelle genutzt werden." -#: ../../library/turtle.rst:2699 +#: ../../library/turtle.rst:2729 msgid ":mod:`!turtledemo` --- Demo scripts" msgstr ":mod:`!turtledemo` --- Demo-Skripte" -#: ../../library/turtle.rst:2704 +#: ../../library/turtle.rst:2734 msgid "" "The :mod:`!turtledemo` package includes a set of demo scripts. These " "scripts can be run and viewed using the supplied demo viewer as follows::" @@ -4461,26 +4433,26 @@ msgstr "" "Skripte können mit dem mitgelieferten Demo-Viewer wie folgt ausgeführt und " "betrachtet werden::" -#: ../../library/turtle.rst:2707 +#: ../../library/turtle.rst:2737 msgid "python -m turtledemo" msgstr "python -m turtledemo" -#: ../../library/turtle.rst:2709 +#: ../../library/turtle.rst:2739 msgid "" "Alternatively, you can run the demo scripts individually. For example, ::" msgstr "" "Alternativ kannst du die Demo-Skripte auch einzeln ausführen. Zum " "Beispiel: ::" -#: ../../library/turtle.rst:2711 +#: ../../library/turtle.rst:2741 msgid "python -m turtledemo.bytedesign" msgstr "python -m turtledemo.bytedesign" -#: ../../library/turtle.rst:2713 +#: ../../library/turtle.rst:2743 msgid "The :mod:`!turtledemo` package directory contains:" msgstr "Das Paketverzeichnis :mod:`!turtledemo` enthält:" -#: ../../library/turtle.rst:2715 +#: ../../library/turtle.rst:2745 msgid "" "A demo viewer :file:`__main__.py` which can be used to view the sourcecode " "of the scripts and run them at the same time." @@ -4488,7 +4460,7 @@ msgstr "" "Einen Demo-Viewer :file:`__main__.py`, mit dem der Quellcode der Skripte " "betrachtet und gleichzeitig ausgeführt werden kann." -#: ../../library/turtle.rst:2717 +#: ../../library/turtle.rst:2747 msgid "" "Multiple scripts demonstrating different features of the :mod:`!turtle` " "module. Examples can be accessed via the Examples menu. They can also be " @@ -4498,7 +4470,7 @@ msgstr "" "demonstrieren. Auf die Beispiele kann über das Menü Examples zugegriffen " "werden. Sie können auch eigenständig ausgeführt werden." -#: ../../library/turtle.rst:2720 +#: ../../library/turtle.rst:2750 msgid "" "A :file:`turtle.cfg` file which serves as an example of how to write and use " "such files." @@ -4506,39 +4478,39 @@ msgstr "" "Eine :file:`turtle.cfg`-Datei, die als Beispiel dient, wie solche Dateien " "geschrieben und verwendet werden." -#: ../../library/turtle.rst:2723 +#: ../../library/turtle.rst:2753 msgid "The demo scripts are:" msgstr "Die Demo-Skripte sind:" -#: ../../library/turtle.rst:2730 +#: ../../library/turtle.rst:2760 msgid "Name" msgstr "Name" -#: ../../library/turtle.rst:2730 +#: ../../library/turtle.rst:2760 msgid "Description" msgstr "Beschreibung" -#: ../../library/turtle.rst:2730 +#: ../../library/turtle.rst:2760 msgid "Features" msgstr "Feature" -#: ../../library/turtle.rst:2732 +#: ../../library/turtle.rst:2762 msgid "``bytedesign``" msgstr "``bytedesign``" -#: ../../library/turtle.rst:2732 +#: ../../library/turtle.rst:2762 msgid "complex classical turtle graphics pattern" msgstr "komplexes klassisches Turtle-Grafik-Muster" -#: ../../library/turtle.rst:2732 +#: ../../library/turtle.rst:2762 msgid ":func:`tracer`, :func:`delay`, :func:`update`" msgstr ":func:`tracer`, :func:`delay`, :func:`update`" -#: ../../library/turtle.rst:2735 +#: ../../library/turtle.rst:2765 msgid "``chaos``" msgstr "``chaos``" -#: ../../library/turtle.rst:2735 +#: ../../library/turtle.rst:2765 msgid "" "graphs Verhulst dynamics, shows that computer's computations can generate " "results sometimes against the common sense expectations" @@ -4547,227 +4519,450 @@ msgstr "" "Computerberechnungen manchmal Ergebnisse liefern können, die dem gesunden " "Menschenverstand widersprechen" -#: ../../library/turtle.rst:2735 +#: ../../library/turtle.rst:2765 msgid "world coordinates" msgstr "Welt Koordinaten" -#: ../../library/turtle.rst:2741 +#: ../../library/turtle.rst:2771 msgid "``clock``" msgstr "``clock``" -#: ../../library/turtle.rst:2741 +#: ../../library/turtle.rst:2771 msgid "analog clock showing time of your computer" msgstr "analoge Uhr, die die Zeit deines Computers anzeigt" -#: ../../library/turtle.rst:2741 +#: ../../library/turtle.rst:2771 msgid "turtles as clock's hands, :func:`ontimer`" msgstr "Turtles als Uhrzeiger, :func:`ontimer`" -#: ../../library/turtle.rst:2744 +#: ../../library/turtle.rst:2774 msgid "``colormixer``" msgstr "``colormixer``" -#: ../../library/turtle.rst:2744 +#: ../../library/turtle.rst:2774 msgid "experiment with r, g, b" msgstr "Experiment mit r, g, b" -#: ../../library/turtle.rst:2744 +#: ../../library/turtle.rst:2774 msgid ":func:`ondrag`" msgstr ":func:`ondrag`" -#: ../../library/turtle.rst:2746 +#: ../../library/turtle.rst:2776 msgid "``forest``" msgstr "``forest``" -#: ../../library/turtle.rst:2746 +#: ../../library/turtle.rst:2776 msgid "3 breadth-first trees" msgstr "3 Breitensuche-Bäume" -#: ../../library/turtle.rst:2746 +#: ../../library/turtle.rst:2776 msgid "randomization" msgstr "Zufallsgenerierung" -#: ../../library/turtle.rst:2748 +#: ../../library/turtle.rst:2778 msgid "``fractalcurves``" msgstr "``fractalcurves``" -#: ../../library/turtle.rst:2748 +#: ../../library/turtle.rst:2778 msgid "Hilbert & Koch curves" msgstr "Hilbert & Koch Kurven" -#: ../../library/turtle.rst:2748 +#: ../../library/turtle.rst:2778 msgid "recursion" msgstr "Rekursion" -#: ../../library/turtle.rst:2750 +#: ../../library/turtle.rst:2780 msgid "``lindenmayer``" msgstr "``lindenmayer``" -#: ../../library/turtle.rst:2750 -msgid "ethnomathematics (indian kolams)" +#: ../../library/turtle.rst:2780 +#, fuzzy +msgid "ethnomathematics (Indian kolams)" msgstr "Ethnomathematik (indische Kolams)" -#: ../../library/turtle.rst:2750 +#: ../../library/turtle.rst:2780 msgid "L-System" msgstr "L-System" -#: ../../library/turtle.rst:2753 +#: ../../library/turtle.rst:2783 msgid "``minimal_hanoi``" msgstr "``minimal_hanoi``" -#: ../../library/turtle.rst:2753 +#: ../../library/turtle.rst:2783 msgid "Towers of Hanoi" msgstr "Türme von Hannoi" -#: ../../library/turtle.rst:2753 +#: ../../library/turtle.rst:2783 msgid "Rectangular Turtles as Hanoi discs (:func:`shape`, :func:`shapesize`)" msgstr "" "Rechteckige Turtles als Hanoi-Scheiben (:func:`shape`, :func:`shapesize`)" -#: ../../library/turtle.rst:2757 +#: ../../library/turtle.rst:2787 msgid "``nim``" msgstr "``nim``" -#: ../../library/turtle.rst:2757 +#: ../../library/turtle.rst:2787 msgid "" "play the classical nim game with three heaps of sticks against the computer." msgstr "" "spiele das klassische Nim-Spiel mit drei Stapeln aus Stäbchen gegen den " "Computer." -#: ../../library/turtle.rst:2757 +#: ../../library/turtle.rst:2787 msgid "turtles as nimsticks, event driven (mouse, keyboard)" msgstr "Turtles als Nim-Stäbchen, ereignisgesteuert (Maus, Tastatur)" -#: ../../library/turtle.rst:2761 +#: ../../library/turtle.rst:2791 msgid "``paint``" msgstr "``paint``" -#: ../../library/turtle.rst:2761 +#: ../../library/turtle.rst:2791 msgid "super minimalistic drawing program" msgstr "super minimalistisches Zeichenprogramm" -#: ../../library/turtle.rst:2761 +#: ../../library/turtle.rst:2791 msgid ":func:`onclick`" msgstr ":func:`onclick`" -#: ../../library/turtle.rst:2764 +#: ../../library/turtle.rst:2794 msgid "``peace``" msgstr "``peace``" -#: ../../library/turtle.rst:2764 +#: ../../library/turtle.rst:2794 msgid "elementary" msgstr "Elementar" -#: ../../library/turtle.rst:2764 +#: ../../library/turtle.rst:2794 msgid "turtle: appearance and animation" msgstr "Turtle: Erscheinungsbild und Animation" -#: ../../library/turtle.rst:2767 +#: ../../library/turtle.rst:2797 msgid "``penrose``" msgstr "``penrose``" -#: ../../library/turtle.rst:2767 +#: ../../library/turtle.rst:2797 msgid "aperiodic tiling with kites and darts" msgstr "aperiodische Kachelung mit Drachen und Pfeilen" -#: ../../library/turtle.rst:2767 +#: ../../library/turtle.rst:2797 msgid ":func:`stamp`" msgstr ":func:`stamp`" -#: ../../library/turtle.rst:2770 +#: ../../library/turtle.rst:2800 msgid "``planet_and_moon``" msgstr "``planet_and_moon``" -#: ../../library/turtle.rst:2770 +#: ../../library/turtle.rst:2800 msgid "simulation of gravitational system" msgstr "Simulation eines Gravitationssystems" -#: ../../library/turtle.rst:2770 +#: ../../library/turtle.rst:2800 msgid "compound shapes, :class:`Vec2D`" msgstr "zusammengesetzte Formen, :class:`Vec2D`" -#: ../../library/turtle.rst:2773 +#: ../../library/turtle.rst:2803 msgid "``rosette``" msgstr "``rosette``" -#: ../../library/turtle.rst:2773 -msgid "a pattern from the wikipedia article on turtle graphics" +#: ../../library/turtle.rst:2803 +#, fuzzy +msgid "a pattern from the Wikipedia article on turtle graphics" msgstr "ein Muster aus dem Wikipedia-Artikel über Turtle-Grafik" -#: ../../library/turtle.rst:2773 +#: ../../library/turtle.rst:2803 msgid ":func:`clone`, :func:`undo`" msgstr ":func:`clone`, :func:`undo`" -#: ../../library/turtle.rst:2776 +#: ../../library/turtle.rst:2806 msgid "``round_dance``" msgstr "``round_dance``" -#: ../../library/turtle.rst:2776 +#: ../../library/turtle.rst:2806 msgid "dancing turtles rotating pairwise in opposite direction" msgstr "" "tanzende Turtles, die sich paarweise in entgegengesetzter Richtung drehen" -#: ../../library/turtle.rst:2776 +#: ../../library/turtle.rst:2806 +#, fuzzy msgid "" "compound " -"shapes, :func:`clone` :func:`shapesize`, :func:`tilt`, :func:`get_shapepoly`, :func:`update`" +"shapes, :func:`clone`, :func:`shapesize`, :func:`tilt`, :func:`get_shapepoly`, :func:`update`" msgstr "" "zusammengesetzte " "Formen, :func:`clone` :func:`shapesize`, :func:`tilt`, :func:`get_shapepoly`, :func:`update`" -#: ../../library/turtle.rst:2780 +#: ../../library/turtle.rst:2810 msgid "``sorting_animate``" msgstr "``sorting_animate``" -#: ../../library/turtle.rst:2780 +#: ../../library/turtle.rst:2810 msgid "visual demonstration of different sorting methods" msgstr "visuelle Demonstration verschiedener Sortiermethoden" -#: ../../library/turtle.rst:2780 +#: ../../library/turtle.rst:2810 msgid "simple alignment, randomization" msgstr "einfache Ausrichtung, Zufallsgenerierung" -#: ../../library/turtle.rst:2783 +#: ../../library/turtle.rst:2813 msgid "``tree``" msgstr "``tree``" -#: ../../library/turtle.rst:2783 +#: ../../library/turtle.rst:2813 msgid "a (graphical) breadth first tree (using generators)" msgstr "ein (grafischer) Breitensuche-Baum (unter Verwendung von Generatoren)" -#: ../../library/turtle.rst:2783 +#: ../../library/turtle.rst:2813 msgid ":func:`clone`" msgstr ":func:`clone`" -#: ../../library/turtle.rst:2786 +#: ../../library/turtle.rst:2816 msgid "``two_canvases``" msgstr "``two_canvases``" -#: ../../library/turtle.rst:2786 +#: ../../library/turtle.rst:2816 msgid "simple design" msgstr "einfaches Design" -#: ../../library/turtle.rst:2786 +#: ../../library/turtle.rst:2816 msgid "turtles on two canvases" msgstr "Turtles auf zwei Canvas" -#: ../../library/turtle.rst:2789 +#: ../../library/turtle.rst:2819 msgid "``yinyang``" msgstr "``yinyang``" -#: ../../library/turtle.rst:2789 +#: ../../library/turtle.rst:2819 msgid "another elementary example" msgstr "ein weiteres elementares Beispiel" -#: ../../library/turtle.rst:2789 +#: ../../library/turtle.rst:2819 msgid ":func:`circle`" msgstr ":func:`circle`" -#: ../../library/turtle.rst:2792 +#: ../../library/turtle.rst:2822 msgid "Have fun!" msgstr "Viel Spaß!" +#~ msgid "" +#~ "Undo (repeatedly) the last turtle action(s). Number of available undo " +#~ "actions is determined by the size of the undobuffer." +#~ msgstr "" +#~ "Mache die letzte(n) Turtle-Aktion(en) (wiederholt) rückgängig. Die Anzahl " +#~ "der verfügbaren Rückgängig-Aktionen wird durch die Größe des Undo-Puffers " +#~ "bestimmt." + +#~ msgid "" +#~ "a function with two arguments which will be called with the coordinates " +#~ "of the clicked point on the canvas" +#~ msgstr "" +#~ "eine Funktion mit zwei Argumenten, die mit den Koordinaten des " +#~ "angeklickten Punkts auf der Zeichenfläche aufgerufen wird" + +#~ msgid "number of the mouse-button, defaults to 1 (left mouse button)" +#~ msgstr "Nummer der Maustaste, standardmäßig 1 (linke Maustaste)" + +#~ msgid "" +#~ "``True`` or ``False`` -- if ``True``, a new binding will be added, " +#~ "otherwise it will replace a former binding" +#~ msgstr "" +#~ "``True`` oder ``False`` -- ist es ``True``, wird eine neue Bindung " +#~ "hinzugefügt, andernfalls ersetzt sie eine vorherige Bindung" + +#~ msgid "" +#~ "Bind *fun* to mouse-button-release events on this turtle. If *fun* is " +#~ "``None``, existing bindings are removed." +#~ msgstr "" +#~ "Binde *fun* an Loslassen-der-Maustaste-Ereignisse dieser Turtle. Ist " +#~ "*fun* ``None``, werden bestehende Bindungen entfernt." + +#~ msgid "" +#~ "Bind *fun* to mouse-move events on this turtle. If *fun* is ``None``, " +#~ "existing bindings are removed." +#~ msgstr "" +#~ "Binde *fun* an Mausbewegungs-Ereignisse dieser Turtle. Ist *fun* " +#~ "``None``, werden bestehende Bindungen entfernt." + +#~ msgid "" +#~ "Remark: Every sequence of mouse-move-events on a turtle is preceded by a " +#~ "mouse-click event on that turtle." +#~ msgstr "" +#~ "Anmerkung: Jeder Abfolge von Mausbewegungs-Ereignissen auf einer Turtle " +#~ "geht ein Mausklick-Ereignis auf dieser Turtle voraus." + +#~ msgid "a colorstring or a color tuple or ``None``" +#~ msgstr "ein Farbstring, ein Farb-Tupel oder ``None``" + +#~ msgid "Bind ``bye()`` method to mouse clicks on the Screen." +#~ msgstr "Binde die Methode ``bye()`` an Mausklicks auf dem Screen." + +#~ msgid "" +#~ "If the value \"using_IDLE\" in the configuration dictionary is ``False`` " +#~ "(default value), also enter mainloop. Remark: If IDLE with the ``-n`` " +#~ "switch (no subprocess) is used, this value should be set to ``True`` " +#~ "in :file:`turtle.cfg`. In this case IDLE's own mainloop is active also " +#~ "for the client script." +#~ msgstr "" +#~ "Ist der Wert \"using_IDLE\" im Konfigurations-Dictionary ``False`` " +#~ "(Standardwert), wird auch mainloop aufgerufen. Anmerkung: Wird IDLE mit " +#~ "dem Schalter ``-n`` (kein Subprozess) verwendet, sollte dieser Wert " +#~ "in :file:`turtle.cfg` auf ``True`` gesetzt werden. In diesem Fall ist " +#~ "IDLEs eigene mainloop auch für das Client-Skript aktiv." + +#~ msgid "" +#~ "if an integer, a size in pixels, if a float, a fraction of the screen; " +#~ "default is 50% of screen" +#~ msgstr "" +#~ "bei einer Ganzzahl eine Größe in Pixeln, bei einer Gleitkommazahl ein " +#~ "Anteil des Bildschirms; Standard ist 50 % des Bildschirms" + +#~ msgid "" +#~ "if an integer, the height in pixels, if a float, a fraction of the " +#~ "screen; default is 75% of screen" +#~ msgstr "" +#~ "bei einer Ganzzahl die Höhe in Pixeln, bei einer Gleitkommazahl ein " +#~ "Anteil des Bildschirms; Standard ist 75 % des Bildschirms" + +#~ msgid "" +#~ "if positive, starting position in pixels from the left edge of the " +#~ "screen, if negative from the right edge, if ``None``, center window " +#~ "horizontally" +#~ msgstr "" +#~ "bei einem positiven Wert die Startposition in Pixeln vom linken " +#~ "Bildschirmrand aus, bei einem negativen Wert vom rechten Rand aus, bei " +#~ "``None`` wird das Fenster horizontal zentriert" + +#~ msgid "" +#~ "some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas " +#~ "with scrollbars added" +#~ msgstr "" +#~ "ein Tkinter-Widget, das den ScrolledCanvas enthält, d. h. ein Tkinter-" +#~ "Canvas mit hinzugefügten Bildlaufleisten" + +#~ msgid "" +#~ ">>> help(Screen.bgcolor)\n" +#~ "Help on method bgcolor in module turtle:\n" +#~ "\n" +#~ "bgcolor(self, *args) unbound turtle.Screen method\n" +#~ " Set or return backgroundcolor of the TurtleScreen.\n" +#~ "\n" +#~ " Arguments (if given): a color string or three numbers\n" +#~ " in the range 0..colormode or a 3-tuple of such numbers.\n" +#~ "\n" +#~ "\n" +#~ " >>> screen.bgcolor(\"orange\")\n" +#~ " >>> screen.bgcolor()\n" +#~ " \"orange\"\n" +#~ " >>> screen.bgcolor(0.5,0,0.5)\n" +#~ " >>> screen.bgcolor()\n" +#~ " \"#800080\"\n" +#~ "\n" +#~ ">>> help(Turtle.penup)\n" +#~ "Help on method penup in module turtle:\n" +#~ "\n" +#~ "penup(self) unbound turtle.Turtle method\n" +#~ " Pull the pen up -- no drawing when moving.\n" +#~ "\n" +#~ " Aliases: penup | pu | up\n" +#~ "\n" +#~ " No argument\n" +#~ "\n" +#~ " >>> turtle.penup()" +#~ msgstr "" +#~ ">>> help(Screen.bgcolor)\n" +#~ "Help on method bgcolor in module turtle:\n" +#~ "\n" +#~ "bgcolor(self, *args) unbound turtle.Screen method\n" +#~ " Set or return backgroundcolor of the TurtleScreen.\n" +#~ "\n" +#~ " Arguments (if given): a color string or three numbers\n" +#~ " in the range 0..colormode or a 3-tuple of such numbers.\n" +#~ "\n" +#~ "\n" +#~ " >>> screen.bgcolor(\"orange\")\n" +#~ " >>> screen.bgcolor()\n" +#~ " \"orange\"\n" +#~ " >>> screen.bgcolor(0.5,0,0.5)\n" +#~ " >>> screen.bgcolor()\n" +#~ " \"#800080\"\n" +#~ "\n" +#~ ">>> help(Turtle.penup)\n" +#~ "Help on method penup in module turtle:\n" +#~ "\n" +#~ "penup(self) unbound turtle.Turtle method\n" +#~ " Pull the pen up -- no drawing when moving.\n" +#~ "\n" +#~ " Aliases: penup | pu | up\n" +#~ "\n" +#~ " No argument\n" +#~ "\n" +#~ " >>> turtle.penup()" + +#~ msgid "" +#~ ">>> help(bgcolor)\n" +#~ "Help on function bgcolor in module turtle:\n" +#~ "\n" +#~ "bgcolor(*args)\n" +#~ " Set or return backgroundcolor of the TurtleScreen.\n" +#~ "\n" +#~ " Arguments (if given): a color string or three numbers\n" +#~ " in the range 0..colormode or a 3-tuple of such numbers.\n" +#~ "\n" +#~ " Example::\n" +#~ "\n" +#~ " >>> bgcolor(\"orange\")\n" +#~ " >>> bgcolor()\n" +#~ " \"orange\"\n" +#~ " >>> bgcolor(0.5,0,0.5)\n" +#~ " >>> bgcolor()\n" +#~ " \"#800080\"\n" +#~ "\n" +#~ ">>> help(penup)\n" +#~ "Help on function penup in module turtle:\n" +#~ "\n" +#~ "penup()\n" +#~ " Pull the pen up -- no drawing when moving.\n" +#~ "\n" +#~ " Aliases: penup | pu | up\n" +#~ "\n" +#~ " No argument\n" +#~ "\n" +#~ " Example:\n" +#~ " >>> penup()" +#~ msgstr "" +#~ ">>> help(bgcolor)\n" +#~ "Help on function bgcolor in module turtle:\n" +#~ "\n" +#~ "bgcolor(*args)\n" +#~ " Set or return backgroundcolor of the TurtleScreen.\n" +#~ "\n" +#~ " Arguments (if given): a color string or three numbers\n" +#~ " in the range 0..colormode or a 3-tuple of such numbers.\n" +#~ "\n" +#~ " Example::\n" +#~ "\n" +#~ " >>> bgcolor(\"orange\")\n" +#~ " >>> bgcolor()\n" +#~ " \"orange\"\n" +#~ " >>> bgcolor(0.5,0,0.5)\n" +#~ " >>> bgcolor()\n" +#~ " \"#800080\"\n" +#~ "\n" +#~ ">>> help(penup)\n" +#~ "Help on function penup in module turtle:\n" +#~ "\n" +#~ "penup()\n" +#~ " Pull the pen up -- no drawing when moving.\n" +#~ "\n" +#~ " Aliases: penup | pu | up\n" +#~ "\n" +#~ " No argument\n" +#~ "\n" +#~ " Example:\n" +#~ " >>> penup()" + +#~ msgid "a string, used as filename" +#~ msgstr "eine Zeichenkette, verwendet als Dateiname" + #~ msgid "Delete stamp with given *stampid*." #~ msgstr "Lösche den Stempel mit der angegebenen *stampid*." @@ -5215,9 +5410,6 @@ msgstr "Viel Spaß!" #~ msgid "Methods of RawTurtle/Turtle and corresponding functions" #~ msgstr "Methoden von RawTurtle/Turtle und entsprechende Funktionen" -#~ msgid "a number (integer or float)" -#~ msgstr "eine Zahl (Ganzzahl oder Gleitkommazahl)" - #~ msgid "" #~ "Move turtle to an absolute position. If the pen is down, draw line. Do " #~ "not change the turtle's orientation." diff --git a/library/types.po b/library/types.po index 08cce91f..65d10d84 100644 --- a/library/types.po +++ b/library/types.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-14 20:17+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-23 22:10+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -570,27 +570,52 @@ msgstr ":pep:`667`" #: ../../library/types.rst:348 msgid "" -"The type of lazy import proxy objects. These objects are created when a " -"module is lazily imported and serve as placeholders until the module is " -"actually accessed. This type can be used to detect lazy imports " -"programmatically." +"The type of :ref:`lazy import proxies `. A proxy represents a " +"module or an imported attribute until resolution. You cannot create " +"instances of this type directly." msgstr "" -"Der Typ von Proxy-Objekten für verzögerte Importe. Diese Objekte werden " -"erzeugt, wenn ein Modul verzögert importiert wird, und dienen als " -"Platzhalter, bis das Modul tatsächlich angesprochen wird. Über diesen Typ " -"lassen sich verzögerte Importe programmatisch erkennen." -#: ../../library/types.rst:355 -msgid ":pep:`810`" -msgstr ":pep:`810`" +#: ../../library/types.rst:352 +msgid "" +"A direct read of an imported global name resolves its proxy. Access " +"through :func:`globals` or :attr:`module.__dict__` returns the proxy itself::" +msgstr "" + +#: ../../library/types.rst:356 +msgid "" +"import types\n" +"lazy import json\n" +"\n" +"isinstance(globals()[\"json\"], types.LazyImportType) # True\n" +"json.dumps({\"key\": \"value\"}) # Resolves the import.\n" +"isinstance(globals()[\"json\"], types.LazyImportType) # False" +msgstr "" -#: ../../library/types.rst:359 -msgid "Reify the lazy import and return the \"real\" object being imported." +#: ../../library/types.rst:365 +msgid ":ref:`lazy-imports`" msgstr "" -"Löst den verzögerten Import auf und gibt das „echte“ importierte Objekt " -"zurück." -#: ../../library/types.rst:364 +#: ../../library/types.rst:369 +msgid "" +"Resolve the lazy import and return the imported module or attribute. This " +"method can leave the proxy in its namespace. To replace the proxy " +"explicitly, assign the result to the imported name::" +msgstr "" + +#: ../../library/types.rst:373 +msgid "" +"lazy import json\n" +"json = globals()[\"json\"].resolve()" +msgstr "" + +#: ../../library/types.rst:376 +msgid "" +"Each call to :func:`!resolve` call does a fresh import. The proxy itself " +"does not store :func:`!resolve`'s result, relying on the import mechanism to " +"use :attr:`sys.modules` to reuse modules that have already been imported." +msgstr "" + +#: ../../library/types.rst:383 msgid "" "The type of objects defined in extension modules with ``PyGetSetDef``, such " "as :attr:`FrameType.f_locals ` or ``array.array.typecode``. " @@ -604,7 +629,7 @@ msgstr "" "verwendet. Er hat denselben Zweck wie der Typ :class:`property`, aber für " "Klassen, die in Erweiterungsmodulen definiert sind." -#: ../../library/types.rst:373 +#: ../../library/types.rst:392 msgid "" "The type of objects defined in extension modules with ``PyMemberDef``, such " "as ``datetime.timedelta.days``. This type is used as descriptor for simple " @@ -619,7 +644,7 @@ msgstr "" "Typ :class:`property`, aber für Klassen, die in Erweiterungsmodulen " "definiert sind." -#: ../../library/types.rst:378 +#: ../../library/types.rst:397 msgid "" "In addition, when a class is defined with a :attr:`~object.__slots__` " "attribute, then for each slot, an instance of :class:`!MemberDescriptorType` " @@ -631,7 +656,7 @@ msgstr "" "MemberDescriptorType` als Attribut an der Klasse hinzugefügt. Damit kann der " "Slot im :attr:`~type.__dict__` der Klasse erscheinen." -#: ../../library/types.rst:384 +#: ../../library/types.rst:403 msgid "" "In other implementations of Python, this type may be identical to " "``GetSetDescriptorType``." @@ -639,7 +664,7 @@ msgstr "" "In anderen Umsetzungen von Python kann dieser Typ mit " "``GetSetDescriptorType`` übereinstimmen." -#: ../../library/types.rst:389 +#: ../../library/types.rst:408 msgid "" "Read-only proxy of a mapping. It provides a dynamic view on the mapping's " "entries, which means that when the mapping changes, the view reflects these " @@ -649,7 +674,7 @@ msgstr "" "Einträge des Mappings, das heißt: Ändert sich das Mapping, spiegelt die View " "diese Änderungen wider." -#: ../../library/types.rst:393 +#: ../../library/types.rst:412 msgid "" ":class:`!MappingProxyType`\\s are :ref:`generic ` over two types, " "signifying (respectively) the types of the underlying mapping's keys and " @@ -659,7 +684,7 @@ msgstr "" "` und geben damit (in dieser Reihenfolge) die Typen der Schlüssel " "und der Werte des zugrunde liegenden Mappings an." -#: ../../library/types.rst:401 +#: ../../library/types.rst:420 msgid "" "Updated to support the new union (``|``) operator from :pep:`584`, which " "simply delegates to the underlying mapping." @@ -667,14 +692,14 @@ msgstr "" "Erweitert um Unterstützung für den neuen Union-Operator (``|``) " "aus :pep:`584`, der einfach an das zugrunde liegende Mapping weiterdelegiert." -#: ../../library/types.rst:406 +#: ../../library/types.rst:425 msgid "" "Return ``True`` if the underlying mapping has a key *key*, else ``False``." msgstr "" "Gibt ``True`` zurück, wenn das zugrunde liegende Mapping einen Schlüssel " "*key* hat, sonst ``False``." -#: ../../library/types.rst:411 +#: ../../library/types.rst:430 msgid "" "Return the item of the underlying mapping with key *key*. Raises " "a :exc:`KeyError` if *key* is not in the underlying mapping." @@ -683,7 +708,7 @@ msgstr "" "zurück. Löst ein :exc:`KeyError` aus, wenn *key* nicht im zugrunde liegenden " "Mapping ist." -#: ../../library/types.rst:416 +#: ../../library/types.rst:435 msgid "" "Return an iterator over the keys of the underlying mapping. This is a " "shortcut for ``iter(proxy.keys())``." @@ -691,15 +716,15 @@ msgstr "" "Gibt einen Iterator über die Schlüssel des zugrunde liegenden Mappings " "zurück. Das ist eine Kurzform für ``iter(proxy.keys())``." -#: ../../library/types.rst:421 +#: ../../library/types.rst:440 msgid "Return the number of items in the underlying mapping." msgstr "Gibt die Anzahl der Elemente im zugrunde liegenden Mapping zurück." -#: ../../library/types.rst:425 +#: ../../library/types.rst:444 msgid "Return a shallow copy of the underlying mapping." msgstr "Gibt eine flache Kopie des zugrunde liegenden Mappings zurück." -#: ../../library/types.rst:429 +#: ../../library/types.rst:448 msgid "" "Return the value for *key* if *key* is in the underlying mapping, else " "*default*. If *default* is not given, it defaults to ``None``, so that this " @@ -709,42 +734,42 @@ msgstr "" "ist, sonst *default*. Ist *default* nicht angegeben, ist es ``None``, sodass " "diese Methode nie ein :exc:`KeyError` auslöst." -#: ../../library/types.rst:435 +#: ../../library/types.rst:454 msgid "" "Return a new view of the underlying mapping's items (``(key, value)`` pairs)." msgstr "" "Gibt eine neue View auf die Elemente des zugrunde liegenden Mappings zurück " "(``(key, value)``-Paare)." -#: ../../library/types.rst:440 +#: ../../library/types.rst:459 msgid "Return a new view of the underlying mapping's keys." msgstr "" "Gibt eine neue View auf die Schlüssel des zugrunde liegenden Mappings zurück." -#: ../../library/types.rst:444 +#: ../../library/types.rst:463 msgid "Return a new view of the underlying mapping's values." msgstr "" "Gibt eine neue View auf die Werte des zugrunde liegenden Mappings zurück." -#: ../../library/types.rst:448 +#: ../../library/types.rst:467 msgid "Return a reverse iterator over the keys of the underlying mapping." msgstr "" "Gibt einen umgekehrten Iterator über die Schlüssel des zugrunde liegenden " "Mappings zurück." -#: ../../library/types.rst:454 +#: ../../library/types.rst:473 msgid "Return a hash of the underlying mapping." msgstr "Gibt einen Hash des zugrunde liegenden Mappings zurück." -#: ../../library/types.rst:460 +#: ../../library/types.rst:479 msgid "The type of :ref:`capsule objects `." msgstr "Der Typ von :ref:`Capsule-Objekten `." -#: ../../library/types.rst:466 +#: ../../library/types.rst:485 msgid "Additional Utility Classes and Functions" msgstr "Weitere Hilfsklassen und Hilfsfunktionen" -#: ../../library/types.rst:470 +#: ../../library/types.rst:489 msgid "" "A simple :class:`object` subclass that provides attribute access to its " "namespace, as well as a meaningful repr." @@ -752,7 +777,7 @@ msgstr "" "Eine einfache Unterklasse von :class:`object`, die Attributzugriff auf ihren " "Namensraum bietet sowie eine aussagekräftige repr-Ausgabe." -#: ../../library/types.rst:473 +#: ../../library/types.rst:492 msgid "" "Unlike :class:`object`, with :class:`!SimpleNamespace` you can add and " "remove attributes." @@ -760,7 +785,7 @@ msgstr "" "Anders als bei :class:`object` kannst du bei :class:`!SimpleNamespace` " "Attribute hinzufügen und entfernen." -#: ../../library/types.rst:476 +#: ../../library/types.rst:495 msgid "" ":py:class:`SimpleNamespace` objects may be initialized in the same way " "as :class:`dict`: either with keyword arguments, with a single positional " @@ -781,11 +806,11 @@ msgstr "" "ein :term:`iterierbares ` Objekt, das Schlüssel-Wert-Paare " "erzeugt). Alle diese Schlüssel müssen Zeichenketten sein." -#: ../../library/types.rst:487 +#: ../../library/types.rst:506 msgid "The type is roughly equivalent to the following code::" msgstr "Der Typ entspricht in etwa dem folgenden Code::" -#: ../../library/types.rst:489 +#: ../../library/types.rst:508 msgid "" "class SimpleNamespace:\n" " def __init__(self, mapping_or_iterable=(), /, **kwargs):\n" @@ -817,7 +842,7 @@ msgstr "" " return self.__dict__ == other.__dict__\n" " return NotImplemented" -#: ../../library/types.rst:503 +#: ../../library/types.rst:522 msgid "" "``SimpleNamespace`` may be useful as a replacement for ``class NS: pass``. " "However, for a structured record type use :func:`~collections.namedtuple` " @@ -827,14 +852,14 @@ msgstr "" "Für einen strukturierten Datensatztyp verwende " "aber :func:`~collections.namedtuple`." -#: ../../library/types.rst:507 +#: ../../library/types.rst:526 msgid "" ":class:`!SimpleNamespace` objects are supported by :func:`copy.replace`." msgstr "" ":class:`!SimpleNamespace`-Objekte werden von :func:`copy.replace` " "unterstützt." -#: ../../library/types.rst:511 +#: ../../library/types.rst:530 msgid "" "Attribute order in the repr changed from alphabetical to insertion (like " "``dict``)." @@ -842,20 +867,23 @@ msgstr "" "Die Reihenfolge der Attribute in der repr-Ausgabe hat sich von alphabetisch " "zur Einfügereihenfolge geändert (wie bei ``dict``)." -#: ../../library/types.rst:515 +#: ../../library/types.rst:534 msgid "Added support for an optional positional argument." msgstr "Unterstützung für ein wahlfreies Positionsargument hinzugefügt." -#: ../../library/types.rst:520 -msgid "Route attribute access on a class to __getattr__." +#: ../../library/types.rst:539 +#, fuzzy +msgid "Route attribute access on a class to :meth:`~object.__getattr__`." msgstr "Leitet Attributzugriff auf einer Klasse an __getattr__ weiter." -#: ../../library/types.rst:522 +#: ../../library/types.rst:541 +#, fuzzy msgid "" "This is a descriptor, used to define attributes that act differently when " "accessed through an instance and through a class. Instance access remains " "normal, but access to an attribute through a class will be routed to the " -"class's __getattr__ method; this is done by raising AttributeError." +"class's ``__getattr__`` method; this is done by " +"raising :exc:`AttributeError`." msgstr "" "Das ist ein Deskriptor, mit dem Attribute definiert werden, die sich beim " "Zugriff über eine Instanz anders verhalten als beim Zugriff über eine " @@ -863,7 +891,7 @@ msgstr "" "Attribut über eine Klasse wird aber an die Methode __getattr__ der Klasse " "weitergeleitet. Das geschieht, indem ein AttributeError ausgelöst wird." -#: ../../library/types.rst:527 +#: ../../library/types.rst:546 msgid "" "This allows one to have properties active on an instance, and have virtual " "attributes on the class with the same name (see :class:`enum.Enum` for an " @@ -873,11 +901,11 @@ msgstr "" "virtuelle Attribute gleichen Namens auf der Klasse haben (ein Beispiel steht " "unter :class:`enum.Enum`)." -#: ../../library/types.rst:534 +#: ../../library/types.rst:553 msgid "Coroutine Utility Functions" msgstr "Hilfsfunktionen für Coroutinen" -#: ../../library/types.rst:538 +#: ../../library/types.rst:557 msgid "" "This function transforms a :term:`generator` function into " "a :term:`coroutine function` which returns a generator-based coroutine. The " @@ -894,12 +922,12 @@ msgstr "" "ist :term:`abwartbar `. Sie setzt allerdings nicht zwangsläufig " "die Methode :meth:`~object.__await__` um." -#: ../../library/types.rst:545 +#: ../../library/types.rst:564 msgid "If *gen_func* is a generator function, it will be modified in-place." msgstr "" "Ist *gen_func* eine Generatorfunktion, wird sie an ihrem Platz geändert." -#: ../../library/types.rst:547 +#: ../../library/types.rst:566 msgid "" "If *gen_func* is not a generator function, it will be wrapped. If it returns " "an instance of :class:`collections.abc.Generator`, the instance will be " @@ -918,3 +946,22 @@ msgstr "integrierte Funktion" #: ../../library/types.rst:189 msgid "compile" msgstr "compile" + +#~ msgid "" +#~ "The type of lazy import proxy objects. These objects are created when a " +#~ "module is lazily imported and serve as placeholders until the module is " +#~ "actually accessed. This type can be used to detect lazy imports " +#~ "programmatically." +#~ msgstr "" +#~ "Der Typ von Proxy-Objekten für verzögerte Importe. Diese Objekte werden " +#~ "erzeugt, wenn ein Modul verzögert importiert wird, und dienen als " +#~ "Platzhalter, bis das Modul tatsächlich angesprochen wird. Über diesen Typ " +#~ "lassen sich verzögerte Importe programmatisch erkennen." + +#~ msgid ":pep:`810`" +#~ msgstr ":pep:`810`" + +#~ msgid "Reify the lazy import and return the \"real\" object being imported." +#~ msgstr "" +#~ "Löst den verzögerten Import auf und gibt das „echte“ importierte Objekt " +#~ "zurück." diff --git a/library/urllib.error.po b/library/urllib.error.po index f928693b..6e751346 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" "Language: de\n" @@ -32,30 +32,25 @@ msgid "" "is :exc:`URLError`." msgstr "" -#: ../../library/urllib.error.rst:14 -msgid "" -"The following exceptions are raised by :mod:`!urllib.error` as appropriate:" -msgstr "" - -#: ../../library/urllib.error.rst:18 +#: ../../library/urllib.error.rst:16 msgid "" "The handlers raise this exception (or derived exceptions) when they run into " "a problem. It is a subclass of :exc:`OSError`." msgstr "" -#: ../../library/urllib.error.rst:23 +#: ../../library/urllib.error.rst:21 msgid "" "The reason for this error. It can be a message string or another exception " "instance." msgstr "" -#: ../../library/urllib.error.rst:26 +#: ../../library/urllib.error.rst:24 msgid "" ":exc:`URLError` used to be a subtype of :exc:`IOError`, which is now an " "alias of :exc:`OSError`." msgstr "" -#: ../../library/urllib.error.rst:33 +#: ../../library/urllib.error.rst:31 msgid "" "Though being an exception (a subclass of :exc:`URLError`), " "an :exc:`HTTPError` can also function as a non-exceptional file-like return " @@ -64,40 +59,40 @@ msgid "" "authentication." msgstr "" -#: ../../library/urllib.error.rst:41 +#: ../../library/urllib.error.rst:39 msgid "Contains the request URL. An alias for *filename* attribute." msgstr "" -#: ../../library/urllib.error.rst:46 +#: ../../library/urllib.error.rst:44 msgid "" "An HTTP status code as defined in :rfc:`2616`. This numeric value " "corresponds to a value found in the dictionary of codes as found " "in :attr:`http.server.BaseHTTPRequestHandler.responses`." msgstr "" -#: ../../library/urllib.error.rst:52 +#: ../../library/urllib.error.rst:50 msgid "" "This is usually a string explaining the reason for this error. An alias for " "*msg* attribute." msgstr "" -#: ../../library/urllib.error.rst:57 +#: ../../library/urllib.error.rst:55 msgid "" "The HTTP response headers for the HTTP request that caused " "the :exc:`HTTPError`. An alias for *hdrs* attribute." msgstr "" -#: ../../library/urllib.error.rst:65 +#: ../../library/urllib.error.rst:63 msgid "A file-like object where the HTTP error body can be read from." msgstr "" -#: ../../library/urllib.error.rst:69 +#: ../../library/urllib.error.rst:67 msgid "" "This exception is raised when the :func:`~urllib.request.urlretrieve` " "function detects that the amount of the downloaded data is less than the " "expected amount (given by the *Content-Length* header)." msgstr "" -#: ../../library/urllib.error.rst:76 +#: ../../library/urllib.error.rst:74 msgid "The downloaded (and supposedly truncated) data." msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index f72e1d29..be661674 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" "Language: de\n" @@ -556,7 +556,7 @@ msgid "" "not sent, and then if a ``401`` response is received the request is re-sent " "with the authentication credentials. If authentication succeeds, " "``update_authenticated`` is called to set ``is_authenticated`` ``True`` for " -"the URI, so that subsequent requests to the URI or any of its super-URIs " +"the URI, so that subsequent requests to the URI itself or any path below it " "will automatically include the authentication credentials." msgstr "" @@ -1046,7 +1046,7 @@ msgid "a file-like object with the HTTP error body," msgstr "" #: ../../library/urllib.request.rst:850 -msgid "the three-digit code of the error, as a string," +msgid "the three-digit code of the error, as an integer," msgstr "" #: ../../library/urllib.request.rst:851 @@ -1216,43 +1216,42 @@ msgstr "" #: ../../library/urllib.request.rst:1003 msgid "" "*uri* can be either a single URI, or a sequence of URIs. *realm*, *user* and " -"*passwd* must be strings. This causes ``(user, passwd)`` to be used as " -"authentication tokens when authentication for *realm* and a super-URI of any " -"of the given URIs is given. If a URI includes a scheme, its credentials only " -"match authentication URIs with the same scheme or no scheme. A URI without a " -"scheme matches authentication URIs with any scheme." +"*passwd* must be strings. The credentials for *realm* apply to any " +"registered URI and to paths below it. If a URI includes a scheme, its " +"credentials only match authentication URIs with the same scheme or no " +"scheme. A URI without a scheme matches authentication URIs with any scheme." msgstr "" -#: ../../library/urllib.request.rst:1010 +#: ../../library/urllib.request.rst:1009 msgid "" "Authentication credentials for URIs with a scheme are now scoped by that " "scheme." msgstr "" -#: ../../library/urllib.request.rst:1017 +#: ../../library/urllib.request.rst:1016 msgid "" "Get user/password for given realm and URI, if any. This method will return " "``(None, None)`` if there is no matching user/password." msgstr "" -#: ../../library/urllib.request.rst:1020 +#: ../../library/urllib.request.rst:1019 msgid "" "For :class:`HTTPPasswordMgrWithDefaultRealm` objects, the realm ``None`` " "will be searched if the given *realm* has no matching user/password." msgstr "" -#: ../../library/urllib.request.rst:1027 +#: ../../library/urllib.request.rst:1026 msgid "HTTPPasswordMgrWithPriorAuth Objects" msgstr "" -#: ../../library/urllib.request.rst:1029 +#: ../../library/urllib.request.rst:1028 msgid "" "This password manager extends :class:`HTTPPasswordMgrWithDefaultRealm` to " "support tracking URIs for which authentication credentials should always be " "sent." msgstr "" -#: ../../library/urllib.request.rst:1036 +#: ../../library/urllib.request.rst:1035 msgid "" "*realm*, *uri*, *user*, *passwd* are as " "for :meth:`HTTPPasswordMgr.add_password`. *is_authenticated* sets the " @@ -1260,25 +1259,25 @@ msgid "" "URIs. If *is_authenticated* is specified as ``True``, *realm* is ignored." msgstr "" -#: ../../library/urllib.request.rst:1044 +#: ../../library/urllib.request.rst:1043 msgid "Same as for :class:`HTTPPasswordMgrWithDefaultRealm` objects" msgstr "" -#: ../../library/urllib.request.rst:1050 +#: ../../library/urllib.request.rst:1049 msgid "" "Update the ``is_authenticated`` flag for the given *uri* or list of URIs." msgstr "" -#: ../../library/urllib.request.rst:1056 +#: ../../library/urllib.request.rst:1055 msgid "" "Returns the current state of the ``is_authenticated`` flag for the given URI." msgstr "" -#: ../../library/urllib.request.rst:1063 +#: ../../library/urllib.request.rst:1062 msgid "AbstractBasicAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1068 +#: ../../library/urllib.request.rst:1067 msgid "" "Handle an authentication request by getting a user/password pair, and re-" "trying the request. *authreq* should be the name of the header where the " @@ -1287,14 +1286,14 @@ msgid "" "(failed) :class:`Request` object, and *headers* should be the error headers." msgstr "" -#: ../../library/urllib.request.rst:1074 +#: ../../library/urllib.request.rst:1073 msgid "" "*headers* must be a mapping-like object with case-insensitive lookup that " "implements the ``get_all()`` method, such as :class:`email.message.Message` " "or :class:`wsgiref.headers.Headers`." msgstr "" -#: ../../library/urllib.request.rst:1078 +#: ../../library/urllib.request.rst:1077 msgid "" "*host* is either an authority (e.g. ``\"python.org\"``) or a URL containing " "an authority component (e.g. ``\"https://python.org/\"``). In either case, " @@ -1302,24 +1301,24 @@ msgid "" "and ``\"python.org:80\"`` are fine, ``\"joe:password@python.org\"`` is not)." msgstr "" -#: ../../library/urllib.request.rst:1087 +#: ../../library/urllib.request.rst:1086 msgid "HTTPBasicAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1092 ../../library/urllib.request.rst:1103 -#: ../../library/urllib.request.rst:1131 ../../library/urllib.request.rst:1142 +#: ../../library/urllib.request.rst:1091 ../../library/urllib.request.rst:1102 +#: ../../library/urllib.request.rst:1130 ../../library/urllib.request.rst:1141 msgid "Retry the request with authentication information, if available." msgstr "" -#: ../../library/urllib.request.rst:1098 +#: ../../library/urllib.request.rst:1097 msgid "ProxyBasicAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1109 +#: ../../library/urllib.request.rst:1108 msgid "AbstractDigestAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1114 +#: ../../library/urllib.request.rst:1113 msgid "" "*authreq* should be the name of the header where the information about the " "realm is included in the request, *host* should be the host to authenticate " @@ -1327,61 +1326,61 @@ msgid "" "should be the error headers." msgstr "" -#: ../../library/urllib.request.rst:1119 +#: ../../library/urllib.request.rst:1118 msgid "" "*headers* must be a mapping-like object with case-insensitive lookup, such " "as :class:`email.message.Message` or :class:`wsgiref.headers.Headers`." msgstr "" -#: ../../library/urllib.request.rst:1126 +#: ../../library/urllib.request.rst:1125 msgid "HTTPDigestAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1137 +#: ../../library/urllib.request.rst:1136 msgid "ProxyDigestAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1148 +#: ../../library/urllib.request.rst:1147 msgid "HTTPHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1153 +#: ../../library/urllib.request.rst:1152 msgid "" "Send an HTTP request, which can be either GET or POST, depending on " "``req.data``." msgstr "" -#: ../../library/urllib.request.rst:1160 +#: ../../library/urllib.request.rst:1159 msgid "HTTPSHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1165 +#: ../../library/urllib.request.rst:1164 msgid "" "Send an HTTPS request, which can be either GET or POST, depending on " "``req.data``." msgstr "" -#: ../../library/urllib.request.rst:1172 +#: ../../library/urllib.request.rst:1171 msgid "FileHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1177 +#: ../../library/urllib.request.rst:1176 msgid "" "Open the file locally, if there is no host name, or the host name is " "``'localhost'``." msgstr "" -#: ../../library/urllib.request.rst:1180 +#: ../../library/urllib.request.rst:1179 msgid "" "This method is applicable only for local hostnames. When a remote hostname " "is given, a :exc:`~urllib.error.URLError` is raised." msgstr "" -#: ../../library/urllib.request.rst:1188 +#: ../../library/urllib.request.rst:1187 msgid "DataHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1192 +#: ../../library/urllib.request.rst:1191 msgid "" "Read a data URL. This kind of URL contains the content encoded in the URL " "itself. The data URL syntax is specified in :rfc:`2397`. This implementation " @@ -1391,14 +1390,15 @@ msgid "" "implementation will raise a :exc:`ValueError` in that case." msgstr "" -#: ../../library/urllib.request.rst:1203 +#: ../../library/urllib.request.rst:1202 msgid "FTPHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1208 +#: ../../library/urllib.request.rst:1207 msgid "" -"Open the FTP file indicated by *req*. The login is always done with empty " -"username and password." +"Open the FTP file indicated by *req*. The username and password are taken " +"from the URL, with missing values defaulting to empty strings. " +"See :meth:`ftplib.FTP.login` for the login defaults." msgstr "" #: ../../library/urllib.request.rst:1215 @@ -1432,12 +1432,12 @@ msgid "HTTPErrorProcessor Objects" msgstr "" #: ../../library/urllib.request.rst:1251 -msgid "For 200 error codes, the response object is returned immediately." +msgid "For 2xx status codes, the response object is returned immediately." msgstr "" #: ../../library/urllib.request.rst:1253 msgid "" -"For non-200 error codes, this simply passes the job on to the :meth:`!" +"For other status codes, this simply passes the job on to the :meth:`!" "http_error_\\` handler methods, via :meth:`OpenerDirector.error`. " "Eventually, :class:`HTTPDefaultErrorHandler` will raise " "an :exc:`~urllib.error.HTTPError` if no other handler handles the error." @@ -1482,10 +1482,11 @@ msgstr "" #: ../../library/urllib.request.rst:1287 msgid "" -"Note that urlopen returns a bytes object. This is because there is no way " -"for urlopen to automatically determine the encoding of the byte stream it " -"receives from the HTTP server. In general, a program will decode the " -"returned bytes object to string once it determines or guesses the " +"Note that calling ``read()`` on the response returned by :func:`urlopen` " +"returns a :class:`bytes` object. This is because there is no way " +"for :func:`urlopen` to automatically determine the encoding of the byte " +"stream it receives from the HTTP server. In general, a program will decode " +"the returned bytes object to a string once it determines or guesses the " "appropriate encoding." msgstr "" @@ -1777,7 +1778,7 @@ msgstr "" #: ../../library/urllib.request.rst:1489 msgid "" ">>> import urllib.request\n" -">>> proxies = {'http': 'http://proxy.example.com:8080/'}\n" +">>> proxies = {'https': 'http://proxy.example.com:8080/'}\n" ">>> opener = " "urllib.request.build_opener(urllib.request.ProxyHandler(proxies))\n" ">>> with opener.open(\"https://www.python.org\") as f:\n" @@ -1979,22 +1980,22 @@ msgstr "" #: ../../library/urllib.request.rst:1639 msgid "" "Returns the headers of the response in the form of " -"an :class:`~email.message.EmailMessage` instance." +"an :class:`~email.message.Message` instance." msgstr "" -#: ../../library/urllib.request.rst:1645 +#: ../../library/urllib.request.rst:1646 msgid "Status code returned by server." msgstr "" -#: ../../library/urllib.request.rst:1649 +#: ../../library/urllib.request.rst:1650 msgid "Deprecated in favor of :attr:`~addinfourl.url`." msgstr "" -#: ../../library/urllib.request.rst:1654 +#: ../../library/urllib.request.rst:1655 msgid "Deprecated in favor of :attr:`~addinfourl.headers`." msgstr "" -#: ../../library/urllib.request.rst:1659 ../../library/urllib.request.rst:1664 +#: ../../library/urllib.request.rst:1660 ../../library/urllib.request.rst:1665 msgid "Deprecated in favor of :attr:`~addinfourl.status`." msgstr "" diff --git a/library/warnings.po b/library/warnings.po index 98a57033..3a028b91 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-14 20:17+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -482,11 +482,15 @@ msgstr "" "Passt eine gemeldete Warnung auf keinen eingetragenen Filter, greift die " "Aktion „default“ -- daher ihr Name." -#: ../../library/warnings.rst:196 +#: ../../library/warnings.rst:191 +msgid "Added regular expression support for *message* and *module*." +msgstr "" + +#: ../../library/warnings.rst:198 msgid "Repeated Warning Suppression Criteria" msgstr "Kriterien für das Unterdrücken wiederholter Warnungen" -#: ../../library/warnings.rst:198 +#: ../../library/warnings.rst:200 msgid "" "The filters that suppress repeated warnings apply the following criteria to " "determine if a warning is considered a repeat:" @@ -494,7 +498,7 @@ msgstr "" "Die Filter, die wiederholte Warnungen unterdrücken, entscheiden nach den " "folgenden Kriterien, ob eine Warnung als Wiederholung gilt:" -#: ../../library/warnings.rst:200 +#: ../../library/warnings.rst:202 msgid "" "``\"default\"``: A warning is considered a repeat only if the (*message*, " "*category*, *module*, *lineno*) are all the same." @@ -502,7 +506,7 @@ msgstr "" "``\"default\"``: Eine Warnung gilt nur dann als Wiederholung, wenn " "(*message*, *category*, *module*, *lineno*) alle gleich sind." -#: ../../library/warnings.rst:201 +#: ../../library/warnings.rst:203 msgid "" "``\"module\"``: A warning is considered a repeat if the (*message*, " "*category*, *module*) are the same, ignoring the line number." @@ -510,7 +514,7 @@ msgstr "" "``\"module\"``: Eine Warnung gilt als Wiederholung, wenn (*message*, " "*category*, *module*) gleich sind. Die Zeilennummer bleibt außer Betracht." -#: ../../library/warnings.rst:202 +#: ../../library/warnings.rst:204 msgid "" "``\"once\"``: A warning is considered a repeat if the (*message*, " "*category*) are the same, ignoring the module and line number." @@ -518,11 +522,11 @@ msgstr "" "``\"once\"``: Eine Warnung gilt als Wiederholung, wenn (*message*, " "*category*) gleich sind; Modul und Zeilennummer bleiben außer Betracht." -#: ../../library/warnings.rst:208 +#: ../../library/warnings.rst:210 msgid "Describing Warning Filters" msgstr "Warnfilter beschreiben" -#: ../../library/warnings.rst:210 +#: ../../library/warnings.rst:212 msgid "" "The warnings filter is initialized by :option:`-W` options passed to the " "Python interpreter command line and the :envvar:`PYTHONWARNINGS` environment " @@ -538,7 +542,7 @@ msgstr "" "wertet sie beim ersten Import aus. Ungültige Optionen werden übergangen, " "nachdem eine Meldung nach :data:`sys.stderr` ausgegeben wurde." -#: ../../library/warnings.rst:217 +#: ../../library/warnings.rst:219 msgid "" "Individual warnings filters are specified as a sequence of fields separated " "by colons::" @@ -546,11 +550,11 @@ msgstr "" "Einzelne Warnfilter werden als Folge von Feldern angegeben, die durch " "Doppelpunkte getrennt sind::" -#: ../../library/warnings.rst:220 +#: ../../library/warnings.rst:222 msgid "action:message:category:module:line" msgstr "action:message:category:module:line" -#: ../../library/warnings.rst:222 +#: ../../library/warnings.rst:224 msgid "" "The meaning of each of these fields is as described in :ref:`warning-" "filter`. When listing multiple filters on a single line (as " @@ -565,7 +569,7 @@ msgstr "" "früheren. Sie werden von links nach rechts angewandt, und die zuletzt " "angewandten Filter gehen den früheren vor." -#: ../../library/warnings.rst:229 +#: ../../library/warnings.rst:231 msgid "" "Commonly used warning filters apply to either all warnings, warnings in a " "particular category, or warnings raised by particular modules or packages. " @@ -575,7 +579,7 @@ msgstr "" "einer bestimmten Kategorie oder für Warnungen aus bestimmten Modulen oder " "Paketen. Einige Beispiele::" -#: ../../library/warnings.rst:233 +#: ../../library/warnings.rst:235 msgid "" "default # Show all warnings (even those ignored by " "default)\n" @@ -597,11 +601,11 @@ msgstr "" "\"mymodule\"\n" "error:::mymodule # Convert warnings to errors in \"mymodule\"" -#: ../../library/warnings.rst:245 +#: ../../library/warnings.rst:247 msgid "Default Warning Filter" msgstr "Der Standard-Warnfilter" -#: ../../library/warnings.rst:247 +#: ../../library/warnings.rst:249 msgid "" "By default, Python installs several warning filters, which can be overridden " "by the :option:`-W` command-line option, the :envvar:`PYTHONWARNINGS` " @@ -612,7 +616,7 @@ msgstr "" "Umgebungsvariable :envvar:`PYTHONWARNINGS` und Aufrufe " "von :func:`filterwarnings` übersteuern." -#: ../../library/warnings.rst:251 +#: ../../library/warnings.rst:253 msgid "" "In regular release builds, the default warning filter has the following " "entries (in order of precedence)::" @@ -620,7 +624,7 @@ msgstr "" "In gewöhnlichen Release-Builds hat der Standard-Warnfilter die folgenden " "Einträge, nach Vorrang geordnet::" -#: ../../library/warnings.rst:254 +#: ../../library/warnings.rst:256 msgid "" "default::DeprecationWarning:__main__\n" "ignore::DeprecationWarning\n" @@ -634,7 +638,7 @@ msgstr "" "ignore::ImportWarning\n" "ignore::ResourceWarning" -#: ../../library/warnings.rst:260 +#: ../../library/warnings.rst:262 msgid "" "In a :ref:`debug build `, the list of default warning filters " "is empty." @@ -642,7 +646,7 @@ msgstr "" "In einem :ref:`Debug-Build ` ist die Liste der Standard-" "Warnfilter leer." -#: ../../library/warnings.rst:262 +#: ../../library/warnings.rst:264 msgid "" ":exc:`DeprecationWarning` is now ignored by default in addition " "to :exc:`PendingDeprecationWarning`." @@ -650,7 +654,7 @@ msgstr "" "Neben :exc:`PendingDeprecationWarning` wird jetzt " "auch :exc:`DeprecationWarning` standardmäßig übergangen." -#: ../../library/warnings.rst:266 +#: ../../library/warnings.rst:268 msgid "" ":exc:`DeprecationWarning` is once again shown by default when triggered " "directly by code in ``__main__``." @@ -658,7 +662,7 @@ msgstr "" ":exc:`DeprecationWarning` wird wieder standardmäßig angezeigt, wenn Code in " "``__main__`` sie unmittelbar auslöst." -#: ../../library/warnings.rst:270 +#: ../../library/warnings.rst:272 msgid "" ":exc:`BytesWarning` no longer appears in the default filter list and is " "instead configured via :data:`sys.warnoptions` when :option:`-b` is " @@ -668,11 +672,11 @@ msgstr "" "Stattdessen wird sie über :data:`sys.warnoptions` eingestellt, " "wenn :option:`-b` zweimal angegeben wird." -#: ../../library/warnings.rst:279 +#: ../../library/warnings.rst:281 msgid "Overriding the default filter" msgstr "Den Standardfilter übersteuern" -#: ../../library/warnings.rst:281 +#: ../../library/warnings.rst:283 msgid "" "Developers of applications written in Python may wish to hide *all* Python " "level warnings from their users by default, and only display them when " @@ -688,7 +692,7 @@ msgstr "" "Interpreter gehen, lässt sich als Anhaltspunkt dafür nutzen, ob Warnungen " "abgeschaltet werden sollen::" -#: ../../library/warnings.rst:287 +#: ../../library/warnings.rst:289 msgid "" "import sys\n" "\n" @@ -702,7 +706,7 @@ msgstr "" " import warnings\n" " warnings.simplefilter(\"ignore\")" -#: ../../library/warnings.rst:293 +#: ../../library/warnings.rst:295 msgid "" "Developers of test runners for Python code are advised to instead ensure " "that *all* warnings are displayed by default for the code under test, using " @@ -712,7 +716,7 @@ msgstr "" "für den getesteten Code standardmäßig *alle* Warnungen angezeigt werden, " "etwa so::" -#: ../../library/warnings.rst:297 +#: ../../library/warnings.rst:299 msgid "" "import sys\n" "\n" @@ -728,7 +732,7 @@ msgstr "" " warnings.simplefilter(\"default\") # Change the filter in this process\n" " os.environ[\"PYTHONWARNINGS\"] = \"default\" # Also affect subprocesses" -#: ../../library/warnings.rst:304 +#: ../../library/warnings.rst:306 msgid "" "Finally, developers of interactive shells that run user code in a namespace " "other than ``__main__`` are advised to ensure that :exc:`DeprecationWarning` " @@ -741,7 +745,7 @@ msgstr "" "etwa mit folgendem Code. ``user_ns`` ist dabei das Modul, in dem interaktiv " "eingegebener Code ausgeführt wird::" -#: ../../library/warnings.rst:309 +#: ../../library/warnings.rst:311 msgid "" "import warnings\n" "warnings.filterwarnings(\"default\", category=DeprecationWarning,\n" @@ -751,11 +755,11 @@ msgstr "" "warnings.filterwarnings(\"default\", category=DeprecationWarning,\n" " module=user_ns.get(\"__name__\"))" -#: ../../library/warnings.rst:317 +#: ../../library/warnings.rst:319 msgid "Temporarily Suppressing Warnings" msgstr "Warnungen zeitweise unterdrücken" -#: ../../library/warnings.rst:319 +#: ../../library/warnings.rst:321 msgid "" "If you are using code that you know will raise a warning, such as a " "deprecated function, but do not want to see the warning (even when warnings " @@ -768,7 +772,7 @@ msgstr "" "--, kannst du sie mit dem Kontextmanager :class:`catch_warnings` " "unterdrücken::" -#: ../../library/warnings.rst:324 +#: ../../library/warnings.rst:326 msgid "" "import warnings\n" "\n" @@ -788,7 +792,7 @@ msgstr "" " warnings.simplefilter(\"ignore\")\n" " fxn()" -#: ../../library/warnings.rst:333 +#: ../../library/warnings.rst:335 msgid "" "While within the context manager all warnings will simply be ignored. This " "allows you to use known-deprecated code without having to see the warning " @@ -800,8 +804,8 @@ msgstr "" "sehen, und unterdrückst sie trotzdem nicht für anderen Code, dem die " "Verwendung veralteter Teile vielleicht nicht bewusst ist." -#: ../../library/warnings.rst:340 ../../library/warnings.rst:382 -#: ../../library/warnings.rst:669 +#: ../../library/warnings.rst:342 ../../library/warnings.rst:384 +#: ../../library/warnings.rst:671 msgid "" "See :ref:`warning-concurrent-safe` for details on the concurrency-safety of " "the :class:`catch_warnings` context manager when used in programs using " @@ -812,11 +816,11 @@ msgstr "" "oder mit async-Funktionen verwendet wird, steht unter :ref:`warning-" "concurrent-safe`." -#: ../../library/warnings.rst:347 +#: ../../library/warnings.rst:349 msgid "Testing Warnings" msgstr "Warnungen testen" -#: ../../library/warnings.rst:349 +#: ../../library/warnings.rst:351 msgid "" "To test warnings raised by code, use the :class:`catch_warnings` context " "manager. With it you can temporarily mutate the warnings filter to " @@ -828,7 +832,7 @@ msgstr "" "zeitweise ändern, um dir das Testen zu erleichtern. So fängst du etwa alle " "ausgelösten Warnungen zum Prüfen ein::" -#: ../../library/warnings.rst:354 +#: ../../library/warnings.rst:356 msgid "" "import warnings\n" "\n" @@ -860,7 +864,7 @@ msgstr "" " assert issubclass(w[-1].category, DeprecationWarning)\n" " assert \"deprecated\" in str(w[-1].message)" -#: ../../library/warnings.rst:369 +#: ../../library/warnings.rst:371 msgid "" "One can also cause all warnings to be exceptions by using ``error`` instead " "of ``always``. One thing to be aware of is that if a warning has already " @@ -874,7 +878,7 @@ msgstr "" "unabhängig von den gesetzten Filtern nicht wieder zu sehen, solange die " "zugehörige Warnungsregistrierung nicht geleert wurde." -#: ../../library/warnings.rst:375 +#: ../../library/warnings.rst:377 msgid "" "Once the context manager exits, the warnings filter is restored to its state " "when the context was entered. This prevents tests from changing the warnings " @@ -885,7 +889,7 @@ msgstr "" "Betreten zurückgesetzt. Das verhindert, dass Tests den Warnfilter zwischen " "den Tests unerwartet verändern und zu unbestimmten Testergebnissen führen." -#: ../../library/warnings.rst:386 +#: ../../library/warnings.rst:388 msgid "" "When testing multiple operations that raise the same kind of warning, it is " "important to test them in a manner that confirms each operation is raising a " @@ -901,11 +905,11 @@ msgstr "" "Operation weiter wächst, oder lösche vor jeder neuen Operation die " "vorherigen Einträge aus der Warnungsliste." -#: ../../library/warnings.rst:397 +#: ../../library/warnings.rst:399 msgid "Updating Code For New Versions of Dependencies" msgstr "Code für neue Versionen von Abhängigkeiten anpassen" -#: ../../library/warnings.rst:399 +#: ../../library/warnings.rst:401 msgid "" "Warning categories that are primarily of interest to Python developers " "(rather than end users of applications written in Python) are ignored by " @@ -915,7 +919,7 @@ msgstr "" "Endbenutzer von in Python geschriebenen Anwendungen, werden standardmäßig " "übergangen." -#: ../../library/warnings.rst:402 +#: ../../library/warnings.rst:404 msgid "" "Notably, this \"ignored by default\" list includes :exc:`DeprecationWarning` " "(for every module except ``__main__``), which means developers should make " @@ -930,7 +934,7 @@ msgstr "" "erfahren, die Code brechen -- sei es in der Standardbibliothek oder in " "fremden Paketen." -#: ../../library/warnings.rst:408 +#: ../../library/warnings.rst:410 msgid "" "In the ideal case, the code will have a suitable test suite, and the test " "runner will take care of implicitly enabling all warnings when running tests " @@ -940,7 +944,7 @@ msgstr "" "schaltet beim Testen von selbst alle Warnungen ein. Der Testläufer des " "Moduls :mod:`unittest` macht das so." -#: ../../library/warnings.rst:412 +#: ../../library/warnings.rst:414 msgid "" "In less ideal cases, applications can be checked for use of deprecated " "interfaces by passing :option:`-Wd <-W>` to the Python interpreter (this is " @@ -960,11 +964,11 @@ msgstr "" "von :option:`-W`, etwa :option:`!-W error`. Was möglich ist, steht näher " "beim Flag :option:`-W`." -#: ../../library/warnings.rst:425 +#: ../../library/warnings.rst:427 msgid "Available Functions" msgstr "Verfügbare Funktionen" -#: ../../library/warnings.rst:430 +#: ../../library/warnings.rst:432 msgid "" "Issue a warning, or maybe ignore it or raise an exception. The *category* " "argument, if given, must be a :ref:`warning category class ` " @@ -1116,7 +1120,7 @@ msgstr "" "``'to.package.module'``, ``'package.module'``, ``'module'`` und ``'/path/to/" "package/module'`` geprüft." -#: ../../library/warnings.rst:502 +#: ../../library/warnings.rst:504 msgid "" "*registry*, if supplied, should be the ``__warningregistry__`` dictionary of " "the module. If no registry is passed, each warning is treated as the first " @@ -1128,7 +1132,7 @@ msgstr "" "erstes Auftreten. Die Filteraktionen ``\"default\"``, ``\"module\"`` und " "``\"once\"`` werden dann wie ``\"always\"`` behandelt." -#: ../../library/warnings.rst:508 +#: ../../library/warnings.rst:510 msgid "" "*module_globals*, if supplied, should be the global namespace in use by the " "code for which the warning is issued. (This argument is used to support " @@ -1140,11 +1144,11 @@ msgstr "" "Quelltext auch für Module anzuzeigen, die in ZIP-Dateien oder anderen " "Importquellen außerhalb des Dateisystems liegen." -#: ../../library/warnings.rst:516 +#: ../../library/warnings.rst:518 msgid "Add the *source* parameter." msgstr "Der Parameter *source* wurde hinzugefügt." -#: ../../library/warnings.rst:519 +#: ../../library/warnings.rst:521 msgid "" "If no module is passed, test the filter regular expression against module " "names created from the path, not only the path itself." @@ -1152,7 +1156,7 @@ msgstr "" "Wird kein Modul übergeben, wird der reguläre Ausdruck des Filters gegen die " "aus dem Pfad gebildeten Modulnamen geprüft, nicht nur gegen den Pfad selbst." -#: ../../library/warnings.rst:526 +#: ../../library/warnings.rst:528 msgid "" "Write a warning to a file. The default implementation calls " "``formatwarning(message, category, filename, lineno, line)`` and writes the " @@ -1171,7 +1175,7 @@ msgstr "" "Fehlt *line*, versucht :func:`showwarning`, die durch *filename* und " "*lineno* bezeichnete Zeile zu lesen." -#: ../../library/warnings.rst:537 +#: ../../library/warnings.rst:539 msgid "" "Format a warning the standard way. This returns a string which may contain " "embedded newlines and ends in a newline. *line* is a line of source code to " @@ -1185,7 +1189,7 @@ msgstr "" "wird. Fehlt *line*, versucht :func:`formatwarning`, die durch *filename* und " "*lineno* bezeichnete Zeile zu lesen." -#: ../../library/warnings.rst:546 +#: ../../library/warnings.rst:548 msgid "" "Insert an entry into the list of :ref:`warnings filter specifications " "`. The entry is inserted at the front by default; if " @@ -1204,7 +1208,7 @@ msgstr "" "weiter vorne stehenden den späteren vor. Weggelassene Argumente erhalten " "einen Wert, der auf alles passt." -#: ../../library/warnings.rst:558 +#: ../../library/warnings.rst:560 msgid "" "Insert a simple entry into the list of :ref:`warnings filter specifications " "`. The meaning of the function parameters is as " @@ -1218,7 +1222,7 @@ msgstr "" "eingefügte Filter passt immer auf jede Meldung in jedem Modul, solange " "Kategorie und Zeilennummer passen." -#: ../../library/warnings.rst:567 +#: ../../library/warnings.rst:569 msgid "" "Reset the warnings filter. This discards the effect of all previous calls " "to :func:`filterwarnings`, including that of the :option:`-W` command line " @@ -1228,13 +1232,13 @@ msgstr "" "Aufrufe von :func:`filterwarnings`, auch die der " "Befehlszeilenoptionen :option:`-W` und der Aufrufe von :func:`simplefilter`." -#: ../../library/warnings.rst:574 +#: ../../library/warnings.rst:576 msgid "Decorator to indicate that a class, function or overload is deprecated." msgstr "" "Dekorator, der kennzeichnet, dass eine Klasse, eine Funktion oder eine " "Überladung veraltet ist." -#: ../../library/warnings.rst:576 +#: ../../library/warnings.rst:578 msgid "" "When this decorator is applied to an object, deprecation warnings may be " "emitted at runtime when the object is used. :term:`static type checkers " @@ -1246,11 +1250,11 @@ msgstr "" "Auch :term:`statische Typprüfer ` geben bei Verwendung " "des veralteten Objekts einen Hinweis aus." -#: ../../library/warnings.rst:581 +#: ../../library/warnings.rst:583 msgid "Usage::" msgstr "Verwendung::" -#: ../../library/warnings.rst:583 +#: ../../library/warnings.rst:585 msgid "" "from warnings import deprecated\n" "from typing import overload\n" @@ -1286,7 +1290,7 @@ msgstr "" "@overload\n" "def g(x: str) -> int: ..." -#: ../../library/warnings.rst:600 +#: ../../library/warnings.rst:602 msgid "" "The warning specified by *category* will be emitted at runtime on use of " "deprecated objects. For functions, that happens on calls; for classes, on " @@ -1306,7 +1310,7 @@ msgstr "" "bei höheren Werten weiter oben im Stapel. Das Verhalten statischer Typprüfer " "berührt keines der Argumente *category* und *stacklevel*." -#: ../../library/warnings.rst:611 +#: ../../library/warnings.rst:613 msgid "" "The deprecation message passed to the decorator is saved in the " "``__deprecated__`` attribute on the decorated object. If applied to an " @@ -1320,15 +1324,15 @@ msgstr "" "das Attribut an der Überladung vorhanden ist, " "wie :func:`typing.get_overloads` sie zurückgibt." -#: ../../library/warnings.rst:618 +#: ../../library/warnings.rst:620 msgid "See :pep:`702`." msgstr "Siehe :pep:`702`." -#: ../../library/warnings.rst:623 +#: ../../library/warnings.rst:625 msgid "Available Context Managers" msgstr "Verfügbare Kontextmanager" -#: ../../library/warnings.rst:627 +#: ../../library/warnings.rst:629 msgid "" "A context manager that copies and, upon exit, restores the warnings filter " "and the :func:`showwarning` function. If the *record* argument " @@ -1347,34 +1351,34 @@ msgstr "" "Ausgabe nach ``sys.stderr``. Jedes Objekt in der Liste hat garantiert die " "folgenden Attribute:" -#: ../../library/warnings.rst:635 +#: ../../library/warnings.rst:637 msgid "``message``: the warning message (an instance of :exc:`Warning`)" msgstr "``message``: die Warnmeldung, eine Instanz von :exc:`Warning`" -#: ../../library/warnings.rst:636 +#: ../../library/warnings.rst:638 msgid "``category``: the warning category (a subclass of :exc:`Warning`)" msgstr "``category``: die Warnkategorie, eine Unterklasse von :exc:`Warning`" -#: ../../library/warnings.rst:637 +#: ../../library/warnings.rst:639 msgid "``filename``: the file name where the warning occurred (:class:`str`)" msgstr "" "``filename``: der Name der Datei, in der die Warnung auftrat (:class:`str`)" -#: ../../library/warnings.rst:638 +#: ../../library/warnings.rst:640 msgid "``lineno``: the line number in the file (:class:`int`)" msgstr "``lineno``: die Zeilennummer in der Datei (:class:`int`)" -#: ../../library/warnings.rst:639 +#: ../../library/warnings.rst:641 msgid "``file``: the file object used for output (if any), or ``None``" msgstr "" "``file``: das für die Ausgabe verwendete Dateiobjekt, falls vorhanden, sonst " "``None``" -#: ../../library/warnings.rst:640 +#: ../../library/warnings.rst:642 msgid "``line``: the line of source code (if available), or ``None``" msgstr "``line``: die Quelltextzeile, falls verfügbar, sonst ``None``" -#: ../../library/warnings.rst:641 +#: ../../library/warnings.rst:643 msgid "" "``source``: the original object that generated the warning (if available), " "or ``None``" @@ -1382,7 +1386,7 @@ msgstr "" "``source``: das ursprüngliche Objekt, das die Warnung erzeugt hat, falls " "verfügbar, sonst ``None``" -#: ../../library/warnings.rst:643 +#: ../../library/warnings.rst:645 msgid "" "``module``: the module name where the warning occurred (:class:`str`), or " "``None``" @@ -1390,15 +1394,15 @@ msgstr "" "``module``: der Name des Moduls, in dem die Warnung auftrat (:class:`str`), " "sonst ``None``" -#: ../../library/warnings.rst:646 +#: ../../library/warnings.rst:648 msgid "The ``source`` attribute was added." msgstr "Das Attribut ``source`` wurde hinzugefügt." -#: ../../library/warnings.rst:649 +#: ../../library/warnings.rst:651 msgid "The ``module`` attribute was added." msgstr "Das Attribut ``module`` wurde hinzugefügt." -#: ../../library/warnings.rst:652 +#: ../../library/warnings.rst:654 msgid "" "The type of these objects is not specified and may change; only the presence " "of these attributes is guaranteed." @@ -1406,7 +1410,7 @@ msgstr "" "Der Typ dieser Objekte ist nicht festgelegt und kann sich ändern. Garantiert " "ist nur, dass die genannten Attribute vorhanden sind." -#: ../../library/warnings.rst:655 +#: ../../library/warnings.rst:657 msgid "" "The *module* argument takes a module that will be used instead of the module " "returned when you import :mod:`!warnings` whose filter will be protected. " @@ -1418,7 +1422,7 @@ msgstr "" "geschützt wird. Dieses Argument gibt es vor allem, um das Modul :mod:`!" "warnings` selbst zu testen." -#: ../../library/warnings.rst:660 +#: ../../library/warnings.rst:662 msgid "" "If the *action* argument is not ``None``, the remaining arguments are passed " "to :func:`simplefilter` as if it were called immediately on entering the " @@ -1428,7 +1432,7 @@ msgstr "" "an :func:`simplefilter`, als wäre sie unmittelbar beim Betreten des Kontexts " "aufgerufen worden." -#: ../../library/warnings.rst:664 +#: ../../library/warnings.rst:666 msgid "" "See :ref:`warning-filter` for the meaning of the *category* and *lineno* " "parameters." @@ -1436,16 +1440,16 @@ msgstr "" "Was die Parameter *category* und *lineno* bedeuten, steht " "unter :ref:`warning-filter`." -#: ../../library/warnings.rst:676 +#: ../../library/warnings.rst:678 msgid "Added the *action*, *category*, *lineno*, and *append* parameters." msgstr "" "Die Parameter *action*, *category*, *lineno* und *append* wurden hinzugefügt." -#: ../../library/warnings.rst:682 +#: ../../library/warnings.rst:684 msgid "Concurrent safety of Context Managers" msgstr "Sicherheit der Kontextmanager bei gleichzeitiger Ausführung" -#: ../../library/warnings.rst:684 +#: ../../library/warnings.rst:686 msgid "" "The behavior of :class:`catch_warnings` context manager depends on " "the :data:`sys.flags.context_aware_warnings` flag. If the flag is true, the " @@ -1464,7 +1468,7 @@ msgstr "" "Threads vorhersagbar ist. Bei free-threaded-Builds ist das Flag " "standardmäßig wahr, sonst falsch." -#: ../../library/warnings.rst:692 +#: ../../library/warnings.rst:694 msgid "" "If the :data:`~sys.flags.context_aware_warnings` flag is false, " "then :class:`catch_warnings` will modify the global attributes of the :mod:`!" @@ -1480,7 +1484,7 @@ msgstr "" "etwa zwei oder mehr Threads die Klasse :class:`catch_warnings` zur selben " "Zeit, ist das Verhalten undefiniert." -#: ../../library/warnings.rst:699 +#: ../../library/warnings.rst:701 msgid "" "If the flag is true, :class:`catch_warnings` will not modify global " "attributes and will instead use a :class:`~contextvars.ContextVar` to store " @@ -1494,7 +1498,7 @@ msgstr "" "threadlokalen Speicher und macht die Verwendung von :class:`catch_warnings` " "threadsicher." -#: ../../library/warnings.rst:705 +#: ../../library/warnings.rst:707 msgid "" "The *record* parameter of the context handler also behaves differently " "depending on the value of the flag. When *record* is true and the flag is " @@ -1507,7 +1511,7 @@ msgstr "" "ersetzt und später wiederherstellt. Das ist bei gleichzeitiger Ausführung " "nicht sicher." -#: ../../library/warnings.rst:710 +#: ../../library/warnings.rst:712 msgid "" "When *record* is true and the flag is true, the :func:`showwarning` function " "is not replaced. Instead, the recording status is indicated by an internal " @@ -1520,7 +1524,7 @@ msgstr "" "Funktion :func:`showwarning` beim Verlassen des Kontexthandlers nicht " "wiederhergestellt." -#: ../../library/warnings.rst:715 +#: ../../library/warnings.rst:717 msgid "" "The :data:`~sys.flags.context_aware_warnings` flag can be set the :option:`-" "X context_aware_warnings<-X>` command-line option or by " @@ -1530,7 +1534,7 @@ msgstr "" "Befehlszeilenoption :option:`-X context_aware_warnings<-X>` oder über die " "Umgebungsvariable :envvar:`PYTHON_CONTEXT_AWARE_WARNINGS` setzen." -#: ../../library/warnings.rst:721 +#: ../../library/warnings.rst:723 msgid "" "It is likely that most programs that desire thread-safe behaviour of the " "warnings module will also want to set " @@ -1553,7 +1557,7 @@ msgstr "" "Kontextmanager :class:`catch_warnings` eingerichtete Filterung nicht mehr " "aktiv ist." -#: ../../library/warnings.rst:734 +#: ../../library/warnings.rst:736 msgid "" "Added the :data:`sys.flags.context_aware_warnings` flag and the use of a " "context variable for :class:`catch_warnings` if the flag is true. Previous " diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index a0a85461..7bef57ea 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-14 20:17+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -224,22 +224,33 @@ msgstr "" #: ../../library/xml.dom.minidom.rst:150 msgid "" +":exc:`ValueError` is raised if the content of the node cannot be represented " +"in XML, for example if a comment contains ``\"--\"`` or a CDATA section " +"contains ``\"]]>\"``. The characters are not checked: the text, the " +"attribute values and the content of comments, processing instructions and " +"CDATA sections are written as is. If they can contain characters which are " +"not allowed in XML, check them with :func:`xml.is_valid_text` before " +"serialization." +msgstr "" + +#: ../../library/xml.dom.minidom.rst:159 +msgid "" "The :meth:`writexml` method now preserves the attribute order specified by " "the user." msgstr "" -#: ../../library/xml.dom.minidom.rst:154 ../../library/xml.dom.minidom.rst:175 -#: ../../library/xml.dom.minidom.rst:194 +#: ../../library/xml.dom.minidom.rst:163 ../../library/xml.dom.minidom.rst:184 +#: ../../library/xml.dom.minidom.rst:203 msgid "The *standalone* parameter was added." msgstr "" -#: ../../library/xml.dom.minidom.rst:159 +#: ../../library/xml.dom.minidom.rst:168 msgid "" "Return a string or byte string containing the XML represented by the DOM " "node." msgstr "" -#: ../../library/xml.dom.minidom.rst:162 +#: ../../library/xml.dom.minidom.rst:171 msgid "" "With an explicit *encoding* [1]_ argument, the result is a byte string in " "the specified encoding. With no *encoding* argument, the result is a Unicode " @@ -248,47 +259,47 @@ msgid "" "incorrect, since UTF-8 is the default encoding of XML." msgstr "" -#: ../../library/xml.dom.minidom.rst:169 ../../library/xml.dom.minidom.rst:188 +#: ../../library/xml.dom.minidom.rst:178 ../../library/xml.dom.minidom.rst:197 msgid "The *standalone* argument behaves exactly as in :meth:`writexml`." msgstr "" -#: ../../library/xml.dom.minidom.rst:171 +#: ../../library/xml.dom.minidom.rst:180 msgid "" "The :meth:`toxml` method now preserves the attribute order specified by the " "user." msgstr "" -#: ../../library/xml.dom.minidom.rst:181 +#: ../../library/xml.dom.minidom.rst:190 msgid "" "Return a pretty-printed version of the document. *indent* specifies the " "indentation string and defaults to a tabulator; *newl* specifies the string " "emitted at the end of each line and defaults to ``\\n``." msgstr "" -#: ../../library/xml.dom.minidom.rst:185 +#: ../../library/xml.dom.minidom.rst:194 msgid "" "The *encoding* argument behaves like the corresponding argument " "of :meth:`toxml`." msgstr "" -#: ../../library/xml.dom.minidom.rst:190 +#: ../../library/xml.dom.minidom.rst:199 msgid "" "The :meth:`toprettyxml` method now preserves the attribute order specified " "by the user." msgstr "" -#: ../../library/xml.dom.minidom.rst:200 +#: ../../library/xml.dom.minidom.rst:209 msgid "DOM Example" msgstr "" -#: ../../library/xml.dom.minidom.rst:202 +#: ../../library/xml.dom.minidom.rst:211 msgid "" "This example program is a fairly realistic example of a simple program. In " "this particular case, we do not take much advantage of the flexibility of " "the DOM." msgstr "" -#: ../../library/xml.dom.minidom.rst:205 +#: ../../library/xml.dom.minidom.rst:214 msgid "" "import xml.dom.minidom\n" "\n" @@ -356,23 +367,23 @@ msgid "" "handleSlideshow(dom)\n" msgstr "" -#: ../../library/xml.dom.minidom.rst:211 +#: ../../library/xml.dom.minidom.rst:220 msgid "minidom and the DOM standard" msgstr "" -#: ../../library/xml.dom.minidom.rst:213 +#: ../../library/xml.dom.minidom.rst:222 msgid "" "The :mod:`!xml.dom.minidom` module is essentially a DOM 1.0-compatible DOM " "with some DOM 2 features (primarily namespace features)." msgstr "" -#: ../../library/xml.dom.minidom.rst:216 +#: ../../library/xml.dom.minidom.rst:225 msgid "" "Usage of the DOM interface in Python is straight-forward. The following " "mapping rules apply:" msgstr "" -#: ../../library/xml.dom.minidom.rst:219 +#: ../../library/xml.dom.minidom.rst:228 msgid "" "Interfaces are accessed through instance objects. Applications should not " "instantiate the classes themselves; they should use the creator functions " @@ -381,14 +392,14 @@ msgid "" "operations." msgstr "" -#: ../../library/xml.dom.minidom.rst:224 +#: ../../library/xml.dom.minidom.rst:233 msgid "" "Operations are used as methods. Since the DOM uses only :keyword:`in` " "parameters, the arguments are passed in normal order (from left to right). " "There are no optional arguments. ``void`` operations return ``None``." msgstr "" -#: ../../library/xml.dom.minidom.rst:228 +#: ../../library/xml.dom.minidom.rst:237 msgid "" "IDL attributes map to instance attributes. For compatibility with the OMG " "IDL language mapping for Python, an attribute ``foo`` can also be accessed " @@ -396,13 +407,13 @@ msgid "" "``readonly`` attributes must not be changed; this is not enforced at runtime." msgstr "" -#: ../../library/xml.dom.minidom.rst:233 +#: ../../library/xml.dom.minidom.rst:242 msgid "" "The types ``short int``, ``unsigned int``, ``unsigned long long``, and " "``boolean`` all map to Python integer objects." msgstr "" -#: ../../library/xml.dom.minidom.rst:236 +#: ../../library/xml.dom.minidom.rst:245 msgid "" "The type ``DOMString`` maps to Python strings. :mod:`!xml.dom.minidom` " "supports either bytes or strings, but will normally produce strings. Values " @@ -410,35 +421,35 @@ msgid "" "``null`` value by the DOM specification from the W3C." msgstr "" -#: ../../library/xml.dom.minidom.rst:241 +#: ../../library/xml.dom.minidom.rst:250 msgid "" "``const`` declarations map to variables in their respective scope (e.g. " "``xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE``); they must not be " "changed." msgstr "" -#: ../../library/xml.dom.minidom.rst:244 +#: ../../library/xml.dom.minidom.rst:253 msgid "" "``DOMException`` is currently not supported in :mod:`!xml.dom.minidom`. " "Instead, :mod:`!xml.dom.minidom` uses standard Python exceptions such " "as :exc:`TypeError` and :exc:`AttributeError`." msgstr "" -#: ../../library/xml.dom.minidom.rst:248 +#: ../../library/xml.dom.minidom.rst:257 msgid "" "Each of the :class:`~xml.dom.NodeList` and :class:`~xml.dom.NamedNodeMap` " "interfaces has two implementations, which provide additional methods and " "operations." msgstr "" -#: ../../library/xml.dom.minidom.rst:252 +#: ../../library/xml.dom.minidom.rst:261 msgid "" ":attr:`~xml.dom.Node.childNodes` is a subclass of :class:`list`, or, for " "nodes which cannot have children, a subclass of :class:`tuple`. It supports " "iteration, concatenation, indexing and slicing." msgstr "" -#: ../../library/xml.dom.minidom.rst:256 +#: ../../library/xml.dom.minidom.rst:265 msgid "" ":attr:`~xml.dom.Node.attributes` supports ``len()``, the :keyword:`in` " "operator, subscription by a name or by a ``(namespaceURI, localName)`` " @@ -449,13 +460,13 @@ msgid "" "``len()`` and subscription by a name." msgstr "" -#: ../../library/xml.dom.minidom.rst:264 +#: ../../library/xml.dom.minidom.rst:273 msgid "" ":attr:`~xml.dom.Document.strictErrorChecking` " "and :attr:`~xml.dom.Attr.specified` are always ``False``." msgstr "" -#: ../../library/xml.dom.minidom.rst:267 +#: ../../library/xml.dom.minidom.rst:276 msgid "" ":meth:`~xml.dom.Element.removeAttribute` " "and :meth:`~xml.dom.Element.removeAttributeNS` " @@ -463,30 +474,30 @@ msgid "" "the DOM specifies that this has no effect." msgstr "" -#: ../../library/xml.dom.minidom.rst:272 +#: ../../library/xml.dom.minidom.rst:281 msgid "" "The following interfaces have no implementation in :mod:`!xml.dom.minidom`:" msgstr "" -#: ../../library/xml.dom.minidom.rst:274 +#: ../../library/xml.dom.minidom.rst:283 msgid ":class:`DOMTimeStamp`" msgstr "" -#: ../../library/xml.dom.minidom.rst:276 +#: ../../library/xml.dom.minidom.rst:285 msgid ":class:`EntityReference`" msgstr "" -#: ../../library/xml.dom.minidom.rst:278 +#: ../../library/xml.dom.minidom.rst:287 msgid "" "Most of these reflect information in the XML document that is not of general " "utility to most DOM users." msgstr "" -#: ../../library/xml.dom.minidom.rst:282 +#: ../../library/xml.dom.minidom.rst:291 msgid "Footnotes" msgstr "Fußnoten" -#: ../../library/xml.dom.minidom.rst:283 +#: ../../library/xml.dom.minidom.rst:292 msgid "" "The encoding name included in the XML output should conform to the " "appropriate standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not " diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 9808d3f4..d6134028 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -67,8 +67,8 @@ msgid "" "a remote XML-RPC server. The required first argument is a URI (Uniform " "Resource Indicator), and will normally be the URL of the server. The " "optional second argument is a transport factory instance; by default it is " -"an internal :class:`SafeTransport` instance for https: URLs and an internal " -"HTTP :class:`Transport` instance otherwise. The optional third argument is " +"an internal :class:`!SafeTransport` instance for https: URLs and an internal " +"HTTP :class:`!Transport` instance otherwise. The optional third argument is " "an encoding, by default UTF-8. The optional fourth argument is a debugging " "flag." msgstr "" @@ -95,7 +95,7 @@ msgid "" "*use_builtin_types* but it applies only to date/time values." msgstr "" -#: ../../library/xmlrpc.client.rst:66 ../../library/xmlrpc.client.rst:546 +#: ../../library/xmlrpc.client.rst:66 ../../library/xmlrpc.client.rst:563 msgid "The *use_builtin_types* flag was added." msgstr "" @@ -254,7 +254,7 @@ msgstr "" #: ../../library/xmlrpc.client.rst:145 msgid "" -":class:`Server` is retained as an alias for :class:`ServerProxy` for " +":class:`!Server` is retained as an alias for :class:`ServerProxy` for " "backwards compatibility. New code should use :class:`ServerProxy`." msgstr "" @@ -316,7 +316,7 @@ msgstr "" #: ../../library/xmlrpc.client.rst:183 msgid "" "Servers that support the XML introspection API support some common methods " -"grouped under the reserved :attr:`~ServerProxy.system` attribute:" +"grouped under the reserved :attr:`!system` attribute:" msgstr "" #: ../../library/xmlrpc.client.rst:189 @@ -387,7 +387,7 @@ msgid "" msgstr "" #: ../../library/xmlrpc.client.rst:238 ../../library/xmlrpc.client.rst:288 -#: ../../library/xmlrpc.client.rst:398 ../../library/xmlrpc.client.rst:504 +#: ../../library/xmlrpc.client.rst:415 ../../library/xmlrpc.client.rst:521 msgid "The client code for the preceding server::" msgstr "" @@ -541,30 +541,46 @@ msgid "" msgstr "" #: ../../library/xmlrpc.client.rst:365 -msgid "Fault Objects" +msgid "Error objects" msgstr "" #: ../../library/xmlrpc.client.rst:369 msgid "" +"Base class of the :exc:`Fault`, :exc:`ProtocolError` " +"and :exc:`ResponseError` exceptions." +msgstr "" + +#: ../../library/xmlrpc.client.rst:375 +msgid "" +"Raised when an XML-RPC response is malformed and cannot be unmarshalled, for " +"example when it contains an unsupported type tag." +msgstr "" + +#: ../../library/xmlrpc.client.rst:382 +msgid "Fault Objects" +msgstr "" + +#: ../../library/xmlrpc.client.rst:386 +msgid "" "A :class:`Fault` object encapsulates the content of an XML-RPC fault tag. " "Fault objects have the following attributes:" msgstr "" -#: ../../library/xmlrpc.client.rst:375 +#: ../../library/xmlrpc.client.rst:392 msgid "An int indicating the fault type." msgstr "" -#: ../../library/xmlrpc.client.rst:380 +#: ../../library/xmlrpc.client.rst:397 msgid "A string containing a diagnostic message associated with the fault." msgstr "" -#: ../../library/xmlrpc.client.rst:382 +#: ../../library/xmlrpc.client.rst:399 msgid "" "In the following example we're going to intentionally cause a :exc:`Fault` " "by returning a complex type object. The server code::" msgstr "" -#: ../../library/xmlrpc.client.rst:385 +#: ../../library/xmlrpc.client.rst:402 msgid "" "from xmlrpc.server import SimpleXMLRPCServer\n" "\n" @@ -580,7 +596,7 @@ msgid "" "server.serve_forever()" msgstr "" -#: ../../library/xmlrpc.client.rst:400 +#: ../../library/xmlrpc.client.rst:417 msgid "" "import xmlrpc.client\n" "\n" @@ -593,42 +609,42 @@ msgid "" " print(\"Fault string: %s\" % err.faultString)" msgstr "" -#: ../../library/xmlrpc.client.rst:415 +#: ../../library/xmlrpc.client.rst:432 msgid "ProtocolError Objects" msgstr "" -#: ../../library/xmlrpc.client.rst:419 +#: ../../library/xmlrpc.client.rst:436 msgid "" "A :class:`ProtocolError` object describes a protocol error in the underlying " "transport layer (such as a 404 'not found' error if the server named by the " "URI does not exist). It has the following attributes:" msgstr "" -#: ../../library/xmlrpc.client.rst:426 +#: ../../library/xmlrpc.client.rst:443 msgid "The URI or URL that triggered the error." msgstr "" -#: ../../library/xmlrpc.client.rst:431 +#: ../../library/xmlrpc.client.rst:448 msgid "The error code." msgstr "" -#: ../../library/xmlrpc.client.rst:436 +#: ../../library/xmlrpc.client.rst:453 msgid "The error message or diagnostic string." msgstr "" -#: ../../library/xmlrpc.client.rst:441 +#: ../../library/xmlrpc.client.rst:458 msgid "" "A dict containing the headers of the HTTP/HTTPS request that triggered the " "error." msgstr "" -#: ../../library/xmlrpc.client.rst:444 +#: ../../library/xmlrpc.client.rst:461 msgid "" "In the following example we're going to intentionally cause " "a :exc:`ProtocolError` by providing an invalid URI::" msgstr "" -#: ../../library/xmlrpc.client.rst:447 +#: ../../library/xmlrpc.client.rst:464 msgid "" "import xmlrpc.client\n" "\n" @@ -645,17 +661,17 @@ msgid "" " print(\"Error message: %s\" % err.errmsg)" msgstr "" -#: ../../library/xmlrpc.client.rst:462 +#: ../../library/xmlrpc.client.rst:479 msgid "MultiCall Objects" msgstr "" -#: ../../library/xmlrpc.client.rst:464 +#: ../../library/xmlrpc.client.rst:481 msgid "" "The :class:`MultiCall` object provides a way to encapsulate multiple calls " "to a remote server into a single request [#]_." msgstr "" -#: ../../library/xmlrpc.client.rst:470 +#: ../../library/xmlrpc.client.rst:487 msgid "" "Create an object used to boxcar method calls. *server* is the eventual " "target of the call. Calls can be made to the result object, but they will " @@ -666,11 +682,11 @@ msgid "" "the individual results." msgstr "" -#: ../../library/xmlrpc.client.rst:478 +#: ../../library/xmlrpc.client.rst:495 msgid "A usage example of this class follows. The server code::" msgstr "" -#: ../../library/xmlrpc.client.rst:480 +#: ../../library/xmlrpc.client.rst:497 msgid "" "from xmlrpc.server import SimpleXMLRPCServer\n" "\n" @@ -697,7 +713,7 @@ msgid "" "server.serve_forever()" msgstr "" -#: ../../library/xmlrpc.client.rst:506 +#: ../../library/xmlrpc.client.rst:523 msgid "" "import xmlrpc.client\n" "\n" @@ -712,11 +728,11 @@ msgid "" "print(\"7+3=%d, 7-3=%d, 7*3=%d, 7//3=%d\" % tuple(result))" msgstr "" -#: ../../library/xmlrpc.client.rst:520 +#: ../../library/xmlrpc.client.rst:537 msgid "Convenience Functions" msgstr "" -#: ../../library/xmlrpc.client.rst:524 +#: ../../library/xmlrpc.client.rst:541 msgid "" "Convert *params* into an XML-RPC request, or into a response if " "*methodresponse* is true. *params* can be either a tuple of arguments or an " @@ -728,7 +744,7 @@ msgid "" "*allow_none*." msgstr "" -#: ../../library/xmlrpc.client.rst:535 +#: ../../library/xmlrpc.client.rst:552 msgid "" "Convert an XML-RPC request or response into Python objects, a ``(params, " "methodname)``. *params* is a tuple of argument; *methodname* is a string, " @@ -739,17 +755,17 @@ msgid "" "to be presented as :class:`bytes` objects; this flag is false by default." msgstr "" -#: ../../library/xmlrpc.client.rst:543 +#: ../../library/xmlrpc.client.rst:560 msgid "" "The obsolete *use_datetime* flag is similar to *use_builtin_types* but it " "applies only to date/time values." msgstr "" -#: ../../library/xmlrpc.client.rst:553 +#: ../../library/xmlrpc.client.rst:570 msgid "Example of Client Usage" msgstr "" -#: ../../library/xmlrpc.client.rst:557 +#: ../../library/xmlrpc.client.rst:574 msgid "" "# simple test program (from the XML-RPC specification)\n" "from xmlrpc.client import ServerProxy, Error\n" @@ -765,13 +781,13 @@ msgid "" " print(\"ERROR\", v)" msgstr "" -#: ../../library/xmlrpc.client.rst:570 +#: ../../library/xmlrpc.client.rst:587 msgid "" "To access an XML-RPC server through a HTTP proxy, you need to define a " "custom transport. The following example shows how::" msgstr "" -#: ../../library/xmlrpc.client.rst:573 +#: ../../library/xmlrpc.client.rst:590 msgid "" "import http.client\n" "import xmlrpc.client\n" @@ -795,19 +811,19 @@ msgid "" "print(server.examples.getStateName(41))" msgstr "" -#: ../../library/xmlrpc.client.rst:595 +#: ../../library/xmlrpc.client.rst:612 msgid "Example of Client and Server Usage" msgstr "" -#: ../../library/xmlrpc.client.rst:597 +#: ../../library/xmlrpc.client.rst:614 msgid "See :ref:`simplexmlrpcserver-example`." msgstr "" -#: ../../library/xmlrpc.client.rst:601 +#: ../../library/xmlrpc.client.rst:618 msgid "Footnotes" msgstr "Fußnoten" -#: ../../library/xmlrpc.client.rst:602 +#: ../../library/xmlrpc.client.rst:619 msgid "" "This approach has been first presented in `a discussion on xmlrpc.com " "`. " "See :pep:`649`." @@ -1155,7 +1155,7 @@ msgstr "" "beliebiges aufrufbares Objekt (in der Regel eine benutzerdefinierte " "Funktion)." -#: ../../reference/datamodel.rst:730 ../../reference/datamodel.rst:1846 +#: ../../reference/datamodel.rst:730 ../../reference/datamodel.rst:1851 msgid "Special read-only attributes:" msgstr "Besondere schreibgeschützte Attribute:" @@ -1916,7 +1916,15 @@ msgstr "" "Variable aus einem Modul heraus zugegriffen werden. Der Zugriff ist nur als " "Attribut von Modulobjekten möglich." -#: ../../reference/datamodel.rst:1163 +#: ../../reference/datamodel.rst:1161 +msgid "" +"Dictionary access does not resolve :ref:`lazy import proxies `. This also applies to the dictionary that :func:`globals` returns. " +"See :class:`types.LazyImportType` for proxy detection and explicit " +"resolution." +msgstr "" + +#: ../../reference/datamodel.rst:1168 msgid "" "Because of the way CPython clears module dictionaries, the module dictionary " "will be cleared when the module falls out of scope even if the dictionary " @@ -1929,11 +1937,11 @@ msgstr "" "vermeiden, kopiere das Dictionary oder behalte das Modul bei, während du " "dessen Dictionary direkt verwenden." -#: ../../reference/datamodel.rst:1172 +#: ../../reference/datamodel.rst:1177 msgid "Custom classes" msgstr "Benutzerdefinierte Klassen" -#: ../../reference/datamodel.rst:1174 +#: ../../reference/datamodel.rst:1179 msgid "" "Custom class types are typically created by class definitions (see " "section :ref:`class`). A class has a namespace implemented by a dictionary " @@ -1960,7 +1968,7 @@ msgstr "" "Einzelheiten zur von Python verwendeten C3-MRO findest du " "unter :ref:`python_2.3_mro`." -#: ../../reference/datamodel.rst:1195 +#: ../../reference/datamodel.rst:1200 msgid "" "When a class attribute reference (for class :class:`!C`, say) would yield a " "class method object, it is transformed into an instance method object " @@ -1980,7 +1988,7 @@ msgstr "" "wie sich aus einer Klasse abgerufene Attribute von denen unterscheiden " "können, die tatsächlich in deren „ :attr:`~object.__dict__` “ enthalten sind." -#: ../../reference/datamodel.rst:1206 +#: ../../reference/datamodel.rst:1211 msgid "" "Class attribute assignments update the class's dictionary, never the " "dictionary of a base class." @@ -1988,7 +1996,7 @@ msgstr "" "Durch die Zuweisung von Klassenattributen wird das Wörterbuch der Klasse " "aktualisiert, niemals jedoch das Wörterbuch einer Basisklasse." -#: ../../reference/datamodel.rst:1211 +#: ../../reference/datamodel.rst:1216 msgid "" "A class object can be called (see above) to yield a class instance (see " "below)." @@ -1996,11 +2004,11 @@ msgstr "" "Ein Klassenobjekt kann aufgerufen werden (siehe oben), um eine " "Klasseninstanz zu erzeugen (siehe unten)." -#: ../../reference/datamodel.rst:1214 ../../reference/datamodel.rst:1390 +#: ../../reference/datamodel.rst:1219 ../../reference/datamodel.rst:1395 msgid "Special attributes" msgstr "Besondere Eigenschaften" -#: ../../reference/datamodel.rst:1236 +#: ../../reference/datamodel.rst:1241 msgid "" "The class's name. See also: :attr:`__name__ attributes " "`." @@ -2008,7 +2016,7 @@ msgstr "" "Der Name der Klasse. Siehe auch: :attr:`__name__-Attribute " "`." -#: ../../reference/datamodel.rst:1240 +#: ../../reference/datamodel.rst:1245 msgid "" "The class's :term:`qualified name`. See also: :attr:`__qualname__ attributes " "`." @@ -2016,11 +2024,11 @@ msgstr "" "Der :term:`qualifizierte Name ` der Klasse. Siehe " "auch: :attr:`__qualname__-Attribute `." -#: ../../reference/datamodel.rst:1244 +#: ../../reference/datamodel.rst:1249 msgid "The name of the module in which the class was defined." msgstr "Der Name des Moduls, in dem die Klasse definiert wurde." -#: ../../reference/datamodel.rst:1247 +#: ../../reference/datamodel.rst:1252 msgid "" "A :class:`mapping proxy ` providing a read-only view " "of the class's namespace. See also: :attr:`__dict__ attributes " @@ -2030,7 +2038,7 @@ msgstr "" "schreibgeschützte Ansicht des Namensraums der Klasse bereitstellt. Siehe " "auch: :attr:`__dict__-Attribute `." -#: ../../reference/datamodel.rst:1252 +#: ../../reference/datamodel.rst:1257 msgid "" "A :class:`tuple` containing the class's bases. In most cases, for a class " "defined as ``class X(A, B, C)``, ``X.__bases__`` will be exactly equal to " @@ -2040,7 +2048,7 @@ msgstr "" "Fällen gilt für eine Klasse, die wie folgt definiert ist: ``class X(A, B, " "C)``, dass ``X.__bases__`` genau gleich ``(A, B, C)`` ist." -#: ../../reference/datamodel.rst:1259 +#: ../../reference/datamodel.rst:1264 msgid "" "The single base class in the inheritance chain that is responsible for the " "memory layout of instances. This attribute corresponds " @@ -2050,7 +2058,7 @@ msgstr "" "Speicheranordnung der Instanzen verantwortlich ist. Dieses Attribut " "entspricht auf C-Ebene dem „ :c:member:`~PyTypeObject.tp_base` “." -#: ../../reference/datamodel.rst:1264 +#: ../../reference/datamodel.rst:1269 msgid "" "The class's documentation string, or ``None`` if undefined. Not inherited by " "subclasses." @@ -2058,7 +2066,7 @@ msgstr "" "Der Dokumentationsstring der Klasse oder „ ``None`` “, falls nicht " "definiert. Wird nicht an Unterklassen vererbt." -#: ../../reference/datamodel.rst:1268 +#: ../../reference/datamodel.rst:1273 msgid "" "A dictionary containing :term:`variable annotations ` " "collected during class body execution. See also: :attr:`__annotations__ " @@ -2068,7 +2076,7 @@ msgstr "" "enthält, die während der Ausführung des Klassenkörpers gesammelt wurden. " "Siehe auch: :attr:`__annotations__-Attribute `." -#: ../../reference/datamodel.rst:1273 +#: ../../reference/datamodel.rst:1278 msgid "" "For best practices on working with :attr:`~object.__annotations__`, please " "see :mod:`annotationlib`. Use :func:`annotationlib.get_annotations` instead " @@ -2079,7 +2087,7 @@ msgstr "" "Verwende :func:`annotationlib.get_annotations`, anstatt direkt auf dieses " "Attribut zuzugreifen." -#: ../../reference/datamodel.rst:1280 +#: ../../reference/datamodel.rst:1285 msgid "" "Accessing the :attr:`!__annotations__` attribute directly on a class object " "may return annotations for the wrong class, specifically in certain cases " @@ -2094,7 +2102,7 @@ msgstr "" "annotations`` definiert ist. Weitere Informationen findest du " "unter :pep:`749 <749#pep749-metaclasses>`." -#: ../../reference/datamodel.rst:1286 +#: ../../reference/datamodel.rst:1291 msgid "" "This attribute does not exist on certain builtin classes. On user-defined " "classes without ``__annotations__``, it is an empty dictionary." @@ -2103,7 +2111,7 @@ msgstr "" "benutzerdefinierten Klassen ohne ``__annotations__`` ist es ein leeres " "Wörterbuch." -#: ../../reference/datamodel.rst:1295 +#: ../../reference/datamodel.rst:1300 msgid "" "The :term:`annotate function` for this class, or ``None`` if the class has " "no annotations. See also: :attr:`__annotate__ attributes " @@ -2113,7 +2121,7 @@ msgstr "" "``None``, falls die Klasse keine Annotationen enthält. Siehe " "auch: :attr:`__annotate__-Attribute `." -#: ../../reference/datamodel.rst:1302 +#: ../../reference/datamodel.rst:1307 msgid "" "A :class:`tuple` containing the :ref:`type parameters ` of " "a :ref:`generic class `." @@ -2121,7 +2129,7 @@ msgstr "" "Ein :class:`tuple`, der die :ref:`Typ-Parameter ` " "einer :ref:`generischen Klasse ` enthält." -#: ../../reference/datamodel.rst:1308 +#: ../../reference/datamodel.rst:1313 msgid "" "A :class:`tuple` containing names of attributes of this class which are " "assigned through ``self.X`` from any function in its body." @@ -2130,7 +2138,7 @@ msgstr "" "über ``self.X`` von einer beliebigen Funktion in ihrem Körper zugewiesen " "werden." -#: ../../reference/datamodel.rst:1314 +#: ../../reference/datamodel.rst:1319 msgid "" "The line number of the first line of the class definition, including " "decorators. Setting the :attr:`~type.__module__` attribute removes " @@ -2141,7 +2149,7 @@ msgstr "" "“ wird der Eintrag „ :attr:`!__firstlineno__` “ aus dem Wörterbuch des Typs " "entfernt." -#: ../../reference/datamodel.rst:1322 +#: ../../reference/datamodel.rst:1327 msgid "" "The :class:`tuple` of classes that are considered when looking for base " "classes during method resolution." @@ -2149,11 +2157,11 @@ msgstr "" "Die „ :class:`tuple` “ der Klassen, die bei der Suche nach Basisklassen " "während der Methodenauflösung berücksichtigt werden." -#: ../../reference/datamodel.rst:1327 +#: ../../reference/datamodel.rst:1332 msgid "Special methods" msgstr "Spezielle Methoden" -#: ../../reference/datamodel.rst:1329 +#: ../../reference/datamodel.rst:1334 msgid "" "In addition to the special attributes described above, all Python classes " "also have the following two methods available:" @@ -2161,7 +2169,7 @@ msgstr "" "Zusätzlich zu den oben beschriebenen speziellen Eigenschaften stehen für " "alle Python-Klassen außerdem die folgenden beiden Methoden zur Verfügung:" -#: ../../reference/datamodel.rst:1334 +#: ../../reference/datamodel.rst:1339 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -2172,7 +2180,7 @@ msgstr "" "bei der Instanziierung der Klasse aufgerufen, und ihr Ergebnis wird " "in :attr:`~type.__mro__` gespeichert." -#: ../../reference/datamodel.rst:1340 +#: ../../reference/datamodel.rst:1345 msgid "" "Each class keeps a list of weak references to its immediate subclasses. This " "method returns a list of all those references still alive. The list is in " @@ -2183,7 +2191,7 @@ msgstr "" "Referenzen zurück. Die Liste ist in der Reihenfolge der Definitionen " "sortiert. Beispiel:" -#: ../../reference/datamodel.rst:1344 +#: ../../reference/datamodel.rst:1349 msgid "" ">>> class A: pass\n" ">>> class B(A): pass\n" @@ -2195,11 +2203,11 @@ msgstr "" ">>> A.__subclasses__()\n" "[]" -#: ../../reference/datamodel.rst:1352 +#: ../../reference/datamodel.rst:1357 msgid "Class instances" msgstr "Klasseninstanzen" -#: ../../reference/datamodel.rst:1360 +#: ../../reference/datamodel.rst:1365 msgid "" "A class instance is created by calling a class object (see above). A class " "instance has a namespace implemented as a dictionary which is the first " @@ -2232,7 +2240,7 @@ msgstr "" "verfügt die Klasse des Objekts über eine :meth:`~object.__getattr__`-" "Methode, wird diese aufgerufen, um die Suche durchzuführen." -#: ../../reference/datamodel.rst:1376 +#: ../../reference/datamodel.rst:1381 msgid "" "Attribute assignments and deletions update the instance's dictionary, never " "a class's dictionary. If the class has a :meth:`~object.__setattr__` " @@ -2245,7 +2253,7 @@ msgstr "" "„ :meth:`~object.__delattr__` “, wird diese aufgerufen, anstatt das " "Instanzwörterbuch direkt zu aktualisieren." -#: ../../reference/datamodel.rst:1386 +#: ../../reference/datamodel.rst:1391 msgid "" "Class instances can pretend to be numbers, sequences, or mappings if they " "have methods with certain special names. See section :ref:`specialnames`." @@ -2254,11 +2262,11 @@ msgstr "" "ausgeben, wenn sie Methoden mit bestimmten speziellen Namen besitzen. Siehe " "Abschnitt „ :ref:`specialnames` “." -#: ../../reference/datamodel.rst:1398 +#: ../../reference/datamodel.rst:1403 msgid "The class to which a class instance belongs." msgstr "Die Klasse, zu der eine Klasseninstanz gehört." -#: ../../reference/datamodel.rst:1402 +#: ../../reference/datamodel.rst:1407 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes. Not all instances have a :attr:`!__dict__` attribute; see the " @@ -2269,11 +2277,11 @@ msgstr "" "Instanzen verfügen über ein „ :attr:`!__dict__` “-Attribut. Weitere " "Informationen findest du im Abschnitt „ :ref:`slots` “." -#: ../../reference/datamodel.rst:1408 +#: ../../reference/datamodel.rst:1413 msgid "I/O objects (also known as file objects)" msgstr "E/A-Objekte (auch als Datei-Objekte bezeichnet)" -#: ../../reference/datamodel.rst:1423 +#: ../../reference/datamodel.rst:1428 msgid "" "A :term:`file object` represents an open file. Various shortcuts are " "available to create file objects: the :func:`open` built-in function, and " @@ -2289,7 +2297,7 @@ msgstr "" "auch andere Funktionen oder Methoden, die von Erweiterungsmodulen " "bereitgestellt werden)." -#: ../../reference/datamodel.rst:1429 +#: ../../reference/datamodel.rst:1434 msgid "" "File objects implement common methods, listed below, to simplify usage in " "generic code. They are expected to be :ref:`context-managers`." @@ -2298,7 +2306,7 @@ msgstr "" "die Verwendung in generischem Code zu vereinfachen. Es wird erwartet, dass " "sie „ :ref:`context-managers` “ sind." -#: ../../reference/datamodel.rst:1432 +#: ../../reference/datamodel.rst:1437 msgid "" "The objects ``sys.stdin``, ``sys.stdout`` and ``sys.stderr`` are initialized " "to file objects corresponding to the interpreter's standard input, output " @@ -2311,7 +2319,7 @@ msgstr "" "Textmodus geöffnet und folgen daher der durch die abstrakte Klasse " "„ :class:`io.TextIOBase` “ definierten Schnittstelle." -#: ../../reference/datamodel.rst:1440 +#: ../../reference/datamodel.rst:1445 msgid "" "Retrieve up to *size* data from the file. As a convenience if *size* is " "unspecified or -1 retrieve all data available." @@ -2320,19 +2328,19 @@ msgstr "" "den Wert -1 hat, werden der Einfachheit halber alle verfügbaren Daten " "geladen." -#: ../../reference/datamodel.rst:1445 +#: ../../reference/datamodel.rst:1450 msgid "Store *data* to the file." msgstr "*Daten* in der Datei speichern." -#: ../../reference/datamodel.rst:1449 +#: ../../reference/datamodel.rst:1454 msgid "Flush any buffers and close the underlying file." msgstr "Alle Puffer leeren und die zugrunde liegende Datei schließen." -#: ../../reference/datamodel.rst:1453 +#: ../../reference/datamodel.rst:1458 msgid "Internal types" msgstr "Interne Typen" -#: ../../reference/datamodel.rst:1459 +#: ../../reference/datamodel.rst:1464 msgid "" "A few types used internally by the interpreter are exposed to the user. " "Their definitions may change with future versions of the interpreter, but " @@ -2342,11 +2350,11 @@ msgstr "" "Verfügung. Ihre Definitionen können sich in zukünftigen Versionen des " "Interpreter ändern, werden hier jedoch der Vollständigkeit halber aufgeführt." -#: ../../reference/datamodel.rst:1467 +#: ../../reference/datamodel.rst:1472 msgid "Code objects" msgstr "Code-Objekte" -#: ../../reference/datamodel.rst:1471 +#: ../../reference/datamodel.rst:1476 msgid "" "Code objects represent *byte-compiled* executable Python code, " "or :term:`bytecode`. The difference between a code object and a function " @@ -2369,15 +2377,15 @@ msgstr "" "unveränderlich und enthalten keine (direkten oder indirekten) Verweise auf " "veränderbare Objekte." -#: ../../reference/datamodel.rst:1504 +#: ../../reference/datamodel.rst:1509 msgid "The function name" msgstr "Der Funktionsname" -#: ../../reference/datamodel.rst:1507 +#: ../../reference/datamodel.rst:1512 msgid "The fully qualified function name" msgstr "Der vollqualifizierte Funktionsname" -#: ../../reference/datamodel.rst:1512 +#: ../../reference/datamodel.rst:1517 msgid "" "The total number of positional :term:`parameters ` (including " "positional-only parameters and parameters with default values) that the " @@ -2387,7 +2395,7 @@ msgstr "" "(einschließlich rein positioneller Parameter und Parameter mit " "Standardwerten), über die die Funktion verfügt" -#: ../../reference/datamodel.rst:1517 +#: ../../reference/datamodel.rst:1522 msgid "" "The number of positional-only :term:`parameters ` (including " "arguments with default values) that the function has" @@ -2395,7 +2403,7 @@ msgstr "" "Die Anzahl der rein positionellen :term:`Parameter ` " "(einschließlich Argumente mit Standardwerten), über die die Funktion verfügt" -#: ../../reference/datamodel.rst:1521 +#: ../../reference/datamodel.rst:1526 msgid "" "The number of keyword-only :term:`parameters ` (including " "arguments with default values) that the function has" @@ -2403,7 +2411,7 @@ msgstr "" "Die Anzahl der Keyword-only-:term:`Parameter ` (einschließlich " "Argumenten mit Standardwerten), über die die Funktion verfügt" -#: ../../reference/datamodel.rst:1525 +#: ../../reference/datamodel.rst:1530 msgid "" "The number of :ref:`local variables ` used by the function " "(including parameters)" @@ -2411,7 +2419,7 @@ msgstr "" "Die Anzahl der von der Funktion verwendeten :ref:`lokalen Variablen " "` (einschließlich Parameter)" -#: ../../reference/datamodel.rst:1529 +#: ../../reference/datamodel.rst:1534 msgid "" "A :class:`tuple` containing the names of the local variables in the function " "(starting with the parameter names)" @@ -2419,7 +2427,7 @@ msgstr "" "Ein :class:`tuple`, der die Namen der lokalen Variablen in der Funktion " "enthält (beginnend mit den Parameternamen)" -#: ../../reference/datamodel.rst:1533 +#: ../../reference/datamodel.rst:1538 msgid "" "A :class:`tuple` containing the names of :ref:`local variables ` " "that are referenced from at least one :term:`nested scope` inside the " @@ -2429,7 +2437,7 @@ msgstr "" "enthält, auf die von mindestens einem :term:`verschachtelten " "Gültigkeitsbereich ` innerhalb der Funktion verwiesen wird" -#: ../../reference/datamodel.rst:1537 +#: ../../reference/datamodel.rst:1542 msgid "" "A :class:`tuple` containing the names of :term:`free (closure) variables " "` that a :term:`nested scope` references in an outer " @@ -2440,12 +2448,12 @@ msgstr "" "Gültigkeitsbereich ` in einem äußeren Gültigkeitsbereich " "verweist. Siehe auch :attr:`function.__closure__`." -#: ../../reference/datamodel.rst:1541 +#: ../../reference/datamodel.rst:1546 msgid "Note: references to global and builtin names are *not* included." msgstr "" "Hinweis: Verweise auf globale und integrierte Namen sind *nicht* enthalten." -#: ../../reference/datamodel.rst:1544 +#: ../../reference/datamodel.rst:1549 msgid "" "A string representing the sequence of :term:`bytecode` instructions in the " "function" @@ -2453,7 +2461,7 @@ msgstr "" "Eine Zeichenkette, die die Abfolge der :term:`Bytecode `-Befehle " "in der Funktion darstellt" -#: ../../reference/datamodel.rst:1548 +#: ../../reference/datamodel.rst:1553 msgid "" "A :class:`tuple` containing the literals used by the :term:`bytecode` in the " "function" @@ -2461,7 +2469,7 @@ msgstr "" "Ein :class:`tuple`, der die vom :term:`Bytecode ` in der Funktion " "verwendeten Literale enthält" -#: ../../reference/datamodel.rst:1552 +#: ../../reference/datamodel.rst:1557 msgid "" "A :class:`tuple` containing the names used by the :term:`bytecode` in the " "function" @@ -2469,15 +2477,15 @@ msgstr "" "Ein :class:`tuple`, der die Namen enthält, die vom :term:`Bytecode " "` in der Funktion verwendet werden" -#: ../../reference/datamodel.rst:1556 +#: ../../reference/datamodel.rst:1561 msgid "The name of the file from which the code was compiled" msgstr "Der Name der Datei, aus der der Code kompiliert wurde" -#: ../../reference/datamodel.rst:1559 +#: ../../reference/datamodel.rst:1564 msgid "The line number of the first line of the function" msgstr "Die Zeilennummer der ersten Zeile der Funktion" -#: ../../reference/datamodel.rst:1562 +#: ../../reference/datamodel.rst:1567 msgid "" "A :class:`bytes` object containing encoded source location information. The " "exact format is an implementation detail and may change between Python " @@ -2493,18 +2501,18 @@ msgstr "" "und :meth:`~codeobject.co_positions`. Um eine veränderte Kopie eines Code-" "Objekts zu erzeugen, verwende :meth:`~codeobject.replace`." -#: ../../reference/datamodel.rst:1572 +#: ../../reference/datamodel.rst:1577 msgid "The required stack size of the code object" msgstr "Die erforderliche Stackgröße des Code-Objekts" -#: ../../reference/datamodel.rst:1575 +#: ../../reference/datamodel.rst:1580 msgid "" "An :class:`integer ` encoding a number of flags for the interpreter." msgstr "" "Eine :class:`integer- `, die eine Reihe von Flags für den Interpreter " "kodiert." -#: ../../reference/datamodel.rst:1580 +#: ../../reference/datamodel.rst:1585 msgid "" "The following flag bits are defined for :attr:`~codeobject.co_flags`: bit " "``0x04`` is set if the function uses the ``*arguments`` syntax to accept an " @@ -2523,7 +2531,7 @@ msgstr "" "Informationen zur Semantik der einzelnen möglicherweise vorhandenen Flags " "findest du unter :ref:`inspect-module-co-flags`." -#: ../../reference/datamodel.rst:1588 +#: ../../reference/datamodel.rst:1593 msgid "" "Future feature declarations (for example, ``from __future__ import " "division``) also use bits in :attr:`~codeobject.co_flags` to indicate " @@ -2535,14 +2543,14 @@ msgstr "" "anzugeben, ob ein Codeobjekt mit einer bestimmten Funktion kompiliert wurde. " "Siehe :attr:`~__future__._Feature.compiler_flag`." -#: ../../reference/datamodel.rst:1592 +#: ../../reference/datamodel.rst:1597 msgid "" "Other bits in :attr:`~codeobject.co_flags` are reserved for internal use." msgstr "" "Die übrigen Bits in „ :attr:`~codeobject.co_flags` “ sind für den internen " "Gebrauch reserviert." -#: ../../reference/datamodel.rst:1596 +#: ../../reference/datamodel.rst:1601 msgid "" "If a code object represents a function and has a docstring, " "the :data:`~inspect.CO_HAS_DOCSTRING` bit is set " @@ -2554,11 +2562,11 @@ msgstr "" "„ :attr:`~codeobject.co_flags` “ gesetzt, und der erste Eintrag in " "„ :attr:`~codeobject.co_consts` “ ist der Docstring der Funktion." -#: ../../reference/datamodel.rst:1602 +#: ../../reference/datamodel.rst:1607 msgid "Methods on code objects" msgstr "Methoden für Code-Objekte" -#: ../../reference/datamodel.rst:1606 +#: ../../reference/datamodel.rst:1611 msgid "" "Returns an iterable over the source code positions of each :term:`bytecode` " "instruction in the code object." @@ -2566,7 +2574,7 @@ msgstr "" "Gibt eine iterierbare Struktur zurück, die die Positionen der " "einzelnen :term:`bytecode`-Anweisungen im Code-Objekt enthält." -#: ../../reference/datamodel.rst:1609 +#: ../../reference/datamodel.rst:1614 msgid "" "The iterator returns :class:`tuple`\\s containing the ``(start_line, " "end_line, start_column, end_column)``. The *i-th* tuple corresponds to the " @@ -2579,7 +2587,7 @@ msgstr "" "Die Spaltenangaben sind 0-indizierte UTF-8-Byte-Offsets in der angegebenen " "Quellcodezeile." -#: ../../reference/datamodel.rst:1615 +#: ../../reference/datamodel.rst:1620 msgid "" "This positional information can be missing. A non-exhaustive lists of cases " "where this may happen:" @@ -2587,22 +2595,22 @@ msgstr "" "Diese Positionsangaben können fehlen. Hier eine nicht erschöpfende Liste von " "Fällen, in denen dies vorkommen kann:" -#: ../../reference/datamodel.rst:1618 +#: ../../reference/datamodel.rst:1623 msgid "Running the interpreter with :option:`-X` ``no_debug_ranges``." msgstr "Den Interpreter mit „ :option:`-X` “ ausführen ``no_debug_ranges``." -#: ../../reference/datamodel.rst:1619 +#: ../../reference/datamodel.rst:1624 msgid "" "Loading a pyc file compiled while using :option:`-X` ``no_debug_ranges``." msgstr "" "Laden einer PYC-Datei, die mit :option:`-X` ``no_debug_ranges`` kompiliert " "wurde." -#: ../../reference/datamodel.rst:1620 +#: ../../reference/datamodel.rst:1625 msgid "Position tuples corresponding to artificial instructions." msgstr "Ordne die Tupel den künstlichen Befehlen zu." -#: ../../reference/datamodel.rst:1621 +#: ../../reference/datamodel.rst:1626 msgid "" "Line and column numbers that can't be represented due to implementation " "specific limitations." @@ -2610,14 +2618,14 @@ msgstr "" "Zeilen- und Spaltennummern, die aufgrund implementierungsspezifischer " "Einschränkungen nicht dargestellt werden können." -#: ../../reference/datamodel.rst:1624 +#: ../../reference/datamodel.rst:1629 msgid "" "When this occurs, some or all of the tuple elements can be :const:`None`." msgstr "" "In diesem Fall können einige oder alle Elemente des Tupels „ :const:`None` " "“ sein." -#: ../../reference/datamodel.rst:1630 +#: ../../reference/datamodel.rst:1635 msgid "" "This feature requires storing column positions in code objects which may " "result in a small increase of disk usage of compiled Python files or " @@ -2635,7 +2643,7 @@ msgstr "" "“ ( ``no_debug_ranges`` ) oder die Umgebungsvariable " "„ :envvar:`PYTHONNODEBUGRANGES` “ verwendet werden." -#: ../../reference/datamodel.rst:1639 +#: ../../reference/datamodel.rst:1644 msgid "" "Returns an iterator that yields information about successive ranges " "of :term:`bytecode`\\s. Each item yielded is a ``(start, end, " @@ -2645,7 +2653,7 @@ msgstr "" "Bereiche von :term:`bytecode` liefert. Jedes zurückgegebene Element ist ein " "``(start, end, lineno)`` :class:`tuple` :" -#: ../../reference/datamodel.rst:1643 +#: ../../reference/datamodel.rst:1648 msgid "" "``start`` (an :class:`int`) represents the offset (inclusive) of the start " "of the :term:`bytecode` range" @@ -2653,7 +2661,7 @@ msgstr "" "``start`` (ein :class:`int`) stellt den Offset (einschließlich) des Anfangs " "des :term:`Bytecode `-Bereichs dar" -#: ../../reference/datamodel.rst:1645 +#: ../../reference/datamodel.rst:1650 msgid "" "``end`` (an :class:`int`) represents the offset (exclusive) of the end of " "the :term:`bytecode` range" @@ -2661,7 +2669,7 @@ msgstr "" "``end`` (ein :class:`int`) stellt den Offset (exklusiv) vom Ende " "des :term:`Bytecode `-Bereichs dar" -#: ../../reference/datamodel.rst:1647 +#: ../../reference/datamodel.rst:1652 msgid "" "``lineno`` is an :class:`int` representing the line number of " "the :term:`bytecode` range, or ``None`` if the bytecodes in the given range " @@ -2671,15 +2679,15 @@ msgstr "" "Bereichs angibt, oder ein ``None``, wenn die Bytecodes im angegebenen " "Bereich keine Zeilennummer haben" -#: ../../reference/datamodel.rst:1651 +#: ../../reference/datamodel.rst:1656 msgid "The items yielded will have the following properties:" msgstr "Die erzeugten Elemente weisen folgende Eigenschaften auf:" -#: ../../reference/datamodel.rst:1653 +#: ../../reference/datamodel.rst:1658 msgid "The first range yielded will have a ``start`` of 0." msgstr "Der erste ermittelte Wertebereich weist einen „ ``start`` “ von 0 auf." -#: ../../reference/datamodel.rst:1654 +#: ../../reference/datamodel.rst:1659 msgid "" "The ``(start, end)`` ranges will be non-decreasing and consecutive. That is, " "for any pair of :class:`tuple`\\s, the ``start`` of the second will be equal " @@ -2689,12 +2697,12 @@ msgstr "" "Das heißt, für jedes Paar :class:`tuple`\\s gilt: Die ``start`` des zweiten " "ist gleich der ``end`` des ersten." -#: ../../reference/datamodel.rst:1657 +#: ../../reference/datamodel.rst:1662 msgid "No range will be backwards: ``end >= start`` for all triples." msgstr "" "Kein Bereich wird rückwärts verlaufen: ``end >= start`` für alle Tripel." -#: ../../reference/datamodel.rst:1658 +#: ../../reference/datamodel.rst:1663 msgid "" "The last :class:`tuple` yielded will have ``end`` equal to the size of " "the :term:`bytecode`." @@ -2702,7 +2710,7 @@ msgstr "" "Der zuletzt zurückgegebene Wert von :class:`tuple` hat einen Wert für " "``end``, der der Größe des :term:`Bytecodes ` entspricht." -#: ../../reference/datamodel.rst:1661 +#: ../../reference/datamodel.rst:1666 msgid "" "Zero-width ranges, where ``start == end``, are allowed. Zero-width ranges " "are used for lines that are present in the source code, but have been " @@ -2712,34 +2720,34 @@ msgstr "" "mit der Breite Null werden für Zeilen verwendet, die im Quellcode vorhanden " "sind, aber vom :term:`Bytecode `-Compiler entfernt wurden." -#: ../../reference/datamodel.rst:1669 +#: ../../reference/datamodel.rst:1674 msgid ":pep:`626` - Precise line numbers for debugging and other tools." msgstr "" ":pep:`626` - Genaue Zeilennummern für die Fehlersuche und andere Tools." -#: ../../reference/datamodel.rst:1670 +#: ../../reference/datamodel.rst:1675 msgid "The PEP that introduced the :meth:`!co_lines` method." msgstr "Der PEP, mit dem die Methode „ :meth:`!co_lines` “ eingeführt wurde." -#: ../../reference/datamodel.rst:1674 +#: ../../reference/datamodel.rst:1679 msgid "" "Return a copy of the code object with new values for the specified fields." msgstr "" "Gibt eine Kopie des Code-Objekts mit neuen Werten für die angegebenen Felder " "zurück." -#: ../../reference/datamodel.rst:1676 +#: ../../reference/datamodel.rst:1681 msgid "" "Code objects are also supported by the generic function :func:`copy.replace`." msgstr "" "Code-Objekte werden auch von der generischen Funktion „ :func:`copy.replace` " "“ unterstützt." -#: ../../reference/datamodel.rst:1684 +#: ../../reference/datamodel.rst:1689 msgid "Frame objects" msgstr "Rahmenobjekte" -#: ../../reference/datamodel.rst:1688 +#: ../../reference/datamodel.rst:1693 msgid "" "Frame objects represent execution frames. They may occur in :ref:`traceback " "objects `, and are also passed to registered trace " @@ -2749,7 +2757,7 @@ msgstr "" "Objekten ` vorkommen und werden zudem an registrierte " "Trace-Funktionen übergeben." -#: ../../reference/datamodel.rst:1707 +#: ../../reference/datamodel.rst:1712 msgid "" "Points to the previous stack frame (towards the caller), or ``None`` if this " "is the bottom stack frame" @@ -2757,7 +2765,7 @@ msgstr "" "Verweist auf den vorherigen Stack-Frame (in Richtung des Aufrufers) oder auf " "``None``, wenn dies der unterste Stack-Frame ist" -#: ../../reference/datamodel.rst:1711 +#: ../../reference/datamodel.rst:1716 msgid "" "The :ref:`code object ` being executed in this frame. " "Accessing this attribute raises an :ref:`auditing event ` " @@ -2767,7 +2775,7 @@ msgstr "" "Der Zugriff auf dieses Attribut löst ein :ref:`Auditing-Ereignis ` " "``object.__getattr__`` mit den Argumenten ``obj`` und ``\"f_code\"`` aus." -#: ../../reference/datamodel.rst:1716 +#: ../../reference/datamodel.rst:1721 msgid "" "The mapping used by the frame to look up :ref:`local variables `. If " "the frame refers to an :term:`optimized scope`, this may return a write-" @@ -2778,18 +2786,18 @@ msgstr "" "Gültigkeitsbereich ` bezieht, kann dies ein Write-Through-" "Proxy-Objekt zurückgeben." -#: ../../reference/datamodel.rst:1721 +#: ../../reference/datamodel.rst:1726 msgid "Return a proxy for optimized scopes." msgstr "Gibt einen Proxy für optimierte Bereiche zurück." -#: ../../reference/datamodel.rst:1725 +#: ../../reference/datamodel.rst:1730 msgid "" "The dictionary used by the frame to look up :ref:`global variables `" msgstr "" "Das Wörterbuch, das vom Frame zum Nachschlagen von :ref:`globalen Variablen " "`" -#: ../../reference/datamodel.rst:1729 +#: ../../reference/datamodel.rst:1734 msgid "" "The dictionary used by the frame to look up :ref:`built-in (intrinsic) names " "`" @@ -2797,7 +2805,7 @@ msgstr "" "Das vom Frame zum Nachschlagen verwendete Wörterbuch: :ref:`integrierte " "(intrinsische) Namen `" -#: ../../reference/datamodel.rst:1733 +#: ../../reference/datamodel.rst:1738 msgid "" "The \"precise instruction\" of the frame object (this is an index into " "the :term:`bytecode` string of the :ref:`code object `)" @@ -2806,7 +2814,7 @@ msgstr "" "die :term:`Bytecode `-Zeichenkette des :ref:`Code-Objekts `)" -#: ../../reference/datamodel.rst:1738 +#: ../../reference/datamodel.rst:1743 msgid "" "The :term:`generator` or :term:`coroutine` object that owns this frame, or " "``None`` if the frame is a normal function." @@ -2815,7 +2823,7 @@ msgstr "" "gehört, oder ``None``, wenn es sich bei dem Frame um eine normale Funktion " "handelt." -#: ../../reference/datamodel.rst:1755 +#: ../../reference/datamodel.rst:1760 msgid "" "If not ``None``, this is a function called for various events during code " "execution (this is used by debuggers). Normally an event is triggered for " @@ -2826,7 +2834,7 @@ msgstr "" "wird von Debuggern genutzt). Normalerweise wird für jede neue Quellcodezeile " "ein Ereignis ausgelöst (siehe :attr:`~frame.f_trace_lines`)." -#: ../../reference/datamodel.rst:1760 +#: ../../reference/datamodel.rst:1765 msgid "" "Set this attribute to :const:`False` to disable triggering a tracing event " "for each source line." @@ -2834,7 +2842,7 @@ msgstr "" "Setze dieses Attribut auf „ :const:`False` “, um die Auslösung eines Trace-" "Ereignisses für jede Quellcodezeile zu deaktivieren." -#: ../../reference/datamodel.rst:1764 +#: ../../reference/datamodel.rst:1769 msgid "" "Set this attribute to :const:`True` to allow per-opcode events to be " "requested. Note that this may lead to undefined interpreter behaviour if " @@ -2845,7 +2853,7 @@ msgstr "" "undefinierten Verhalten des Interpreters führen kann, wenn von der Trace-" "Funktion ausgelöste Ausnahmen in die zu verfolgende Funktion gelangen." -#: ../../reference/datamodel.rst:1770 +#: ../../reference/datamodel.rst:1775 msgid "" "The current line number of the frame -- writing to this from within a trace " "function jumps to the given line (only for the bottom-most frame). A " @@ -2858,15 +2866,15 @@ msgstr "" "„Nächste Anweisung festlegen“) implementieren, indem er in dieses Attribut " "schreibt." -#: ../../reference/datamodel.rst:1776 +#: ../../reference/datamodel.rst:1781 msgid "Frame object methods" msgstr "Methoden von Frame-Objekten" -#: ../../reference/datamodel.rst:1778 +#: ../../reference/datamodel.rst:1783 msgid "Frame objects support one method:" msgstr "Frame-Objekte unterstützen eine Methode:" -#: ../../reference/datamodel.rst:1782 +#: ../../reference/datamodel.rst:1787 msgid "" "This method clears all references to :ref:`local variables ` held by " "the frame. Also, if the frame belonged to a :term:`generator`, the " @@ -2882,7 +2890,7 @@ msgstr "" "dem Speichern ihres :ref:`Tracebacks ` für die spätere " "Verwendung)." -#: ../../reference/datamodel.rst:1788 +#: ../../reference/datamodel.rst:1793 msgid "" ":exc:`RuntimeError` is raised if the frame is currently executing or " "suspended." @@ -2890,7 +2898,7 @@ msgstr "" ":exc:`RuntimeError` wird ausgelöst, wenn der Frame gerade ausgeführt wird " "oder angehalten ist." -#: ../../reference/datamodel.rst:1793 +#: ../../reference/datamodel.rst:1798 msgid "" "Attempting to clear a suspended frame raises :exc:`RuntimeError` (as has " "always been the case for executing frames)." @@ -2899,11 +2907,11 @@ msgstr "" "„ :exc:`RuntimeError` “-Ausnahme aus (wie dies bei der Ausführung von Frames " "schon immer der Fall war)." -#: ../../reference/datamodel.rst:1801 +#: ../../reference/datamodel.rst:1806 msgid "Traceback objects" msgstr "Traceback-Objekte" -#: ../../reference/datamodel.rst:1814 +#: ../../reference/datamodel.rst:1819 msgid "" "Traceback objects represent the stack trace of an :ref:`exception `. A traceback object is implicitly created when an exception occurs, " @@ -2914,12 +2922,12 @@ msgstr "" "auftritt, und kann auch explizit durch den Aufruf " "von :class:`types.TracebackType` erstellt werden." -#: ../../reference/datamodel.rst:1819 +#: ../../reference/datamodel.rst:1824 msgid "Traceback objects can now be explicitly instantiated from Python code." msgstr "" "Traceback-Objekte können nun explizit aus Python-Code instanziiert werden." -#: ../../reference/datamodel.rst:1822 +#: ../../reference/datamodel.rst:1827 msgid "" "For implicitly created tracebacks, when the search for an exception handler " "unwinds the execution stack, at each unwound level a traceback object is " @@ -2938,7 +2946,7 @@ msgstr "" "sowie als Attribut :attr:`~BaseException.__traceback__` der abgefangenen " "Ausnahme zugänglich." -#: ../../reference/datamodel.rst:1831 +#: ../../reference/datamodel.rst:1836 msgid "" "When the program contains no suitable handler, the stack trace is written " "(nicely formatted) to the standard error stream; if the interpreter is " @@ -2950,7 +2958,7 @@ msgstr "" "Interpreter interaktiv, wird er dem Benutzer zudem " "unter :data:`sys.last_traceback` zur Verfügung gestellt." -#: ../../reference/datamodel.rst:1836 +#: ../../reference/datamodel.rst:1841 msgid "" "For explicitly created tracebacks, it is up to the creator of the traceback " "to determine how the :attr:`~traceback.tb_next` attributes should be linked " @@ -2960,14 +2968,14 @@ msgstr "" "entscheiden, wie die Attribute „ :attr:`~traceback.tb_next` “ miteinander " "verknüpft werden sollen, um einen vollständigen Stack-Trace zu bilden." -#: ../../reference/datamodel.rst:1851 +#: ../../reference/datamodel.rst:1856 msgid "" "Points to the execution :ref:`frame ` of the current level." msgstr "" "Verweist auf den Ausführungs-:ref:`Frame ` des aktuellen " "Levels." -#: ../../reference/datamodel.rst:1854 +#: ../../reference/datamodel.rst:1859 msgid "" "Accessing this attribute raises an :ref:`auditing event ` " "``object.__getattr__`` with arguments ``obj`` and ``\"tb_frame\"``." @@ -2976,15 +2984,15 @@ msgstr "" "“ ``object.__getattr__`` mit den Argumenten „ ``obj`` “ und " "„ ``\"tb_frame\"`` “ aus." -#: ../../reference/datamodel.rst:1859 +#: ../../reference/datamodel.rst:1864 msgid "Gives the line number where the exception occurred" msgstr "Gibt die Zeilennummer an, an der die Ausnahme aufgetreten ist" -#: ../../reference/datamodel.rst:1862 +#: ../../reference/datamodel.rst:1867 msgid "Indicates the \"precise instruction\"." msgstr "Bezeichnet die „genaue Anweisung“." -#: ../../reference/datamodel.rst:1864 +#: ../../reference/datamodel.rst:1869 msgid "" "The line number and last instruction in the traceback may differ from the " "line number of its :ref:`frame object ` if the exception " @@ -2996,7 +3004,7 @@ msgstr "" "wenn die Ausnahme in einer :keyword:`try`-Anweisung ohne entsprechende " "except-Klausel oder mit einer :keyword:`finally`-Klausel aufgetreten ist." -#: ../../reference/datamodel.rst:1875 +#: ../../reference/datamodel.rst:1880 msgid "" "The special writable attribute :attr:`!tb_next` is the next level in the " "stack trace (towards the frame where the exception occurred), or ``None`` if " @@ -3006,15 +3014,15 @@ msgstr "" "nächste Ebene im Stack-Trace (in Richtung des Frames, in dem die Ausnahme " "aufgetreten ist) oder „ ``None`` “, falls es keine nächste Ebene gibt." -#: ../../reference/datamodel.rst:1879 +#: ../../reference/datamodel.rst:1884 msgid "This attribute is now writable" msgstr "Dieses Attribut ist nun beschreibbar." -#: ../../reference/datamodel.rst:1884 +#: ../../reference/datamodel.rst:1889 msgid "Slice objects" msgstr "Objekte zerschneiden" -#: ../../reference/datamodel.rst:1888 +#: ../../reference/datamodel.rst:1893 msgid "" "Slice objects are used to represent slices for :meth:`~object.__getitem__` " "methods. They are also created by the built-in :func:`slice` function." @@ -3023,7 +3031,7 @@ msgstr "" "„ :meth:`~object.__getitem__` “. Sie werden außerdem durch die integrierte " "Funktion „ :func:`slice` “ erstellt." -#: ../../reference/datamodel.rst:1894 +#: ../../reference/datamodel.rst:1899 msgid "" "The :func:`slice` type now supports :ref:`subscription `. For " "example, ``slice[float]`` may be used in type annotations to indicate a " @@ -3033,7 +3041,7 @@ msgstr "" "lässt sich zum Beispiel ``slice[float]`` in Typannotationen verwenden, um " "ein Slice zu bezeichnen, das :type:`float`-Objekte enthält." -#: ../../reference/datamodel.rst:1903 +#: ../../reference/datamodel.rst:1908 msgid "" "Special read-only attributes: :attr:`~slice.start` is the lower " "bound; :attr:`~slice.stop` is the upper bound; :attr:`~slice.step` is the " @@ -3044,11 +3052,11 @@ msgstr "" "„ :attr:`~slice.step` “ ist der Schrittwert. Bei Auslassung gilt jeweils " "„ ``None`` “. Diese Attribute können einen beliebigen Typ haben." -#: ../../reference/datamodel.rst:1907 +#: ../../reference/datamodel.rst:1912 msgid "Slice objects support one method:" msgstr "Slice-Objekte unterstützen eine Methode:" -#: ../../reference/datamodel.rst:1911 +#: ../../reference/datamodel.rst:1916 msgid "" "This method takes a single integer argument *length* and computes " "information about the slice that the slice object would describe if applied " @@ -3066,11 +3074,11 @@ msgstr "" "Bereichs liegende Indizes werden auf dieselbe Weise behandelt wie bei " "regulären Slices." -#: ../../reference/datamodel.rst:1920 +#: ../../reference/datamodel.rst:1925 msgid "Static method objects" msgstr "Statische Methodenobjekte" -#: ../../reference/datamodel.rst:1922 +#: ../../reference/datamodel.rst:1927 msgid "" "Static method objects provide a way of defeating the transformation of " "function objects to method objects described above. A static method object " @@ -3090,11 +3098,11 @@ msgstr "" "Statische Methodenobjekte werden mit dem integrierten " "Konstruktor :func:`staticmethod` erstellt." -#: ../../reference/datamodel.rst:1932 +#: ../../reference/datamodel.rst:1937 msgid "Class method objects" msgstr "Klassenmethodenobjekte" -#: ../../reference/datamodel.rst:1934 +#: ../../reference/datamodel.rst:1939 msgid "" "A class method object, like a static method object, is a wrapper around " "another object that alters the way in which that object is retrieved from " @@ -3111,11 +3119,11 @@ msgstr "" "Klassenmethodenobjekte werden mit dem integrierten " "Konstruktor :func:`classmethod` erstellt." -#: ../../reference/datamodel.rst:1944 +#: ../../reference/datamodel.rst:1949 msgid "Special method names" msgstr "Spezielle Methodennamen" -#: ../../reference/datamodel.rst:1950 +#: ../../reference/datamodel.rst:1955 msgid "" "A class can implement certain operations that are invoked by special syntax " "(such as arithmetic operations or subscripting and slicing) by defining " @@ -3140,7 +3148,7 @@ msgstr "" "eine Ausnahme aus, wenn keine entsprechende Methode definiert ist " "(typischerweise :exc:`AttributeError` oder :exc:`TypeError`)." -#: ../../reference/datamodel.rst:1961 +#: ../../reference/datamodel.rst:1966 msgid "" "Setting a special method to ``None`` indicates that the corresponding " "operation is not available. For example, if a class " @@ -3155,7 +3163,7 @@ msgstr "" "„ :func:`iter` “ für ihre Instanzen eine Ausnahme vom Typ „ :exc:`TypeError` " "“ auslöst (ohne auf „ :meth:`~object.__getitem__` “ zurückzugreifen). [#]_" -#: ../../reference/datamodel.rst:1967 +#: ../../reference/datamodel.rst:1972 msgid "" "When implementing a class that emulates any built-in type, it is important " "that the emulation only be implemented to the degree that it makes sense for " @@ -3172,11 +3180,11 @@ msgstr "" "die :ref:`NodeList- `-Schnittstelle im Document Object " "Model des W3C.)" -#: ../../reference/datamodel.rst:1978 +#: ../../reference/datamodel.rst:1983 msgid "Basic customization" msgstr "Grundlegende Anpassungen" -#: ../../reference/datamodel.rst:1984 +#: ../../reference/datamodel.rst:1989 msgid "" "Called to create a new instance of class *cls*. :meth:`__new__` is a static " "method (special-cased so you need not declare it as such) that takes the " @@ -3194,7 +3202,7 @@ msgstr "" "von :meth:`__new__` sollte die neue Objektinstanz sein, üblicherweise eine " "Instanz von *cls*." -#: ../../reference/datamodel.rst:1991 +#: ../../reference/datamodel.rst:1996 msgid "" "Typical implementations create a new instance of the class by invoking the " "superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " @@ -3207,7 +3215,7 @@ msgstr "" "aufgerufen wird. Anschließend wird die neu erstellte Instanz nach Bedarf " "angepasst, bevor sie zurückgegeben wird." -#: ../../reference/datamodel.rst:1996 +#: ../../reference/datamodel.rst:2001 msgid "" "If :meth:`__new__` is invoked during object construction and it returns an " "instance of *cls*, then the new instance’s :meth:`__init__` method will be " @@ -3221,7 +3229,7 @@ msgstr "" "*self* die neue Instanz ist und die übrigen Argumente mit denen " "übereinstimmen, die an den Objektkonstruktor übergeben wurden." -#: ../../reference/datamodel.rst:2001 +#: ../../reference/datamodel.rst:2006 msgid "" "If :meth:`__new__` does not return an instance of *cls*, then the new " "instance's :meth:`__init__` method will not be invoked." @@ -3229,7 +3237,7 @@ msgstr "" "Wenn „ :meth:`__new__` “ keine Instanz von *cls* zurückgibt, wird die " "Methode „ :meth:`__init__` “ der neuen Instanz nicht aufgerufen." -#: ../../reference/datamodel.rst:2004 +#: ../../reference/datamodel.rst:2009 msgid "" ":meth:`__new__` is intended mainly to allow subclasses of immutable types " "(like int, str, or tuple) to customize instance creation. It is also " @@ -3242,7 +3250,7 @@ msgstr "" "benutzerdefinierten Metaklassen überschrieben, um die Klassenerstellung " "anzupassen." -#: ../../reference/datamodel.rst:2013 +#: ../../reference/datamodel.rst:2018 msgid "" "Called after the instance has been created (by :meth:`__new__`), but before " "it is returned to the caller. The arguments are those passed to the class " @@ -3260,7 +3268,7 @@ msgstr "" "Teils der Instanz sicherzustellen. Zum Beispiel: " "``super().__init__([args...])``." -#: ../../reference/datamodel.rst:2020 +#: ../../reference/datamodel.rst:2025 msgid "" "Because :meth:`__new__` and :meth:`__init__` work together in constructing " "objects (:meth:`__new__` to create it, and :meth:`__init__` to customize " @@ -3273,7 +3281,7 @@ msgstr "" "zurückgeben, der nicht „``None`` “ ist. Andernfalls wird zur Laufzeit eine " "„ :exc:`TypeError` “ ausgelöst." -#: ../../reference/datamodel.rst:2033 +#: ../../reference/datamodel.rst:2038 msgid "" "Called when the instance is about to be destroyed. This is also called a " "finalizer or (improperly) a destructor. If a base class has " @@ -3288,7 +3296,7 @@ msgstr "" "diese explizit aufrufen, um die ordnungsgemäße Löschung des Teils der " "Instanz zu gewährleisten, der zur Basisklasse gehört." -#: ../../reference/datamodel.rst:2039 +#: ../../reference/datamodel.rst:2044 msgid "" "It is possible (though not recommended!) for the :meth:`__del__` method to " "postpone destruction of the instance by creating a new reference to it. " @@ -3305,7 +3313,7 @@ msgstr "" "Zerstörung steht. Die aktuelle :term:`CPython`-Implementierung ruft die " "Funktion nur einmal auf." -#: ../../reference/datamodel.rst:2046 +#: ../../reference/datamodel.rst:2051 msgid "" "It is not guaranteed that :meth:`__del__` methods are called for objects " "that still exist when the interpreter exits. :class:`weakref.finalize` " @@ -3318,7 +3326,7 @@ msgstr "" "Aufräumfunktion zu registrieren, die aufgerufen wird, wenn ein Objekt von " "der Garbage Collection entfernt wird." -#: ../../reference/datamodel.rst:2053 +#: ../../reference/datamodel.rst:2058 msgid "" "``del x`` doesn't directly call ``x.__del__()`` --- the former decrements " "the reference count for ``x`` by one, and the latter is only called when " @@ -3328,7 +3336,7 @@ msgstr "" "die Referenzanzahl für „ ``x`` “ um eins, und Letzteres wird erst " "aufgerufen, wenn die Referenzanzahl von „ ``x`` “ den Wert Null erreicht." -#: ../../reference/datamodel.rst:2058 +#: ../../reference/datamodel.rst:2063 msgid "" "It is possible for a reference cycle to prevent the reference count of an " "object from going to zero. In this case, the cycle will be later detected " @@ -3347,11 +3355,11 @@ msgstr "" "wiederum auf die lokalen Variablen aller im Traceback erfassten Frames " "verweist." -#: ../../reference/datamodel.rst:2068 +#: ../../reference/datamodel.rst:2073 msgid "Documentation for the :mod:`gc` module." msgstr "Dokumentation zum Modul „ :mod:`gc` “." -#: ../../reference/datamodel.rst:2072 +#: ../../reference/datamodel.rst:2077 msgid "" "Due to the precarious circumstances under which :meth:`__del__` methods are " "invoked, exceptions that occur during their execution are ignored, and a " @@ -3362,7 +3370,7 @@ msgstr "" "Ausführung auftreten, ignoriert, und stattdessen wird eine Warnung an " "„ ``sys.stderr`` “ ausgegeben. Insbesondere gilt Folgendes:" -#: ../../reference/datamodel.rst:2076 +#: ../../reference/datamodel.rst:2081 msgid "" ":meth:`__del__` can be invoked when arbitrary code is being executed, " "including from any arbitrary thread. If :meth:`__del__` needs to take a " @@ -3376,7 +3384,7 @@ msgstr "" "einem Deadlock kommen, da die Ressource möglicherweise bereits von dem Code " "belegt ist, der unterbrochen wird, um „ :meth:`__del__` “ auszuführen." -#: ../../reference/datamodel.rst:2082 +#: ../../reference/datamodel.rst:2087 msgid "" ":meth:`__del__` can be executed during interpreter shutdown. As a " "consequence, the global variables it needs to access (including other " @@ -3396,7 +3404,7 @@ msgstr "" "dazu beitragen, sicherzustellen, dass importierte Module zum Zeitpunkt des " "Aufrufs der Methode :meth:`__del__` noch verfügbar sind." -#: ../../reference/datamodel.rst:2097 +#: ../../reference/datamodel.rst:2102 msgid "" "Called by the :func:`repr` built-in function to compute the \"official\" " "string representation of an object. If at all possible, this should look " @@ -3419,7 +3427,7 @@ msgstr "" "verwendet, wenn eine „informelle“ String-Darstellung von Instanzen dieser " "Klasse erforderlich ist." -#: ../../reference/datamodel.rst:2106 +#: ../../reference/datamodel.rst:2111 msgid "" "This is typically used for debugging, so it is important that the " "representation is information-rich and unambiguous. A default implementation " @@ -3430,7 +3438,7 @@ msgstr "" "Standardimplementierung wird von der Klasse „ :class:`object` “ selbst " "bereitgestellt." -#: ../../reference/datamodel.rst:2118 +#: ../../reference/datamodel.rst:2123 msgid "" "Called by :func:`str(object) `, the default :meth:`__format__` " "implementation, and the built-in function :func:`print`, to compute the " @@ -3442,7 +3450,7 @@ msgstr "" "„informelle“ oder gut darstellbare Zeichenfolgendarstellung eines Objekts zu " "berechnen. Der Rückgabewert muss ein :ref:`str `-Objekt sein." -#: ../../reference/datamodel.rst:2123 +#: ../../reference/datamodel.rst:2128 msgid "" "This method differs from :meth:`object.__repr__` in that there is no " "expectation that :meth:`__str__` return a valid Python expression: a more " @@ -3453,7 +3461,7 @@ msgstr "" "Ausdruck zurückgibt: Es kann eine bequemere oder prägnantere Darstellung " "verwendet werden." -#: ../../reference/datamodel.rst:2127 +#: ../../reference/datamodel.rst:2132 msgid "" "The default implementation defined by the built-in type :class:`object` " "calls :meth:`object.__repr__`." @@ -3461,7 +3469,7 @@ msgstr "" "Die durch den integrierten Typ „ :class:`object` “ definierte " "Standardimplementierung ruft „ :meth:`object.__repr__` “ auf." -#: ../../reference/datamodel.rst:2137 +#: ../../reference/datamodel.rst:2142 msgid "" "Called by :ref:`bytes ` to compute a byte-string representation " "of an object. This should return a :class:`bytes` object. " @@ -3472,7 +3480,7 @@ msgstr "" "ein :class:`bytes`-Objekt zurückgeben. Die Klasse :class:`object` selbst " "stellt diese Methode nicht bereit." -#: ../../reference/datamodel.rst:2149 +#: ../../reference/datamodel.rst:2154 msgid "" "Called by the :func:`format` built-in function, and by extension, evaluation " "of :ref:`formatted string literals ` and the :meth:`str.format` " @@ -3493,18 +3501,18 @@ msgstr "" "Formatierung jedoch entweder an einen der integrierten Typen oder verwenden " "eine ähnliche Syntax für Formatierungsoptionen." -#: ../../reference/datamodel.rst:2159 +#: ../../reference/datamodel.rst:2164 msgid "" "See :ref:`formatspec` for a description of the standard formatting syntax." msgstr "" "Eine Beschreibung der Standard-Formatierungssyntax findest du " "unter :ref:`formatspec`." -#: ../../reference/datamodel.rst:2161 +#: ../../reference/datamodel.rst:2166 msgid "The return value must be a string object." msgstr "Der Rückgabewert muss ein String-Objekt sein." -#: ../../reference/datamodel.rst:2163 +#: ../../reference/datamodel.rst:2168 msgid "" "The default implementation by the :class:`object` class should be given an " "empty *format_spec* string. It delegates to :meth:`__str__`." @@ -3513,7 +3521,7 @@ msgstr "" "leere *format_spec*-Zeichenkette übergeben werden. Sie delegiert an " "„ :meth:`__str__` “." -#: ../../reference/datamodel.rst:2166 +#: ../../reference/datamodel.rst:2171 msgid "" "The __format__ method of ``object`` itself raises a :exc:`TypeError` if " "passed any non-empty string." @@ -3521,7 +3529,7 @@ msgstr "" "Die Methode __format__ von ``object`` löst selbst eine :exc:`TypeError` aus, " "wenn ihr eine nicht leere Zeichenkette übergeben wird." -#: ../../reference/datamodel.rst:2170 +#: ../../reference/datamodel.rst:2175 msgid "" "``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than " "``format(str(x), '')``." @@ -3529,7 +3537,7 @@ msgstr "" "``object.__format__(x, '')`` entspricht nun „ ``str(x)`` “ statt " "„ ``format(str(x), '')`` “." -#: ../../reference/datamodel.rst:2186 +#: ../../reference/datamodel.rst:2191 msgid "" "These are the so-called \"rich comparison\" methods. The correspondence " "between operator symbols and method names is as follows: ``xy`` “ ruft „ ``x.__gt__(y)`` “ auf und " "„ ``x>=y`` “ ruft „ ``x.__ge__(y)`` “ auf." -#: ../../reference/datamodel.rst:2192 +#: ../../reference/datamodel.rst:2197 msgid "" "A rich comparison method may return the singleton :data:`NotImplemented` if " "it does not implement the operation for a given pair of arguments. By " @@ -3563,7 +3571,7 @@ msgstr "" "Python :func:`bool` für den Wert auf, um zu bestimmen, ob das Ergebnis wahr " "oder falsch ist." -#: ../../reference/datamodel.rst:2199 +#: ../../reference/datamodel.rst:2204 msgid "" "By default, ``object`` implements :meth:`__eq__` by using ``is``, " "returning :data:`NotImplemented` in the case of a false comparison: ``True " @@ -3587,7 +3595,7 @@ msgstr "" "aus einer einzigen Stammoperation findest du unter " "„ :deco:`functools.total_ordering` “." -#: ../../reference/datamodel.rst:2208 +#: ../../reference/datamodel.rst:2213 msgid "" "By default, the :class:`object` class provides implementations consistent " "with :ref:`expressions-value-comparisons`: equality compares according to " @@ -3602,7 +3610,7 @@ msgstr "" "kann diese Ergebnisse direkt generieren, kann aber auch " "„ :data:`NotImplemented` “ zurückgeben." -#: ../../reference/datamodel.rst:2214 +#: ../../reference/datamodel.rst:2219 msgid "" "See the paragraph on :meth:`__hash__` for some important notes on " "creating :term:`hashable` objects which support custom comparison operations " @@ -3613,7 +3621,7 @@ msgstr "" "Vergleichsoperationen unterstützen und als Schlüssel in Wörterbüchern " "verwendet werden können." -#: ../../reference/datamodel.rst:2218 +#: ../../reference/datamodel.rst:2223 msgid "" "There are no swapped-argument versions of these methods (to be used when the " "left argument does not support the operation but the right argument does); " @@ -3637,7 +3645,7 @@ msgstr "" "Methode des linken Operanden Vorrang. Virtuelle Unterklassen werden nicht " "berücksichtigt." -#: ../../reference/datamodel.rst:2229 +#: ../../reference/datamodel.rst:2234 msgid "" "When no appropriate method returns any value other " "than :data:`NotImplemented`, the ``==`` and ``!=`` operators will fall back " @@ -3647,7 +3655,7 @@ msgstr "" "“ zurückgibt, greifen die Operatoren „ ``==`` “ und „ ``!=`` “ jeweils auf " "„ ``is`` “ bzw. „ ``is not`` “ zurück." -#: ../../reference/datamodel.rst:2238 +#: ../../reference/datamodel.rst:2243 msgid "" "Called by built-in function :func:`hash` and for operations on members of " "hashed collections " @@ -3667,7 +3675,7 @@ msgstr "" "Objekts zu vermischen, die auch beim Vergleich von Objekten eine Rolle " "spielen, indem man sie in ein Tupel packt und dieses Tupel hasht. Beispiel::" -#: ../../reference/datamodel.rst:2246 +#: ../../reference/datamodel.rst:2251 msgid "" "def __hash__(self):\n" " return hash((self.name, self.nick, self.color))" @@ -3675,7 +3683,7 @@ msgstr "" "def __hash__(self):\n" " return hash((self.name, self.nick, self.color))" -#: ../../reference/datamodel.rst:2251 +#: ../../reference/datamodel.rst:2256 msgid "" ":func:`hash` truncates the value returned from an object's " "custom :meth:`__hash__` method to the size of a :c:type:`Py_ssize_t`. This " @@ -3692,7 +3700,7 @@ msgstr "" "allen unterstützten Builds überprüfen. Eine einfache Möglichkeit hierfür ist " "die Verwendung von ``python -c \"import sys; print(sys.hash_info.width)\"``." -#: ../../reference/datamodel.rst:2259 +#: ../../reference/datamodel.rst:2264 msgid "" "If a class does not define an :meth:`__eq__` method it should not define " "a :meth:`__hash__` operation either; if it defines :meth:`__eq__` but " @@ -3713,7 +3721,7 @@ msgstr "" "ist – ändert sich der Hashwert eines Objekts, landet es im falschen Hash-" "Bucket." -#: ../../reference/datamodel.rst:2268 +#: ../../reference/datamodel.rst:2273 msgid "" "User-defined classes have :meth:`__eq__` and :meth:`__hash__` methods by " "default (inherited from the :class:`object` class); with them, all objects " @@ -3728,7 +3736,7 @@ msgstr "" "zurück, sodass „ ``x == y`` “ sowohl „ ``x is y`` “ als auch „ ``hash(x) == " "hash(y)`` “ impliziert." -#: ../../reference/datamodel.rst:2273 +#: ../../reference/datamodel.rst:2278 msgid "" "A class that overrides :meth:`__eq__` and does not define :meth:`__hash__` " "will have its :meth:`__hash__` implicitly set to ``None``. When " @@ -3745,7 +3753,7 @@ msgstr "" "``isinstance(obj, collections.abc.Hashable)`` korrekt als „unhashable“ " "identifiziert." -#: ../../reference/datamodel.rst:2280 +#: ../../reference/datamodel.rst:2285 msgid "" "If a class that overrides :meth:`__eq__` needs to retain the implementation " "of :meth:`__hash__` from a parent class, the interpreter must be told this " @@ -3756,7 +3764,7 @@ msgstr "" "dies dem Interpreter explizit mitgeteilt werden, indem ``__hash__ = " ".__hash__`` gesetzt wird." -#: ../../reference/datamodel.rst:2284 +#: ../../reference/datamodel.rst:2289 msgid "" "If a class that does not override :meth:`__eq__` wishes to suppress hash " "support, it should include ``__hash__ = None`` in the class definition. A " @@ -3772,7 +3780,7 @@ msgstr "" "collections.abc.Hashable)`` fälschlicherweise als „hashable“ identifiziert " "werden." -#: ../../reference/datamodel.rst:2293 +#: ../../reference/datamodel.rst:2298 msgid "" "By default, the :meth:`__hash__` values of str and bytes objects are " "\"salted\" with an unpredictable random value. Although they remain " @@ -3784,7 +3792,7 @@ msgstr "" "innerhalb eines einzelnen Python-Prozesses konstant bleiben, sind sie bei " "wiederholten Aufrufen von Python nicht vorhersehbar." -#: ../../reference/datamodel.rst:2298 +#: ../../reference/datamodel.rst:2303 msgid "" "This is intended to provide protection against a denial-of-service caused by " "carefully chosen inputs that exploit the worst case performance of a dict " @@ -3797,7 +3805,7 @@ msgstr "" "Komplexität von *O*\\ (*n*\\ :sup:`2`). Weitere Informationen findest du " "unter https://ocert.org/advisories/ocert-2011-003.html." -#: ../../reference/datamodel.rst:2303 +#: ../../reference/datamodel.rst:2308 msgid "" "Changing hash values affects the iteration order of sets. Python has never " "made guarantees about this ordering (and it typically varies between 32-bit " @@ -3807,15 +3815,15 @@ msgstr "" "Mengen aus. Python hat hinsichtlich dieser Reihenfolge niemals Garantien " "gegeben (und sie variiert in der Regel zwischen 32-Bit- und 64-Bit-Builds)." -#: ../../reference/datamodel.rst:2307 +#: ../../reference/datamodel.rst:2312 msgid "See also :envvar:`PYTHONHASHSEED`." msgstr "Siehe auch :envvar:`PYTHONHASHSEED`." -#: ../../reference/datamodel.rst:2309 +#: ../../reference/datamodel.rst:2314 msgid "Hash randomization is enabled by default." msgstr "Die Hash-Randomisierung ist standardmäßig aktiviert." -#: ../../reference/datamodel.rst:2317 +#: ../../reference/datamodel.rst:2322 msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " @@ -3833,11 +3841,11 @@ msgstr "" "Klasse „ :class:`object` “ selbst zutrifft), gelten alle ihre Instanzen als " "wahr." -#: ../../reference/datamodel.rst:2328 +#: ../../reference/datamodel.rst:2333 msgid "Customizing attribute access" msgstr "Anpassung des Zugriffs auf Attribute" -#: ../../reference/datamodel.rst:2330 +#: ../../reference/datamodel.rst:2335 msgid "" "The following methods can be defined to customize the meaning of attribute " "access (use of, assignment to, or deletion of ``x.name``) for class " @@ -3847,7 +3855,7 @@ msgstr "" "Attributzugriffs (Verwendung, Zuweisung oder Löschung von ``x.name``) für " "Klasseninstanzen anzupassen." -#: ../../reference/datamodel.rst:2338 +#: ../../reference/datamodel.rst:2343 msgid "" "Called when the default attribute access fails with an :exc:`AttributeError` " "(either :meth:`__getattribute__` raises an :exc:`AttributeError` because " @@ -3867,7 +3875,7 @@ msgstr "" "“-Ausnahme auslösen. Die Klasse „ :class:`object` “ selbst stellt diese " "Methode nicht bereit." -#: ../../reference/datamodel.rst:2346 +#: ../../reference/datamodel.rst:2351 msgid "" "Note that if the attribute is found through the normal " "mechanism, :meth:`__getattr__` is not called. (This is an intentional " @@ -3890,7 +3898,7 @@ msgstr "" "vollständige Kontrolle über den Attributzugriff erhältst, zeigt die " "Methode :meth:`__getattribute__` weiter unten." -#: ../../reference/datamodel.rst:2359 +#: ../../reference/datamodel.rst:2364 msgid "" "Called unconditionally to implement attribute accesses for instances of the " "class. If the class also defines :meth:`__getattr__`, the latter will not be " @@ -3911,7 +3919,7 @@ msgstr "" "gleichnamige Methode der Basisklasse aufrufen, um auf benötigte Attribute " "zuzugreifen, zum Beispiel ``object.__getattribute__(self, name)``." -#: ../../reference/datamodel.rst:2370 +#: ../../reference/datamodel.rst:2375 msgid "" "This method may still be bypassed when looking up special methods as the " "result of implicit invocation via language syntax or :ref:`built-in " @@ -3922,7 +3930,7 @@ msgstr "" "oder :ref:`integrierte Funktionen ` aufgerufen werden. " "Siehe :ref:`special-lookup`." -#: ../../reference/datamodel.rst:2375 ../../reference/datamodel.rst:2377 +#: ../../reference/datamodel.rst:2380 ../../reference/datamodel.rst:2382 msgid "" "For certain sensitive attribute accesses, raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and ``name``." @@ -3931,7 +3939,7 @@ msgstr "" "Ereignis „ ` “ ``object.__getattr__`` mit den Argumenten ``obj`` " "und ``name`` ausgelöst." -#: ../../reference/datamodel.rst:2384 +#: ../../reference/datamodel.rst:2389 msgid "" "Called when an attribute assignment is attempted. This is called instead of " "the normal mechanism (i.e. store the value in the instance dictionary). " @@ -3942,7 +3950,7 @@ msgstr "" "im Instanz-Wörterbuch). *name* ist der Name des Attributs, *value* ist der " "Wert, der ihm zugewiesen werden soll." -#: ../../reference/datamodel.rst:2388 +#: ../../reference/datamodel.rst:2393 msgid "" "If :meth:`__setattr__` wants to assign to an instance attribute, it should " "call the base class method with the same name, for example, " @@ -3952,7 +3960,7 @@ msgstr "" "möchte, sollte es die gleichnamige Methode der Basisklasse aufrufen, zum " "Beispiel „ ``object.__setattr__(self, name, value)`` “." -#: ../../reference/datamodel.rst:2392 ../../reference/datamodel.rst:2394 +#: ../../reference/datamodel.rst:2397 ../../reference/datamodel.rst:2399 msgid "" "For certain sensitive attribute assignments, raises an :ref:`auditing event " "` ``object.__setattr__`` with arguments ``obj``, ``name``, " @@ -3962,7 +3970,7 @@ msgstr "" "` ``object.__setattr__`` mit den Argumenten ``obj``, ``name`` und " "``value`` ausgelöst." -#: ../../reference/datamodel.rst:2401 +#: ../../reference/datamodel.rst:2406 msgid "" "Like :meth:`__setattr__` but for attribute deletion instead of assignment. " "This should only be implemented if ``del obj.name`` is meaningful for the " @@ -3972,7 +3980,7 @@ msgstr "" "von Attributen. Dies sollte nur implementiert werden, wenn „ ``del " "obj.name`` “ für das Objekt sinnvoll ist." -#: ../../reference/datamodel.rst:2404 ../../reference/datamodel.rst:2406 +#: ../../reference/datamodel.rst:2409 ../../reference/datamodel.rst:2411 msgid "" "For certain sensitive attribute deletions, raises an :ref:`auditing event " "` ``object.__delattr__`` with arguments ``obj`` and ``name``." @@ -3981,7 +3989,7 @@ msgstr "" "Ereignis „ ` “ ``object.__delattr__`` mit den Argumenten „ ``obj`` " "“ und „ ``name`` “ ausgelöst." -#: ../../reference/datamodel.rst:2413 +#: ../../reference/datamodel.rst:2418 msgid "" "Called when :func:`dir` is called on the object. An iterable must be " "returned. :func:`dir` converts the returned iterable to a list and sorts it." @@ -3991,11 +3999,11 @@ msgstr "" "“ wandelt das zurückgegebene iterierbare Objekt in eine Liste um und " "sortiert diese." -#: ../../reference/datamodel.rst:2418 +#: ../../reference/datamodel.rst:2423 msgid "Customizing module attribute access" msgstr "Anpassung des Zugriffs auf Modulattribute" -#: ../../reference/datamodel.rst:2428 +#: ../../reference/datamodel.rst:2433 msgid "" "Special names ``__getattr__`` and ``__dir__`` can be also used to customize " "access to module attributes. The ``__getattr__`` function at the module " @@ -4016,7 +4024,7 @@ msgstr "" "ein :exc:`AttributeError` ausgelöst wird. Wird es gefunden, wird es mit dem " "Attributnamen aufgerufen und das Ergebnis zurückgegeben." -#: ../../reference/datamodel.rst:2437 +#: ../../reference/datamodel.rst:2442 msgid "" "The ``__dir__`` function should accept no arguments, and return an iterable " "of strings that represents the names accessible on module. If present, this " @@ -4027,7 +4035,7 @@ msgstr "" "verfügbaren Namen darstellt. Sofern vorhanden, überschreibt diese Funktion " "die Standard-Suche nach Modulen über :func:`dir`." -#: ../../reference/datamodel.rst:2443 +#: ../../reference/datamodel.rst:2448 msgid "" "For a more fine grained customization of the module behavior (setting " "attributes, properties, etc.), one can set the ``__class__`` attribute of a " @@ -4038,7 +4046,7 @@ msgstr "" "“ eines Modulobjekts auf eine Unterklasse von „ :class:`types.ModuleType` " "“ setzen. Zum Beispiel::" -#: ../../reference/datamodel.rst:2447 +#: ../../reference/datamodel.rst:2452 msgid "" "import sys\n" "from types import ModuleType\n" @@ -4066,7 +4074,7 @@ msgstr "" "\n" "sys.modules[__name__].__class__ = VerboseModule" -#: ../../reference/datamodel.rst:2461 +#: ../../reference/datamodel.rst:2466 msgid "" "Defining module ``__getattr__`` and setting module ``__class__`` only affect " "lookups made using the attribute access syntax -- directly accessing the " @@ -4079,28 +4087,28 @@ msgstr "" "durch Code innerhalb des Moduls oder über einen Verweis auf das globale " "Wörterbuch des Moduls) bleibt davon unberührt." -#: ../../reference/datamodel.rst:2466 +#: ../../reference/datamodel.rst:2471 msgid "``__class__`` module attribute is now writable." msgstr "``__class__`` Das Modul-Attribut ist nun beschreibbar." -#: ../../reference/datamodel.rst:2469 +#: ../../reference/datamodel.rst:2474 msgid "``__getattr__`` and ``__dir__`` module attributes." msgstr "``__getattr__`` sowie die Modulattribute „ ``__dir__`` “." -#: ../../reference/datamodel.rst:2474 +#: ../../reference/datamodel.rst:2479 msgid ":pep:`562` - Module __getattr__ and __dir__" msgstr ":pep:`562` - Die Module __getattr__ und __dir__" -#: ../../reference/datamodel.rst:2475 +#: ../../reference/datamodel.rst:2480 msgid "Describes the ``__getattr__`` and ``__dir__`` functions on modules." msgstr "" "Beschreibt die Funktionen „ ``__getattr__`` “ und „ ``__dir__`` “ für Module." -#: ../../reference/datamodel.rst:2481 +#: ../../reference/datamodel.rst:2486 msgid "Implementing Descriptors" msgstr "Implementierung von Deskriptoren" -#: ../../reference/datamodel.rst:2483 +#: ../../reference/datamodel.rst:2488 msgid "" "The following methods only apply when an instance of the class containing " "the method (a so-called *descriptor* class) appears in an *owner* class (the " @@ -4119,7 +4127,7 @@ msgstr "" "im :attr:`~object.__dict__` der *owner*-Klasse ist. Die " "Klasse :class:`object` selbst implementiert keines dieser Protokolle." -#: ../../reference/datamodel.rst:2493 +#: ../../reference/datamodel.rst:2498 msgid "" "Called to get the attribute of the owner class (class attribute access) or " "of an instance of that class (instance attribute access). The optional " @@ -4134,7 +4142,7 @@ msgstr "" "Attribut zugegriffen wurde, oder ``None``, wenn über *owner* auf das " "Attribut zugegriffen wird." -#: ../../reference/datamodel.rst:2499 +#: ../../reference/datamodel.rst:2504 msgid "" "This method should return the computed attribute value or raise " "an :exc:`AttributeError` exception." @@ -4142,7 +4150,7 @@ msgstr "" "Diese Methode sollte den berechneten Attributwert zurückgeben oder eine " "Ausnahme vom Typ „ :exc:`AttributeError` “ auslösen." -#: ../../reference/datamodel.rst:2502 +#: ../../reference/datamodel.rst:2507 msgid "" ":PEP:`252` specifies that :meth:`__get__` is callable with one or two " "arguments. Python's own built-in descriptors support this specification; " @@ -4158,7 +4166,7 @@ msgstr "" "Python-eigene Implementierung von :meth:`__getattribute__` übergibt immer " "beide Argumente, unabhängig davon, ob sie erforderlich sind oder nicht." -#: ../../reference/datamodel.rst:2511 +#: ../../reference/datamodel.rst:2516 msgid "" "Called to set the attribute on an instance *instance* of the owner class to " "a new value, *value*." @@ -4166,7 +4174,7 @@ msgstr "" "Wird aufgerufen, um das Attribut einer Instanz *instance* der " "Eigentümerklasse auf einen neuen Wert, *value*, zu setzen." -#: ../../reference/datamodel.rst:2514 +#: ../../reference/datamodel.rst:2519 msgid "" "Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of " "descriptor to a \"data descriptor\". See :ref:`descriptor-invocation` for " @@ -4176,14 +4184,14 @@ msgstr "" "“ wird der Deskriptortyp in einen „Datendeskriptor“ geändert. Weitere " "Informationen findest du unter :ref:`descriptor-invocation`." -#: ../../reference/datamodel.rst:2520 +#: ../../reference/datamodel.rst:2525 msgid "" "Called to delete the attribute on an instance *instance* of the owner class." msgstr "" "Wird aufgerufen, um das Attribut einer Instanz *instance* der " "Eigentümerklasse zu löschen." -#: ../../reference/datamodel.rst:2522 +#: ../../reference/datamodel.rst:2527 msgid "" "Instances of descriptors may also have the :attr:`!__objclass__` attribute " "present:" @@ -4191,7 +4199,7 @@ msgstr "" "Instanzen von Deskriptoren können auch das Attribut „ :attr:`!__objclass__` " "“ aufweisen:" -#: ../../reference/datamodel.rst:2527 +#: ../../reference/datamodel.rst:2532 msgid "" "The attribute :attr:`!__objclass__` is interpreted by the :mod:`inspect` " "module as specifying the class where this object was defined (setting this " @@ -4210,11 +4218,11 @@ msgstr "" "dieses Attribut beispielsweise für ungebundene Methoden, die in C " "implementiert sind)." -#: ../../reference/datamodel.rst:2538 +#: ../../reference/datamodel.rst:2543 msgid "Invoking Descriptors" msgstr "Deskriptoren aufrufen" -#: ../../reference/datamodel.rst:2540 +#: ../../reference/datamodel.rst:2545 msgid "" "In general, a descriptor is an object attribute with \"binding behavior\", " "one whose attribute access has been overridden by methods in the descriptor " @@ -4229,7 +4237,7 @@ msgstr "" "und :meth:`~object.__delete__`. Ist eine dieser Methoden für ein Objekt " "definiert, wird dieses als Deskriptor bezeichnet." -#: ../../reference/datamodel.rst:2546 +#: ../../reference/datamodel.rst:2551 msgid "" "The default behavior for attribute access is to get, set, or delete the " "attribute from an object's dictionary. For instance, ``a.x`` has a lookup " @@ -4243,7 +4251,7 @@ msgstr "" "“ verläuft und sich über die Basisklassen von „ ``type(a)`` “ fortsetzt, " "wobei Metaklassen ausgeschlossen sind." -#: ../../reference/datamodel.rst:2551 +#: ../../reference/datamodel.rst:2556 msgid "" "However, if the looked-up value is an object defining one of the descriptor " "methods, then Python may override the default behavior and invoke the " @@ -4256,7 +4264,7 @@ msgstr "" "der Prioritätskette dies geschieht, hängt davon ab, welche " "Deskriptormethoden definiert wurden und wie sie aufgerufen wurden." -#: ../../reference/datamodel.rst:2556 +#: ../../reference/datamodel.rst:2561 msgid "" "The starting point for descriptor invocation is a binding, ``a.x``. How the " "arguments are assembled depends on ``a``:" @@ -4264,11 +4272,11 @@ msgstr "" "Ausgangspunkt für den Aufruf eines Deskriptors ist eine Bindung, ``a.x``. " "Wie die Argumente zusammengestellt werden, hängt von ``a`` ab:" -#: ../../reference/datamodel.rst:2559 +#: ../../reference/datamodel.rst:2564 msgid "Direct Call" msgstr "Direktanruf" -#: ../../reference/datamodel.rst:2560 +#: ../../reference/datamodel.rst:2565 msgid "" "The simplest and least common call is when user code directly invokes a " "descriptor method: ``x.__get__(a)``." @@ -4276,11 +4284,11 @@ msgstr "" "Der einfachste und seltenste Aufruf ist der Fall, bei dem der Benutzercode " "eine Deskriptormethode direkt aufruft: ``x.__get__(a)`` ." -#: ../../reference/datamodel.rst:2563 +#: ../../reference/datamodel.rst:2568 msgid "Instance Binding" msgstr "Instanzbindung" -#: ../../reference/datamodel.rst:2564 +#: ../../reference/datamodel.rst:2569 msgid "" "If binding to an object instance, ``a.x`` is transformed into the call: " "``type(a).__dict__['x'].__get__(a, type(a))``." @@ -4288,11 +4296,11 @@ msgstr "" "Bei der Bindung an eine Objektinstanz wird „ ``a.x`` “ in den Aufruf " "„ ``type(a).__dict__['x'].__get__(a, type(a))`` “ umgewandelt." -#: ../../reference/datamodel.rst:2567 +#: ../../reference/datamodel.rst:2572 msgid "Class Binding" msgstr "Klassenbindung" -#: ../../reference/datamodel.rst:2568 +#: ../../reference/datamodel.rst:2573 msgid "" "If binding to a class, ``A.x`` is transformed into the call: " "``A.__dict__['x'].__get__(None, A)``." @@ -4300,11 +4308,11 @@ msgstr "" "Bei der Bindung an eine Klasse wird „ ``A.x`` “ in den Aufruf " "„ ``A.__dict__['x'].__get__(None, A)`` “ umgewandelt." -#: ../../reference/datamodel.rst:2571 +#: ../../reference/datamodel.rst:2576 msgid "Super Binding" msgstr "Super-Bindung" -#: ../../reference/datamodel.rst:2572 +#: ../../reference/datamodel.rst:2577 msgid "" "A dotted lookup such as ``super(A, a).x`` searches ``a.__class__.__mro__`` " "for a base class ``B`` following ``A`` and then returns " @@ -4317,7 +4325,7 @@ msgstr "" "„ ``B.__dict__['x'].__get__(a, A)`` “ zurückgegeben. Handelt es sich nicht " "um einen Deskriptor, wird „ ``x`` “ unverändert zurückgegeben." -#: ../../reference/datamodel.rst:2609 +#: ../../reference/datamodel.rst:2614 msgid "" "For instance bindings, the precedence of descriptor invocation depends on " "which descriptor methods are defined. A descriptor can define any " @@ -4349,7 +4357,7 @@ msgstr "" "Vorrang vor einer Neudefinition in einem Instanz-Dictionary. Nicht-Daten-" "Deskriptoren können dagegen von Instanzen überschrieben werden." -#: ../../reference/datamodel.rst:2624 +#: ../../reference/datamodel.rst:2629 msgid "" "Python methods (including those decorated with :deco:`staticmethod` " "and :deco:`classmethod`) are implemented as non-data descriptors. " @@ -4364,7 +4372,7 @@ msgstr "" "Verhaltensweisen annehmen, die sich von denen anderer Instanzen derselben " "Klasse unterscheiden." -#: ../../reference/datamodel.rst:2630 +#: ../../reference/datamodel.rst:2635 msgid "" "The :deco:`property` decorator is implemented as a data descriptor. " "Accordingly, instances cannot override the behavior of a property." @@ -4372,11 +4380,11 @@ msgstr "" "Der Dekorator „ :deco:`property` “ ist als Datenbeschreiber implementiert. " "Daher können Instanzen das Verhalten einer Eigenschaft nicht überschreiben." -#: ../../reference/datamodel.rst:2637 +#: ../../reference/datamodel.rst:2642 msgid "__slots__" msgstr "__slots__" -#: ../../reference/datamodel.rst:2639 +#: ../../reference/datamodel.rst:2644 msgid "" "*__slots__* allow us to explicitly declare data members (like properties) " "and deny the creation of :attr:`~object.__dict__` and *__weakref__* (unless " @@ -4387,7 +4395,7 @@ msgstr "" "*__weakref__* verhindern (es sei denn, sie wurden explizit in *__slots__* " "deklariert oder sind in einer übergeordneten Klasse verfügbar)." -#: ../../reference/datamodel.rst:2643 +#: ../../reference/datamodel.rst:2648 msgid "" "The space saved over using :attr:`~object.__dict__` can be significant. " "Attribute lookup speed can be significantly improved as well." @@ -4396,7 +4404,7 @@ msgstr "" "“ kann beträchtlich sein. Auch die Geschwindigkeit der Attributsuche lässt " "sich deutlich verbessern." -#: ../../reference/datamodel.rst:2648 +#: ../../reference/datamodel.rst:2653 msgid "" "This class variable can be assigned a string, iterable, or sequence of " "strings with variable names used by instances. *__slots__* reserves space " @@ -4409,11 +4417,11 @@ msgstr "" "deklarierten Variablen und verhindert die automatische Erstellung " "von :attr:`~object.__dict__` und *__weakref__* für jede Instanz." -#: ../../reference/datamodel.rst:2657 +#: ../../reference/datamodel.rst:2662 msgid "Notes on using *__slots__*:" msgstr "Hinweise zur Verwendung von *__slots__*:" -#: ../../reference/datamodel.rst:2659 +#: ../../reference/datamodel.rst:2664 msgid "" "When inheriting from a class without *__slots__*, " "the :attr:`~object.__dict__` and *__weakref__* attribute of the instances " @@ -4423,7 +4431,7 @@ msgstr "" "Attribute :attr:`~object.__dict__` und *__weakref__* der Instanzen immer " "zugänglich." -#: ../../reference/datamodel.rst:2663 +#: ../../reference/datamodel.rst:2668 msgid "" "Without a :attr:`~object.__dict__` variable, instances cannot be assigned " "new variables not listed in the *__slots__* definition. Attempts to assign " @@ -4438,7 +4446,7 @@ msgstr "" "Variablen gewünscht ist, fügst du ``'__dict__'`` zur Zeichenfolgenfolge in " "der *__slots__*-Deklaration hinzu." -#: ../../reference/datamodel.rst:2670 +#: ../../reference/datamodel.rst:2675 msgid "" "Without a *__weakref__* variable for each instance, classes defining " "*__slots__* do not support :mod:`weak references ` to its " @@ -4451,7 +4459,7 @@ msgstr "" "fügest du ``'__weakref__'`` zur Zeichenfolgenfolge in der *__slots__*-" "Deklaration hinzu." -#: ../../reference/datamodel.rst:2676 +#: ../../reference/datamodel.rst:2681 msgid "" "*__slots__* are implemented at the class level by creating :ref:`descriptors " "` for each variable name. As a result, class attributes cannot " @@ -4465,7 +4473,7 @@ msgstr "" "Andernfalls würde das Klassenattribut die Zuweisung des Deskriptors " "überschreiben." -#: ../../reference/datamodel.rst:2682 +#: ../../reference/datamodel.rst:2687 msgid "" "The action of a *__slots__* declaration is not limited to the class where it " "is defined. *__slots__* declared in parents are available in child classes. " @@ -4481,7 +4489,7 @@ msgstr "" "Unterklasse definiert ebenfalls `*__slots__*` (das nur Namen von " "*zusätzlichen* Slots enthalten sollte)." -#: ../../reference/datamodel.rst:2688 +#: ../../reference/datamodel.rst:2693 msgid "" "If a class defines a slot also defined in a base class, the instance " "variable defined by the base class slot is inaccessible (except by " @@ -4496,7 +4504,7 @@ msgstr "" "Programms undefiniert ist. Möglicherweise wird in Zukunft eine Prüfung " "hinzugefügt, um dies zu verhindern." -#: ../../reference/datamodel.rst:2693 +#: ../../reference/datamodel.rst:2698 msgid "" ":exc:`TypeError` will be raised if *__slots__* other than *__dict__* and " "*__weakref__* are defined for a class derived from a :c:member:`\"variable-" @@ -4509,13 +4517,13 @@ msgstr "" "oder :class:`type` abgeleitet ist, andere *__slots__* als *__dict__* und " "*__weakref__* definiert werden – ausgenommen :class:`tuple`." -#: ../../reference/datamodel.rst:2698 +#: ../../reference/datamodel.rst:2703 msgid "Any non-string :term:`iterable` may be assigned to *__slots__*." msgstr "" "Jedes nicht-zeichenfolgenartige :term:`iterable` kann *__slots__* zugewiesen " "werden." -#: ../../reference/datamodel.rst:2700 +#: ../../reference/datamodel.rst:2705 msgid "" "If a :class:`dictionary ` is used to assign *__slots__*, the " "dictionary keys will be used as the slot names. The values of the dictionary " @@ -4528,7 +4536,7 @@ msgstr "" "Docstrings bereitzustellen, die von :func:`inspect.getdoc` erkannt und in " "der Ausgabe von :func:`help` angezeigt werden." -#: ../../reference/datamodel.rst:2705 +#: ../../reference/datamodel.rst:2710 msgid "" ":attr:`~object.__class__` assignment works only if both classes have the " "same *__slots__*." @@ -4536,7 +4544,7 @@ msgstr "" ":attr:`~object.__class__` Die Zuweisung funktioniert nur, wenn beide Klassen " "dieselben *__slots__* haben." -#: ../../reference/datamodel.rst:2708 +#: ../../reference/datamodel.rst:2713 msgid "" ":ref:`Multiple inheritance ` with multiple slotted " "parent classes can be used, but only one parent is allowed to have " @@ -4548,7 +4556,7 @@ msgstr "" "besitzen, die durch Slots angelegt wurden (die übrigen Basisklassen müssen " "leere Slot-Layouts haben). Verstöße lösen :exc:`TypeError` aus." -#: ../../reference/datamodel.rst:2714 +#: ../../reference/datamodel.rst:2719 msgid "" "If an :term:`iterator` is used for *__slots__* then a :term:`descriptor` is " "created for each of the iterator's values. However, the *__slots__* " @@ -4558,7 +4566,7 @@ msgstr "" "jeden Wert des Iterators ein :term:`Deskriptor ` erstellt. Das " "Attribut *__slots__* ist jedoch ein leerer Iterator." -#: ../../reference/datamodel.rst:2719 +#: ../../reference/datamodel.rst:2724 msgid "" "Allowed defining the *__dict__* and *__weakref__* *__slots__* for any class. " "Allowed defining any *__slots__* for a class derived from :class:`tuple`." @@ -4567,11 +4575,11 @@ msgstr "" "*__weakref__* zu definieren. Für eine von :class:`tuple` abgeleitete Klasse " "ist es erlaubt, beliebige *__slots__* zu definieren." -#: ../../reference/datamodel.rst:2727 +#: ../../reference/datamodel.rst:2732 msgid "Customizing class creation" msgstr "Anpassung der Klassenerstellung" -#: ../../reference/datamodel.rst:2729 +#: ../../reference/datamodel.rst:2734 msgid "" "Whenever a class inherits from another " "class, :meth:`~object.__init_subclass__` is called on the parent class. This " @@ -4590,7 +4598,7 @@ msgstr "" "„ ``__init_subclass__`` “ ausschließlich für zukünftige Unterklassen der " "Klasse, die diese Methode definiert." -#: ../../reference/datamodel.rst:2738 +#: ../../reference/datamodel.rst:2743 msgid "" "This method is called whenever the containing class is subclassed. *cls* is " "then the new subclass. If defined as a normal instance method, this method " @@ -4601,7 +4609,7 @@ msgstr "" "Wenn diese Methode als normale Instanzmethode definiert ist, wird sie " "implizit in eine Klassenmethode umgewandelt." -#: ../../reference/datamodel.rst:2742 +#: ../../reference/datamodel.rst:2747 msgid "" "Keyword arguments which are given to a new class are passed to the parent " "class's ``__init_subclass__``. For compatibility with other classes using " @@ -4615,7 +4623,7 @@ msgstr "" "Schlüsselwortargumente herausnehmen und die übrigen an die Basisklasse " "weitergeben, wie im folgenden Beispiel::" -#: ../../reference/datamodel.rst:2748 +#: ../../reference/datamodel.rst:2753 msgid "" "class Philosopher:\n" " def __init_subclass__(cls, /, default_name, **kwargs):\n" @@ -4633,7 +4641,7 @@ msgstr "" "class AustralianPhilosopher(Philosopher, default_name=\"Bruce\"):\n" " pass" -#: ../../reference/datamodel.rst:2756 +#: ../../reference/datamodel.rst:2761 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." @@ -4642,7 +4650,7 @@ msgstr "" "aus, löst jedoch einen Fehler aus, wenn sie mit beliebigen Argumenten " "aufgerufen wird." -#: ../../reference/datamodel.rst:2761 +#: ../../reference/datamodel.rst:2766 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -4654,7 +4662,7 @@ msgstr "" "“ weitergegeben. Auf die eigentliche Metaklasse (und nicht auf den " "expliziten Hinweis) kann über „ ``type(cls)`` “ zugegriffen werden." -#: ../../reference/datamodel.rst:2769 +#: ../../reference/datamodel.rst:2774 msgid "" "When a class is created, :meth:`!type.__new__` scans the class variables and " "makes callbacks to those with a :meth:`~object.__set_name__` hook." @@ -4663,7 +4671,7 @@ msgstr "" "Klassenvariablen und ruft diejenigen auf, die mit dem Hook " "„ :meth:`~object.__set_name__` “ versehen sind." -#: ../../reference/datamodel.rst:2774 +#: ../../reference/datamodel.rst:2779 msgid "" "Automatically called at the time the owning class *owner* is created. The " "object has been assigned to *name* in that class::" @@ -4671,7 +4679,7 @@ msgstr "" "Wird automatisch aufgerufen, wenn die Klasse *owner* erstellt wird. Das " "Objekt wurde in dieser Klasse der Variablen *name* zugewiesen::" -#: ../../reference/datamodel.rst:2777 +#: ../../reference/datamodel.rst:2782 msgid "" "class A:\n" " x = C() # Automatically calls: x.__set_name__(A, 'x')" @@ -4679,7 +4687,7 @@ msgstr "" "class A:\n" " x = C() # ruft automatisch auf: x.__set_name__(A, 'x')" -#: ../../reference/datamodel.rst:2780 +#: ../../reference/datamodel.rst:2785 msgid "" "If the class variable is assigned after the class is " "created, :meth:`__set_name__` will not be called automatically. If " @@ -4689,7 +4697,7 @@ msgstr "" "wird „ :meth:`__set_name__` “ nicht automatisch aufgerufen. Bei Bedarf kann " "„ :meth:`__set_name__` “ direkt aufgerufen werden::" -#: ../../reference/datamodel.rst:2784 +#: ../../reference/datamodel.rst:2789 msgid "" "class A:\n" " pass\n" @@ -4705,15 +4713,15 @@ msgstr "" "A.x = c # der Hook wird nicht aufgerufen\n" "c.__set_name__(A, 'x') # den Hook von Hand aufrufen" -#: ../../reference/datamodel.rst:2791 +#: ../../reference/datamodel.rst:2796 msgid "See :ref:`class-object-creation` for more details." msgstr "Weitere Informationen findest du unter :ref:`class-object-creation`." -#: ../../reference/datamodel.rst:2799 +#: ../../reference/datamodel.rst:2804 msgid "Metaclasses" msgstr "Metaklassen" -#: ../../reference/datamodel.rst:2806 +#: ../../reference/datamodel.rst:2811 msgid "" "By default, classes are constructed using :func:`type`. The class body is " "executed in a new namespace and the class name is bound locally to the " @@ -4723,7 +4731,7 @@ msgstr "" "Klassenkörper wird in einem neuen Namensraum ausgeführt, und der Klassenname " "wird lokal an das Ergebnis von ``type(name, bases, namespace)`` gebunden." -#: ../../reference/datamodel.rst:2810 +#: ../../reference/datamodel.rst:2815 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -4736,7 +4744,7 @@ msgstr "" "folgenden Beispiel sind sowohl „ ``MyClass`` “ als auch „ ``MySubclass`` " "“ Instanzen von „ ``Meta`` “ ::" -#: ../../reference/datamodel.rst:2815 +#: ../../reference/datamodel.rst:2820 msgid "" "class Meta(type):\n" " pass\n" @@ -4756,7 +4764,7 @@ msgstr "" "class MySubclass(MyClass):\n" " pass" -#: ../../reference/datamodel.rst:2824 +#: ../../reference/datamodel.rst:2829 msgid "" "Any other keyword arguments that are specified in the class definition are " "passed through to all metaclass operations described below." @@ -4765,36 +4773,36 @@ msgstr "" "sind, werden an alle im Folgenden beschriebenen Metaklassenoperationen " "weitergeleitet." -#: ../../reference/datamodel.rst:2827 +#: ../../reference/datamodel.rst:2832 msgid "When a class definition is executed, the following steps occur:" msgstr "" "Wenn eine Klassendefinition ausgeführt wird, finden folgende Schritte statt:" -#: ../../reference/datamodel.rst:2829 +#: ../../reference/datamodel.rst:2834 msgid "MRO entries are resolved;" msgstr "Die MRO-Einträge wurden geklärt;" -#: ../../reference/datamodel.rst:2830 +#: ../../reference/datamodel.rst:2835 msgid "the appropriate metaclass is determined;" msgstr "die entsprechende Metaklasse wird ermittelt;" -#: ../../reference/datamodel.rst:2831 +#: ../../reference/datamodel.rst:2836 msgid "the class namespace is prepared;" msgstr "Der Klassen-Namespace wird vorbereitet;" -#: ../../reference/datamodel.rst:2832 +#: ../../reference/datamodel.rst:2837 msgid "the class body is executed;" msgstr "der Klassenkörper wird ausgeführt;" -#: ../../reference/datamodel.rst:2833 +#: ../../reference/datamodel.rst:2838 msgid "the class object is created." msgstr "Das Klassenobjekt wird erstellt." -#: ../../reference/datamodel.rst:2837 +#: ../../reference/datamodel.rst:2842 msgid "Resolving MRO entries" msgstr "MRO-Einträge auflösen" -#: ../../reference/datamodel.rst:2841 +#: ../../reference/datamodel.rst:2846 msgid "" "If a base that appears in a class definition is not an instance " "of :class:`type`, then an :meth:`!__mro_entries__` method is searched on the " @@ -4815,20 +4823,20 @@ msgstr "" "der Basis verwendet werden. Das zurückgegebene Tupel darf leer sein. In " "diesem Fall wird die ursprüngliche Basis ignoriert." -#: ../../reference/datamodel.rst:2852 +#: ../../reference/datamodel.rst:2857 msgid ":func:`types.resolve_bases`" msgstr ":func:`types.resolve_bases`" -#: ../../reference/datamodel.rst:2853 +#: ../../reference/datamodel.rst:2858 msgid "Dynamically resolve bases that are not instances of :class:`type`." msgstr "" "Basisklassen, die keine Instanzen von :class:`type` sind, dynamisch auflösen." -#: ../../reference/datamodel.rst:2855 +#: ../../reference/datamodel.rst:2860 msgid ":func:`types.get_original_bases`" msgstr ":func:`types.get_original_bases`" -#: ../../reference/datamodel.rst:2856 +#: ../../reference/datamodel.rst:2861 msgid "" "Retrieve a class's \"original bases\" prior to modifications " "by :meth:`~object.__mro_entries__`." @@ -4836,32 +4844,32 @@ msgstr "" "Die „ursprünglichen Basen“ einer Klasse vor den Änderungen " "durch :meth:`~object.__mro_entries__` abrufen." -#: ../../reference/datamodel.rst:2859 +#: ../../reference/datamodel.rst:2864 msgid ":pep:`560`" msgstr ":pep:`560`" -#: ../../reference/datamodel.rst:2860 +#: ../../reference/datamodel.rst:2865 msgid "Core support for typing module and generic types." msgstr "Grundlegende Unterstützung für das Typmodul und generische Typen." -#: ../../reference/datamodel.rst:2866 +#: ../../reference/datamodel.rst:2871 msgid "Determining the appropriate metaclass" msgstr "Ermittlung der geeigneten Metaklasse" -#: ../../reference/datamodel.rst:2870 +#: ../../reference/datamodel.rst:2875 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" "Die passende Metaklasse für eine Klassendefinition wird wie folgt ermittelt:" -#: ../../reference/datamodel.rst:2872 +#: ../../reference/datamodel.rst:2877 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" "Wenn keine Basisklassen und keine explizite Metaklasse angegeben sind, wird " "„ :func:`type` “ verwendet;" -#: ../../reference/datamodel.rst:2873 +#: ../../reference/datamodel.rst:2878 msgid "" "if an explicit metaclass is given and it is *not* an instance " "of :func:`type`, then it is used directly as the metaclass;" @@ -4869,7 +4877,7 @@ msgstr "" "Wenn eine explizite Metaklasse angegeben wird und diese *keine* Instanz " "von :func:`type` ist, wird sie direkt als Metaklasse verwendet;" -#: ../../reference/datamodel.rst:2875 +#: ../../reference/datamodel.rst:2880 msgid "" "if an instance of :func:`type` is given as the explicit metaclass, or bases " "are defined, then the most derived metaclass is used." @@ -4878,7 +4886,7 @@ msgstr "" "sind Basisklassen definiert, wird die am weitesten abgeleitete Metaklasse " "verwendet." -#: ../../reference/datamodel.rst:2878 +#: ../../reference/datamodel.rst:2883 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -4893,11 +4901,11 @@ msgstr "" "ist. Erfüllt keine der in Frage kommenden Metaklassen dieses Kriterium, " "schlägt die Klassendefinition mit der Fehlermeldung „ ``TypeError`` “ fehl." -#: ../../reference/datamodel.rst:2888 +#: ../../reference/datamodel.rst:2893 msgid "Preparing the class namespace" msgstr "Vorbereiten des Klassen-Namespace" -#: ../../reference/datamodel.rst:2893 +#: ../../reference/datamodel.rst:2898 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -4918,7 +4926,7 @@ msgstr "" "an ``__new__`` übergeben, doch beim Erstellen des endgültigen Klassenobjekts " "wird der Namensraum in ein neues ``dict`` kopiert." -#: ../../reference/datamodel.rst:2902 +#: ../../reference/datamodel.rst:2907 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." @@ -4926,19 +4934,19 @@ msgstr "" "Verfügt die Metaklasse nicht über das Attribut „ ``__prepare__`` “, wird der " "Klassennamensraum als leere geordnete Zuordnung initialisiert." -#: ../../reference/datamodel.rst:2907 +#: ../../reference/datamodel.rst:2912 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr ":pep:`3115` - Metaklassen in Python 3000" -#: ../../reference/datamodel.rst:2908 +#: ../../reference/datamodel.rst:2913 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "Einführung des Namespace-Hooks „ ``__prepare__`` “" -#: ../../reference/datamodel.rst:2912 +#: ../../reference/datamodel.rst:2917 msgid "Executing the class body" msgstr "Ausführen des Klassenkörpers" -#: ../../reference/datamodel.rst:2917 +#: ../../reference/datamodel.rst:2922 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -4954,7 +4962,7 @@ msgstr "" "Gültigkeitsbereichen verweisen kann, wenn die Klassendefinition innerhalb " "einer Funktion steht." -#: ../../reference/datamodel.rst:2923 +#: ../../reference/datamodel.rst:2928 msgid "" "However, even when the class definition occurs inside the function, methods " "defined inside the class still cannot see names defined at the class scope. " @@ -4969,11 +4977,11 @@ msgstr "" "Klassenmethoden erfolgen oder über die implizite, lexikalisch begrenzte " "Referenz „ ``__class__`` “, die im nächsten Abschnitt beschrieben wird." -#: ../../reference/datamodel.rst:2932 +#: ../../reference/datamodel.rst:2937 msgid "Creating the class object" msgstr "Erstellen des Klassenobjekts" -#: ../../reference/datamodel.rst:2939 +#: ../../reference/datamodel.rst:2944 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -4986,7 +4994,7 @@ msgstr "" "Schlüsselwörter sind dieselben wie die, die an „ ``__prepare__`` “ übergeben " "werden)." -#: ../../reference/datamodel.rst:2944 +#: ../../reference/datamodel.rst:2949 msgid "" "This class object is the one that will be referenced by the zero-argument " "form of :func:`super`. ``__class__`` is an implicit closure reference " @@ -5005,7 +5013,7 @@ msgstr "" "die der aktuelle Aufruf erfolgt ist, anhand des ersten an die Methode " "übergebenen Arguments ermittelt wird." -#: ../../reference/datamodel.rst:2954 +#: ../../reference/datamodel.rst:2959 msgid "" "In CPython 3.6 and later, the ``__class__`` cell is passed to the metaclass " "as a ``__classcell__`` entry in the class namespace. If present, this must " @@ -5019,7 +5027,7 @@ msgstr "" "“ weitergegeben werden, damit die Klasse korrekt initialisiert wird. " "Andernfalls kommt es in Python 3.8 zu einem „ :exc:`RuntimeError` “." -#: ../../reference/datamodel.rst:2960 +#: ../../reference/datamodel.rst:2965 msgid "" "When using the default metaclass :class:`type`, or any metaclass that " "ultimately calls ``type.__new__``, the following additional customization " @@ -5030,7 +5038,7 @@ msgstr "" "nach der Erstellung des Klassenobjekts die folgenden zusätzlichen " "Anpassungsschritte ausgeführt:" -#: ../../reference/datamodel.rst:2964 +#: ../../reference/datamodel.rst:2969 msgid "" "The ``type.__new__`` method collects all of the attributes in the class " "namespace that define a :meth:`~object.__set_name__` method;" @@ -5038,7 +5046,7 @@ msgstr "" "Die Methode „ ``type.__new__`` “ sammelt alle Attribute im Klassen-" "Namespace, die eine „ :meth:`~object.__set_name__` “-Methode definieren;" -#: ../../reference/datamodel.rst:2966 +#: ../../reference/datamodel.rst:2971 msgid "" "Those ``__set_name__`` methods are called with the class being defined and " "the assigned name of that particular attribute;" @@ -5046,7 +5054,7 @@ msgstr "" "Diese Methoden „ ``__set_name__`` “ werden mit der zu definierenden Klasse " "und dem zugewiesenen Namen des jeweiligen Attributs aufgerufen;" -#: ../../reference/datamodel.rst:2968 +#: ../../reference/datamodel.rst:2973 msgid "" "The :meth:`~object.__init_subclass__` hook is called on the immediate parent " "of the new class in its method resolution order." @@ -5055,7 +5063,7 @@ msgstr "" "übergeordneten Elternteil der neuen Klasse gemäß dessen " "Methodenauflösungsreihenfolge aufgerufen." -#: ../../reference/datamodel.rst:2971 +#: ../../reference/datamodel.rst:2976 msgid "" "After the class object is created, it is passed to the class decorators " "included in the class definition (if any) and the resulting object is bound " @@ -5066,7 +5074,7 @@ msgstr "" "übergeben, und das resultierende Objekt wird im lokalen Namensraum als die " "definierte Klasse gebunden." -#: ../../reference/datamodel.rst:2975 +#: ../../reference/datamodel.rst:2980 msgid "" "When a new class is created by ``type.__new__``, the object provided as the " "namespace parameter is copied to a new ordered mapping and the original " @@ -5079,19 +5087,19 @@ msgstr "" "schreibgeschützten Proxy verpackt, der zum Attribut :attr:`~type.__dict__` " "des Klassenobjekts wird." -#: ../../reference/datamodel.rst:2982 +#: ../../reference/datamodel.rst:2987 msgid ":pep:`3135` - New super" msgstr ":pep:`3135` - Neuer Super" -#: ../../reference/datamodel.rst:2983 +#: ../../reference/datamodel.rst:2988 msgid "Describes the implicit ``__class__`` closure reference" msgstr "Beschreibt die implizite Referenz auf die Closure „ ``__class__`` “" -#: ../../reference/datamodel.rst:2987 +#: ../../reference/datamodel.rst:2992 msgid "Uses for metaclasses" msgstr "Anwendungsbereiche von Metaklassen" -#: ../../reference/datamodel.rst:2989 +#: ../../reference/datamodel.rst:2994 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -5103,11 +5111,11 @@ msgstr "" "automatische Delegierung, automatische Eigenschaftserstellung, Proxys, " "Frameworks sowie automatische Ressourcensperrung und -synchronisation." -#: ../../reference/datamodel.rst:2996 +#: ../../reference/datamodel.rst:3001 msgid "Customizing instance and subclass checks" msgstr "Anpassung der Instanz- und Unterklassenprüfungen" -#: ../../reference/datamodel.rst:2998 +#: ../../reference/datamodel.rst:3003 msgid "" "The following methods are used to override the default behavior of " "the :func:`isinstance` and :func:`issubclass` built-in functions." @@ -5116,7 +5124,7 @@ msgstr "" "Funktionen „ :func:`isinstance` “ und „ :func:`issubclass` “ zu " "überschreiben." -#: ../../reference/datamodel.rst:3001 +#: ../../reference/datamodel.rst:3006 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -5128,7 +5136,7 @@ msgstr "" "„virtuelle Basisklassen“ zu beliebigen Klassen oder Typen (einschließlich " "integrierter Typen) zu ermöglichen, darunter auch andere ABCs." -#: ../../reference/datamodel.rst:3008 +#: ../../reference/datamodel.rst:3013 msgid "" "Return true if *instance* should be considered a (direct or indirect) " "instance of *class*. If defined, called to implement ``isinstance(instance, " @@ -5138,7 +5146,7 @@ msgstr "" "*class* betrachtet werden soll. Falls definiert, wird diese Funktion zur " "Implementierung von ``isinstance(instance, class)`` aufgerufen." -#: ../../reference/datamodel.rst:3015 +#: ../../reference/datamodel.rst:3020 msgid "" "Return true if *subclass* should be considered a (direct or indirect) " "subclass of *class*. If defined, called to implement ``issubclass(subclass, " @@ -5148,7 +5156,7 @@ msgstr "" "von *class* betrachtet werden soll. Falls definiert, wird diese Funktion zur " "Implementierung von ``issubclass(subclass, class)`` aufgerufen." -#: ../../reference/datamodel.rst:3020 +#: ../../reference/datamodel.rst:3025 msgid "" "Note that these methods are looked up on the type (metaclass) of a class. " "They cannot be defined as class methods in the actual class. This is " @@ -5161,11 +5169,11 @@ msgstr "" "spezieller Methoden, die auf Instanzen aufgerufen werden, nur dass in diesem " "Fall die Instanz selbst eine Klasse ist." -#: ../../reference/datamodel.rst:3027 +#: ../../reference/datamodel.rst:3032 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr ":pep:`3119` - Einführung in abstrakte Basisklassen" -#: ../../reference/datamodel.rst:3028 +#: ../../reference/datamodel.rst:3033 msgid "" "Includes the specification for customizing :func:`isinstance` " "and :func:`issubclass` behavior through :meth:`~type.__instancecheck__` " @@ -5179,11 +5187,11 @@ msgstr "" "einschließlich der Begründung für diese Möglichkeit im Zusammenhang mit der " "Aufnahme abstrakter Basisklassen (siehe das Modul :mod:`abc`) in die Sprache." -#: ../../reference/datamodel.rst:3036 +#: ../../reference/datamodel.rst:3041 msgid "Emulating generic types" msgstr "Emulation generischer Typen" -#: ../../reference/datamodel.rst:3038 +#: ../../reference/datamodel.rst:3043 msgid "" "When using :term:`type annotations`, it is often useful to " "*parameterize* a :term:`generic type` using Python's square-brackets " @@ -5196,24 +5204,24 @@ msgstr "" "die Annotation ``list[int]`` verwendet werden, um eine :class:`list` zu " "bezeichnen, in der alle Elemente vom Typ :class:`int` sind." -#: ../../reference/datamodel.rst:3045 +#: ../../reference/datamodel.rst:3050 msgid ":pep:`484` - Type Hints" msgstr ":pep:`484` - Typ-Hinweise" -#: ../../reference/datamodel.rst:3046 +#: ../../reference/datamodel.rst:3051 msgid "Introducing Python's framework for type annotations" msgstr "Einführung in das Python-Framework für Typangaben" -#: ../../reference/datamodel.rst:3048 +#: ../../reference/datamodel.rst:3053 msgid ":ref:`Generic Alias Types`" msgstr ":ref:`Generische Alias-Typen`" -#: ../../reference/datamodel.rst:3049 +#: ../../reference/datamodel.rst:3054 msgid "Documentation for objects representing parameterized generic classes" msgstr "" "Dokumentation zu Objekten, die parametrisierte generische Klassen darstellen" -#: ../../reference/datamodel.rst:3051 +#: ../../reference/datamodel.rst:3056 msgid "" ":ref:`Generics`, :ref:`user-defined generics` " "and :class:`typing.Generic`" @@ -5221,7 +5229,7 @@ msgstr "" ":ref:`Generics`, :ref:`benutzerdefinierte Generika` " "und :class:`typing.Generic`" -#: ../../reference/datamodel.rst:3052 +#: ../../reference/datamodel.rst:3057 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." @@ -5229,7 +5237,7 @@ msgstr "" "Dokumentation zur Implementierung generischer Klassen, die zur Laufzeit " "parametrisiert werden können und von statischen Typprüfern erkannt werden." -#: ../../reference/datamodel.rst:3055 +#: ../../reference/datamodel.rst:3060 msgid "" "A class can *generally* only be parameterized if it defines the special " "class method ``__class_getitem__()``." @@ -5237,7 +5245,7 @@ msgstr "" "Eine Klasse kann *im Allgemeinen* nur dann parametrisiert werden, wenn sie " "die spezielle Klassenmethode „ ``__class_getitem__()`` “ definiert." -#: ../../reference/datamodel.rst:3060 +#: ../../reference/datamodel.rst:3065 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." @@ -5245,7 +5253,7 @@ msgstr "" "Gibt ein Objekt zurück, das die Spezialisierung einer generischen Klasse " "anhand der in *key* enthaltenen Typargumente darstellt." -#: ../../reference/datamodel.rst:3063 +#: ../../reference/datamodel.rst:3068 msgid "" "When defined on a class, ``__class_getitem__()`` is automatically a class " "method. As such, there is no need for it to be decorated " @@ -5255,11 +5263,11 @@ msgstr "" "automatisch eine Klassenmethode. Daher muss es bei der Definition nicht mit " "„ :deco:`classmethod` “ versehen werden." -#: ../../reference/datamodel.rst:3069 +#: ../../reference/datamodel.rst:3074 msgid "The purpose of *__class_getitem__*" msgstr "Der Zweck von *__class_getitem__*" -#: ../../reference/datamodel.rst:3071 +#: ../../reference/datamodel.rst:3076 msgid "" "The purpose of :meth:`~object.__class_getitem__` is to allow runtime " "parameterization of standard-library generic classes in order to more easily " @@ -5270,7 +5278,7 @@ msgstr "" "ermöglichen, um :term:`Typangaben ` einfacher auf diese Klassen " "anwenden zu können." -#: ../../reference/datamodel.rst:3075 +#: ../../reference/datamodel.rst:3080 msgid "" "To implement custom generic classes that can be parameterized at runtime and " "understood by static type-checkers, users should either inherit from a " @@ -5286,7 +5294,7 @@ msgstr "" "„ :class:`typing.Generic` “ erben, das über eine eigene Implementierung von " "„ ``__class_getitem__()`` “ verfügt." -#: ../../reference/datamodel.rst:3081 +#: ../../reference/datamodel.rst:3086 msgid "" "Custom implementations of :meth:`~object.__class_getitem__` on classes " "defined outside of the standard library may not be understood by third-party " @@ -5299,11 +5307,11 @@ msgstr "" "Von der Verwendung von ``__class_getitem__()`` für beliebige Klassen zu " "anderen Zwecken als der Typangabe wird abgeraten." -#: ../../reference/datamodel.rst:3091 +#: ../../reference/datamodel.rst:3096 msgid "*__class_getitem__* versus *__getitem__*" msgstr "*__class_getitem__* im Vergleich zu *__getitem__*" -#: ../../reference/datamodel.rst:3093 +#: ../../reference/datamodel.rst:3098 msgid "" "Usually, the :ref:`subscription` of an object using square " "brackets will call the :meth:`~object.__getitem__` instance method defined " @@ -5321,7 +5329,7 @@ msgstr "" "„ :ref:`GenericAlias` “-Objekt zurückgeben, sofern es " "ordnungsgemäß definiert ist." -#: ../../reference/datamodel.rst:3100 +#: ../../reference/datamodel.rst:3105 msgid "" "Presented with the :term:`expression` ``obj[x]``, the Python interpreter " "follows something like the following process to decide " @@ -5333,7 +5341,7 @@ msgstr "" "entscheiden, ob :meth:`~object.__getitem__` " "oder :meth:`~object.__class_getitem__` aufgerufen werden soll::" -#: ../../reference/datamodel.rst:3105 +#: ../../reference/datamodel.rst:3110 msgid "" "from inspect import isclass\n" "\n" @@ -5382,7 +5390,7 @@ msgstr "" " f\"'{class_of_obj.__name__}' object is not subscriptable\"\n" " )" -#: ../../reference/datamodel.rst:3128 +#: ../../reference/datamodel.rst:3133 msgid "" "In Python, all classes are themselves instances of other classes. The class " "of a class is known as that class's :term:`metaclass`, and most classes have " @@ -5399,7 +5407,7 @@ msgstr "" "„ ``tuple[str, bytes]`` “ alle dazu führen, dass " "„ :meth:`~object.__class_getitem__` “ aufgerufen wird::" -#: ../../reference/datamodel.rst:3135 +#: ../../reference/datamodel.rst:3140 msgid "" ">>> # list has class \"type\" as its metaclass, like most classes:\n" ">>> type(list)\n" @@ -5425,7 +5433,7 @@ msgstr "" ">>> type(list[int])\n" "" -#: ../../reference/datamodel.rst:3147 +#: ../../reference/datamodel.rst:3152 msgid "" "However, if a class has a custom metaclass that " "defines :meth:`~object.__getitem__`, subscribing the class may result in " @@ -5437,7 +5445,7 @@ msgstr "" "einem abweichenden Verhalten führen. Ein Beispiel hierfür findet sich im " "Modul „ :mod:`enum` “:" -#: ../../reference/datamodel.rst:3151 +#: ../../reference/datamodel.rst:3156 msgid "" ">>> from enum import Enum\n" ">>> class Menu(Enum):\n" @@ -5473,12 +5481,12 @@ msgstr "" ">>> type(Menu['SPAM'])\n" "" -#: ../../reference/datamodel.rst:3170 +#: ../../reference/datamodel.rst:3175 msgid ":pep:`560` - Core Support for typing module and generic types" msgstr "" ":pep:`560` - Kernunterstützung für das Typisierungsmodul und generische Typen" -#: ../../reference/datamodel.rst:3171 +#: ../../reference/datamodel.rst:3176 msgid "" "Introducing :meth:`~object.__class_getitem__`, and outlining when " "a :ref:`subscription` results in ``__class_getitem__()`` " @@ -5489,11 +5497,11 @@ msgstr "" "„ ``__class_getitem__()`` “ aufgerufen wird, " "anstatt :meth:`~object.__getitem__`" -#: ../../reference/datamodel.rst:3179 +#: ../../reference/datamodel.rst:3184 msgid "Emulating callable objects" msgstr "Aufrufbare Objekte emulieren" -#: ../../reference/datamodel.rst:3186 +#: ../../reference/datamodel.rst:3191 msgid "" "Called when the instance is \"called\" as a function; if this method is " "defined, ``x(arg1, arg2, ...)`` roughly translates to ``type(x).__call__(x, " @@ -5504,11 +5512,11 @@ msgstr "" "„ ``type(x).__call__(x, arg1, ...)`` “. Die Klasse „ :class:`object` " "“ selbst stellt diese Methode nicht zur Verfügung." -#: ../../reference/datamodel.rst:3194 +#: ../../reference/datamodel.rst:3199 msgid "Emulating container types" msgstr "Containertypen emulieren" -#: ../../reference/datamodel.rst:3196 +#: ../../reference/datamodel.rst:3201 msgid "" "The following methods can be defined to implement container objects. None of " "them are provided by the :class:`object` class itself. Containers usually " @@ -5551,7 +5559,7 @@ msgstr "" "aus :meth:`~object.__getitem__`, :meth:`~object.__setitem__`, :meth:`~object.__delitem__` " "und :meth:`!keys` zu erleichtern." -#: ../../reference/datamodel.rst:3215 +#: ../../reference/datamodel.rst:3220 msgid "" "Mutable sequences should provide " "methods :meth:`~sequence.append`, :meth:`~sequence.clear`, :meth:`~sequence.count`, :meth:`~sequence.extend`, :meth:`~sequence.index`, :meth:`~sequence.insert`, :meth:`~sequence.pop`, :meth:`~sequence.remove`, " @@ -5572,7 +5580,7 @@ msgstr "" "und :meth:`~object.__imul__` definieren. Andere numerische Operatoren " "sollten sie nicht definieren." -#: ../../reference/datamodel.rst:3227 +#: ../../reference/datamodel.rst:3232 msgid "" "It is recommended that both mappings and sequences implement " "the :meth:`~object.__contains__` method to allow efficient use of the ``in`` " @@ -5593,7 +5601,7 @@ msgstr "" "“ die Schlüssel des Objekts durchlaufen. Bei Sequenzen sollte sie die Werte " "durchlaufen." -#: ../../reference/datamodel.rst:3242 +#: ../../reference/datamodel.rst:3247 msgid "" "Called to implement the built-in function :func:`len`. Should return the " "length of the object, an integer ``>=`` 0. Also, an object that doesn't " @@ -5606,7 +5614,7 @@ msgstr "" "Methode :meth:`!__len__` null zurückgibt, in einem booleschen Kontext als " "falsch." -#: ../../reference/datamodel.rst:3249 +#: ../../reference/datamodel.rst:3254 msgid "" "In CPython, the length is required to be at most :data:`sys.maxsize`. If the " "length is larger than :data:`!sys.maxsize` some features (such " @@ -5621,7 +5629,7 @@ msgstr "" "ausgelöst wird, muss ein Objekt eine :meth:`~object.__bool__`-Methode " "definieren." -#: ../../reference/datamodel.rst:3258 +#: ../../reference/datamodel.rst:3263 msgid "" "Called to implement :func:`operator.length_hint`. Should return an estimated " "length for the object (which may be greater or less than the actual length). " @@ -5638,7 +5646,7 @@ msgstr "" "Diese Methode dient ausschließlich der Optimierung und ist für die " "Korrektheit nie erforderlich." -#: ../../reference/datamodel.rst:3270 +#: ../../reference/datamodel.rst:3275 msgid "" "Called to implement *subscription*, that is, ``self[subscript]``. " "See :ref:`subscriptions` for details on the syntax." @@ -5647,7 +5655,7 @@ msgstr "" "``self[subscript]``. Weitere Informationen zur Syntax findest du " "unter :ref:`subscriptions`." -#: ../../reference/datamodel.rst:3273 +#: ../../reference/datamodel.rst:3278 msgid "" "There are two types of built-in objects that support subscription " "via :meth:`!__getitem__`:" @@ -5655,7 +5663,7 @@ msgstr "" "Es gibt zwei Arten von integrierten Objekten, die das Abonnieren " "über :meth:`!__getitem__` unterstützen:" -#: ../../reference/datamodel.rst:3276 +#: ../../reference/datamodel.rst:3281 msgid "" "**sequences**, where *subscript* (also called :term:`index`) should be an " "integer or a :class:`slice` object. See the :ref:`sequence documentation " @@ -5668,7 +5676,7 @@ msgstr "" "Typ :class:`slice` und negativen Indizes, findest du in der :ref:`Sequenz-" "Dokumentation `." -#: ../../reference/datamodel.rst:3280 +#: ../../reference/datamodel.rst:3285 msgid "" "**mappings**, where *subscript* is also called the :term:`key`. " "See :ref:`mapping documentation ` for the expected " @@ -5678,7 +5686,7 @@ msgstr "" "wird. Das erwartete Verhalten findest du in der :ref:`Dokumentation zu " "Zuordnungen `." -#: ../../reference/datamodel.rst:3284 +#: ../../reference/datamodel.rst:3289 msgid "" "If *subscript* is of an inappropriate type, :meth:`!__getitem__` should " "raise :exc:`TypeError`. If *subscript* has an inappropriate value, :meth:`!" @@ -5691,7 +5699,7 @@ msgstr "" "vom Typ „ :exc:`LookupError` “ oder eine ihrer Unterklassen auslösen " "(:exc:`IndexError` für Sequenzen; :exc:`KeyError` für Zuordnungen)." -#: ../../reference/datamodel.rst:3294 +#: ../../reference/datamodel.rst:3299 msgid "" "Slicing is handled by :meth:`!__getitem__`, :meth:`~object.__setitem__`, " "and :meth:`~object.__delitem__`. A call like ::" @@ -5699,23 +5707,23 @@ msgstr "" "Das Slicing wird von :meth:`!__getitem__`, :meth:`~object.__setitem__` " "und :meth:`~object.__delitem__` übernommen. Ein Aufruf wie ::" -#: ../../reference/datamodel.rst:3298 +#: ../../reference/datamodel.rst:3303 msgid "a[1:2] = b" msgstr "a[1:2] = b" -#: ../../reference/datamodel.rst:3300 +#: ../../reference/datamodel.rst:3305 msgid "is translated to ::" msgstr "wird übersetzt zu ::" -#: ../../reference/datamodel.rst:3302 +#: ../../reference/datamodel.rst:3307 msgid "a[slice(1, 2, None)] = b" msgstr "a[slice(1, 2, None)] = b" -#: ../../reference/datamodel.rst:3304 +#: ../../reference/datamodel.rst:3309 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "usw. Fehlende Slice-Elemente werden stets mit „ ``None`` “ ergänzt." -#: ../../reference/datamodel.rst:3308 +#: ../../reference/datamodel.rst:3313 msgid "" "The sequence iteration protocol (used, for example, in :keyword:`for` " "loops), expects that an :exc:`IndexError` will be raised for illegal indexes " @@ -5726,7 +5734,7 @@ msgstr "" "unzulässigen Indizes ein „ :exc:`IndexError` “ ausgelöst wird, um das Ende " "einer Sequenz korrekt erkennen zu können." -#: ../../reference/datamodel.rst:3314 +#: ../../reference/datamodel.rst:3319 msgid "" "When :ref:`subscripting ` a *class*, the special class " "method :meth:`~object.__class_getitem__` may be called instead of :meth:`!" @@ -5737,7 +5745,7 @@ msgstr "" "Klassenmethode :meth:`~object.__class_getitem__` aufgerufen werden. Weitere " "Informationen findest du unter :ref:`classgetitem-versus-getitem`." -#: ../../reference/datamodel.rst:3322 +#: ../../reference/datamodel.rst:3327 msgid "" "Called to implement assignment to ``self[key]``. Same note as " "for :meth:`__getitem__`. This should only be implemented for mappings if " @@ -5754,7 +5762,7 @@ msgstr "" "unzulässigen Werten für *key* sollten dieselben Ausnahmen ausgelöst werden " "wie bei der Methode :meth:`__getitem__`." -#: ../../reference/datamodel.rst:3331 +#: ../../reference/datamodel.rst:3336 msgid "" "Called to implement deletion of ``self[key]``. Same note as " "for :meth:`__getitem__`. This should only be implemented for mappings if " @@ -5769,7 +5777,7 @@ msgstr "" "Sequenz entfernt werden können. Bei unzulässigen Werten für *key* sollten " "dieselben Ausnahmen ausgelöst werden wie bei der Methode :meth:`__getitem__`." -#: ../../reference/datamodel.rst:3340 +#: ../../reference/datamodel.rst:3345 msgid "" "Called by :class:`dict`\\ .\\ :meth:`__getitem__` to implement ``self[key]`` " "for dict subclasses when key is not in the dictionary." @@ -5778,7 +5786,7 @@ msgstr "" "``self[key]`` für Unterklassen von dict zu implementieren, wenn der " "Schlüssel nicht im Wörterbuch enthalten ist." -#: ../../reference/datamodel.rst:3346 +#: ../../reference/datamodel.rst:3351 msgid "" "This method is called when an :term:`iterator` is required for a container. " "This method should return a new iterator object that can iterate over all " @@ -5790,7 +5798,7 @@ msgstr "" "zurückgeben, mit dem alle Objekte im Container durchlaufen werden können. " "Bei Mappings sollte sie die Schlüssel des Containers durchlaufen." -#: ../../reference/datamodel.rst:3354 +#: ../../reference/datamodel.rst:3359 msgid "" "Called (if present) by the :func:`reversed` built-in to implement reverse " "iteration. It should return a new iterator object that iterates over all " @@ -5801,7 +5809,7 @@ msgstr "" "sollte ein neues Iterator-Objekt zurückgeben, das alle Objekte im Container " "in umgekehrter Reihenfolge durchläuft." -#: ../../reference/datamodel.rst:3358 +#: ../../reference/datamodel.rst:3363 msgid "" "If the :meth:`__reversed__` method is not provided, the :func:`reversed` " "built-in will fall back to using the sequence protocol (:meth:`__len__` " @@ -5816,7 +5824,7 @@ msgstr "" "bereitstellen, wenn sie eine Implementierung bieten können, die effizienter " "ist als die von :func:`reversed` bereitgestellte." -#: ../../reference/datamodel.rst:3365 +#: ../../reference/datamodel.rst:3370 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -5829,7 +5837,7 @@ msgstr "" "spezielle Methode mit einer effizienteren Implementierung bereitstellen, für " "die das Objekt zudem nicht iterierbar sein muss." -#: ../../reference/datamodel.rst:3372 +#: ../../reference/datamodel.rst:3377 msgid "" "Called to implement membership test operators. Should return true if *item* " "is in *self*, false otherwise. For mapping objects, this should consider " @@ -5841,7 +5849,7 @@ msgstr "" "des Mappings berücksichtigt werden und nicht die Werte oder die Schlüssel-" "Wert-Paare." -#: ../../reference/datamodel.rst:3376 +#: ../../reference/datamodel.rst:3381 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -5853,11 +5861,11 @@ msgstr "" "alte Sequenz-Iterationsprotokoll über :meth:`__getitem__`. " "Siehe :ref:`diesen Abschnitt der Sprachreferenz `." -#: ../../reference/datamodel.rst:3385 +#: ../../reference/datamodel.rst:3390 msgid "Emulating numeric types" msgstr "Emulation numerischer Datentypen" -#: ../../reference/datamodel.rst:3387 +#: ../../reference/datamodel.rst:3392 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -5869,7 +5877,7 @@ msgstr "" "implementierten Zahlentyp nicht unterstützt werden (z. B. bitweise " "Operationen für nicht-ganzzahlige Zahlen), sollten undefiniert bleiben." -#: ../../reference/datamodel.rst:3413 +#: ../../reference/datamodel.rst:3418 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, " @@ -5895,7 +5903,7 @@ msgstr "" "drittes Argument akzeptiert, wenn die Version der integrierten Funktion " "„ :func:`pow` “ mit drei Argumenten unterstützt werden soll." -#: ../../reference/datamodel.rst:3424 +#: ../../reference/datamodel.rst:3429 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return :data:`NotImplemented`." @@ -5903,7 +5911,7 @@ msgstr "" "Wenn eine dieser Methoden die Operation mit den übergebenen Argumenten nicht " "unterstützt, sollte sie :data:`NotImplemented` zurückgeben." -#: ../../reference/datamodel.rst:3447 +#: ../../reference/datamodel.rst:3452 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, " @@ -5930,7 +5938,7 @@ msgstr "" "„ ``type(x).__sub__(x, y)`` “ „ :data:`NotImplemented` “ zurückgibt oder " "„ ``type(y)`` “ eine Unterklasse von „ ``type(x)`` “ ist. [#]_" -#: ../../reference/datamodel.rst:3458 +#: ../../reference/datamodel.rst:3463 msgid "" "Note that :meth:`__rpow__` should be defined to accept an optional third " "argument if the three-argument version of the built-in :func:`pow` function " @@ -5940,7 +5948,7 @@ msgstr "" "optionales drittes Argument akzeptiert, wenn die Version der integrierten " "Funktion „ :func:`pow` “ mit drei Argumenten unterstützt werden soll." -#: ../../reference/datamodel.rst:3464 +#: ../../reference/datamodel.rst:3469 msgid "" "Three-argument :func:`pow` now try calling :meth:`~object.__rpow__` if " "necessary. Previously it was only called in two-argument :func:`!pow` and " @@ -5951,7 +5959,7 @@ msgstr "" "der Funktion „ :func:`!pow` “ mit zwei Argumenten und im binären " "Potenzoperator aufgerufen." -#: ../../reference/datamodel.rst:3470 +#: ../../reference/datamodel.rst:3475 msgid "" "If the right operand's type is a subclass of the left operand's type and " "that subclass provides a different implementation of the reflected method " @@ -5966,7 +5974,7 @@ msgstr "" "Verhalten ermöglicht es Unterklassen, die Operationen ihrer Vorfahren zu " "überschreiben." -#: ../../reference/datamodel.rst:3490 +#: ../../reference/datamodel.rst:3495 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -6000,7 +6008,7 @@ msgstr "" "Fehlern führen (siehe :ref:`faq-augmented-assignment-tuple-error`), doch " "dieses Verhalten ist tatsächlich Teil des Datenmodells." -#: ../../reference/datamodel.rst:3513 +#: ../../reference/datamodel.rst:3518 msgid "" "Called to implement the unary arithmetic operations (``-``, " "``+``, :func:`abs` and ``~``)." @@ -6008,7 +6016,7 @@ msgstr "" "Wird aufgerufen, um die unären arithmetischen Operationen zu implementieren " "(``-``, ``+``, :func:`abs` und ``~``)." -#: ../../reference/datamodel.rst:3526 +#: ../../reference/datamodel.rst:3531 msgid "" "Called to implement the built-in functions :func:`complex`, :func:`int` " "and :func:`float`. Should return a value of the appropriate type." @@ -6017,7 +6025,7 @@ msgstr "" "„ :func:`int` “ und „ :func:`float` “ zu implementieren. Sollte einen Wert " "des entsprechenden Typs zurückgeben." -#: ../../reference/datamodel.rst:3533 +#: ../../reference/datamodel.rst:3538 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -6032,7 +6040,7 @@ msgstr "" "dieser Methode weist darauf hin, dass das numerische Objekt vom Typ Ganzzahl " "ist. Muss eine Ganzzahl zurückgeben." -#: ../../reference/datamodel.rst:3539 +#: ../../reference/datamodel.rst:3544 msgid "" "If :meth:`__int__`, :meth:`__float__` and :meth:`__complex__` are not " "defined then corresponding built-in functions :func:`int`, :func:`float` " @@ -6043,7 +6051,7 @@ msgstr "" "Funktionen :func:`int`, :func:`float` und :func:`complex` " "auf :meth:`__index__` zurück." -#: ../../reference/datamodel.rst:3551 +#: ../../reference/datamodel.rst:3556 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -6058,18 +6066,18 @@ msgstr "" "wird, sollten alle diese Methoden den Wert des Objekts zurückgeben, gekürzt " "auf ein :class:`~numbers.Integral` (in der Regel ein :class:`int`)." -#: ../../reference/datamodel.rst:3557 +#: ../../reference/datamodel.rst:3562 msgid "" ":func:`int` no longer delegates to the :meth:`~object.__trunc__` method." msgstr "" ":func:`int` delegiert nicht mehr an die Methode „ :meth:`~object.__trunc__` " "“." -#: ../../reference/datamodel.rst:3564 +#: ../../reference/datamodel.rst:3569 msgid "With Statement Context Managers" msgstr "Mit Statement-Kontextmanagern" -#: ../../reference/datamodel.rst:3566 +#: ../../reference/datamodel.rst:3571 msgid "" "A :dfn:`context manager` is an object that defines the runtime context to be " "established when executing a :keyword:`with` statement. The context manager " @@ -6086,7 +6094,7 @@ msgstr "" "„ :keyword:`!with` “ aufgerufen (beschrieben im Abschnitt :ref:`with`), " "können aber auch durch direkten Aufruf ihrer Methoden verwendet werden." -#: ../../reference/datamodel.rst:3577 +#: ../../reference/datamodel.rst:3582 msgid "" "Typical uses of context managers include saving and restoring various kinds " "of global state, locking and unlocking resources, closing opened files, etc." @@ -6095,7 +6103,7 @@ msgstr "" "Speichern und Wiederherstellen verschiedener Arten von globalem Status, das " "Sperren und Entsperren von Ressourcen, das Schließen geöffneter Dateien usw." -#: ../../reference/datamodel.rst:3580 +#: ../../reference/datamodel.rst:3585 msgid "" "For more information on context managers, see :ref:`typecontextmanager`. " "The :class:`object` class itself does not provide the context manager " @@ -6105,7 +6113,7 @@ msgstr "" "unter :ref:`typecontextmanager`. Die Klasse „ :class:`object` “ selbst " "stellt keine Kontextmanager-Methoden bereit." -#: ../../reference/datamodel.rst:3586 +#: ../../reference/datamodel.rst:3591 msgid "" "Enter the runtime context related to this object. The :keyword:`with` " "statement will bind this method's return value to the target(s) specified in " @@ -6116,7 +6124,7 @@ msgstr "" "in der Klausel „ :keyword:`!as` “ der Anweisung angegebenen Ziele, sofern " "vorhanden." -#: ../../reference/datamodel.rst:3593 +#: ../../reference/datamodel.rst:3598 msgid "" "Exit the runtime context related to this object. The parameters describe the " "exception that caused the context to be exited. If the context was exited " @@ -6126,7 +6134,7 @@ msgstr "" "beschreiben die Ausnahme, die zum Verlassen des Kontexts geführt hat. Wurde " "der Kontext ohne Ausnahme verlassen, sind alle drei Argumente :const:`None`." -#: ../../reference/datamodel.rst:3597 +#: ../../reference/datamodel.rst:3602 msgid "" "If an exception is supplied, and the method wishes to suppress the exception " "(i.e., prevent it from being propagated), it should return a true value. " @@ -6138,7 +6146,7 @@ msgstr "" "sollte sie einen wahren Wert zurückgeben. Andernfalls wird die Ausnahme beim " "Verlassen dieser Methode wie gewohnt verarbeitet." -#: ../../reference/datamodel.rst:3601 +#: ../../reference/datamodel.rst:3606 msgid "" "Note that :meth:`~object.__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." @@ -6146,11 +6154,11 @@ msgstr "" "Beachte, dass Methoden von :meth:`~object.__exit__` die übergebene Ausnahme " "nicht erneut auslösen sollten. Dies liegt in der Verantwortung des Aufrufers." -#: ../../reference/datamodel.rst:3607 +#: ../../reference/datamodel.rst:3612 msgid ":pep:`343` - The \"with\" statement" msgstr ":pep:`343` - Die „with“-Anweisung" -#: ../../reference/datamodel.rst:3608 +#: ../../reference/datamodel.rst:3613 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." @@ -6158,11 +6166,11 @@ msgstr "" "Die Spezifikation, Hintergründe und Beispiele zur Python-Anweisung " "„ :keyword:`with` “." -#: ../../reference/datamodel.rst:3615 +#: ../../reference/datamodel.rst:3620 msgid "Customizing positional arguments in class pattern matching" msgstr "Anpassen von Positionsargumenten beim Klassenmusterabgleich" -#: ../../reference/datamodel.rst:3617 +#: ../../reference/datamodel.rst:3622 msgid "" "When using a class name in a pattern, positional arguments in the pattern " "are not allowed by default, i.e. ``case MyClass(x, y)`` is typically invalid " @@ -6175,7 +6183,7 @@ msgstr "" "Unterstützung in ``MyClass`` vorhanden ist. Um ein solches Muster verwenden " "zu können, muss die Klasse ein Attribut `*__match_args__*` definieren." -#: ../../reference/datamodel.rst:3624 +#: ../../reference/datamodel.rst:3629 msgid "" "This class variable can be assigned a tuple of strings. When this class is " "used in a class pattern with positional arguments, each positional argument " @@ -6189,7 +6197,7 @@ msgstr "" "wobei der entsprechende Wert in *__match_args__* als Schlüsselwort verwendet " "wird. Das Fehlen dieses Attributs entspricht der Einstellung „ ``()`` “." -#: ../../reference/datamodel.rst:3630 +#: ../../reference/datamodel.rst:3635 msgid "" "For example, if ``MyClass.__match_args__`` is ``(\"left\", \"center\", " "\"right\")`` that means that ``case MyClass(x, y)`` is equivalent to ``case " @@ -6205,19 +6213,19 @@ msgstr "" "Elemente in *__match_args__* sein muss. Ist sie größer, löst der Versuch der " "Musterabgleichung einen :exc:`TypeError` aus." -#: ../../reference/datamodel.rst:3640 +#: ../../reference/datamodel.rst:3645 msgid ":pep:`634` - Structural Pattern Matching" msgstr ":pep:`634` - Struktureller Musterabgleich" -#: ../../reference/datamodel.rst:3641 +#: ../../reference/datamodel.rst:3646 msgid "The specification for the Python ``match`` statement." msgstr "Die Spezifikation für die Python-Anweisung „ ``match`` “." -#: ../../reference/datamodel.rst:3647 +#: ../../reference/datamodel.rst:3652 msgid "Emulating buffer types" msgstr "Puffertypen emulieren" -#: ../../reference/datamodel.rst:3649 +#: ../../reference/datamodel.rst:3654 msgid "" "The :ref:`buffer protocol ` provides a way for Python objects " "to expose efficient access to a low-level memory array. This protocol is " @@ -6230,7 +6238,7 @@ msgstr "" "und :class:`memoryview` implementiert, und Bibliotheken von Drittanbietern " "können zusätzliche Buffer-Typen definieren." -#: ../../reference/datamodel.rst:3654 +#: ../../reference/datamodel.rst:3659 msgid "" "While buffer types are usually implemented in C, it is also possible to " "implement the protocol in Python." @@ -6238,7 +6246,7 @@ msgstr "" "Zwar werden Puffertypen in der Regel in C implementiert, doch ist es auch " "möglich, das Protokoll in Python zu implementieren." -#: ../../reference/datamodel.rst:3659 +#: ../../reference/datamodel.rst:3664 msgid "" "Called when a buffer is requested from *self* (for example, by " "the :class:`memoryview` constructor). The *flags* argument is an integer " @@ -6255,7 +6263,7 @@ msgstr "" "eine bequeme Möglichkeit, die Flags zu interpretieren. Die Methode muss ein " "„ :class:`memoryview` “-Objekt zurückgeben." -#: ../../reference/datamodel.rst:3666 +#: ../../reference/datamodel.rst:3671 msgid "" "**Thread safety:** In :term:`free-threaded ` Python, " "implementations must manage any internal export counter using atomic " @@ -6272,7 +6280,7 @@ msgstr "" "entsprechende Aufruf von :meth:`~object.__release_buffer__` abgeschlossen " "ist. Weitere Informationen findest du unter :ref:`thread-safety-memoryview`." -#: ../../reference/datamodel.rst:3675 +#: ../../reference/datamodel.rst:3680 msgid "" "Called when a buffer is no longer needed. The *buffer* argument is " "a :class:`memoryview` object that was previously returned " @@ -6285,7 +6293,7 @@ msgstr "" "mit dem Puffer verbundenen Ressourcen freigeben. Diese Methode sollte " "„ ``None`` “ zurückgeben." -#: ../../reference/datamodel.rst:3680 +#: ../../reference/datamodel.rst:3685 msgid "" "**Thread safety:** In :term:`free-threaded ` Python, any " "export counter decrement must use atomic operations. Resource cleanup must " @@ -6298,7 +6306,7 @@ msgstr "" "endgültige Freigabe zu einem Wettlauf mit gleichzeitigen Freigaben durch " "andere Threads führen kann." -#: ../../reference/datamodel.rst:3685 +#: ../../reference/datamodel.rst:3690 msgid "" "Buffer objects that do not need to perform any cleanup are not required to " "implement this method." @@ -6306,30 +6314,30 @@ msgstr "" "Pufferobjekte, die keine Bereinigung durchführen müssen, müssen diese " "Methode nicht implementieren." -#: ../../reference/datamodel.rst:3692 +#: ../../reference/datamodel.rst:3697 msgid ":pep:`688` - Making the buffer protocol accessible in Python" msgstr ":pep:`688` - Das Pufferprotokoll in Python verfügbar machen" -#: ../../reference/datamodel.rst:3693 +#: ../../reference/datamodel.rst:3698 msgid "" "Introduces the Python ``__buffer__`` and ``__release_buffer__`` methods." msgstr "" "Stellt die Python-Methoden „ ``__buffer__`` “ und „ ``__release_buffer__`` " "“ vor." -#: ../../reference/datamodel.rst:3695 +#: ../../reference/datamodel.rst:3700 msgid ":class:`collections.abc.Buffer`" msgstr ":class:`collections.abc.Buffer`" -#: ../../reference/datamodel.rst:3696 +#: ../../reference/datamodel.rst:3701 msgid "ABC for buffer types." msgstr "Das ABC der Puffertypen." -#: ../../reference/datamodel.rst:3699 +#: ../../reference/datamodel.rst:3704 msgid "Annotations" msgstr "Anmerkungen" -#: ../../reference/datamodel.rst:3701 +#: ../../reference/datamodel.rst:3706 msgid "" "Functions, classes, and modules may contain :term:`annotations " "`, which are a way to associate information (usually :term:`type " @@ -6339,7 +6347,7 @@ msgstr "" "enthalten, mit denen Informationen (in der Regel :term:`Typ-Hinweise `) einem Symbol zugeordnet werden können." -#: ../../reference/datamodel.rst:3707 +#: ../../reference/datamodel.rst:3712 msgid "" "This attribute contains the annotations for an object. It is :ref:`lazily " "evaluated `, so accessing the attribute may execute " @@ -6352,11 +6360,11 @@ msgstr "" "Ausnahmen führen. Bei erfolgreicher Auswertung wird das Attribut auf ein " "Wörterbuch gesetzt, das Variablennamen Anmerkungen zuordnet." -#: ../../reference/datamodel.rst:3712 +#: ../../reference/datamodel.rst:3717 msgid "Annotations are now lazily evaluated." msgstr "Annotationen werden nun verzögert ausgewertet." -#: ../../reference/datamodel.rst:3717 +#: ../../reference/datamodel.rst:3722 msgid "" "An :term:`annotate function`. Returns a new dictionary object mapping " "attribute/parameter names to their annotation values." @@ -6365,7 +6373,7 @@ msgstr "" "Dictionary-Objekt zurück, das Attribut-/Parameternamen ihren " "Annotationswerten zuordnet." -#: ../../reference/datamodel.rst:3720 +#: ../../reference/datamodel.rst:3725 msgid "" "Takes a format parameter specifying the format in which annotations values " "should be provided. It must be a member of the :class:`annotationlib.Format` " @@ -6376,7 +6384,7 @@ msgstr "" "Aufzählung „ :class:`annotationlib.Format` “ sein oder eine Ganzzahl, deren " "Wert einem Element dieser Aufzählung entspricht." -#: ../../reference/datamodel.rst:3724 +#: ../../reference/datamodel.rst:3729 msgid "" "If an annotate function doesn't support the requested format, it must " "raise :exc:`NotImplementedError`. Annotate functions must always " @@ -6389,7 +6397,7 @@ msgstr "" "“ unterstützen. Sie dürfen die Ausnahme „ :exc:`NotImplementedError()` " "“ nicht auslösen, wenn sie mit diesem Format aufgerufen werden." -#: ../../reference/datamodel.rst:3729 +#: ../../reference/datamodel.rst:3734 msgid "" "When called with :attr:`~annotationlib.Format.VALUE` format, an annotate " "function may raise :exc:`NameError`; it must not raise :exc:`!NameError` " @@ -6400,7 +6408,7 @@ msgstr "" "Aufruf mit einem anderen Format darf sie jedoch nicht die Ausnahme „ :exc:`!" "NameError` “ auslösen." -#: ../../reference/datamodel.rst:3732 +#: ../../reference/datamodel.rst:3737 msgid "" "If an object does not have any annotations, :attr:`~object.__annotate__` " "should preferably be set to ``None`` (it can’t be deleted), rather than set " @@ -6411,24 +6419,24 @@ msgstr "" "werden (es kann nicht gelöscht werden), anstatt auf eine Funktion, die ein " "leeres Dict zurückgibt." -#: ../../reference/datamodel.rst:3739 +#: ../../reference/datamodel.rst:3744 msgid ":pep:`649` --- Deferred evaluation of annotation using descriptors" msgstr "" ":pep:`649` --- Aufgeschobene Auswertung von Annotationen unter Verwendung " "von Deskriptoren" -#: ../../reference/datamodel.rst:3740 +#: ../../reference/datamodel.rst:3745 msgid "" "Introduces lazy evaluation of annotations and the ``__annotate__`` function." msgstr "" "Führt die verzögerte Auswertung von Annotationen und die Funktion " "„ ``__annotate__`` “ ein." -#: ../../reference/datamodel.rst:3746 +#: ../../reference/datamodel.rst:3751 msgid "Special method lookup" msgstr "Suche nach speziellen Methoden" -#: ../../reference/datamodel.rst:3748 +#: ../../reference/datamodel.rst:3753 msgid "" "For custom classes, implicit invocations of special methods are only " "guaranteed to work correctly if defined on an object's type, not in the " @@ -6440,7 +6448,7 @@ msgstr "" "definiert sind, nicht jedoch im Instanz-Wörterbuch des Objekts. Dieses " "Verhalten ist der Grund dafür, dass der folgende Code eine Ausnahme auslöst::" -#: ../../reference/datamodel.rst:3753 +#: ../../reference/datamodel.rst:3758 msgid "" ">>> class C:\n" "... pass\n" @@ -6462,7 +6470,7 @@ msgstr "" " File \"\", line 1, in \n" "TypeError: object of type 'C' has no len()" -#: ../../reference/datamodel.rst:3763 +#: ../../reference/datamodel.rst:3768 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`~object.__hash__` and :meth:`~object.__repr__` that are " @@ -6477,7 +6485,7 @@ msgstr "" "verwendet, würden sie fehlschlagen, wenn sie auf das Typobjekt selbst " "aufgerufen würden::" -#: ../../reference/datamodel.rst:3770 +#: ../../reference/datamodel.rst:3775 msgid "" ">>> 1 .__hash__() == hash(1)\n" "True\n" @@ -6493,7 +6501,7 @@ msgstr "" " File \"\", line 1, in \n" "TypeError: descriptor '__hash__' of 'int' object needs an argument" -#: ../../reference/datamodel.rst:3777 +#: ../../reference/datamodel.rst:3782 msgid "" "Incorrectly attempting to invoke an unbound method of a class in this way is " "sometimes referred to as 'metaclass confusion', and is avoided by bypassing " @@ -6504,7 +6512,7 @@ msgstr "" "lässt sich vermeiden, indem man bei der Suche nach speziellen Methoden die " "Instanz umgeht::" -#: ../../reference/datamodel.rst:3781 +#: ../../reference/datamodel.rst:3786 msgid "" ">>> type(1).__hash__(1) == hash(1)\n" "True\n" @@ -6516,7 +6524,7 @@ msgstr "" ">>> type(int).__hash__(int) == hash(int)\n" "True" -#: ../../reference/datamodel.rst:3786 +#: ../../reference/datamodel.rst:3791 msgid "" "In addition to bypassing any instance attributes in the interest of " "correctness, implicit special method lookup generally also bypasses " @@ -6527,7 +6535,7 @@ msgstr "" "Allgemeinen auch die Methode :meth:`~object.__getattribute__`, selbst wenn " "es sich bei der Metaklasse des Objekts um `metaclass:` handelt:" -#: ../../reference/datamodel.rst:3790 +#: ../../reference/datamodel.rst:3795 msgid "" ">>> class Meta(type):\n" "... def __getattribute__(*args):\n" @@ -6573,7 +6581,7 @@ msgstr "" ">>> len(c) # implizite Suche\n" "10" -#: ../../reference/datamodel.rst:3812 +#: ../../reference/datamodel.rst:3817 msgid "" "Bypassing the :meth:`~object.__getattribute__` machinery in this fashion " "provides significant scope for speed optimisations within the interpreter, " @@ -6588,15 +6596,15 @@ msgstr "" "*muss* am Klassenobjekt selbst festgelegt werden, damit sie vom Interpreter " "konsistent aufgerufen wird)." -#: ../../reference/datamodel.rst:3823 +#: ../../reference/datamodel.rst:3828 msgid "Coroutines" msgstr "Coroutinen" -#: ../../reference/datamodel.rst:3827 +#: ../../reference/datamodel.rst:3832 msgid "Awaitable Objects" msgstr "Objekte, auf die man warten kann" -#: ../../reference/datamodel.rst:3829 +#: ../../reference/datamodel.rst:3834 msgid "" "An :term:`awaitable` object generally implements " "an :meth:`~object.__await__` method. :term:`Coroutine objects ` " @@ -6607,7 +6615,7 @@ msgstr "" "`, die von :keyword:`async def`-Funktionen zurückgegeben werden, " "sind awaitable." -#: ../../reference/datamodel.rst:3835 +#: ../../reference/datamodel.rst:3840 msgid "" "The :term:`generator iterator` objects returned from generators decorated " "with :func:`types.coroutine` are also awaitable, but they do not " @@ -6618,7 +6626,7 @@ msgstr "" "sind, sind ebenfalls abwartbar, implementieren jedoch " "nicht :meth:`~object.__await__`." -#: ../../reference/datamodel.rst:3841 +#: ../../reference/datamodel.rst:3846 msgid "" "Must return an :term:`iterator`. Should be used to " "implement :term:`awaitable` objects. For instance, :class:`asyncio.Future` " @@ -6632,7 +6640,7 @@ msgstr "" "dem Ausdruck :keyword:`await` kompatibel zu sein. Die Klasse :class:`object` " "selbst ist nicht „awaitable“ und stellt diese Methode nicht bereit." -#: ../../reference/datamodel.rst:3849 +#: ../../reference/datamodel.rst:3854 msgid "" "The language doesn't place any restriction on the type or value of the " "objects yielded by the iterator returned by ``__await__``, as this is " @@ -6645,16 +6653,16 @@ msgstr "" "des Frameworks für die asynchrone Ausführung (z. B. :mod:`asyncio`) ist, das " "das :term:`awaitable`-Objekt verwaltet." -#: ../../reference/datamodel.rst:3857 +#: ../../reference/datamodel.rst:3862 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" ":pep:`492` Weitere Informationen zu Objekten, auf die gewartet werden kann." -#: ../../reference/datamodel.rst:3863 +#: ../../reference/datamodel.rst:3868 msgid "Coroutine Objects" msgstr "Coroutinen-Objekte" -#: ../../reference/datamodel.rst:3865 +#: ../../reference/datamodel.rst:3870 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -6674,7 +6682,7 @@ msgstr "" "auslöst, wird diese vom Iterator weitergeleitet. Coroutinen sollten keine " "unbehandelten „ :exc:`StopIteration` “-Ausnahmen direkt auslösen." -#: ../../reference/datamodel.rst:3873 +#: ../../reference/datamodel.rst:3878 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " @@ -6684,7 +6692,7 @@ msgstr "" "von Generatoren entsprechen (siehe :ref:`generator-methods`). Im Gegensatz " "zu Generatoren unterstützen Coroutinen jedoch keine direkte Iteration." -#: ../../reference/datamodel.rst:3877 +#: ../../reference/datamodel.rst:3882 msgid "" "Coroutines are :ref:`generic ` over the types of their yield, " "send, and return values, respectively." @@ -6692,13 +6700,13 @@ msgstr "" "Coroutinen sind :ref:`generische ` über die Typen ihrer `yield`-, " "`send`- bzw. `return`-Werte." -#: ../../reference/datamodel.rst:3880 +#: ../../reference/datamodel.rst:3885 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" "Es ist ein „ :exc:`RuntimeError` “, mehr als einmal auf eine Coroutine zu " "warten." -#: ../../reference/datamodel.rst:3886 +#: ../../reference/datamodel.rst:3891 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned " @@ -6718,7 +6726,7 @@ msgstr "" "beschriebenen Fall, in dem der Rückgabewert von „ :meth:`!__await__` " "“ durchlaufen wird." -#: ../../reference/datamodel.rst:3897 +#: ../../reference/datamodel.rst:3902 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -6738,7 +6746,7 @@ msgstr "" "von :meth:`~object.__await__` durchlaufen wird. Wird die Ausnahme in der " "Koroutine nicht abgefangen, wird sie an den Aufrufer weitergeleitet." -#: ../../reference/datamodel.rst:3908 +#: ../../reference/datamodel.rst:3913 msgid "" "The second signature \\(type\\[, value\\[, traceback\\]\\]\\) is deprecated " "and may be removed in a future version of Python." @@ -6746,7 +6754,7 @@ msgstr "" "Die zweite Signatur \\(type\\[, value\\[, traceback\\]\\]\\) ist veraltet " "und wird möglicherweise in einer zukünftigen Version von Python entfernt." -#: ../../reference/datamodel.rst:3913 +#: ../../reference/datamodel.rst:3918 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -6763,7 +6771,7 @@ msgstr "" "wodurch die Coroutine ihre Ressourcen sofort freigibt. Schließlich wird die " "Coroutine als ausgeführt markiert, auch wenn sie nie gestartet wurde." -#: ../../reference/datamodel.rst:3921 +#: ../../reference/datamodel.rst:3926 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." @@ -6771,11 +6779,11 @@ msgstr "" "Coroutine-Objekte werden automatisch nach dem oben beschriebenen Verfahren " "geschlossen, wenn sie kurz vor der Löschung stehen." -#: ../../reference/datamodel.rst:3927 +#: ../../reference/datamodel.rst:3932 msgid "Asynchronous Iterators" msgstr "Asynchrone Iteratoren" -#: ../../reference/datamodel.rst:3929 +#: ../../reference/datamodel.rst:3934 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." @@ -6783,24 +6791,24 @@ msgstr "" "Ein *asynchroner Iterator* kann in seiner Methode „ ``__anext__`` " "“ asynchronen Code aufrufen." -#: ../../reference/datamodel.rst:3932 +#: ../../reference/datamodel.rst:3937 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" "Asynchrone Iteratoren können in einer :keyword:`async for`-Anweisung " "verwendet werden." -#: ../../reference/datamodel.rst:3934 ../../reference/datamodel.rst:3983 +#: ../../reference/datamodel.rst:3939 ../../reference/datamodel.rst:3988 msgid "The :class:`object` class itself does not provide these methods." msgstr "" "Die Klasse „ :class:`object` “ selbst stellt diese Methoden nicht zur " "Verfügung." -#: ../../reference/datamodel.rst:3939 +#: ../../reference/datamodel.rst:3944 msgid "Must return an *asynchronous iterator* object." msgstr "Muss ein *asynchrones Iterator*-Objekt zurückgeben." -#: ../../reference/datamodel.rst:3943 +#: ../../reference/datamodel.rst:3948 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." @@ -6809,11 +6817,11 @@ msgstr "" "liefert. Sollte einen Fehler vom Typ „ :exc:`StopAsyncIteration` “ auslösen, " "wenn die Iteration beendet ist." -#: ../../reference/datamodel.rst:3946 +#: ../../reference/datamodel.rst:3951 msgid "An example of an asynchronous iterable object::" msgstr "Ein Beispiel für ein asynchrones iterierbares Objekt::" -#: ../../reference/datamodel.rst:3948 +#: ../../reference/datamodel.rst:3953 msgid "" "class Reader:\n" " async def readline(self):\n" @@ -6841,7 +6849,7 @@ msgstr "" " raise StopAsyncIteration\n" " return val" -#: ../../reference/datamodel.rst:3963 +#: ../../reference/datamodel.rst:3968 msgid "" "Prior to Python 3.7, :meth:`~object.__aiter__` could return an *awaitable* " "that would resolve to an :term:`asynchronous iterator ` aufgelöst " "wurde." -#: ../../reference/datamodel.rst:3968 +#: ../../reference/datamodel.rst:3973 msgid "" "Starting with Python 3.7, :meth:`~object.__aiter__` must return an " "asynchronous iterator object. Returning anything else will result in " @@ -6861,11 +6869,11 @@ msgstr "" "zurückgeben. Wird etwas anderes zurückgegeben, führt dies zu einem Fehler " "vom Typ „ :exc:`TypeError` “." -#: ../../reference/datamodel.rst:3976 +#: ../../reference/datamodel.rst:3981 msgid "Asynchronous Context Managers" msgstr "Asynchrone Kontextmanager" -#: ../../reference/datamodel.rst:3978 +#: ../../reference/datamodel.rst:3983 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." @@ -6874,7 +6882,7 @@ msgstr "" "Ausführung in seinen Methoden „ ``__aenter__`` “ und „ ``__aexit__`` " "“ unterbrechen kann." -#: ../../reference/datamodel.rst:3981 +#: ../../reference/datamodel.rst:3986 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." @@ -6882,7 +6890,7 @@ msgstr "" "Asynchrone Kontextmanager können in einer :keyword:`async with`-Anweisung " "verwendet werden." -#: ../../reference/datamodel.rst:3987 +#: ../../reference/datamodel.rst:3992 msgid "" "Semantically similar to :meth:`~object.__enter__`, the only difference being " "that it must return an *awaitable*." @@ -6890,7 +6898,7 @@ msgstr "" "Semantisch ähnlich wie „ :meth:`~object.__enter__` “, mit dem einzigen " "Unterschied, dass es ein *awaitable* zurückgeben muss." -#: ../../reference/datamodel.rst:3992 +#: ../../reference/datamodel.rst:3997 msgid "" "Semantically similar to :meth:`~object.__exit__`, the only difference being " "that it must return an *awaitable*." @@ -6898,11 +6906,11 @@ msgstr "" "Semantisch ähnlich wie „ :meth:`~object.__exit__` “, mit dem einzigen " "Unterschied, dass hier ein *awaitable* zurückgegeben werden muss." -#: ../../reference/datamodel.rst:3995 +#: ../../reference/datamodel.rst:4000 msgid "An example of an asynchronous context manager class::" msgstr "Ein Beispiel für eine asynchrone Kontextmanager-Klasse::" -#: ../../reference/datamodel.rst:3997 +#: ../../reference/datamodel.rst:4002 msgid "" "class AsyncContextManager:\n" " async def __aenter__(self):\n" @@ -6918,11 +6926,11 @@ msgstr "" " async def __aexit__(self, exc_type, exc, tb):\n" " await log('exiting context')" -#: ../../reference/datamodel.rst:4008 +#: ../../reference/datamodel.rst:4013 msgid "Footnotes" msgstr "Fußnoten" -#: ../../reference/datamodel.rst:4009 +#: ../../reference/datamodel.rst:4014 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " @@ -6933,7 +6941,7 @@ msgstr "" "keine gute Idee, da es bei unsachgemäßer Handhabung zu sehr seltsamen " "Verhaltensweisen führen kann." -#: ../../reference/datamodel.rst:4013 +#: ../../reference/datamodel.rst:4018 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object.__reversed__`, :meth:`~object.__contains__`, :meth:`~object.__class_getitem__` " "and :meth:`~os.PathLike.__fspath__` methods have special handling for this. " @@ -6947,7 +6955,7 @@ msgstr "" "weiterhin einen „ :exc:`TypeError` “ aus, stützen sich dabei jedoch " "möglicherweise auf das Verhalten, dass „ ``None`` “ nicht aufrufbar ist." -#: ../../reference/datamodel.rst:4020 +#: ../../reference/datamodel.rst:4025 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns :data:`NotImplemented`. Do not set the method to ``None`` if " @@ -6960,7 +6968,7 @@ msgstr "" "Methode des rechten Operanden erzwingen willst – das bewirkt genau das " "Gegenteil und *verhindert* diesen Rückgriff ausdrücklich." -#: ../../reference/datamodel.rst:4026 +#: ../../reference/datamodel.rst:4031 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method (such as :meth:`~object.__add__`) fails then the operation is not " @@ -6971,7 +6979,7 @@ msgstr "" "B. :meth:`~object.__add__`) fehlschlägt. Aus diesem Grund wird die " "reflektierte Methode nicht aufgerufen." -#: ../../reference/datamodel.rst:4030 +#: ../../reference/datamodel.rst:4035 msgid "" "If the right operand's type is a subclass of the left operand's type, the " "reflected method having precedence allows subclasses to override their " @@ -6994,11 +7002,11 @@ msgstr "" #: ../../reference/datamodel.rst:555 ../../reference/datamodel.rst:570 #: ../../reference/datamodel.rst:715 ../../reference/datamodel.rst:853 #: ../../reference/datamodel.rst:878 ../../reference/datamodel.rst:914 -#: ../../reference/datamodel.rst:1186 ../../reference/datamodel.rst:1354 -#: ../../reference/datamodel.rst:1381 ../../reference/datamodel.rst:1469 -#: ../../reference/datamodel.rst:1578 ../../reference/datamodel.rst:1686 -#: ../../reference/datamodel.rst:1803 ../../reference/datamodel.rst:2234 -#: ../../reference/datamodel.rst:3290 +#: ../../reference/datamodel.rst:1191 ../../reference/datamodel.rst:1359 +#: ../../reference/datamodel.rst:1386 ../../reference/datamodel.rst:1474 +#: ../../reference/datamodel.rst:1583 ../../reference/datamodel.rst:1691 +#: ../../reference/datamodel.rst:1808 ../../reference/datamodel.rst:2239 +#: ../../reference/datamodel.rst:3295 msgid "object" msgstr "Objekt" @@ -7009,12 +7017,12 @@ msgstr "Daten" #: ../../reference/datamodel.rst:22 ../../reference/datamodel.rst:298 #: ../../reference/datamodel.rst:358 ../../reference/datamodel.rst:447 #: ../../reference/datamodel.rst:488 ../../reference/datamodel.rst:853 -#: ../../reference/datamodel.rst:1410 ../../reference/datamodel.rst:1886 -#: ../../reference/datamodel.rst:2135 ../../reference/datamodel.rst:2141 -#: ../../reference/datamodel.rst:2234 ../../reference/datamodel.rst:2801 -#: ../../reference/datamodel.rst:3238 ../../reference/datamodel.rst:3408 -#: ../../reference/datamodel.rst:3443 ../../reference/datamodel.rst:3511 -#: ../../reference/datamodel.rst:3521 ../../reference/datamodel.rst:3549 +#: ../../reference/datamodel.rst:1415 ../../reference/datamodel.rst:1891 +#: ../../reference/datamodel.rst:2140 ../../reference/datamodel.rst:2146 +#: ../../reference/datamodel.rst:2239 ../../reference/datamodel.rst:2806 +#: ../../reference/datamodel.rst:3243 ../../reference/datamodel.rst:3413 +#: ../../reference/datamodel.rst:3448 ../../reference/datamodel.rst:3516 +#: ../../reference/datamodel.rst:3526 ../../reference/datamodel.rst:3554 msgid "built-in function" msgstr "integrierte Funktion" @@ -7023,7 +7031,7 @@ msgid "id" msgstr "id" #: ../../reference/datamodel.rst:22 ../../reference/datamodel.rst:122 -#: ../../reference/datamodel.rst:2801 +#: ../../reference/datamodel.rst:2806 msgid "type" msgstr "Typ" @@ -7059,7 +7067,7 @@ msgstr "Referenzzählung" msgid "unreachable object" msgstr "unerreichbares Objekt" -#: ../../reference/datamodel.rst:91 ../../reference/datamodel.rst:1186 +#: ../../reference/datamodel.rst:91 ../../reference/datamodel.rst:1191 msgid "container" msgstr "Behälter" @@ -7074,7 +7082,7 @@ msgstr "Erweiterung" #: ../../reference/datamodel.rst:122 ../../reference/datamodel.rst:420 #: ../../reference/datamodel.rst:421 ../../reference/datamodel.rst:524 #: ../../reference/datamodel.rst:914 ../../reference/datamodel.rst:934 -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "module" msgstr "Modul" @@ -7088,9 +7096,9 @@ msgstr "C" msgid "language" msgstr "Sprache" -#: ../../reference/datamodel.rst:135 ../../reference/datamodel.rst:1186 -#: ../../reference/datamodel.rst:1204 ../../reference/datamodel.rst:1354 -#: ../../reference/datamodel.rst:1374 +#: ../../reference/datamodel.rst:135 ../../reference/datamodel.rst:1191 +#: ../../reference/datamodel.rst:1209 ../../reference/datamodel.rst:1359 +#: ../../reference/datamodel.rst:1379 msgid "attribute" msgstr "Attribut" @@ -7110,7 +7118,7 @@ msgstr "..." msgid "ellipsis literal" msgstr "Ellipsis-Literal" -#: ../../reference/datamodel.rst:195 ../../reference/datamodel.rst:1381 +#: ../../reference/datamodel.rst:195 ../../reference/datamodel.rst:1386 msgid "numeric" msgstr "numerisch" @@ -7146,16 +7154,16 @@ msgstr "Zahl" msgid "Java" msgstr "Java" -#: ../../reference/datamodel.rst:284 ../../reference/datamodel.rst:3521 +#: ../../reference/datamodel.rst:284 ../../reference/datamodel.rst:3526 msgid "complex" msgstr "komplex" #: ../../reference/datamodel.rst:298 ../../reference/datamodel.rst:447 -#: ../../reference/datamodel.rst:488 ../../reference/datamodel.rst:3238 +#: ../../reference/datamodel.rst:488 ../../reference/datamodel.rst:3243 msgid "len" msgstr "len" -#: ../../reference/datamodel.rst:298 ../../reference/datamodel.rst:1381 +#: ../../reference/datamodel.rst:298 ../../reference/datamodel.rst:1386 msgid "sequence" msgstr "Abfolge" @@ -7176,15 +7184,15 @@ msgstr "Abonnement" msgid "slicing" msgstr "Schneiden" -#: ../../reference/datamodel.rst:316 ../../reference/datamodel.rst:1898 +#: ../../reference/datamodel.rst:316 ../../reference/datamodel.rst:1903 msgid "start (slice object attribute)" msgstr "start (Attribut eines Slice-Objekts)" -#: ../../reference/datamodel.rst:316 ../../reference/datamodel.rst:1898 +#: ../../reference/datamodel.rst:316 ../../reference/datamodel.rst:1903 msgid "stop (slice object attribute)" msgstr "stop (Attribut eines Slice-Objekts)" -#: ../../reference/datamodel.rst:316 ../../reference/datamodel.rst:1898 +#: ../../reference/datamodel.rst:316 ../../reference/datamodel.rst:1903 msgid "step (slice object attribute)" msgstr "Schritt (Objektattribut „Slice“)" @@ -7197,7 +7205,7 @@ msgid "immutable" msgstr "unveränderlich" #: ../../reference/datamodel.rst:354 ../../reference/datamodel.rst:358 -#: ../../reference/datamodel.rst:2110 ../../reference/datamodel.rst:2141 +#: ../../reference/datamodel.rst:2115 ../../reference/datamodel.rst:2146 msgid "string" msgstr "Zeichenkette" @@ -7237,7 +7245,7 @@ msgstr "Singleton" msgid "empty" msgstr "leer" -#: ../../reference/datamodel.rst:396 ../../reference/datamodel.rst:2135 +#: ../../reference/datamodel.rst:396 ../../reference/datamodel.rst:2140 msgid "bytes" msgstr "Bytes" @@ -7253,14 +7261,14 @@ msgstr "veränderbare Sequenz" msgid "mutable" msgstr "veränderlich" -#: ../../reference/datamodel.rst:408 ../../reference/datamodel.rst:1204 -#: ../../reference/datamodel.rst:1374 +#: ../../reference/datamodel.rst:408 ../../reference/datamodel.rst:1209 +#: ../../reference/datamodel.rst:1379 msgid "assignment" msgstr "Aufgabe" #: ../../reference/datamodel.rst:408 ../../reference/datamodel.rst:914 -#: ../../reference/datamodel.rst:1840 ../../reference/datamodel.rst:2028 -#: ../../reference/datamodel.rst:3573 +#: ../../reference/datamodel.rst:1845 ../../reference/datamodel.rst:2033 +#: ../../reference/datamodel.rst:3578 msgid "statement" msgstr "Erklärung" @@ -7292,12 +7300,12 @@ msgstr "Satz" msgid "frozenset" msgstr "frozenset" -#: ../../reference/datamodel.rst:488 ../../reference/datamodel.rst:1381 +#: ../../reference/datamodel.rst:488 ../../reference/datamodel.rst:1386 msgid "mapping" msgstr "Kartierung" -#: ../../reference/datamodel.rst:505 ../../reference/datamodel.rst:1186 -#: ../../reference/datamodel.rst:2234 +#: ../../reference/datamodel.rst:505 ../../reference/datamodel.rst:1191 +#: ../../reference/datamodel.rst:2239 msgid "dictionary" msgstr "Wörterbuch" @@ -7323,8 +7331,8 @@ msgstr "abrufbar" msgid "function" msgstr "Funktion" -#: ../../reference/datamodel.rst:555 ../../reference/datamodel.rst:1186 -#: ../../reference/datamodel.rst:1209 ../../reference/datamodel.rst:3184 +#: ../../reference/datamodel.rst:555 ../../reference/datamodel.rst:1191 +#: ../../reference/datamodel.rst:1214 ../../reference/datamodel.rst:3189 msgid "call" msgstr "Anruf" @@ -7432,7 +7440,7 @@ msgstr "__name__ (Methodenattribut)" msgid "__module__ (method attribute)" msgstr "__module__ (Methode „attribute“)" -#: ../../reference/datamodel.rst:797 ../../reference/datamodel.rst:1578 +#: ../../reference/datamodel.rst:797 ../../reference/datamodel.rst:1583 msgid "generator" msgstr "Generator" @@ -7440,7 +7448,7 @@ msgstr "Generator" msgid "iterator" msgstr "Iterator" -#: ../../reference/datamodel.rst:815 ../../reference/datamodel.rst:3819 +#: ../../reference/datamodel.rst:815 ../../reference/datamodel.rst:3824 msgid "coroutine" msgstr "Koroutine" @@ -7508,483 +7516,483 @@ msgstr "__lazy_modules__ (Modulattribut)" msgid "__dict__ (module attribute)" msgstr "__dict__ (Modulattribut)" -#: ../../reference/datamodel.rst:1186 ../../reference/datamodel.rst:1204 -#: ../../reference/datamodel.rst:1354 ../../reference/datamodel.rst:2011 -#: ../../reference/datamodel.rst:2914 +#: ../../reference/datamodel.rst:1191 ../../reference/datamodel.rst:1209 +#: ../../reference/datamodel.rst:1359 ../../reference/datamodel.rst:2016 +#: ../../reference/datamodel.rst:2919 msgid "class" msgstr "Klasse" -#: ../../reference/datamodel.rst:1186 ../../reference/datamodel.rst:1354 -#: ../../reference/datamodel.rst:1374 +#: ../../reference/datamodel.rst:1191 ../../reference/datamodel.rst:1359 +#: ../../reference/datamodel.rst:1379 msgid "class instance" msgstr "Klasseninstanz" -#: ../../reference/datamodel.rst:1186 ../../reference/datamodel.rst:1354 -#: ../../reference/datamodel.rst:3184 +#: ../../reference/datamodel.rst:1191 ../../reference/datamodel.rst:1359 +#: ../../reference/datamodel.rst:3189 msgid "instance" msgstr "Beispiel" -#: ../../reference/datamodel.rst:1186 ../../reference/datamodel.rst:1209 +#: ../../reference/datamodel.rst:1191 ../../reference/datamodel.rst:1214 msgid "class object" msgstr "Klassenobjekt" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__name__ (class attribute)" msgstr "__name__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__module__ (class attribute)" msgstr "__module__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__dict__ (class attribute)" msgstr "__dict__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__bases__ (class attribute)" msgstr "__bases__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__base__ (class attribute)" msgstr "__base__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__doc__ (class attribute)" msgstr "__doc__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__annotations__ (class attribute)" msgstr "__annotations__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__annotate__ (class attribute)" msgstr "__annotate__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__type_params__ (class attribute)" msgstr "__type_params__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__static_attributes__ (class attribute)" msgstr "__static_attributes__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1216 +#: ../../reference/datamodel.rst:1221 msgid "__firstlineno__ (class attribute)" msgstr "__firstlineno__ (Klassenattribut)" -#: ../../reference/datamodel.rst:1392 +#: ../../reference/datamodel.rst:1397 msgid "__dict__ (instance attribute)" msgstr "__dict__ (Instanzattribut)" -#: ../../reference/datamodel.rst:1392 +#: ../../reference/datamodel.rst:1397 msgid "__class__ (instance attribute)" msgstr "__class__ (Instanzattribut)" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "open" msgstr "öffnen" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "io" msgstr "io" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "popen() (in module os)" msgstr "popen() (im Modul „os“)" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "makefile() (socket method)" msgstr "makefile() (Socket-Methode)" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "sys.stdin" msgstr "sys.stdin" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "sys.stdout" msgstr "sys.stdout" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "sys.stderr" msgstr "sys.stderr" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "stdio" msgstr "stdio" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "stdin (in module sys)" msgstr "stdin (im Modul sys)" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "stdout (in module sys)" msgstr "stdout (im Modul sys)" -#: ../../reference/datamodel.rst:1410 +#: ../../reference/datamodel.rst:1415 msgid "stderr (in module sys)" msgstr "stderr (im Modul „sys“)" -#: ../../reference/datamodel.rst:1455 +#: ../../reference/datamodel.rst:1460 msgid "internal type" msgstr "interner Typ" -#: ../../reference/datamodel.rst:1455 +#: ../../reference/datamodel.rst:1460 msgid "types, internal" msgstr "Typen, intern" -#: ../../reference/datamodel.rst:1469 +#: ../../reference/datamodel.rst:1474 msgid "bytecode" msgstr "Bytecode" -#: ../../reference/datamodel.rst:1469 +#: ../../reference/datamodel.rst:1474 msgid "code" msgstr "Code" -#: ../../reference/datamodel.rst:1469 +#: ../../reference/datamodel.rst:1474 msgid "code object" msgstr "Codeobjekt" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_argcount (code object attribute)" msgstr "co_argcount (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_posonlyargcount (code object attribute)" msgstr "co_posonlyargcount (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_kwonlyargcount (code object attribute)" msgstr "co_kwonlyargcount (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_code (code object attribute)" msgstr "co_code (Attribut des Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_consts (code object attribute)" msgstr "co_consts (Codeobjekt-Attribut)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_filename (code object attribute)" msgstr "co_filename (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_firstlineno (code object attribute)" msgstr "co_firstlineno (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_flags (code object attribute)" msgstr "co_flags (Code-Objekt-Attribut)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_name (code object attribute)" msgstr "co_name (Attribut des Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_names (code object attribute)" msgstr "co_names (Attribut des Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_nlocals (code object attribute)" msgstr "co_nlocals (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_stacksize (code object attribute)" msgstr "co_stacksize (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_varnames (code object attribute)" msgstr "co_varnames (Attribut des Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_cellvars (code object attribute)" msgstr "co_cellvars (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_freevars (code object attribute)" msgstr "co_freevars (Codeobjekt-Attribut)" -#: ../../reference/datamodel.rst:1480 +#: ../../reference/datamodel.rst:1485 msgid "co_qualname (code object attribute)" msgstr "co_qualname (Attribut eines Code-Objekts)" -#: ../../reference/datamodel.rst:1594 +#: ../../reference/datamodel.rst:1599 msgid "documentation string" msgstr "Dokumentationszeichenfolge" -#: ../../reference/datamodel.rst:1686 +#: ../../reference/datamodel.rst:1691 msgid "frame" msgstr "Rahmen" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_back (frame attribute)" msgstr "f_back (Frame-Attribut)" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_code (frame attribute)" msgstr "f_code (Frame-Attribut)" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_globals (frame attribute)" msgstr "f_globals (Frame-Attribut)" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_locals (frame attribute)" msgstr "f_locals (Frame-Attribut)" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_lasti (frame attribute)" msgstr "f_lasti (Frame-Attribut)" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_builtins (frame attribute)" msgstr "f_builtins (Frame-Attribut)" -#: ../../reference/datamodel.rst:1692 +#: ../../reference/datamodel.rst:1697 msgid "f_generator (frame attribute)" msgstr "f_generator (Frame-Attribut)" -#: ../../reference/datamodel.rst:1743 +#: ../../reference/datamodel.rst:1748 msgid "f_trace (frame attribute)" msgstr "f_trace (Frame-Attribut)" -#: ../../reference/datamodel.rst:1743 +#: ../../reference/datamodel.rst:1748 msgid "f_trace_lines (frame attribute)" msgstr "f_trace_lines (Frame-Attribut)" -#: ../../reference/datamodel.rst:1743 +#: ../../reference/datamodel.rst:1748 msgid "f_trace_opcodes (frame attribute)" msgstr "f_trace_opcodes (Frame-Attribut)" -#: ../../reference/datamodel.rst:1743 +#: ../../reference/datamodel.rst:1748 msgid "f_lineno (frame attribute)" msgstr "f_lineno (Frame-Attribut)" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "traceback" msgstr "Traceback" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "stack" msgstr "Stapel" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "trace" msgstr "Spur" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "exception" msgstr "Ausnahme" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "handler" msgstr "Handler" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "execution" msgstr "Ausführung" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "exc_info (in module sys)" msgstr "exc_info (im Modul sys)" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "last_traceback (in module sys)" msgstr "last_traceback (im Modul sys)" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "sys.exc_info" msgstr "sys.exc_info" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "sys.exception" msgstr "sys.exception" -#: ../../reference/datamodel.rst:1803 +#: ../../reference/datamodel.rst:1808 msgid "sys.last_traceback" msgstr "sys.last_traceback" -#: ../../reference/datamodel.rst:1840 +#: ../../reference/datamodel.rst:1845 msgid "tb_frame (traceback attribute)" msgstr "tb_frame (Traceback-Attribut)" -#: ../../reference/datamodel.rst:1840 +#: ../../reference/datamodel.rst:1845 msgid "tb_lineno (traceback attribute)" msgstr "tb_lineno (Traceback-Attribut)" -#: ../../reference/datamodel.rst:1840 +#: ../../reference/datamodel.rst:1845 msgid "tb_lasti (traceback attribute)" msgstr "tb_lasti (Traceback-Attribut)" -#: ../../reference/datamodel.rst:1840 +#: ../../reference/datamodel.rst:1845 msgid "try" msgstr "versuchen" -#: ../../reference/datamodel.rst:1870 +#: ../../reference/datamodel.rst:1875 msgid "tb_next (traceback attribute)" msgstr "tb_next (Traceback-Attribut)" -#: ../../reference/datamodel.rst:1886 ../../reference/datamodel.rst:3290 +#: ../../reference/datamodel.rst:1891 ../../reference/datamodel.rst:3295 msgid "slice" msgstr "Scheibe" -#: ../../reference/datamodel.rst:1946 +#: ../../reference/datamodel.rst:1951 msgid "operator" msgstr "Operator" -#: ../../reference/datamodel.rst:1946 +#: ../../reference/datamodel.rst:1951 msgid "overloading" msgstr "Überlastung" -#: ../../reference/datamodel.rst:1946 +#: ../../reference/datamodel.rst:1951 msgid "__getitem__() (mapping object method)" msgstr "__getitem__() (Methode eines Mapping-Objekts)" -#: ../../reference/datamodel.rst:1982 +#: ../../reference/datamodel.rst:1987 msgid "subclassing" msgstr "Unterklassenbildung" -#: ../../reference/datamodel.rst:1982 +#: ../../reference/datamodel.rst:1987 msgid "immutable types" msgstr "unveränderliche Typen" -#: ../../reference/datamodel.rst:2011 +#: ../../reference/datamodel.rst:2016 msgid "constructor" msgstr "Konstruktor" -#: ../../reference/datamodel.rst:2028 +#: ../../reference/datamodel.rst:2033 msgid "destructor" msgstr "Destruktor" -#: ../../reference/datamodel.rst:2028 +#: ../../reference/datamodel.rst:2033 msgid "finalizer" msgstr "Finalizer" -#: ../../reference/datamodel.rst:2028 +#: ../../reference/datamodel.rst:2033 msgid "del" msgstr "del" -#: ../../reference/datamodel.rst:2092 +#: ../../reference/datamodel.rst:2097 msgid "repr() (built-in function)" msgstr "repr() (integrierte Funktion)" -#: ../../reference/datamodel.rst:2092 +#: ../../reference/datamodel.rst:2097 msgid "__repr__() (object method)" msgstr "__repr__() (Objektmethode)" -#: ../../reference/datamodel.rst:2110 +#: ../../reference/datamodel.rst:2115 msgid "__str__() (object method)" msgstr "__str__() (Objektmethode)" -#: ../../reference/datamodel.rst:2110 +#: ../../reference/datamodel.rst:2115 msgid "format() (built-in function)" msgstr "format() (integrierte Funktion)" -#: ../../reference/datamodel.rst:2110 +#: ../../reference/datamodel.rst:2115 msgid "print() (built-in function)" msgstr "print() (integrierte Funktion)" -#: ../../reference/datamodel.rst:2141 +#: ../../reference/datamodel.rst:2146 msgid "__format__() (object method)" msgstr "__format__() (Objektmethode)" -#: ../../reference/datamodel.rst:2141 +#: ../../reference/datamodel.rst:2146 msgid "conversion" msgstr "Umrechnung" -#: ../../reference/datamodel.rst:2141 +#: ../../reference/datamodel.rst:2146 msgid "print" msgstr "Drucken" -#: ../../reference/datamodel.rst:2183 +#: ../../reference/datamodel.rst:2188 msgid "comparisons" msgstr "Vergleiche" -#: ../../reference/datamodel.rst:2234 +#: ../../reference/datamodel.rst:2239 msgid "hash" msgstr "Hash" -#: ../../reference/datamodel.rst:2315 +#: ../../reference/datamodel.rst:2320 msgid "__len__() (mapping object method)" msgstr "__len__() (Methode eines Mapping-Objekts)" -#: ../../reference/datamodel.rst:2420 +#: ../../reference/datamodel.rst:2425 msgid "__getattr__ (module attribute)" msgstr "__getattr__ (Modul-Attribut)" -#: ../../reference/datamodel.rst:2420 +#: ../../reference/datamodel.rst:2425 msgid "__dir__ (module attribute)" msgstr "__dir__ (Modulattribut)" -#: ../../reference/datamodel.rst:2420 +#: ../../reference/datamodel.rst:2425 msgid "__class__ (module attribute)" msgstr "__class__ (Modulattribut)" -#: ../../reference/datamodel.rst:2801 +#: ../../reference/datamodel.rst:2806 msgid "metaclass" msgstr "Metaklasse" -#: ../../reference/datamodel.rst:2801 +#: ../../reference/datamodel.rst:2806 msgid "= (equals)" msgstr "= (gleich)" -#: ../../reference/datamodel.rst:2801 +#: ../../reference/datamodel.rst:2806 msgid "class definition" msgstr "Klassendefinition" -#: ../../reference/datamodel.rst:2867 +#: ../../reference/datamodel.rst:2872 msgid "metaclass hint" msgstr "Metaklassen-Hinweis" -#: ../../reference/datamodel.rst:2890 +#: ../../reference/datamodel.rst:2895 msgid "__prepare__ (metaclass method)" msgstr "__prepare__ (Metaklassenmethode)" -#: ../../reference/datamodel.rst:2914 +#: ../../reference/datamodel.rst:2919 msgid "body" msgstr "Körper" -#: ../../reference/datamodel.rst:2934 +#: ../../reference/datamodel.rst:2939 msgid "__class__ (method cell)" msgstr "__class__ (Methodenzelle)" -#: ../../reference/datamodel.rst:2934 +#: ../../reference/datamodel.rst:2939 msgid "__classcell__ (class namespace entry)" msgstr "__classcell__ (Eintrag im Klassen-Namensraum)" -#: ../../reference/datamodel.rst:3238 +#: ../../reference/datamodel.rst:3243 msgid "__bool__() (object method)" msgstr "__bool__() (Objektmethode)" -#: ../../reference/datamodel.rst:3408 ../../reference/datamodel.rst:3443 +#: ../../reference/datamodel.rst:3413 ../../reference/datamodel.rst:3448 msgid "divmod" msgstr "divmod" -#: ../../reference/datamodel.rst:3408 ../../reference/datamodel.rst:3443 +#: ../../reference/datamodel.rst:3413 ../../reference/datamodel.rst:3448 msgid "pow" msgstr "pow" -#: ../../reference/datamodel.rst:3511 +#: ../../reference/datamodel.rst:3516 msgid "abs" msgstr "abs" -#: ../../reference/datamodel.rst:3521 +#: ../../reference/datamodel.rst:3526 msgid "int" msgstr "int" -#: ../../reference/datamodel.rst:3521 +#: ../../reference/datamodel.rst:3526 msgid "float" msgstr "float" -#: ../../reference/datamodel.rst:3549 +#: ../../reference/datamodel.rst:3554 msgid "round" msgstr "rund" -#: ../../reference/datamodel.rst:3573 +#: ../../reference/datamodel.rst:3578 msgid "with" msgstr "mit" -#: ../../reference/datamodel.rst:3573 +#: ../../reference/datamodel.rst:3578 msgid "context manager" msgstr "Kontextmanager" diff --git a/reference/expressions.po b/reference/expressions.po index f489f436..76790939 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-09 03:05+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -3060,7 +3060,7 @@ msgstr "" "Die Klasse muss eine Methode :meth:`~object.__call__` definieren. Die " "Auswirkung ist dann dieselbe, als wäre diese Methode aufgerufen worden." -#: ../../reference/expressions.rst:1738 ../../reference/expressions.rst:2575 +#: ../../reference/expressions.rst:1738 ../../reference/expressions.rst:2587 msgid "Await expression" msgstr "Ausdruck \"Await“" @@ -3666,13 +3666,17 @@ msgstr "" "korrekt und ohne Genauigkeitsverlust." #: ../../reference/expressions.rst:2132 +#, fuzzy msgid "" -"The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are " +"The not-a-number floating-point numbers, like ``float('NaN')``, are " "special. Any ordered comparison of a number to a not-a-number value is " "false. A counter-intuitive implication is that not-a-number values are not " "equal to themselves. For example, if ``x = float('NaN')``, ``3 < x``, ``x < " "3`` and ``x == x`` are all false, while ``x != x`` is true. This behavior " -"is compliant with IEEE 754." +"is compliant with IEEE 754. Similar behavior holds " +"for :class:`decimal.Decimal`'s not-a-number values, like ``Decimal('NaN')``. " +"Refer to the :ref:`Special values ` section of " +"the :mod:`decimal` documentation." msgstr "" "Die Nicht-Zahlen-Werte ``float('NaN')`` und ``decimal.Decimal('NaN')`` sind " "Sonderfälle. Jeder geordnete Vergleich einer Zahl mit einem Nicht-Zahlen-" @@ -3682,7 +3686,7 @@ msgstr "" "falsch, während ``x != x`` wahr ist. Dieses Verhalten entspricht dem IEEE " "754-Standard." -#: ../../reference/expressions.rst:2139 +#: ../../reference/expressions.rst:2142 msgid "" "``None`` and :data:`NotImplemented` are singletons. :PEP:`8` advises that " "comparisons for singletons should always be done with ``is`` or ``is not``, " @@ -3692,7 +3696,7 @@ msgstr "" "Vergleiche bei Singletons stets mit ``is`` oder ``is not`` durchzuführen, " "niemals mit den Gleichheitsoperatoren." -#: ../../reference/expressions.rst:2143 +#: ../../reference/expressions.rst:2146 msgid "" "Binary sequences (instances of :class:`bytes` or :class:`bytearray`) can be " "compared within and across their types. They compare lexicographically " @@ -3702,7 +3706,7 @@ msgstr "" "lassen sich innerhalb ihres Typs und typübergreifend vergleichen. Verglichen " "wird lexikografisch anhand der Zahlenwerte ihrer Elemente." -#: ../../reference/expressions.rst:2147 +#: ../../reference/expressions.rst:2150 msgid "" "Strings (instances of :class:`str`) compare lexicographically using the " "numerical Unicode code points (the result of the built-in " @@ -3712,13 +3716,13 @@ msgstr "" "numerischen Unicode-Codepunkte (das Ergebnis der integrierten " "Funktion :func:`ord`) ihrer Zeichen verglichen. [#]_" -#: ../../reference/expressions.rst:2151 +#: ../../reference/expressions.rst:2154 msgid "Strings and binary sequences cannot be directly compared." msgstr "" "Zeichenketten und Binärsequenzen lassen sich nicht direkt miteinander " "vergleichen." -#: ../../reference/expressions.rst:2153 +#: ../../reference/expressions.rst:2156 msgid "" "Sequences (instances of :class:`tuple`, :class:`list`, or :class:`range`) " "can be compared only within each of their types, with the restriction that " @@ -3732,7 +3736,7 @@ msgstr "" "Gleichheitsvergleich zwischen diesen Typen führt zu Ungleichheit, und ein " "Reihenfolgevergleich zwischen diesen Typen löst eine :exc:`TypeError` aus." -#: ../../reference/expressions.rst:2159 +#: ../../reference/expressions.rst:2162 msgid "" "Sequences compare lexicographically using comparison of corresponding " "elements. The built-in containers typically assume identical objects are " @@ -3746,14 +3750,14 @@ msgstr "" "um die Leistung zu verbessern und ihre internen Invarianten " "aufrechtzuerhalten." -#: ../../reference/expressions.rst:2164 +#: ../../reference/expressions.rst:2167 msgid "" "Lexicographical comparison between built-in collections works as follows:" msgstr "" "Der lexikografische Vergleich zwischen den integrierten Sammlungen " "funktioniert wie folgt:" -#: ../../reference/expressions.rst:2166 +#: ../../reference/expressions.rst:2169 msgid "" "For two collections to compare equal, they must be of the same type, have " "the same length, and each pair of corresponding elements must compare equal " @@ -3764,7 +3768,7 @@ msgstr "" "Elemente muss als gleich erkannt werden (beispielsweise ist ``[1,2] == " "(1,2)`` falsch, da der Typ nicht derselbe ist)." -#: ../../reference/expressions.rst:2171 +#: ../../reference/expressions.rst:2174 msgid "" "Collections that support order comparison are ordered the same as their " "first unequal elements (for example, ``[1,2,x] <= [1,2,y]`` has the same " @@ -3778,7 +3782,7 @@ msgstr "" "vorhanden ist, wird die kürzere Sammlung zuerst geordnet (beispielsweise ist " "``[1,2] < [1,2,3]`` wahr)." -#: ../../reference/expressions.rst:2177 +#: ../../reference/expressions.rst:2180 msgid "" "Mappings (instances of :class:`dict`) compare equal if and only if they have " "equal ``(key, value)`` pairs. Equality comparison of the keys and values " @@ -3788,14 +3792,14 @@ msgstr "" "gleiche ``(key, value)``-Paare aufweisen. Der Gleichheitsvergleich der " "Schlüssel und Werte gewährleistet Reflexivität." -#: ../../reference/expressions.rst:2181 +#: ../../reference/expressions.rst:2184 msgid "" "Order comparisons (``<``, ``>``, ``<=``, and ``>=``) raise :exc:`TypeError`." msgstr "" "Auftragsvergleiche (``<``, ``>``, ``<=`` und ``>=``) lösen den " "Fehler :exc:`TypeError` aus." -#: ../../reference/expressions.rst:2183 +#: ../../reference/expressions.rst:2186 msgid "" "Sets (instances of :class:`set` or :class:`frozenset`) can be compared " "within and across their types." @@ -3803,7 +3807,7 @@ msgstr "" "Mengen (Instanzen von :class:`set` oder :class:`frozenset`) können sowohl " "innerhalb ihres Typs als auch typübergreifend verglichen werden." -#: ../../reference/expressions.rst:2186 +#: ../../reference/expressions.rst:2189 msgid "" "They define order comparison operators to mean subset and superset tests. " "Those relations do not define total orderings (for example, the two sets " @@ -3822,11 +3826,11 @@ msgstr "" "liefern :func:`min`, :func:`max` und :func:`sorted` undefinierte Ergebnisse, " "wenn eine Liste von Mengen als Eingabe gegeben wird)." -#: ../../reference/expressions.rst:2194 +#: ../../reference/expressions.rst:2197 msgid "Comparison of sets enforces reflexivity of its elements." msgstr "Der Vergleich von Mengen bedingt die Reflexivität ihrer Elemente." -#: ../../reference/expressions.rst:2196 +#: ../../reference/expressions.rst:2199 msgid "" "Most other built-in types have no comparison methods implemented, so they " "inherit the default comparison behavior." @@ -3834,7 +3838,7 @@ msgstr "" "Für die meisten anderen integrierten Typen sind keine Vergleichsmethoden " "implementiert, sodass sie das Standardvergleichsverhalten übernehmen." -#: ../../reference/expressions.rst:2199 +#: ../../reference/expressions.rst:2202 msgid "" "User-defined classes that customize their comparison behavior should follow " "some consistency rules, if possible:" @@ -3842,7 +3846,7 @@ msgstr "" "Benutzerdefinierte Klassen, die ihr Vergleichsverhalten anpassen, sollten " "nach Möglichkeit bestimmte Konsistenzregeln befolgen:" -#: ../../reference/expressions.rst:2202 +#: ../../reference/expressions.rst:2205 msgid "" "Equality comparison should be reflexive. In other words, identical objects " "should compare equal:" @@ -3850,11 +3854,11 @@ msgstr "" "Der Gleichheitsvergleich sollte reflexiv sein. Mit anderen Worten: " "Identische Objekte sollten als gleich angesehen werden:" -#: ../../reference/expressions.rst:2205 +#: ../../reference/expressions.rst:2208 msgid "``x is y`` implies ``x == y``" msgstr "``x is y`` bedeutet ``x == y``" -#: ../../reference/expressions.rst:2207 +#: ../../reference/expressions.rst:2210 msgid "" "Comparison should be symmetric. In other words, the following expressions " "should have the same result:" @@ -3862,23 +3866,23 @@ msgstr "" "Der Vergleich sollte symmetrisch sein. Mit anderen Worten: Die folgenden " "Ausdrücke sollten zum gleichen Ergebnis führen:" -#: ../../reference/expressions.rst:2210 +#: ../../reference/expressions.rst:2213 msgid "``x == y`` and ``y == x``" msgstr "``x == y`` und ``y == x``" -#: ../../reference/expressions.rst:2212 +#: ../../reference/expressions.rst:2215 msgid "``x != y`` and ``y != x``" msgstr "``x != y`` und ``y != x``" -#: ../../reference/expressions.rst:2214 +#: ../../reference/expressions.rst:2217 msgid "``x < y`` and ``y > x``" msgstr "``x < y`` und ``y > x``" -#: ../../reference/expressions.rst:2216 +#: ../../reference/expressions.rst:2219 msgid "``x <= y`` and ``y >= x``" msgstr "``x <= y`` und ``y >= x``" -#: ../../reference/expressions.rst:2218 +#: ../../reference/expressions.rst:2221 msgid "" "Comparison should be transitive. The following (non-exhaustive) examples " "illustrate that:" @@ -3886,15 +3890,15 @@ msgstr "" "Die Vergleichbarkeit sollte transitiv sein. Die folgenden (nicht " "erschöpfenden) Beispiele veranschaulichen dies:" -#: ../../reference/expressions.rst:2221 +#: ../../reference/expressions.rst:2224 msgid "``x > y and y > z`` implies ``x > z``" msgstr "``x > y and y > z`` bedeutet ``x > z``" -#: ../../reference/expressions.rst:2223 +#: ../../reference/expressions.rst:2226 msgid "``x < y and y <= z`` implies ``x < z``" msgstr "``x < y and y <= z`` bedeutet ``x < z``" -#: ../../reference/expressions.rst:2225 +#: ../../reference/expressions.rst:2228 msgid "" "Inverse comparison should result in the boolean negation. In other words, " "the following expressions should have the same result:" @@ -3902,19 +3906,19 @@ msgstr "" "Ein inverser Vergleich sollte zur booleschen Negation führen. Mit anderen " "Worten: Die folgenden Ausdrücke sollten dasselbe Ergebnis liefern:" -#: ../../reference/expressions.rst:2228 +#: ../../reference/expressions.rst:2231 msgid "``x == y`` and ``not x != y``" msgstr "``x == y`` und ``not x != y``" -#: ../../reference/expressions.rst:2230 +#: ../../reference/expressions.rst:2233 msgid "``x < y`` and ``not x >= y`` (for total ordering)" msgstr "``x < y`` und ``not x >= y`` (zum Thema Gesamtordnung)" -#: ../../reference/expressions.rst:2232 +#: ../../reference/expressions.rst:2235 msgid "``x > y`` and ``not x <= y`` (for total ordering)" msgstr "``x > y`` und ``not x <= y`` (zum Thema Gesamtordnung)" -#: ../../reference/expressions.rst:2234 +#: ../../reference/expressions.rst:2237 msgid "" "The last two expressions apply to totally ordered collections (e.g. to " "sequences, but not to sets or mappings). See also " @@ -3924,7 +3928,7 @@ msgstr "" "für Folgen, jedoch nicht für Mengen oder Abbildungen). Siehe auch den " "Dekorator :deco:`~functools.total_ordering`." -#: ../../reference/expressions.rst:2238 +#: ../../reference/expressions.rst:2241 msgid "" "The :func:`hash` result should be consistent with equality. Objects that are " "equal should either have the same hash value, or be marked as unhashable." @@ -3933,7 +3937,7 @@ msgstr "" "Objekte, die gleich sind, sollten entweder denselben Hash-Wert haben oder " "als \"unhashable“ gekennzeichnet sein." -#: ../../reference/expressions.rst:2242 +#: ../../reference/expressions.rst:2245 msgid "" "Python does not enforce these consistency rules. In fact, the not-a-number " "values are an example for not following these rules." @@ -3941,11 +3945,11 @@ msgstr "" "Python erzwingt diese Konsistenzregeln nicht. Tatsächlich sind die „Not-a-" "Number“-Werte ein Beispiel dafür, dass diese Regeln nicht befolgt werden." -#: ../../reference/expressions.rst:2251 +#: ../../reference/expressions.rst:2254 msgid "Membership test operations" msgstr "Testbetrieb der Mitgliedschaft" -#: ../../reference/expressions.rst:2253 +#: ../../reference/expressions.rst:2256 msgid "" "The operators :keyword:`in` and :keyword:`not in` test for membership. ``x " "in s`` evaluates to ``True`` if *x* is a member of *s*, and ``False`` " @@ -3965,7 +3969,7 @@ msgstr "" "`frozenset`, `dict` oder `collections.deque` ist der Ausdruck ``x in y`` " "gleichbedeutend mit ``any(x is e or x == e for e in y)``." -#: ../../reference/expressions.rst:2261 +#: ../../reference/expressions.rst:2264 msgid "" "For the string and bytes types, ``x in y`` is ``True`` if and only if *x* is " "a substring of *y*. An equivalent test is ``y.find(x) != -1``. Empty " @@ -3977,7 +3981,7 @@ msgstr "" "``y.find(x) != -1``. Leere Strings gelten immer als Teilstring jedes anderen " "Strings, daher gibt ``\"\" in \"abc\"`` den Wert ``True`` zurück." -#: ../../reference/expressions.rst:2266 +#: ../../reference/expressions.rst:2269 msgid "" "For user-defined classes which define the :meth:`~object.__contains__` " "method, ``x in y`` returns ``True`` if ``y.__contains__(x)`` returns a true " @@ -3988,7 +3992,7 @@ msgstr "" "``True`` zurück, wenn ``y.__contains__(x)`` einen wahren Wert zurückgibt, " "und andernfalls den Wert ``False``." -#: ../../reference/expressions.rst:2270 +#: ../../reference/expressions.rst:2273 msgid "" "For user-defined classes which do not define :meth:`~object.__contains__` " "but do define :meth:`~object.__iter__`, ``x in y`` is ``True`` if some value " @@ -4003,7 +4007,7 @@ msgstr "" "eine Ausnahme ausgelöst, verhält es sich so, als hätte :keyword:`in` diese " "Ausnahme ausgelöst." -#: ../../reference/expressions.rst:2276 +#: ../../reference/expressions.rst:2279 msgid "" "Lastly, the old-style iteration protocol is tried: if a class " "defines :meth:`~object.__getitem__`, ``x in y`` is ``True`` if and only if " @@ -4019,7 +4023,7 @@ msgstr "" "Ausnahme :exc:`IndexError` auslöst. (Wird eine andere Ausnahme ausgelöst, " "verhält es sich so, als hätte :keyword:`in` diese Ausnahme ausgelöst.)" -#: ../../reference/expressions.rst:2288 +#: ../../reference/expressions.rst:2291 msgid "" "The operator :keyword:`not in` is defined to have the inverse truth value " "of :keyword:`in`." @@ -4027,11 +4031,11 @@ msgstr "" "Der Operator :keyword:`not in` ist so definiert, dass er den umgekehrten " "Wahrheitswert von :keyword:`in` hat." -#: ../../reference/expressions.rst:2301 +#: ../../reference/expressions.rst:2304 msgid "Identity comparisons" msgstr "Identitätsvergleiche" -#: ../../reference/expressions.rst:2303 +#: ../../reference/expressions.rst:2306 msgid "" "The operators :keyword:`is` and :keyword:`is not` test for an object's " "identity: ``x is y`` is true if and only if *x* and *y* are the same " @@ -4044,11 +4048,11 @@ msgstr "" "Funktion :meth:`id` ermittelt. ``x is not y`` liefert den umgekehrten " "Wahrheitswert. [#]_" -#: ../../reference/expressions.rst:2315 +#: ../../reference/expressions.rst:2318 msgid "Boolean operations" msgstr "Boolesche Operationen" -#: ../../reference/expressions.rst:2326 +#: ../../reference/expressions.rst:2329 msgid "" "In the context of Boolean operations, and also when expressions are used by " "control flow statements, the following values are interpreted as false: " @@ -4067,7 +4071,7 @@ msgstr "" "können ihren Wahrheitswert anpassen, indem sie eine " "Methode :meth:`~object.__bool__` bereitstellen." -#: ../../reference/expressions.rst:2335 +#: ../../reference/expressions.rst:2338 msgid "" "The operator :keyword:`not` yields ``True`` if its argument is false, " "``False`` otherwise." @@ -4075,7 +4079,7 @@ msgstr "" "Der Operator :keyword:`not` liefert ``True``, wenn sein Argument falsch ist, " "andernfalls ``False``." -#: ../../reference/expressions.rst:2340 +#: ../../reference/expressions.rst:2343 msgid "" "The expression ``x and y`` first evaluates *x*; if *x* is false, its value " "is returned; otherwise, *y* is evaluated and the resulting value is returned." @@ -4084,7 +4088,7 @@ msgstr "" "dessen Wert zurückgegeben. Andernfalls wird *y* ausgewertet und der " "resultierende Wert zurückgegeben." -#: ../../reference/expressions.rst:2345 +#: ../../reference/expressions.rst:2348 msgid "" "The expression ``x or y`` first evaluates *x*; if *x* is true, its value is " "returned; otherwise, *y* is evaluated and the resulting value is returned." @@ -4093,7 +4097,7 @@ msgstr "" "Wert zurückgegeben. Andernfalls wird *y* ausgewertet und der resultierende " "Wert zurückgegeben." -#: ../../reference/expressions.rst:2348 +#: ../../reference/expressions.rst:2351 msgid "" "Note that neither :keyword:`and` nor :keyword:`or` restrict the value and " "type they return to ``False`` and ``True``, but rather return the last " @@ -4113,11 +4117,11 @@ msgstr "" "booleschen Wert zurück (beispielsweise erzeugt ``not 'foo'`` ``False`` statt " "``''`` )." -#: ../../reference/expressions.rst:2367 +#: ../../reference/expressions.rst:2370 msgid "Assignment expressions" msgstr "Zuweisungsausdrücke" -#: ../../reference/expressions.rst:2372 +#: ../../reference/expressions.rst:2375 msgid "" "An assignment expression (sometimes also called a \"named expression\" or " "\"walrus\") assigns an :token:`~python-grammar:expression` to " @@ -4129,13 +4133,13 @@ msgstr "" "eine :token:`~python-grammar:expression` zu und gibt gleichzeitig den Wert " "des :token:`~python-grammar:expression` zurück." -#: ../../reference/expressions.rst:2377 +#: ../../reference/expressions.rst:2380 msgid "One common use case is when handling matched regular expressions:" msgstr "" "Ein häufiger Anwendungsfall ist die Verarbeitung von übereinstimmenden " "regulären Ausdrücken:" -#: ../../reference/expressions.rst:2379 +#: ../../reference/expressions.rst:2382 msgid "" "if matching := pattern.search(data):\n" " do_something(matching)" @@ -4143,11 +4147,11 @@ msgstr "" "if matching := pattern.search(data):\n" " do_something(matching)" -#: ../../reference/expressions.rst:2384 +#: ../../reference/expressions.rst:2387 msgid "Or, when processing a file stream in chunks:" msgstr "Oder bei der Verarbeitung eines Dateistroms in Blöcken:" -#: ../../reference/expressions.rst:2386 +#: ../../reference/expressions.rst:2389 msgid "" "while chunk := file.read(9000):\n" " process(chunk)" @@ -4155,7 +4159,7 @@ msgstr "" "while chunk := file.read(9000):\n" " process(chunk)" -#: ../../reference/expressions.rst:2391 +#: ../../reference/expressions.rst:2394 msgid "" "Assignment expressions must be surrounded by parentheses when used as " "expression statements and when used as sub-expressions in slicing, " @@ -4172,16 +4176,16 @@ msgstr "" "Klammern nicht erforderlich, einschließlich in den Anweisungen ``if`` und " "``while``." -#: ../../reference/expressions.rst:2399 +#: ../../reference/expressions.rst:2402 msgid "See :pep:`572` for more details about assignment expressions." msgstr "" "Weitere Informationen zu Zuweisungsausdrücken findest du unter :pep:`572`." -#: ../../reference/expressions.rst:2406 +#: ../../reference/expressions.rst:2409 msgid "Conditional expressions" msgstr "Bedingte Ausdrücke" -#: ../../reference/expressions.rst:2418 +#: ../../reference/expressions.rst:2421 msgid "" "A conditional expression (sometimes called a \"ternary operator\") is an " "alternative to the if-else statement. As it is an expression, it returns a " @@ -4191,7 +4195,7 @@ msgstr "" "ist eine Alternative zur if-else-Anweisung. Da es sich um einen Ausdruck " "handelt, gibt er einen Wert zurück und kann als Teilausdruck auftreten." -#: ../../reference/expressions.rst:2422 +#: ../../reference/expressions.rst:2425 msgid "" "The expression ``x if C else y`` first evaluates the condition, *C* rather " "than *x*. If *C* is true, *x* is evaluated and its value is returned; " @@ -4201,16 +4205,31 @@ msgstr "" "*x* aus. Ist *C* wahr, wird *x* ausgewertet und dessen Wert zurückgegeben. " "Andernfalls wird *y* ausgewertet und dessen Wert zurückgegeben." -#: ../../reference/expressions.rst:2426 +#: ../../reference/expressions.rst:2429 +msgid "" +"Conditional expressions group from right to left, so ``a if b else c if d " +"else e`` means ``a if b else (c if d else e)``::" +msgstr "" + +#: ../../reference/expressions.rst:2432 +msgid "" +">>> n = 2\n" +">>> print('positive' if n > 0\n" +"... else 'negative' if n < 0\n" +"... else 'zero')\n" +"positive" +msgstr "" + +#: ../../reference/expressions.rst:2438 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" "Weitere Informationen zu bedingten Ausdrücken findest du unter :pep:`308`." -#: ../../reference/expressions.rst:2433 +#: ../../reference/expressions.rst:2445 msgid "Lambdas" msgstr "Lambdas" -#: ../../reference/expressions.rst:2444 +#: ../../reference/expressions.rst:2456 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -4222,7 +4241,7 @@ msgstr "" "liefert ein Funktionsobjekt. Das namenlose Objekt verhält sich wie ein " "Funktionsobjekt, das so definiert wurde:" -#: ../../reference/expressions.rst:2448 +#: ../../reference/expressions.rst:2460 msgid "" "def (parameters):\n" " return expression" @@ -4230,7 +4249,7 @@ msgstr "" "def (parameters):\n" " return expression" -#: ../../reference/expressions.rst:2453 +#: ../../reference/expressions.rst:2465 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " @@ -4240,11 +4259,11 @@ msgstr "" "Abschnitt :ref:`function`. Beachte, dass mit Lambda-Ausdrücken erstellte " "Funktionen keine Anweisungen oder Anmerkungen enthalten dürfen." -#: ../../reference/expressions.rst:2465 +#: ../../reference/expressions.rst:2477 msgid "Expression lists" msgstr "Ausdruckslisten" -#: ../../reference/expressions.rst:2481 +#: ../../reference/expressions.rst:2493 msgid "" "Except when part of a list or set display, an expression list containing at " "least one comma yields a tuple. The length of the tuple is the number of " @@ -4255,7 +4274,7 @@ msgstr "" "Tupels entspricht der Anzahl der Ausdrücke in der Liste. Die Ausdrücke " "werden von links nach rechts ausgewertet." -#: ../../reference/expressions.rst:2488 +#: ../../reference/expressions.rst:2500 msgid "" "A trailing comma is required only to create a one-item tuple, such as " "``1,``; it is optional in all other cases. A single expression without a " @@ -4269,11 +4288,11 @@ msgstr "" "Tupel, sondern liefert den Wert dieses Ausdrucks. (Um ein leeres Tupel zu " "bilden, verwende ein leeres Klammerpaar: ``()``.)" -#: ../../reference/expressions.rst:2503 +#: ../../reference/expressions.rst:2515 msgid "Iterable unpacking" msgstr "Entpacken von Iterables" -#: ../../reference/expressions.rst:2505 +#: ../../reference/expressions.rst:2517 msgid "" "In an expression list or tuple, list or set display, any expression may be " "prefixed with an asterisk (``*``). This denotes :dfn:`iterable unpacking`." @@ -4282,7 +4301,7 @@ msgstr "" "darf jedem Ausdruck ein Sternchen (``*``) vorangestellt werden. Das " "bezeichnet das :dfn:`Entpacken von Iterables`." -#: ../../reference/expressions.rst:2509 +#: ../../reference/expressions.rst:2521 msgid "" "At runtime, the asterisk-prefixed expression must evaluate to " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -4294,24 +4313,24 @@ msgstr "" "von Elementen ausgebreitet, die an der Stelle des Entpackens in das neue " "Tupel, die neue Liste oder die neue Menge aufgenommen werden." -#: ../../reference/expressions.rst:2515 +#: ../../reference/expressions.rst:2527 msgid "" "Iterable unpacking in expression lists, originally proposed by :pep:`448`." msgstr "" "Das Entpacken von Iterables in Ausdruckslisten, ursprünglich vorgeschlagen " "von :pep:`448`." -#: ../../reference/expressions.rst:2518 +#: ../../reference/expressions.rst:2530 msgid "Any item in an expression list may be starred. See :pep:`646`." msgstr "" "Jeder Eintrag in einer Ausdrucksliste kann mit einem Sternchen versehen " "werden. Siehe :pep:`646`." -#: ../../reference/expressions.rst:2525 +#: ../../reference/expressions.rst:2537 msgid "Evaluation order" msgstr "Bewertungsreihenfolge" -#: ../../reference/expressions.rst:2529 +#: ../../reference/expressions.rst:2541 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" @@ -4321,7 +4340,7 @@ msgstr "" "Auswertung einer Zuweisung die rechte Seite vor der linken Seite ausgewertet " "wird." -#: ../../reference/expressions.rst:2532 +#: ../../reference/expressions.rst:2544 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" @@ -4329,7 +4348,7 @@ msgstr "" "In den folgenden Zeilen werden die Ausdrücke in der arithmetischen " "Reihenfolge ihrer Suffixe ausgewertet:" -#: ../../reference/expressions.rst:2535 +#: ../../reference/expressions.rst:2547 msgid "" "expr1, expr2, expr3, expr4\n" "(expr1, expr2, expr3, expr4)\n" @@ -4345,11 +4364,11 @@ msgstr "" "expr1(expr2, expr3, *expr4, **expr5)\n" "expr3, expr4 = expr1, expr2" -#: ../../reference/expressions.rst:2547 +#: ../../reference/expressions.rst:2559 msgid "Operator precedence" msgstr "Reihenfolge der Rechenoperatoren" -#: ../../reference/expressions.rst:2552 +#: ../../reference/expressions.rst:2564 msgid "" "The following table summarizes the operator precedence in Python, from " "highest precedence (most binding) to lowest precedence (least binding). " @@ -4366,7 +4385,7 @@ msgstr "" "rechts gruppiert (mit Ausnahme von Potenzierung und bedingten Ausdrücken, " "die von rechts nach links gruppiert werden)." -#: ../../reference/expressions.rst:2558 +#: ../../reference/expressions.rst:2570 msgid "" "Note that comparisons, membership tests, and identity tests, all have the " "same precedence and have a left-to-right chaining feature as described in " @@ -4376,23 +4395,23 @@ msgstr "" "Identitätsprüfungen alle dieselbe Priorität haben und eine Verkettung von " "links nach rechts aufweisen, wie im Abschnitt :ref:`comparisons` beschrieben." -#: ../../reference/expressions.rst:2564 +#: ../../reference/expressions.rst:2576 msgid "Operator" msgstr "Operator" -#: ../../reference/expressions.rst:2564 +#: ../../reference/expressions.rst:2576 msgid "Description" msgstr "Beschreibung" -#: ../../reference/expressions.rst:2566 +#: ../../reference/expressions.rst:2578 msgid "``(expressions...)``," msgstr "``(expressions...)``," -#: ../../reference/expressions.rst:2568 +#: ../../reference/expressions.rst:2580 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" -#: ../../reference/expressions.rst:2566 +#: ../../reference/expressions.rst:2578 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" @@ -4400,86 +4419,86 @@ msgstr "" "Gebundener oder in Klammern gesetzter Ausdruck, Listen-Display, Wörterbuch-" "Display, Mengen-Display" -#: ../../reference/expressions.rst:2572 +#: ../../reference/expressions.rst:2584 msgid "``x[index]``, ``x[index:index]`` ``x(arguments...)``, ``x.attribute``" msgstr "``x[index]``, ``x[index:index]`` ``x(arguments...)``, ``x.attribute``" -#: ../../reference/expressions.rst:2572 +#: ../../reference/expressions.rst:2584 msgid "Subscription (including slicing), call, attribute reference" msgstr "Indexierung (einschließlich Slicing), Aufruf, Attributreferenz" -#: ../../reference/expressions.rst:2575 +#: ../../reference/expressions.rst:2587 msgid ":keyword:`await x `" msgstr ":keyword:`await x `" -#: ../../reference/expressions.rst:2577 +#: ../../reference/expressions.rst:2589 msgid "``**``" msgstr "``**``" -#: ../../reference/expressions.rst:2577 +#: ../../reference/expressions.rst:2589 msgid "Exponentiation [#]_" msgstr "Potenzieren [#]_" -#: ../../reference/expressions.rst:2579 +#: ../../reference/expressions.rst:2591 msgid "``+x``, ``-x``, ``~x``" msgstr "``+x``, ``-x``, ``~x``" -#: ../../reference/expressions.rst:2579 +#: ../../reference/expressions.rst:2591 msgid "Positive, negative, bitwise NOT" msgstr "Positiv, negativ, bitweises NOT" -#: ../../reference/expressions.rst:2581 +#: ../../reference/expressions.rst:2593 msgid "``*``, ``@``, ``/``, ``//``, ``%``" msgstr "``*``, ``@``, ``/``, ``//``, ``%``" -#: ../../reference/expressions.rst:2581 +#: ../../reference/expressions.rst:2593 msgid "" "Multiplication, matrix multiplication, division, floor division, remainder " "[#]_" msgstr "" "Multiplikation, Matrixmultiplikation, Division, Rundung nach unten, Rest [#]_" -#: ../../reference/expressions.rst:2585 +#: ../../reference/expressions.rst:2597 msgid "``+``, ``-``" msgstr "``+``, ``-``" -#: ../../reference/expressions.rst:2585 +#: ../../reference/expressions.rst:2597 msgid "Addition and subtraction" msgstr "Addition und Subtraktion" -#: ../../reference/expressions.rst:2587 +#: ../../reference/expressions.rst:2599 msgid "``<<``, ``>>``" msgstr "``<<``, ``>>``" -#: ../../reference/expressions.rst:2587 +#: ../../reference/expressions.rst:2599 msgid "Shifts" msgstr "Verschiebungen" -#: ../../reference/expressions.rst:2589 +#: ../../reference/expressions.rst:2601 msgid "``&``" msgstr "``&``" -#: ../../reference/expressions.rst:2589 +#: ../../reference/expressions.rst:2601 msgid "Bitwise AND" msgstr "Bitweises UND" -#: ../../reference/expressions.rst:2591 +#: ../../reference/expressions.rst:2603 msgid "``^``" msgstr "``^``" -#: ../../reference/expressions.rst:2591 +#: ../../reference/expressions.rst:2603 msgid "Bitwise XOR" msgstr "Bitweises XOR" -#: ../../reference/expressions.rst:2593 +#: ../../reference/expressions.rst:2605 msgid "``|``" msgstr "``|``" -#: ../../reference/expressions.rst:2593 +#: ../../reference/expressions.rst:2605 msgid "Bitwise OR" msgstr "Bitweises ODER" -#: ../../reference/expressions.rst:2595 +#: ../../reference/expressions.rst:2607 msgid "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" @@ -4487,63 +4506,63 @@ msgstr "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" -#: ../../reference/expressions.rst:2595 +#: ../../reference/expressions.rst:2607 msgid "Comparisons, including membership tests and identity tests" msgstr "Vergleiche, einschließlich Zugehörigkeits- und Identitätsprüfungen" -#: ../../reference/expressions.rst:2599 +#: ../../reference/expressions.rst:2611 msgid ":keyword:`not x `" msgstr ":keyword:`nicht x `" -#: ../../reference/expressions.rst:2599 +#: ../../reference/expressions.rst:2611 msgid "Boolean NOT" msgstr "Boolesches NOT" -#: ../../reference/expressions.rst:2601 +#: ../../reference/expressions.rst:2613 msgid ":keyword:`and`" msgstr ":keyword:`and`" -#: ../../reference/expressions.rst:2601 +#: ../../reference/expressions.rst:2613 msgid "Boolean AND" msgstr "Boolesches UND" -#: ../../reference/expressions.rst:2603 +#: ../../reference/expressions.rst:2615 msgid ":keyword:`or`" msgstr ":keyword:`or`" -#: ../../reference/expressions.rst:2603 +#: ../../reference/expressions.rst:2615 msgid "Boolean OR" msgstr "Boolesches OR" -#: ../../reference/expressions.rst:2605 +#: ../../reference/expressions.rst:2617 msgid ":keyword:`if ` -- :keyword:`!else`" msgstr ":keyword:`if ` -- :keyword:`!else`" -#: ../../reference/expressions.rst:2605 +#: ../../reference/expressions.rst:2617 msgid "Conditional expression" msgstr "Bedingter Ausdruck" -#: ../../reference/expressions.rst:2607 +#: ../../reference/expressions.rst:2619 msgid ":keyword:`lambda`" msgstr ":keyword:`lambda`" -#: ../../reference/expressions.rst:2607 +#: ../../reference/expressions.rst:2619 msgid "Lambda expression" msgstr "Lambda-Ausdruck" -#: ../../reference/expressions.rst:2609 +#: ../../reference/expressions.rst:2621 msgid "``:=``" msgstr "``:=``" -#: ../../reference/expressions.rst:2609 +#: ../../reference/expressions.rst:2621 msgid "Assignment expression" msgstr "Zuweisungsausdruck" -#: ../../reference/expressions.rst:2614 +#: ../../reference/expressions.rst:2626 msgid "Footnotes" msgstr "Fußnoten" -#: ../../reference/expressions.rst:2615 +#: ../../reference/expressions.rst:2627 msgid "" "While ``abs(x%y) < abs(y)`` is true mathematically, for floats it may not be " "true numerically due to roundoff. For example, and assuming a platform on " @@ -4566,7 +4585,7 @@ msgstr "" "``-1e-100``. Welcher Ansatz besser geeignet ist, hängt von der jeweiligen " "Anwendung ab." -#: ../../reference/expressions.rst:2624 +#: ../../reference/expressions.rst:2636 msgid "" "If x is very close to an exact integer multiple of y, it's possible for ``x//" "y`` to be one larger than ``(x-x%y)//y`` due to rounding. In such cases, " @@ -4579,7 +4598,7 @@ msgstr "" "damit weiterhin gilt, dass ``divmod(x,y)[0] * y + x % y`` sehr nahe an ``x`` " "liegt." -#: ../../reference/expressions.rst:2629 +#: ../../reference/expressions.rst:2641 msgid "" "The Unicode standard distinguishes between :dfn:`code points` (e.g. U+0041) " "and :dfn:`abstract characters` (e.g. \"LATIN CAPITAL LETTER A\"). While most " @@ -4604,7 +4623,7 @@ msgstr "" "einem :dfn:`Kombinationszeichen` an der Codeposition U+0327 (COMBINING " "CEDILLA)." -#: ../../reference/expressions.rst:2640 +#: ../../reference/expressions.rst:2652 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -4617,7 +4636,7 @@ msgstr "" "gleichbedeutend mit ``False``, obwohl beide Zeichenketten dasselbe abstrakte " "Zeichen „LATIN CAPITAL LETTER C WITH CEDILLA“ darstellen." -#: ../../reference/expressions.rst:2645 +#: ../../reference/expressions.rst:2657 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." @@ -4625,7 +4644,7 @@ msgstr "" "Um Zeichenketten auf der Ebene abstrakter Zeichen zu vergleichen (d.h. auf " "eine für Menschen intuitive Weise), verwende :func:`unicodedata.normalize`." -#: ../../reference/expressions.rst:2648 +#: ../../reference/expressions.rst:2660 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -4638,7 +4657,7 @@ msgstr "" "Instanzmethoden oder Konstanten – zu scheinbar ungewöhnlichem Verhalten " "kommen. Weitere Informationen findest du in der entsprechenden Dokumentation." -#: ../../reference/expressions.rst:2653 +#: ../../reference/expressions.rst:2665 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." @@ -4647,7 +4666,7 @@ msgstr "" "bitweiser unärer Operator zu seiner Rechten, das heißt: ``2**-1`` ergibt " "``0.5``." -#: ../../reference/expressions.rst:2656 +#: ../../reference/expressions.rst:2668 msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." @@ -4656,9 +4675,9 @@ msgstr "" "verwendet. Es gilt dieselbe Priorität." #: ../../reference/expressions.rst:8 ../../reference/expressions.rst:956 -#: ../../reference/expressions.rst:1073 ../../reference/expressions.rst:2317 -#: ../../reference/expressions.rst:2357 ../../reference/expressions.rst:2408 -#: ../../reference/expressions.rst:2435 ../../reference/expressions.rst:2467 +#: ../../reference/expressions.rst:1073 ../../reference/expressions.rst:2320 +#: ../../reference/expressions.rst:2360 ../../reference/expressions.rst:2411 +#: ../../reference/expressions.rst:2447 ../../reference/expressions.rst:2479 msgid "expression" msgstr "Ausdruck" @@ -4731,8 +4750,8 @@ msgstr "Typ" #: ../../reference/expressions.rst:1337 ../../reference/expressions.rst:1421 #: ../../reference/expressions.rst:1533 ../../reference/expressions.rst:1681 #: ../../reference/expressions.rst:1695 ../../reference/expressions.rst:1709 -#: ../../reference/expressions.rst:1716 ../../reference/expressions.rst:2282 -#: ../../reference/expressions.rst:2479 +#: ../../reference/expressions.rst:1716 ../../reference/expressions.rst:2285 +#: ../../reference/expressions.rst:2491 msgid "object" msgstr "Objekt" @@ -4751,36 +4770,36 @@ msgstr "() (Klammern)" msgid "comprehensions" msgstr "Verständnisse" -#: ../../reference/expressions.rst:401 ../../reference/expressions.rst:2486 +#: ../../reference/expressions.rst:401 ../../reference/expressions.rst:2498 msgid "trailing" msgstr "nachlaufend" #: ../../reference/expressions.rst:401 ../../reference/expressions.rst:523 -#: ../../reference/expressions.rst:2458 ../../reference/expressions.rst:2486 +#: ../../reference/expressions.rst:2470 ../../reference/expressions.rst:2498 msgid "comma" msgstr "Komma" -#: ../../reference/expressions.rst:426 ../../reference/expressions.rst:2498 +#: ../../reference/expressions.rst:426 ../../reference/expressions.rst:2510 msgid "iterable" msgstr "iterierbar" #: ../../reference/expressions.rst:426 ../../reference/expressions.rst:624 -#: ../../reference/expressions.rst:1616 ../../reference/expressions.rst:2498 +#: ../../reference/expressions.rst:1616 ../../reference/expressions.rst:2510 msgid "unpacking" msgstr "Auspacken" #: ../../reference/expressions.rst:426 ../../reference/expressions.rst:1616 -#: ../../reference/expressions.rst:1852 ../../reference/expressions.rst:2498 +#: ../../reference/expressions.rst:1852 ../../reference/expressions.rst:2510 msgid "* (asterisk)" msgstr "* (Sternchen)" -#: ../../reference/expressions.rst:426 ../../reference/expressions.rst:2498 +#: ../../reference/expressions.rst:426 ../../reference/expressions.rst:2510 msgid "in expression lists" msgstr "in Ausdruckslisten" #: ../../reference/expressions.rst:460 ../../reference/expressions.rst:1308 #: ../../reference/expressions.rst:1337 ../../reference/expressions.rst:1421 -#: ../../reference/expressions.rst:2467 +#: ../../reference/expressions.rst:2479 msgid "list" msgstr "Liste" @@ -4804,12 +4823,12 @@ msgstr "Listenausdruck" #: ../../reference/expressions.rst:460 ../../reference/expressions.rst:493 #: ../../reference/expressions.rst:523 ../../reference/expressions.rst:589 #: ../../reference/expressions.rst:1415 ../../reference/expressions.rst:1533 -#: ../../reference/expressions.rst:2458 ../../reference/expressions.rst:2467 +#: ../../reference/expressions.rst:2470 ../../reference/expressions.rst:2479 msgid ", (comma)" msgstr ", (Komma)" #: ../../reference/expressions.rst:460 ../../reference/expressions.rst:493 -#: ../../reference/expressions.rst:2467 +#: ../../reference/expressions.rst:2479 msgid "expression list" msgstr "Ausdrucksliste" @@ -4830,7 +4849,7 @@ msgid "tuple display" msgstr "Tupel-Display" #: ../../reference/expressions.rst:530 ../../reference/expressions.rst:1337 -#: ../../reference/expressions.rst:1421 ../../reference/expressions.rst:2479 +#: ../../reference/expressions.rst:1421 ../../reference/expressions.rst:2491 msgid "tuple" msgstr "Tupel" @@ -4856,7 +4875,7 @@ msgid "dictionary expression" msgstr "Wörterbuchausdruck" #: ../../reference/expressions.rst:589 ../../reference/expressions.rst:1415 -#: ../../reference/expressions.rst:2435 +#: ../../reference/expressions.rst:2447 msgid ": (colon)" msgstr ": (Doppelpunkt)" @@ -4882,7 +4901,7 @@ msgstr "für" msgid "in comprehensions" msgstr "in Comprehensions" -#: ../../reference/expressions.rst:749 ../../reference/expressions.rst:2408 +#: ../../reference/expressions.rst:749 ../../reference/expressions.rst:2411 msgid "if" msgstr "falls" @@ -4915,7 +4934,7 @@ msgid "from" msgstr "aus" #: ../../reference/expressions.rst:1073 ../../reference/expressions.rst:1681 -#: ../../reference/expressions.rst:1695 ../../reference/expressions.rst:2435 +#: ../../reference/expressions.rst:1695 ../../reference/expressions.rst:2447 msgid "function" msgstr "Funktion" @@ -4964,7 +4983,7 @@ msgid "subscription" msgstr "Abonnement" #: ../../reference/expressions.rst:1337 ../../reference/expressions.rst:1421 -#: ../../reference/expressions.rst:2282 +#: ../../reference/expressions.rst:2285 msgid "sequence" msgstr "Abfolge" @@ -5069,7 +5088,7 @@ msgstr "Leistung" #: ../../reference/expressions.rst:1754 ../../reference/expressions.rst:1791 #: ../../reference/expressions.rst:1839 ../../reference/expressions.rst:1973 -#: ../../reference/expressions.rst:2002 ../../reference/expressions.rst:2317 +#: ../../reference/expressions.rst:2002 ../../reference/expressions.rst:2320 msgid "operation" msgstr "Betrieb" @@ -5080,10 +5099,10 @@ msgstr "Betrieb" #: ../../reference/expressions.rst:1932 ../../reference/expressions.rst:1951 #: ../../reference/expressions.rst:1973 ../../reference/expressions.rst:2011 #: ../../reference/expressions.rst:2019 ../../reference/expressions.rst:2028 -#: ../../reference/expressions.rst:2043 ../../reference/expressions.rst:2282 -#: ../../reference/expressions.rst:2291 ../../reference/expressions.rst:2333 -#: ../../reference/expressions.rst:2338 ../../reference/expressions.rst:2343 -#: ../../reference/expressions.rst:2408 ../../reference/expressions.rst:2549 +#: ../../reference/expressions.rst:2043 ../../reference/expressions.rst:2285 +#: ../../reference/expressions.rst:2294 ../../reference/expressions.rst:2336 +#: ../../reference/expressions.rst:2341 ../../reference/expressions.rst:2346 +#: ../../reference/expressions.rst:2411 ../../reference/expressions.rst:2561 msgid "operator" msgstr "Operator" @@ -5201,7 +5220,7 @@ msgstr ">>" msgid "ValueError" msgstr "ValueError" -#: ../../reference/expressions.rst:2011 ../../reference/expressions.rst:2338 +#: ../../reference/expressions.rst:2011 ../../reference/expressions.rst:2341 msgid "and" msgstr "und" @@ -5218,7 +5237,7 @@ msgid "exclusive" msgstr "exklusiv" #: ../../reference/expressions.rst:2019 ../../reference/expressions.rst:2028 -#: ../../reference/expressions.rst:2343 +#: ../../reference/expressions.rst:2346 msgid "or" msgstr "oder" @@ -5278,107 +5297,107 @@ msgstr "Verkettung" msgid "comparisons" msgstr "Vergleiche" -#: ../../reference/expressions.rst:2282 +#: ../../reference/expressions.rst:2285 msgid "in" msgstr "in" -#: ../../reference/expressions.rst:2282 +#: ../../reference/expressions.rst:2285 msgid "not in" msgstr "nicht in" -#: ../../reference/expressions.rst:2282 +#: ../../reference/expressions.rst:2285 msgid "membership" msgstr "Mitgliedschaft" -#: ../../reference/expressions.rst:2282 ../../reference/expressions.rst:2291 +#: ../../reference/expressions.rst:2285 ../../reference/expressions.rst:2294 msgid "test" msgstr "Test" -#: ../../reference/expressions.rst:2291 +#: ../../reference/expressions.rst:2294 msgid "is" msgstr "ist" -#: ../../reference/expressions.rst:2291 +#: ../../reference/expressions.rst:2294 msgid "is not" msgstr "ist nicht" -#: ../../reference/expressions.rst:2291 +#: ../../reference/expressions.rst:2294 msgid "identity" msgstr "Identität" -#: ../../reference/expressions.rst:2317 +#: ../../reference/expressions.rst:2320 msgid "Conditional" msgstr "Bedingt" -#: ../../reference/expressions.rst:2317 +#: ../../reference/expressions.rst:2320 msgid "Boolean" msgstr "Boolesch" -#: ../../reference/expressions.rst:2333 +#: ../../reference/expressions.rst:2336 msgid "not" msgstr "nicht" -#: ../../reference/expressions.rst:2357 +#: ../../reference/expressions.rst:2360 msgid ":= (colon equals)" msgstr ":= (Doppelpunkt gleich)" -#: ../../reference/expressions.rst:2357 +#: ../../reference/expressions.rst:2360 msgid "assignment expression" msgstr "Zuweisungsausdruck" -#: ../../reference/expressions.rst:2357 +#: ../../reference/expressions.rst:2360 msgid "walrus operator" msgstr "Walross-Operator" -#: ../../reference/expressions.rst:2357 +#: ../../reference/expressions.rst:2360 msgid "named expression" msgstr "benannter Ausdruck" -#: ../../reference/expressions.rst:2357 +#: ../../reference/expressions.rst:2360 msgid "assignment" msgstr "Aufgabe" -#: ../../reference/expressions.rst:2408 +#: ../../reference/expressions.rst:2411 msgid "conditional" msgstr "bedingt" -#: ../../reference/expressions.rst:2408 +#: ../../reference/expressions.rst:2411 msgid "ternary" msgstr "ternär" -#: ../../reference/expressions.rst:2408 +#: ../../reference/expressions.rst:2411 msgid "conditional expression" msgstr "Bedingter Ausdruck" -#: ../../reference/expressions.rst:2408 +#: ../../reference/expressions.rst:2411 msgid "else" msgstr "sonst" -#: ../../reference/expressions.rst:2435 +#: ../../reference/expressions.rst:2447 msgid "lambda" msgstr "Lambda" -#: ../../reference/expressions.rst:2435 +#: ../../reference/expressions.rst:2447 msgid "form" msgstr "Formular" -#: ../../reference/expressions.rst:2435 +#: ../../reference/expressions.rst:2447 msgid "anonymous" msgstr "anonym" -#: ../../reference/expressions.rst:2435 +#: ../../reference/expressions.rst:2447 msgid "lambda expression" msgstr "Lambda-Ausdruck" -#: ../../reference/expressions.rst:2527 +#: ../../reference/expressions.rst:2539 msgid "evaluation" msgstr "Bewertung" -#: ../../reference/expressions.rst:2527 +#: ../../reference/expressions.rst:2539 msgid "order" msgstr "Bestellung" -#: ../../reference/expressions.rst:2549 +#: ../../reference/expressions.rst:2561 msgid "precedence" msgstr "Priorität" diff --git a/reference/import.po b/reference/import.po index 00832ab3..7a710a45 100644 --- a/reference/import.po +++ b/reference/import.po @@ -9,7 +9,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-11-30 03:06+0000\n" "PO-Revision-Date: 2026-09-23 08:00+0200\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -40,15 +40,15 @@ msgstr "" "auszulösen." #: ../../reference/import.rst:16 +#, fuzzy msgid "" -"The :keyword:`import` statement combines two operations; it searches for the " -"named module, then it binds the results of that search to a name in the " -"local scope. The search operation of the :keyword:`!import` statement is " -"defined as a call to the :func:`__import__` function, with the appropriate " -"arguments. The return value of :func:`__import__` is used to perform the " -"name binding operation of the :keyword:`!import` statement. See " -"the :keyword:`!import` statement for the exact details of that name binding " -"operation." +"An eager :keyword:`import` statement performs two operations. It searches " +"for the named module, then binds the result to a name in the local scope. " +"The search operation of the :keyword:`!import` statement is defined as a " +"call to the :func:`__import__` function, with the appropriate arguments. The " +"return value of :func:`__import__` is used to perform the name binding " +"operation of the :keyword:`!import` statement. See the :keyword:`!import` " +"statement for the exact details of that name binding operation." msgstr "" "Die Anweisung :keyword:`import` kombiniert zwei Operationen: Sie sucht nach " "dem genannten Modul und bindet anschließend die Ergebnisse dieser Suche an " @@ -75,9 +75,10 @@ msgstr "" "Anweisung :keyword:`import` führt eine Namensbindung durch." #: ../../reference/import.rst:31 +#, fuzzy msgid "" -"When an :keyword:`import` statement is executed, the standard " -"builtin :func:`__import__` function is called. Other mechanisms for invoking " +"When an eager :keyword:`import` statement executes, Python calls the " +"standard built-in :func:`__import__` function. Other mechanisms for invoking " "the import system (such as :func:`importlib.import_module`) may choose to " "bypass :func:`__import__` and use their own solutions to implement import " "semantics." @@ -120,11 +121,21 @@ msgstr "" "Darüber hinaus wurde die native Unterstützung für Namespace-Pakete " "implementiert (siehe :pep:`420`)." -#: ../../reference/import.rst:51 +#: ../../reference/import.rst:49 +msgid "" +"With :ref:`lazy imports `, an import statement can bind a " +"proxy before the module search and execution occur. The first use of the " +"imported name resolves the proxy through the import system. The sections " +"below describe the module search and execution at that point. Direct calls " +"to :func:`__import__` and :func:`importlib.import_module` remain eager in " +"both lazy import modes." +msgstr "" + +#: ../../reference/import.rst:58 msgid ":mod:`importlib`" msgstr ":mod:`importlib`" -#: ../../reference/import.rst:53 +#: ../../reference/import.rst:60 msgid "" "The :mod:`importlib` module provides a rich API for interacting with the " "import system. For example :func:`importlib.import_module` provides a " @@ -139,11 +150,11 @@ msgstr "" "Funktion :func:`__import__` “. Weitere Informationen findest du in der " "Dokumentation zur Bibliothek :mod:`importlib` ." -#: ../../reference/import.rst:62 +#: ../../reference/import.rst:69 msgid "Packages" msgstr "Pakete" -#: ../../reference/import.rst:67 +#: ../../reference/import.rst:74 msgid "" "Python has only one type of module object, and all modules are of this type, " "regardless of whether the module is implemented in Python, C, or something " @@ -156,7 +167,7 @@ msgstr "" "und eine Namenshierarchie bereitzustellen, gibt es in Python das Konzept " "der :term:`Pakete `." -#: ../../reference/import.rst:72 +#: ../../reference/import.rst:79 msgid "" "You can think of packages as the directories on a file system and modules as " "files within directories, but don't take this analogy too literally since " @@ -175,7 +186,7 @@ msgstr "" "Pakete können ihrerseits sowohl Unterpakete als auch reguläre Module " "enthalten." -#: ../../reference/import.rst:80 +#: ../../reference/import.rst:87 msgid "" "It's important to keep in mind that all packages are modules, but not all " "modules are packages. Or put another way, packages are just a special kind " @@ -187,7 +198,7 @@ msgstr "" "besondere Art von Modulen. Genauer gesagt gilt jedes Modul, das ein Attribut " "``__path__`` enthält, als Paket." -#: ../../reference/import.rst:85 +#: ../../reference/import.rst:92 msgid "" "All modules have a name. Subpackage names are separated from their parent " "package name by a dot, akin to Python's standard attribute access syntax. " @@ -202,11 +213,11 @@ msgstr "" "Unterpaket namens :mod:`email.mime` enthält, in dem sich ein Modul " "namens :mod:`email.mime.text` befindet." -#: ../../reference/import.rst:93 +#: ../../reference/import.rst:100 msgid "Regular packages" msgstr "Reguläre Pakete" -#: ../../reference/import.rst:98 +#: ../../reference/import.rst:105 msgid "" "Python defines two types of packages, :term:`regular packages ` and :term:`namespace packages `. Regular " @@ -229,7 +240,7 @@ msgstr "" "jedes andere Modul auch, und Python fügt dem Modul beim Importieren einige " "zusätzliche Attribute hinzu." -#: ../../reference/import.rst:108 +#: ../../reference/import.rst:115 msgid "" "For example, the following file system layout defines a top level ``parent`` " "package with three subpackages::" @@ -237,7 +248,7 @@ msgstr "" "Beispielsweise definiert die folgende Dateisystemstruktur ein Paket der " "obersten Ebene ``parent`` mit drei Unterpaketen::" -#: ../../reference/import.rst:111 +#: ../../reference/import.rst:118 msgid "" "parent/\n" " __init__.py\n" @@ -257,7 +268,7 @@ msgstr "" " three/\n" " __init__.py" -#: ../../reference/import.rst:120 +#: ../../reference/import.rst:127 msgid "" "Importing ``parent.one`` will implicitly execute ``parent/__init__.py`` and " "``parent/one/__init__.py``. Subsequent imports of ``parent.two`` or " @@ -270,7 +281,7 @@ msgstr "" "jeweils die Dateien ``parent/two/__init__.py`` und ``parent/three/" "__init__.py`` ausgeführt." -#: ../../reference/import.rst:125 +#: ../../reference/import.rst:132 msgid "" "A subdirectory inside a regular package that does not contain an " "``__init__.py`` file is treated as an implicit :ref:`namespace package " @@ -283,11 +294,11 @@ msgstr "" "dessen Stammverzeichnis das übergeordnete Paket ist. Die zugrunde liegende " "Spezifikation findest du unter :pep:`420`." -#: ../../reference/import.rst:135 +#: ../../reference/import.rst:142 msgid "Namespace packages" msgstr "Namespace-Pakete" -#: ../../reference/import.rst:141 +#: ../../reference/import.rst:148 msgid "" "A namespace package is a composite of various :term:`portions `, " "where each portion contributes a subpackage to the parent package. Portions " @@ -305,7 +316,7 @@ msgstr "" "unbedingt direkt mit Objekten im Dateisystem korrespondieren. Es kann sich " "um virtuelle Module handeln, die keine konkrete Darstellung haben." -#: ../../reference/import.rst:149 +#: ../../reference/import.rst:156 msgid "" "Namespace packages do not use an ordinary list for their ``__path__`` " "attribute. They instead use a custom iterable type which will automatically " @@ -320,7 +331,7 @@ msgstr "" "übergeordneten Pakets (oder :data:`sys.path` bei einem Paket der obersten " "Ebene) ändert." -#: ../../reference/import.rst:155 +#: ../../reference/import.rst:162 msgid "" "With namespace packages, there is no ``parent/__init__.py`` file. In fact, " "there may be multiple ``parent`` directories found during import search, " @@ -337,7 +348,7 @@ msgstr "" "das Paket ``parent`` auf oberster Ebene, sobald dieses oder eines seiner " "Unterpakete importiert wird." -#: ../../reference/import.rst:162 +#: ../../reference/import.rst:169 msgid "" "Namespace packages may also be nested inside a regular package. When the " "import system searches a regular package's ``__path__`` and encounters a " @@ -351,15 +362,15 @@ msgstr "" "Datei enthält, wird dieses Unterverzeichnis zu einem :term:`Teil `, " "der zu einem Namespace-Unterpaket des umgebenden regulären Pakets beiträgt." -#: ../../reference/import.rst:168 +#: ../../reference/import.rst:175 msgid "See also :pep:`420` for the namespace package specification." msgstr "Siehe auch :pep:`420` für die Spezifikation des Namespace-Pakets." -#: ../../reference/import.rst:172 +#: ../../reference/import.rst:179 msgid "Searching" msgstr "Suchen" -#: ../../reference/import.rst:174 +#: ../../reference/import.rst:181 msgid "" "To begin the search, Python needs the :term:`fully qualified ` name of the module (or package, but for the purposes of this " @@ -375,7 +386,7 @@ msgstr "" "Anweisung :keyword:`import` oder aus den Parametern der " "Funktionen :func:`importlib.import_module` oder :func:`__import__` stammen." -#: ../../reference/import.rst:180 +#: ../../reference/import.rst:187 msgid "" "This name will be used in various phases of the import search, and it may be " "the dotted path to a submodule, e.g. ``foo.bar.baz``. In this case, Python " @@ -390,11 +401,11 @@ msgstr "" "der Zwischenimporte fehlschlägt, wird ein :exc:`ModuleNotFoundError` " "ausgelöst." -#: ../../reference/import.rst:187 +#: ../../reference/import.rst:194 msgid "The module cache" msgstr "Der Modul-Cache" -#: ../../reference/import.rst:192 +#: ../../reference/import.rst:199 msgid "" "The first place checked during import search is :data:`sys.modules`. This " "mapping serves as a cache of all modules that have been previously imported, " @@ -410,7 +421,7 @@ msgstr "" "enthält :data:`sys.modules` Einträge für ``foo``, ``foo.bar`` und " "``foo.bar.baz``. Jeder Schlüssel hat als Wert das entsprechende Modulobjekt." -#: ../../reference/import.rst:199 +#: ../../reference/import.rst:206 msgid "" "During import, the module name is looked up in :data:`sys.modules` and if " "present, the associated value is the module satisfying the import, and the " @@ -424,7 +435,7 @@ msgstr "" "``None``, wird eine Ausnahme vom Typ :exc:`ModuleNotFoundError` ausgelöst. " "Fehlt der Modulname, setzt Python die Suche nach dem Modul fort." -#: ../../reference/import.rst:205 +#: ../../reference/import.rst:212 msgid "" ":data:`sys.modules` is writable. Deleting a key may not destroy the " "associated module (as other modules may hold references to it), but it will " @@ -441,7 +452,7 @@ msgstr "" "``None`` zugewiesen werden, wodurch der nächste Import des Moduls " "zwangsläufig zu einem :exc:`ModuleNotFoundError` führt." -#: ../../reference/import.rst:212 +#: ../../reference/import.rst:219 msgid "" "Beware though, as if you keep a reference to the module object, invalidate " "its cache entry in :data:`sys.modules`, and then re-import the named module, " @@ -457,11 +468,11 @@ msgstr "" "der Inhalt des Moduls durch erneutes Ausführen des Modulcodes einfach neu " "initialisiert." -#: ../../reference/import.rst:222 +#: ../../reference/import.rst:229 msgid "Finders and loaders" msgstr "Finders und Loader" -#: ../../reference/import.rst:229 +#: ../../reference/import.rst:236 msgid "" "If the named module is not found in :data:`sys.modules`, then Python's " "import protocol is invoked to find and load the module. This protocol " @@ -482,7 +493,7 @@ msgstr "" "geben sich selbst zurück, wenn sie feststellen, dass sie das angeforderte " "Modul laden können." -#: ../../reference/import.rst:237 +#: ../../reference/import.rst:244 msgid "" "Python includes a number of default finders and importers. The first one " "knows how to locate built-in modules, and the second knows how to locate " @@ -499,7 +510,7 @@ msgstr "" "lässt sich auch erweitern, um nach beliebigen auffindbaren Ressourcen zu " "suchen, beispielsweise solchen, die durch URLs identifiziert werden." -#: ../../reference/import.rst:244 +#: ../../reference/import.rst:251 msgid "" "The import machinery is extensible, so new finders can be added to extend " "the range and scope of module searching." @@ -508,7 +519,7 @@ msgstr "" "hinzugefügt werden können, um den Umfang und die Reichweite der Modulsuche " "zu erweitern." -#: ../../reference/import.rst:247 +#: ../../reference/import.rst:254 msgid "" "Finders do not actually load modules. If they can find the named module, " "they return a :dfn:`module spec`, an encapsulation of the module's import-" @@ -520,7 +531,7 @@ msgstr "" "importbezogenen Informationen des Moduls, die der Importmechanismus dann " "beim Laden des Moduls verwendet." -#: ../../reference/import.rst:251 +#: ../../reference/import.rst:258 msgid "" "The following sections describe the protocol for finders and loaders in more " "detail, including how you can create and register new ones to extend the " @@ -530,7 +541,7 @@ msgstr "" "beschrieben, einschließlich der Vorgehensweise, wie du neue Finder und " "Loader erstellst und registrierst, um die Importmechanismen zu erweitern." -#: ../../reference/import.rst:255 +#: ../../reference/import.rst:262 msgid "" "In previous versions of Python, finders returned :term:`loaders ` " "directly, whereas now they return module specs which *contain* loaders. " @@ -541,11 +552,11 @@ msgstr "" "Loader *enthalten*. Loader werden beim Import weiterhin verwendet, haben " "jedoch weniger Aufgaben." -#: ../../reference/import.rst:261 +#: ../../reference/import.rst:270 msgid "Import hooks" msgstr "Import-Hooks" -#: ../../reference/import.rst:271 +#: ../../reference/import.rst:280 msgid "" "The import machinery is designed to be extensible; the primary mechanism for " "this are the *import hooks*. There are two types of import hooks: *meta " @@ -555,7 +566,7 @@ msgstr "" "wichtigste Mechanismus hierfür sind die *Import-Hooks*. Es gibt zwei Arten " "von Import-Hooks: *Meta-Hooks* und *Import-Pfad-Hooks*." -#: ../../reference/import.rst:275 +#: ../../reference/import.rst:284 msgid "" "Meta hooks are called at the start of import processing, before any other " "import processing has occurred, other than :data:`sys.modules` cache look " @@ -570,7 +581,7 @@ msgstr "" "überschreiben. Meta-Hooks werden registriert, indem neue Finder-Objekte zu " "„ :data:`sys.meta_path` hinzugefügt werden, wie im Folgenden beschrieben." -#: ../../reference/import.rst:281 +#: ../../reference/import.rst:290 msgid "" "Import path hooks are called as part of :data:`sys.path` (or " "``package.__path__``) processing, at the point where their associated path " @@ -583,11 +594,11 @@ msgstr "" "aufrufbare Funktionen wie unten beschrieben zu :data:`sys.path_hooks` " "hinzugefügt werden." -#: ../../reference/import.rst:288 +#: ../../reference/import.rst:297 msgid "The meta path" msgstr "Der Metapfad" -#: ../../reference/import.rst:294 +#: ../../reference/import.rst:303 msgid "" "When the named module is not found in :data:`sys.modules`, Python next " "searches :data:`sys.meta_path`, which contains a list of meta path finder " @@ -608,7 +619,7 @@ msgstr "" "ein Zielmodul. Der Meta-Pfadfinder kann eine beliebige Strategie anwenden, " "um festzustellen, ob er das genannte Modul verarbeiten kann oder nicht." -#: ../../reference/import.rst:303 +#: ../../reference/import.rst:312 msgid "" "If the meta path finder knows how to handle the named module, it returns a " "spec object. If it cannot handle the named module, it returns ``None``. " @@ -624,7 +635,7 @@ msgstr "" "ausgelösten Ausnahmen werden einfach nach oben weitergeleitet, wodurch der " "Importvorgang abgebrochen wird." -#: ../../reference/import.rst:309 +#: ../../reference/import.rst:318 msgid "" "The :meth:`~importlib.abc.MetaPathFinder.find_spec` method of meta path " "finders is called with two or three arguments. The first is the fully " @@ -650,7 +661,7 @@ msgstr "" "als Ziel für das Laden dient. Das Import-System übergibt ein Zielmodul nur " "während des Neuladens." -#: ../../reference/import.rst:320 +#: ../../reference/import.rst:329 msgid "" "The meta path may be traversed multiple times for a single import request. " "For example, assuming none of the modules involved has already been cached, " @@ -673,7 +684,7 @@ msgstr "" "ruft der letzte Durchlauf ``mpf.find_spec(\"foo.bar.baz\", foo.bar.__path__, " "None)`` auf." -#: ../../reference/import.rst:330 +#: ../../reference/import.rst:339 msgid "" "Some meta path finders only support top level imports. These importers will " "always return ``None`` when anything other than ``None`` is passed as the " @@ -683,7 +694,7 @@ msgstr "" "Importer geben stets ``None`` zurück, wenn als zweites Argument etwas " "anderes als ``None`` übergeben wird." -#: ../../reference/import.rst:334 +#: ../../reference/import.rst:343 msgid "" "Python's default :data:`sys.meta_path` has three meta path finders, one that " "knows how to import built-in modules, one that knows how to import frozen " @@ -696,7 +707,7 @@ msgstr "" "einem :term:`Importpfad ` importiert (d. h. " "den :term:`pfadbasierten Finder `)." -#: ../../reference/import.rst:339 +#: ../../reference/import.rst:348 msgid "" "The :meth:`~importlib.abc.MetaPathFinder.find_spec` method of meta path " "finders replaced :meth:`!find_module`, which is now deprecated. While it " @@ -710,7 +721,7 @@ msgstr "" "nur dann darauf zurück, wenn der " "Finder :meth:`~importlib.abc.MetaPathFinder.find_spec` nicht implementiert." -#: ../../reference/import.rst:346 +#: ../../reference/import.rst:355 msgid "" "Use of :meth:`!find_module` by the import system now " "raises :exc:`ImportWarning`." @@ -718,7 +729,7 @@ msgstr "" "Die Verwendung von :meth:`!find_module` durch das Import-System löst nun den " "Fehler :exc:`ImportWarning` aus." -#: ../../reference/import.rst:350 +#: ../../reference/import.rst:359 msgid "" ":meth:`!find_module` has been removed. " "Use :meth:`~importlib.abc.MetaPathFinder.find_spec` instead." @@ -726,11 +737,11 @@ msgstr "" ":meth:`!find_module` wurde entfernt. Verwende " "stattdessen :meth:`~importlib.abc.MetaPathFinder.find_spec`." -#: ../../reference/import.rst:356 +#: ../../reference/import.rst:365 msgid "Loading" msgstr "Module laden" -#: ../../reference/import.rst:358 +#: ../../reference/import.rst:367 msgid "" "If and when a module spec is found, the import machinery will use it (and " "the loader it contains) when loading the module. Here is an approximation " @@ -741,7 +752,7 @@ msgstr "" "grobe Beschreibung dessen, was während des Ladevorgangs von \"import:\" " "geschieht:" -#: ../../reference/import.rst:362 +#: ../../reference/import.rst:371 msgid "" "module = None\n" "if spec.loader is not None and hasattr(spec.loader, 'create_module'):\n" @@ -792,11 +803,11 @@ msgstr "" " raise\n" "return sys.modules[spec.name]" -#: ../../reference/import.rst:386 +#: ../../reference/import.rst:395 msgid "Note the following details:" msgstr "Beachte bitte folgende Details:" -#: ../../reference/import.rst:388 +#: ../../reference/import.rst:397 msgid "" "If there is an existing module object with the given name " "in :data:`sys.modules`, import will have already returned it." @@ -804,7 +815,7 @@ msgstr "" "Wenn unter :data:`sys.modules` bereits ein Modulobjekt mit dem angegebenen " "Namen vorhanden ist, hat \"import\" dieses bereits zurückgegeben." -#: ../../reference/import.rst:391 +#: ../../reference/import.rst:400 msgid "" "The module will exist in :data:`sys.modules` before the loader executes the " "module code. This is crucial because the module code may (directly or " @@ -818,7 +829,7 @@ msgstr "" "vorherige Hinzufügen zu :data:`sys.modules` wird im schlimmsten Fall eine " "unbegrenzte Rekursion und im besten Fall ein mehrfaches Laden verhindert." -#: ../../reference/import.rst:397 +#: ../../reference/import.rst:406 msgid "" "If loading fails, the failing module -- and only the failing module -- gets " "removed from :data:`sys.modules`. Any module already in " @@ -833,7 +844,7 @@ msgstr "" "steht im Gegensatz zum Neuladen, bei dem selbst das fehlerhafte Modul " "in :data:`sys.modules` verbleibt." -#: ../../reference/import.rst:403 +#: ../../reference/import.rst:412 msgid "" "After the module is created but before execution, the import machinery sets " "the import-related module attributes (\"_init_module_attrs\" in the pseudo-" @@ -845,7 +856,7 @@ msgstr "" "(\"_init_module_attrs\" im obigen Pseudocode-Beispiel), wie in " "einem :ref:`späteren Abschnitt ` zusammengefasst." -#: ../../reference/import.rst:408 +#: ../../reference/import.rst:417 msgid "" "Module execution is the key moment of loading in which the module's " "namespace gets populated. Execution is entirely delegated to the loader, " @@ -855,7 +866,7 @@ msgstr "" "Namensraum des Moduls gefüllt wird. Die Ausführung wird vollständig an den " "Loader delegiert, der entscheidet, was wie gefüllt wird." -#: ../../reference/import.rst:412 +#: ../../reference/import.rst:421 msgid "" "The module created during loading and passed to exec_module() may not be the " "one returned at the end of import [#fnlo]_." @@ -864,7 +875,7 @@ msgstr "" "möglicherweise nicht dasselbe, das am Ende des Importvorgangs von [#fnlo]_ " "zurückgegeben wird." -#: ../../reference/import.rst:415 +#: ../../reference/import.rst:424 msgid "" "The import system has taken over the boilerplate responsibilities of " "loaders. These were previously performed by the " @@ -873,15 +884,15 @@ msgstr "" "Das Import-System hat die Routineaufgaben der Loader übernommen. Diese " "wurden zuvor von der Methode ``importlib.abc.Loader.load_module`` ausgeführt." -#: ../../reference/import.rst:420 +#: ../../reference/import.rst:429 msgid "The ``load_module`` method is no longer used." msgstr "Die Methode ``load_module`` wird nicht mehr verwendet." -#: ../../reference/import.rst:424 +#: ../../reference/import.rst:433 msgid "Loaders" msgstr "Modullader" -#: ../../reference/import.rst:426 +#: ../../reference/import.rst:435 msgid "" "Module loaders provide the critical function of loading: module execution. " "The import machinery calls the :meth:`importlib.abc.Loader.exec_module` " @@ -895,11 +906,11 @@ msgstr "" "von :meth:`~importlib.abc.Loader.exec_module` zurückgegebene Wert wird " "ignoriert." -#: ../../reference/import.rst:431 +#: ../../reference/import.rst:440 msgid "Loaders must satisfy the following requirements:" msgstr "Lader müssen die folgenden Anforderungen erfüllen:" -#: ../../reference/import.rst:433 +#: ../../reference/import.rst:442 msgid "" "If the module is a Python module (as opposed to a built-in module or a " "dynamically loaded extension), the loader should execute the module's code " @@ -910,7 +921,7 @@ msgstr "" "Loader den Code des Moduls im globalen Namensraum des Moduls ausführen " "(``module.__dict__``)." -#: ../../reference/import.rst:437 +#: ../../reference/import.rst:446 msgid "" "If the loader cannot execute the module, it should raise " "an :exc:`ImportError`, although any other exception raised " @@ -921,7 +932,7 @@ msgstr "" "während :meth:`~importlib.abc.Loader.exec_module` ausgelöst werden, werden " "jedoch weitergegeben." -#: ../../reference/import.rst:441 +#: ../../reference/import.rst:450 msgid "" "In many cases, the finder and loader can be the same object; in such cases " "the :meth:`~importlib.abc.MetaPathFinder.find_spec` method would just return " @@ -932,7 +943,7 @@ msgstr "" "lediglich eine Spezifikation zurückgeben, bei der der Loader auf ``self`` " "gesetzt ist." -#: ../../reference/import.rst:445 +#: ../../reference/import.rst:454 msgid "" "Module loaders may opt in to creating the module object during loading by " "implementing a :meth:`~importlib.abc.Loader.create_module` method. It takes " @@ -950,12 +961,12 @@ msgstr "" "die Methode ``None`` zurückgibt, erstellt der Importmechanismus das neue " "Modul selbst." -#: ../../reference/import.rst:452 +#: ../../reference/import.rst:461 msgid "The :meth:`~importlib.abc.Loader.create_module` method of loaders." msgstr "" "Die :meth:`~importlib.abc.Loader.create_module`-Methode bei Modullader." -#: ../../reference/import.rst:455 +#: ../../reference/import.rst:464 msgid "" "The ``importlib.abc.Loader.load_module`` method was replaced " "by :meth:`~importlib.abc.Loader.exec_module` and the import machinery " @@ -965,7 +976,7 @@ msgstr "" "durch :meth:`~importlib.abc.Loader.exec_module` ersetzt, und der " "Importmechanismus hat alle Routineaufgaben beim Laden übernommen." -#: ../../reference/import.rst:460 +#: ../../reference/import.rst:469 msgid "" "For compatibility with existing loaders, the import machinery will use the " "``load_module()`` method of loaders if it exists and the loader does not " @@ -978,7 +989,7 @@ msgstr "" "implementiert. ``load_module()`` ist jedoch veraltet, und Lader sollten " "stattdessen ``exec_module()`` implementieren." -#: ../../reference/import.rst:465 +#: ../../reference/import.rst:474 msgid "" "The ``load_module()`` method must implement all the boilerplate loading " "functionality described above in addition to executing the module. All the " @@ -989,7 +1000,7 @@ msgstr "" "Es gelten dieselben Einschränkungen, wobei einige zusätzliche Erläuterungen " "zu beachten sind:" -#: ../../reference/import.rst:469 +#: ../../reference/import.rst:478 msgid "" "If there is an existing module object with the given name " "in :data:`sys.modules`, the loader must use that existing module. " @@ -1004,7 +1015,7 @@ msgstr "" "Loader ein neues Modulobjekt erstellen und es zu :data:`sys.modules` " "hinzufügen." -#: ../../reference/import.rst:475 +#: ../../reference/import.rst:484 msgid "" "The module *must* exist in :data:`sys.modules` before the loader executes " "the module code, to prevent unbounded recursion or multiple loading." @@ -1013,7 +1024,7 @@ msgstr "" "Modulcode ausführt, um unbegrenzte Rekursion oder mehrfaches Laden zu " "verhindern." -#: ../../reference/import.rst:479 +#: ../../reference/import.rst:488 msgid "" "If loading fails, the loader must remove any modules it has inserted " "into :data:`sys.modules`, but it must remove **only** the failing module(s), " @@ -1024,7 +1035,7 @@ msgstr "" "fehlerhaften Module entfernen, und zwar nur dann, wenn der Loader diese " "Module selbst explizit geladen hat." -#: ../../reference/import.rst:484 +#: ../../reference/import.rst:493 msgid "" "A :exc:`DeprecationWarning` is raised when ``exec_module()`` is defined but " "``create_module()`` is not." @@ -1032,7 +1043,7 @@ msgstr "" "Eine :exc:`DeprecationWarning` wird ausgelöst, wenn ``exec_module()`` " "“ definiert ist, ``create_module()`` jedoch nicht." -#: ../../reference/import.rst:488 +#: ../../reference/import.rst:497 msgid "" "An :exc:`ImportError` is raised when ``exec_module()`` is defined but " "``create_module()`` is not." @@ -1040,15 +1051,15 @@ msgstr "" "Eine :exc:`ImportError`-Ausnahme wird ausgelöst, wenn ``exec_module()`` " "definiert ist, ``create_module()`` jedoch nicht." -#: ../../reference/import.rst:492 +#: ../../reference/import.rst:501 msgid "Use of ``load_module()`` will raise :exc:`ImportWarning`." msgstr "Die Verwendung von ``load_module()`` führt zu :exc:`ImportWarning` ." -#: ../../reference/import.rst:496 +#: ../../reference/import.rst:505 msgid "Submodules" msgstr "Untermodule" -#: ../../reference/import.rst:498 +#: ../../reference/import.rst:507 msgid "" "When a submodule is loaded using any mechanism (e.g. ``importlib`` APIs, the " "``import`` or ``import-from`` statements, or built-in ``__import__()``) a " @@ -1066,7 +1077,7 @@ msgstr "" "das Submodul gebunden ist. Nehmen wir an, du hast die folgende " "Verzeichnisstruktur::" -#: ../../reference/import.rst:505 +#: ../../reference/import.rst:514 msgid "" "spam/\n" " __init__.py\n" @@ -1076,15 +1087,15 @@ msgstr "" " __init__.py\n" " foo.py" -#: ../../reference/import.rst:509 +#: ../../reference/import.rst:518 msgid "and ``spam/__init__.py`` has the following line in it::" msgstr "und die Datei ``spam/__init__.py`` enthält die folgende Zeile::" -#: ../../reference/import.rst:511 +#: ../../reference/import.rst:520 msgid "from .foo import Foo" msgstr "from .foo import Foo" -#: ../../reference/import.rst:513 +#: ../../reference/import.rst:522 msgid "" "then executing the following puts name bindings for ``foo`` and ``Foo`` in " "the ``spam`` module::" @@ -1092,7 +1103,7 @@ msgstr "" "Wenn du anschließend den folgenden Befehl ausführst, werden im Modul " "``spam`` Namenszuordnungen für ``foo`` und ``Foo`` festgelegt::" -#: ../../reference/import.rst:516 +#: ../../reference/import.rst:525 msgid "" ">>> import spam\n" ">>> spam.foo\n" @@ -1106,7 +1117,7 @@ msgstr "" ">>> spam.Foo\n" "" -#: ../../reference/import.rst:522 +#: ../../reference/import.rst:531 msgid "" "Given Python's familiar name binding rules this might seem surprising, but " "it's actually a fundamental feature of the import system. The invariant " @@ -1121,11 +1132,11 @@ msgstr "" "dem obigen Import der Fall wäre), muss Letzteres als Attribut ``foo`` von " "Ersterem erscheinen." -#: ../../reference/import.rst:531 +#: ../../reference/import.rst:540 msgid "Module specs" msgstr "Modulspezifikationen" -#: ../../reference/import.rst:533 +#: ../../reference/import.rst:542 msgid "" "The import machinery uses a variety of information about each module during " "import, especially before loading. Most of the information is common to all " @@ -1138,7 +1149,7 @@ msgstr "" "Moduls besteht darin, diese importbezogenen Informationen modulweise zu " "kapseln." -#: ../../reference/import.rst:538 +#: ../../reference/import.rst:547 msgid "" "Using a spec during import allows state to be transferred between import " "system components, e.g. between the finder that creates the module spec and " @@ -1153,7 +1164,7 @@ msgstr "" "Routinevorgänge des Ladens durchzuführen, während ohne eine " "Modulspezifikation diese Aufgabe beim Loader lag." -#: ../../reference/import.rst:544 +#: ../../reference/import.rst:553 msgid "" "The module's spec is exposed as :attr:`module.__spec__`. Setting :attr:`!" "__spec__` appropriately applies equally to :ref:`modules initialized during " @@ -1166,7 +1177,7 @@ msgstr "" "`. Die einzige Ausnahme bildet ``__main__``, wo :attr:`!__spec__` " "in einigen Fällen :ref:`auf None gesetzt wird `." -#: ../../reference/import.rst:550 +#: ../../reference/import.rst:559 msgid "" "See :class:`~importlib.machinery.ModuleSpec` for details on the contents of " "the module spec." @@ -1174,11 +1185,11 @@ msgstr "" "Weitere Informationen zum Inhalt der Modulspezifikation findest du " "unter :class:`~importlib.machinery.ModuleSpec`." -#: ../../reference/import.rst:558 +#: ../../reference/import.rst:567 msgid "__path__ attributes on modules" msgstr "__path__-Attribute in Modulen" -#: ../../reference/import.rst:560 +#: ../../reference/import.rst:569 msgid "" "The :attr:`~module.__path__` attribute should be a (possibly " "empty) :term:`sequence` of strings enumerating the locations where the " @@ -1191,7 +1202,7 @@ msgstr "" "Per Definition gilt: Wenn ein Modul über ein Attribut :attr:`!__path__` " "verfügt, handelt es sich um ein :term:`Paket `." -#: ../../reference/import.rst:565 +#: ../../reference/import.rst:574 msgid "" "A package's :attr:`~module.__path__` attribute is used during imports of its " "subpackages. Within the import machinery, it functions much the same " @@ -1206,7 +1217,7 @@ msgstr "" "ist :attr:`!__path__` in der Regel wesentlich stärker eingeschränkt " "als :data:`!sys.path` ." -#: ../../reference/import.rst:572 +#: ../../reference/import.rst:581 msgid "" "The same rules used for :data:`sys.path` also apply to a package's :attr:`!" "__path__`. :data:`sys.path_hooks` (described below) are consulted when " @@ -1216,7 +1227,7 @@ msgstr "" "die :attr:`!__path__` eines Pakets. :data:`sys.path_hooks` (siehe unten) " "werden beim Durchlaufen der :attr:`!__path__` eines Pakets herangezogen." -#: ../../reference/import.rst:576 +#: ../../reference/import.rst:585 msgid "" "A package's ``__init__.py`` file may set or alter the " "package's :attr:`~module.__path__` attribute, and this was typically the way " @@ -1235,11 +1246,11 @@ msgstr "" "Import-Mechanik legt :attr:`!__path__` für das Namespace-Paket automatisch " "korrekt fest." -#: ../../reference/import.rst:585 +#: ../../reference/import.rst:594 msgid "Module reprs" msgstr "Modul-Repräsentanten" -#: ../../reference/import.rst:587 +#: ../../reference/import.rst:596 msgid "" "By default, all modules have a usable repr, however depending on the " "attributes set above, and in the module's spec, you can more explicitly " @@ -1250,7 +1261,7 @@ msgstr "" "den Angaben in der Modul-Spezifikation kannst du die \"repr\"-Darstellung " "von Modulobjekten jedoch expliziter steuern." -#: ../../reference/import.rst:591 +#: ../../reference/import.rst:600 msgid "" "If the module has a spec (``__spec__``), the import machinery will try to " "generate a repr from it. If that fails or there is no spec, the import " @@ -1267,11 +1278,11 @@ msgstr "" "``module.__loader__`` als Eingabe für die Repr zu verwenden, wobei fehlende " "Informationen durch Standardwerte ersetzt werden." -#: ../../reference/import.rst:598 +#: ../../reference/import.rst:607 msgid "Here are the exact rules used:" msgstr "Hier sind die genauen Regeln, die angewendet wurden:" -#: ../../reference/import.rst:600 +#: ../../reference/import.rst:609 msgid "" "If the module has a ``__spec__`` attribute, the information in the spec is " "used to generate the repr. The \"name\", \"loader\", \"origin\", and " @@ -1281,7 +1292,7 @@ msgstr "" "in der Spezifikation zur Generierung der Repr verwendet. Dabei werden die " "Attribute \"name\", \"loader\", \"origin\" und \"has_location\" herangezogen." -#: ../../reference/import.rst:604 +#: ../../reference/import.rst:613 msgid "" "If the module has a ``__file__`` attribute, this is used as part of the " "module's repr." @@ -1289,7 +1300,7 @@ msgstr "" "Wenn das Modul über ein Attribut ``__file__`` verfügt, wird dieses als Teil " "der \"repr\"-Darstellung des Moduls verwendet." -#: ../../reference/import.rst:607 +#: ../../reference/import.rst:616 msgid "" "If the module has no ``__file__`` but does have a ``__loader__`` that is not " "``None``, then the loader's repr is used as part of the module's repr." @@ -1298,13 +1309,13 @@ msgstr "" "das nicht ``None`` ist, wird die `repr` des Laders als Teil der `repr` des " "Moduls verwendet." -#: ../../reference/import.rst:610 +#: ../../reference/import.rst:619 msgid "Otherwise, just use the module's ``__name__`` in the repr." msgstr "" "Ansonsten verwende einfach die Methode ``__name__`` des Moduls in der " "\"repr\"-Anweisung." -#: ../../reference/import.rst:612 +#: ../../reference/import.rst:621 msgid "" "Use of :meth:`!module_repr`, having been deprecated since Python 3.4, was " "removed in Python 3.12 and is no longer called during the resolution of a " @@ -1314,11 +1325,11 @@ msgstr "" "veraltet gilt, wurde in Python 3.12 entfernt und wird bei der Auflösung des " "`repr`-Objekts eines Moduls nicht mehr aufgerufen." -#: ../../reference/import.rst:620 +#: ../../reference/import.rst:629 msgid "Cached bytecode invalidation" msgstr "Ungültigmachung von zwischengespeichertem Bytecode" -#: ../../reference/import.rst:622 +#: ../../reference/import.rst:631 msgid "" "Before Python loads cached bytecode from a ``.pyc`` file, it checks whether " "the cache is up-to-date with the source ``.py`` file. By default, Python " @@ -1334,7 +1345,7 @@ msgstr "" "Datei. Zur Laufzeit überprüft das Import-System dann die Cache-Datei, indem " "es die darin gespeicherten Metadaten mit den Metadaten der Quell vergleicht." -#: ../../reference/import.rst:629 +#: ../../reference/import.rst:638 msgid "" "Python also supports \"hash-based\" cache files, which store a hash of the " "source file's contents rather than its metadata. There are two variants of " @@ -1359,7 +1370,7 @@ msgstr "" "vorhanden ist. Das Validierungsverhalten von hash-basierten ``.pyc``-Dateien " "kann mit dem Flag :option:`--check-hash-based-pycs` überschrieben werden." -#: ../../reference/import.rst:640 +#: ../../reference/import.rst:649 msgid "" "Added hash-based ``.pyc`` files. Previously, Python only supported timestamp-" "based invalidation of bytecode caches." @@ -1368,11 +1379,11 @@ msgstr "" "Python nur die zeitstempelbasierte Ungültigkeitserklärung von Bytecode-" "Caches." -#: ../../reference/import.rst:646 +#: ../../reference/import.rst:655 msgid "The Path Based Finder" msgstr "Der pfadbasierte Finder" -#: ../../reference/import.rst:651 +#: ../../reference/import.rst:660 msgid "" "As mentioned previously, Python comes with several default meta path " "finders. One of these, called the :term:`path based finder` " @@ -1387,7 +1398,7 @@ msgstr "" "von :term:`Pfadeinträgen ` enthält. Jeder Pfadeintrag gibt einen " "Speicherort an, an dem nach Modulen gesucht werden soll." -#: ../../reference/import.rst:657 +#: ../../reference/import.rst:666 msgid "" "The path based finder itself doesn't know how to import anything. Instead, " "it traverses the individual path entries, associating each of them with a " @@ -1398,7 +1409,7 @@ msgstr "" "ihnen einen Pfadeintrags-Finder zu, der weiß, wie man mit dieser bestimmten " "Art von Pfad umgeht." -#: ../../reference/import.rst:661 +#: ../../reference/import.rst:670 msgid "" "The default set of path entry finders implement all the semantics for " "finding modules on the file system, handling special file types such as " @@ -1417,7 +1428,7 @@ msgstr "" "Dateitypen (mit Ausnahme von gemeinsam genutzten Bibliotheken) aus ZIP-" "Dateien." -#: ../../reference/import.rst:668 +#: ../../reference/import.rst:677 msgid "" "Path entries need not be limited to file system locations. They can refer " "to URLs, database queries, or any other location that can be specified as a " @@ -1427,7 +1438,7 @@ msgstr "" "Sie können sich auf URLs, Datenbankabfragen oder jeden anderen Speicherort " "beziehen, der als Zeichenfolge angegeben werden kann." -#: ../../reference/import.rst:672 +#: ../../reference/import.rst:681 msgid "" "The path based finder provides additional hooks and protocols so that you " "can extend and customize the types of searchable path entries. For example, " @@ -1446,7 +1457,7 @@ msgstr "" "unten beschriebene Protokoll unterstützt, mit dem dann ein Loader für das " "Modul aus dem Web abgerufen würde." -#: ../../reference/import.rst:680 +#: ../../reference/import.rst:689 msgid "" "A word of warning: this section and the previous both use the term *finder*, " "distinguishing between them by using the terms :term:`meta path finder` " @@ -1466,7 +1477,7 @@ msgstr "" "zu Beginn des Importvorgangs ausgeführt, ausgehend von der Durchquerung des " "Verzeichnisses :data:`sys.meta_path` ." -#: ../../reference/import.rst:688 +#: ../../reference/import.rst:697 msgid "" "By contrast, path entry finders are in a sense an implementation detail of " "the path based finder, and in fact, if the path based finder were to be " @@ -1478,11 +1489,11 @@ msgstr "" "wenn der pfadbasierte Finder aus :data:`sys.meta_path` entfernt würde, keine " "der Semantiken der Pfadeintrags-Finder aufgerufen werden." -#: ../../reference/import.rst:695 +#: ../../reference/import.rst:704 msgid "Path entry finders" msgstr "Pfadeintrag-Suchfunktionen" -#: ../../reference/import.rst:703 +#: ../../reference/import.rst:712 msgid "" "The :term:`path based finder` is responsible for finding and loading Python " "modules and packages whose location is specified with a string :term:`path " @@ -1495,7 +1506,7 @@ msgstr "" "meisten Pfadeinträge bezeichnen Speicherorte im Dateisystem, müssen sich " "jedoch nicht darauf beschränken." -#: ../../reference/import.rst:708 +#: ../../reference/import.rst:717 msgid "" "As a meta path finder, the :term:`path based finder` implements " "the :meth:`~importlib.abc.MetaPathFinder.find_spec` protocol previously " @@ -1509,7 +1520,7 @@ msgstr "" "wie Module über den :term:`Importpfad ` gefunden und geladen " "werden." -#: ../../reference/import.rst:713 +#: ../../reference/import.rst:722 msgid "" "Three variables are used by the :term:`path based " "finder`, :data:`sys.path`, :data:`sys.path_hooks` " @@ -1523,7 +1534,7 @@ msgstr "" "der Paketobjekte herangezogen. Diese bieten zusätzliche Möglichkeiten zur " "Anpassung des Importmechanismus." -#: ../../reference/import.rst:718 +#: ../../reference/import.rst:727 msgid "" ":data:`sys.path` contains a list of strings providing search locations for " "modules and packages. It is initialized from the :envvar:`PYTHONPATH` " @@ -1544,7 +1555,7 @@ msgstr "" "z. B. URLs oder Datenbankabfragen. In :data:`sys.path` dürfen nur " "Zeichenketten enthalten sein. Alle anderen Datentypen werden ignoriert." -#: ../../reference/import.rst:727 +#: ../../reference/import.rst:736 msgid "" "The :term:`path based finder` is a :term:`meta path finder`, so the import " "machinery begins the :term:`import path` search by calling the path based " @@ -1567,7 +1578,7 @@ msgstr "" "deutet dies auf einen Import auf oberster Ebene hin, und es " "wird :data:`sys.path` verwendet." -#: ../../reference/import.rst:736 +#: ../../reference/import.rst:745 msgid "" "The path based finder iterates over every entry in the search path, and for " "each of these, looks for an appropriate :term:`path entry finder` " @@ -1598,7 +1609,7 @@ msgstr "" "aus :data:`sys.path_importer_cache` entfernen und so den pfadbasierten " "Finder dazu zwingen, die Suche nach dem Pfadeintrag erneut durchzuführen." -#: ../../reference/import.rst:749 +#: ../../reference/import.rst:758 msgid "" "If the path entry is not present in the cache, the path based finder " "iterates over every callable in :data:`sys.path_hooks`. Each of " @@ -1630,7 +1641,7 @@ msgstr "" "etwas anderes handeln), und wenn der Hook das Argument nicht dekodieren " "kann, sollte er eine :exc:`ImportError`-Ausnahme auslösen." -#: ../../reference/import.rst:763 +#: ../../reference/import.rst:772 msgid "" "If :data:`sys.path_hooks` iteration ends with no :term:`path entry finder` " "being returned, then the path based " @@ -1647,7 +1658,7 @@ msgstr "" "darauf hinweist, dass dieser :term:`Meta-Pfad-Finder ` das " "Modul nicht finden konnte." -#: ../../reference/import.rst:770 +#: ../../reference/import.rst:779 msgid "" "If a :term:`path entry finder` *is* returned by one of the :term:`path entry " "hook` callables on :data:`sys.path_hooks`, then the following protocol is " @@ -1660,7 +1671,7 @@ msgstr "" "vom Finder eine Modulspezifikation abzufragen, die dann beim Laden des " "Moduls verwendet wird." -#: ../../reference/import.rst:775 +#: ../../reference/import.rst:784 msgid "" "The current working directory -- denoted by an empty string -- is handled " "slightly differently from other entries on :data:`sys.path`. First, if the " @@ -1681,11 +1692,11 @@ msgstr "" "von :meth:`importlib.machinery.PathFinder.find_spec` zurückgegeben wird, das " "tatsächlich aktuelle Arbeitsverzeichnis und nicht die leere Zeichenkette." -#: ../../reference/import.rst:785 +#: ../../reference/import.rst:794 msgid "Path entry finder protocol" msgstr "Protokoll zur Ermittlung von Pfadeinträgen" -#: ../../reference/import.rst:787 +#: ../../reference/import.rst:796 msgid "" "In order to support imports of modules and initialized packages and also to " "contribute portions to namespace packages, path entry finders must implement " @@ -1695,7 +1706,7 @@ msgstr "" "und zudem Teile zu Namespace-Paketen beizusteuern, müssen Pfadefinder die " "Methode :meth:`~importlib.abc.PathEntryFinder.find_spec` implementieren." -#: ../../reference/import.rst:791 +#: ../../reference/import.rst:800 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_spec` takes two arguments: the " "fully qualified name of the module being imported, and the (optional) target " @@ -1708,7 +1719,7 @@ msgstr "" "Spezifikation für das Modul zurück. In dieser Spezifikation ist \"loader\" " "immer gesetzt (mit einer Ausnahme)." -#: ../../reference/import.rst:796 +#: ../../reference/import.rst:805 msgid "" "To indicate to the import machinery that the spec represents a " "namespace :term:`portion`, the path entry finder sets " @@ -1718,7 +1729,7 @@ msgstr "" "Namensraum :term:`portion` darstellt, setzt der Pfadeintrags-Finder " "``submodule_search_locations`` auf eine Liste, die diesen Teil enthält." -#: ../../reference/import.rst:800 +#: ../../reference/import.rst:809 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_spec` replaced :meth:`!" "find_loader` and :meth:`!find_module`, both of which are now deprecated, but " @@ -1728,7 +1739,7 @@ msgstr "" "find_loader` und :meth:`!find_module`, die beide mittlerweile veraltet sind, " "jedoch verwendet werden, wenn ``find_spec()`` nicht definiert ist." -#: ../../reference/import.rst:806 +#: ../../reference/import.rst:815 msgid "" "Older path entry finders may implement one of these two deprecated methods " "instead of ``find_spec()``. The methods are still respected for the sake of " @@ -1741,7 +1752,7 @@ msgstr "" "jedoch ``find_spec()`` im Pfadeintrags-Finder implementiert ist, werden die " "veralteten Methoden ignoriert." -#: ../../reference/import.rst:811 +#: ../../reference/import.rst:820 msgid "" ":meth:`!find_loader` takes one argument, the fully qualified name of the " "module being imported. ``find_loader()`` returns a 2-tuple where the first " @@ -1752,7 +1763,7 @@ msgstr "" "gibt ein 2-Tupel zurück, dessen erstes Element der Loader und dessen zweites " "Element ein Namespace-Teil :term:`portion` ist." -#: ../../reference/import.rst:816 +#: ../../reference/import.rst:825 msgid "" "For backwards compatibility with other implementations of the import " "protocol, many path entry finders also support the same, traditional " @@ -1769,7 +1780,7 @@ msgstr "" "wird erwartet, dass sie die entsprechenden Pfadinformationen aus dem ersten " "Aufruf des Pfad-Hooks erfassen)." -#: ../../reference/import.rst:823 +#: ../../reference/import.rst:832 msgid "" "The ``find_module()`` method on path entry finders is deprecated, as it does " "not allow the path entry finder to contribute portions to namespace " @@ -1783,7 +1794,7 @@ msgstr "" "als auch ``find_module()`` vorhanden sind, ruft das Import-System immer " "``find_loader()`` vorrangig vor ``find_module()`` auf." -#: ../../reference/import.rst:829 +#: ../../reference/import.rst:838 msgid "" "Calls to :meth:`!find_module` and :meth:`!find_loader` by the import system " "will raise :exc:`ImportWarning`." @@ -1791,15 +1802,15 @@ msgstr "" "Aufrufe von :meth:`!find_module` und :meth:`!find_loader` durch das " "Importsystem lösen den Fehler :exc:`ImportWarning` aus." -#: ../../reference/import.rst:834 +#: ../../reference/import.rst:843 msgid "``find_module()`` and ``find_loader()`` have been removed." msgstr "``find_module()`` und ``find_loader()`` wurden entfernt." -#: ../../reference/import.rst:839 +#: ../../reference/import.rst:848 msgid "Replacing the standard import system" msgstr "Ersetzen des Standard-Importsystems" -#: ../../reference/import.rst:841 +#: ../../reference/import.rst:850 msgid "" "The most reliable mechanism for replacing the entire import system is to " "delete the default contents of :data:`sys.meta_path`, replacing them " @@ -1809,7 +1820,7 @@ msgstr "" "darin, den Standardinhalt von :data:`sys.meta_path` zu löschen und ihn " "vollständig durch einen benutzerdefinierten Meta-Path-Hook zu ersetzen." -#: ../../reference/import.rst:845 +#: ../../reference/import.rst:854 msgid "" "If it is acceptable to only alter the behaviour of import statements without " "affecting other APIs that access the import system, then replacing the " @@ -1820,7 +1831,7 @@ msgstr "" "zugreifen, könnte es ausreichen, die integrierte Funktion :func:`__import__` " "zu ersetzen." -#: ../../reference/import.rst:849 +#: ../../reference/import.rst:858 msgid "" "To selectively prevent the import of some modules from a hook early on the " "meta path (rather than disabling the standard import system entirely), it is " @@ -1838,11 +1849,11 @@ msgstr "" "fortgesetzt werden soll, während das Auslösen einer Ausnahme diese sofort " "beendet." -#: ../../reference/import.rst:859 +#: ../../reference/import.rst:868 msgid "Package Relative Imports" msgstr "Paketbezogene Importe" -#: ../../reference/import.rst:861 +#: ../../reference/import.rst:870 msgid "" "Relative imports use leading dots. A single leading dot indicates a relative " "import, starting with the current package. Two or more leading dots indicate " @@ -1855,7 +1866,7 @@ msgstr "" "zu den übergeordneten Paketen des aktuellen Pakets, wobei jeder Punkt nach " "dem ersten für eine Ebene steht. Beispielsweise bei folgender Paketstruktur:" -#: ../../reference/import.rst:866 +#: ../../reference/import.rst:875 msgid "" "package/\n" " __init__.py\n" @@ -1879,7 +1890,7 @@ msgstr "" " moduleZ.py\n" " moduleA.py" -#: ../../reference/import.rst:877 +#: ../../reference/import.rst:886 msgid "" "In either ``subpackage1/moduleX.py`` or ``subpackage1/__init__.py``, the " "following are valid relative imports::" @@ -1887,7 +1898,7 @@ msgstr "" "Sowohl in ``subpackage1/moduleX.py`` als auch in ``subpackage1/__init__.py`` " "sind die folgenden relativen Importe gültig:" -#: ../../reference/import.rst:880 +#: ../../reference/import.rst:889 msgid "" "from .moduleY import spam\n" "from .moduleY import spam as ham\n" @@ -1903,7 +1914,7 @@ msgstr "" "from ..subpackage2.moduleZ import eggs\n" "from ..moduleA import foo" -#: ../../reference/import.rst:887 +#: ../../reference/import.rst:896 msgid "" "Absolute imports may use either the ``import <>`` or ``from <> import <>`` " "syntax, but relative imports may only use the second form; the reason for " @@ -1913,11 +1924,11 @@ msgstr "" "import <>`` verwenden, relative Importe hingegen dürfen nur die zweite Form " "verwenden. Der Grund dafür ist, dass::" -#: ../../reference/import.rst:891 +#: ../../reference/import.rst:900 msgid "import XXX.YYY.ZZZ" msgstr "import XXX.YYY.ZZZ" -#: ../../reference/import.rst:893 +#: ../../reference/import.rst:902 msgid "" "should expose ``XXX.YYY.ZZZ`` as a usable expression, but .moduleY is not a " "valid expression." @@ -1925,11 +1936,11 @@ msgstr "" "``XXX.YYY.ZZZ`` sollte als gültiger Ausdruck verfügbar sein, aber .moduleY " "ist kein gültiger Ausdruck." -#: ../../reference/import.rst:900 +#: ../../reference/import.rst:909 msgid "Special considerations for __main__" msgstr "Besondere Hinweise zu __main__" -#: ../../reference/import.rst:902 +#: ../../reference/import.rst:911 msgid "" "The :mod:`__main__` module is a special case relative to Python's import " "system. As noted :ref:`elsewhere `, the ``__main__`` module is " @@ -1948,11 +1959,11 @@ msgstr "" "initialisiert wird, von den Flags und anderen Optionen abhängt, mit denen " "der Interpreter aufgerufen wird." -#: ../../reference/import.rst:913 +#: ../../reference/import.rst:922 msgid "__main__.__spec__" msgstr "__main__.__spec__" -#: ../../reference/import.rst:915 +#: ../../reference/import.rst:924 msgid "" "Depending on how :mod:`__main__` is initialized, ``__main__.__spec__`` gets " "set appropriately or to ``None``." @@ -1960,7 +1971,7 @@ msgstr "" "Je nachdem, wie :mod:`__main__` initialisiert wird, wird " "``__main__.__spec__`` entsprechend gesetzt oder auf ``None`` ." -#: ../../reference/import.rst:918 +#: ../../reference/import.rst:927 msgid "" "When Python is started with the :option:`-m` option, ``__spec__`` is set to " "the module spec of the corresponding module or package. ``__spec__`` is also " @@ -1973,7 +1984,7 @@ msgstr "" "der Ausführung eines Eintrags vom Typ \"directory\", \"zipfile\" oder eines " "anderen Eintrags vom Typ :data:`sys.path` geladen wird." -#: ../../reference/import.rst:923 +#: ../../reference/import.rst:932 msgid "" "In :ref:`the remaining cases ` " "``__main__.__spec__`` is set to ``None``, as the code used to populate " @@ -1984,23 +1995,23 @@ msgstr "" "Befüllen der :mod:`__main__` verwendet wird, nicht direkt einem " "importierbaren Modul entspricht:" -#: ../../reference/import.rst:927 +#: ../../reference/import.rst:936 msgid "interactive prompt" msgstr "interaktive Eingabeaufforderung" -#: ../../reference/import.rst:928 +#: ../../reference/import.rst:937 msgid ":option:`-c` option" msgstr ":option:`-c` Option" -#: ../../reference/import.rst:929 +#: ../../reference/import.rst:938 msgid "running from stdin" msgstr "Ausführung über stdin" -#: ../../reference/import.rst:930 +#: ../../reference/import.rst:939 msgid "running directly from a source or bytecode file" msgstr "direkt aus einer Quell- oder Bytecode-Datei ausgeführt" -#: ../../reference/import.rst:932 +#: ../../reference/import.rst:941 msgid "" "Note that ``__main__.__spec__`` is always ``None`` in the last case, *even " "if* the file could technically be imported directly as a module instead. Use " @@ -2012,7 +2023,7 @@ msgstr "" "importiert werden könnte. Verwende den Schalter :option:`-m`, wenn gültige " "Modul-Metadaten in :mod:`__main__` gewünscht sind." -#: ../../reference/import.rst:937 +#: ../../reference/import.rst:946 msgid "" "Note also that even when ``__main__`` corresponds with an importable module " "and ``__main__.__spec__`` is set accordingly, they're still considered " @@ -2027,11 +2038,11 @@ msgstr "" "nur dann ausgeführt werden, wenn das Modul zum Befüllen des Namensraums " "``__main__`` verwendet wird, nicht jedoch während eines normalen Imports." -#: ../../reference/import.rst:945 +#: ../../reference/import.rst:954 msgid "References" msgstr "Literaturverzeichnis" -#: ../../reference/import.rst:947 +#: ../../reference/import.rst:956 msgid "" "The import machinery has evolved considerably since Python's early days. " "The original `specification for packages ` for " "Python 3.3. :pep:`420` also introduced the :meth:`!find_loader` protocol as " @@ -2062,7 +2073,7 @@ msgstr "" "eingeführt. In der Version :pep:`420` wurde außerdem das Protokoll :meth:`!" "find_loader` als Alternative zu :meth:`!find_module` eingeführt." -#: ../../reference/import.rst:959 +#: ../../reference/import.rst:968 msgid "" ":pep:`366` describes the addition of the ``__package__`` attribute for " "explicit relative imports in main modules." @@ -2070,7 +2081,7 @@ msgstr "" ":pep:`366` beschreibt die Einführung des Attributs ``__package__`` für " "explizite relative Importe in Hauptmodulen." -#: ../../reference/import.rst:962 +#: ../../reference/import.rst:971 msgid "" ":pep:`328` introduced absolute and explicit relative imports and initially " "proposed ``__name__`` for semantics :pep:`366` would eventually specify for " @@ -2080,11 +2091,11 @@ msgstr "" "zunächst ``__name__`` als Semantik vor, die :pep:`366` schließlich für " "``__package__`` festlegen würde." -#: ../../reference/import.rst:966 +#: ../../reference/import.rst:975 msgid ":pep:`338` defines executing modules as scripts." msgstr ":pep:`338` definiert die Ausführung von Modulen als Skripte." -#: ../../reference/import.rst:968 +#: ../../reference/import.rst:977 msgid "" ":pep:`451` adds the encapsulation of per-module import state in spec " "objects. It also off-loads most of the boilerplate responsibilities of " @@ -2098,15 +2109,15 @@ msgstr "" "ermöglichen die Abkündigung mehrerer APIs im Importsystem sowie die " "Hinzufügung neuer Methoden zu Findern und Loadern." -#: ../../reference/import.rst:975 +#: ../../reference/import.rst:984 msgid "Footnotes" msgstr "Fußnoten" -#: ../../reference/import.rst:976 +#: ../../reference/import.rst:985 msgid "See :class:`types.ModuleType`." msgstr "Siehe :class:`types.ModuleType`." -#: ../../reference/import.rst:978 +#: ../../reference/import.rst:987 msgid "" "The importlib implementation avoids using the return value directly. " "Instead, it gets the module object by looking the module name up " @@ -2126,91 +2137,91 @@ msgstr "" msgid "import machinery" msgstr "import machinery" -#: ../../reference/import.rst:64 ../../reference/import.rst:95 -#: ../../reference/import.rst:137 +#: ../../reference/import.rst:71 ../../reference/import.rst:102 +#: ../../reference/import.rst:144 msgid "package" msgstr "package" -#: ../../reference/import.rst:95 +#: ../../reference/import.rst:102 msgid "regular" msgstr "regular" -#: ../../reference/import.rst:137 +#: ../../reference/import.rst:144 msgid "namespace" msgstr "namespace" -#: ../../reference/import.rst:137 +#: ../../reference/import.rst:144 msgid "portion" msgstr "portion" -#: ../../reference/import.rst:189 +#: ../../reference/import.rst:196 msgid "sys.modules" msgstr "sys.modules" -#: ../../reference/import.rst:224 ../../reference/import.rst:290 +#: ../../reference/import.rst:231 ../../reference/import.rst:299 msgid "finder" msgstr "finder" -#: ../../reference/import.rst:224 +#: ../../reference/import.rst:231 msgid "loader" msgstr "loader" -#: ../../reference/import.rst:224 +#: ../../reference/import.rst:231 msgid "module spec" msgstr "module spec" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "import hooks" msgstr "import hooks" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "meta hooks" msgstr "meta hooks" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "path hooks" msgstr "path hooks" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "hooks" msgstr "hooks" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "import" msgstr "import" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "meta" msgstr "meta" -#: ../../reference/import.rst:263 +#: ../../reference/import.rst:272 msgid "path" msgstr "path" -#: ../../reference/import.rst:290 +#: ../../reference/import.rst:299 msgid "sys.meta_path" msgstr "sys.meta_path" -#: ../../reference/import.rst:290 +#: ../../reference/import.rst:299 msgid "find_spec" msgstr "find_spec" -#: ../../reference/import.rst:648 +#: ../../reference/import.rst:657 msgid "path based finder" msgstr "path based finder" -#: ../../reference/import.rst:697 +#: ../../reference/import.rst:706 msgid "sys.path" msgstr "sys.path" -#: ../../reference/import.rst:697 +#: ../../reference/import.rst:706 msgid "sys.path_hooks" msgstr "sys.path_hooks" -#: ../../reference/import.rst:697 +#: ../../reference/import.rst:706 msgid "sys.path_importer_cache" msgstr "sys.path_importer_cache" -#: ../../reference/import.rst:697 +#: ../../reference/import.rst:706 msgid "PYTHONPATH" msgstr "PYTHONPATH" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index b7e75f0b..7ae6cd57 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -641,89 +641,91 @@ msgid "``type``, when used in the :keyword:`type` statement." msgstr "" #: ../../reference/lexical_analysis.rst:460 -msgid "``lazy``, when used before an :keyword:`import` statement." +msgid "" +"``lazy``, when used before :keyword:`import` or :keyword:`from` in " +"a :ref:`lazy import ` statement." msgstr "" -#: ../../reference/lexical_analysis.rst:462 +#: ../../reference/lexical_analysis.rst:463 msgid "" "These syntactically act as keywords in their specific contexts, but this " "distinction is done at the parser level, not when tokenizing." msgstr "" -#: ../../reference/lexical_analysis.rst:465 +#: ../../reference/lexical_analysis.rst:466 msgid "" "As soft keywords, their use in the grammar is possible while still " "preserving compatibility with existing code that uses these names as " "identifier names." msgstr "" -#: ../../reference/lexical_analysis.rst:469 +#: ../../reference/lexical_analysis.rst:470 msgid "``type`` is now a soft keyword." msgstr "" -#: ../../reference/lexical_analysis.rst:472 +#: ../../reference/lexical_analysis.rst:473 msgid "``lazy`` is now a soft keyword." msgstr "" -#: ../../reference/lexical_analysis.rst:481 +#: ../../reference/lexical_analysis.rst:482 msgid "Reserved classes of identifiers" msgstr "" -#: ../../reference/lexical_analysis.rst:483 +#: ../../reference/lexical_analysis.rst:484 msgid "" "Certain classes of identifiers (besides keywords) have special meanings. " "These classes are identified by the patterns of leading and trailing " "underscore characters:" msgstr "" -#: ../../reference/lexical_analysis.rst:487 +#: ../../reference/lexical_analysis.rst:488 msgid "``_*``" msgstr "" -#: ../../reference/lexical_analysis.rst:488 +#: ../../reference/lexical_analysis.rst:489 msgid "Not imported by ``from module import *``." msgstr "" -#: ../../reference/lexical_analysis.rst:490 +#: ../../reference/lexical_analysis.rst:491 msgid "``_``" msgstr "" -#: ../../reference/lexical_analysis.rst:491 +#: ../../reference/lexical_analysis.rst:492 msgid "" "In a ``case`` pattern within a :keyword:`match` statement, ``_`` is " "a :ref:`soft keyword ` that denotes a :ref:`wildcard " "`." msgstr "" -#: ../../reference/lexical_analysis.rst:495 +#: ../../reference/lexical_analysis.rst:496 msgid "" "Separately, the interactive interpreter makes the result of the last " "evaluation available in the variable ``_``. (It is stored in " "the :mod:`builtins` module, alongside built-in functions like ``print``.)" msgstr "" -#: ../../reference/lexical_analysis.rst:500 +#: ../../reference/lexical_analysis.rst:501 msgid "" "Elsewhere, ``_`` is a regular identifier. It is often used to name " "\"special\" items, but it is not special to Python itself." msgstr "" -#: ../../reference/lexical_analysis.rst:505 +#: ../../reference/lexical_analysis.rst:506 msgid "" "The name ``_`` is often used in conjunction with internationalization; refer " "to the documentation for the :mod:`gettext` module for more information on " "this convention." msgstr "" -#: ../../reference/lexical_analysis.rst:509 +#: ../../reference/lexical_analysis.rst:510 msgid "It is also commonly used for unused variables." msgstr "" -#: ../../reference/lexical_analysis.rst:511 +#: ../../reference/lexical_analysis.rst:512 msgid "``__*__``" msgstr "" -#: ../../reference/lexical_analysis.rst:512 +#: ../../reference/lexical_analysis.rst:513 msgid "" "System-defined names, informally known as \"dunder\" names. These names are " "defined by the interpreter and its implementation (including the standard " @@ -733,11 +735,11 @@ msgid "" "explicitly documented use, is subject to breakage without warning." msgstr "" -#: ../../reference/lexical_analysis.rst:519 +#: ../../reference/lexical_analysis.rst:520 msgid "``__*``" msgstr "" -#: ../../reference/lexical_analysis.rst:520 +#: ../../reference/lexical_analysis.rst:521 msgid "" "Class-private names. Names in this category, when used within the context " "of a class definition, are re-written to use a mangled form to help avoid " @@ -745,11 +747,11 @@ msgid "" "section :ref:`atom-identifiers`." msgstr "" -#: ../../reference/lexical_analysis.rst:529 +#: ../../reference/lexical_analysis.rst:530 msgid "Non-ASCII characters in names" msgstr "" -#: ../../reference/lexical_analysis.rst:531 +#: ../../reference/lexical_analysis.rst:532 msgid "" "Names that contain non-ASCII characters need additional normalization and " "validation beyond the rules and grammar explained :ref:`above " @@ -757,11 +759,11 @@ msgid "" "but ``r〰2``, ``€``, or ``🐍`` are not." msgstr "" -#: ../../reference/lexical_analysis.rst:537 +#: ../../reference/lexical_analysis.rst:538 msgid "This section explains the exact rules." msgstr "" -#: ../../reference/lexical_analysis.rst:539 +#: ../../reference/lexical_analysis.rst:540 msgid "" "All names are converted into the `normalization form`_ NFKC while parsing. " "This means that, for example, some typographic variants of characters are " @@ -769,14 +771,14 @@ msgid "" "to ``finalization``, so Python treats them as the same name::" msgstr "" -#: ../../reference/lexical_analysis.rst:544 +#: ../../reference/lexical_analysis.rst:545 msgid "" ">>> fiⁿₐˡᵢᶻₐᵗᵢᵒₙ = 3\n" ">>> finalization\n" "3" msgstr "" -#: ../../reference/lexical_analysis.rst:550 +#: ../../reference/lexical_analysis.rst:551 msgid "" "Normalization is done at the lexical level only. Run-time functions that " "take names as *strings* generally do not normalize their arguments. For " @@ -785,7 +787,7 @@ msgid "" "``globals()[\"fiⁿₐˡᵢᶻₐᵗᵢᵒₙ\"]``." msgstr "" -#: ../../reference/lexical_analysis.rst:557 +#: ../../reference/lexical_analysis.rst:558 msgid "" "Similarly to how ASCII-only names must contain only letters, digits and the " "underscore, and cannot start with a digit, a valid name must start with a " @@ -793,7 +795,7 @@ msgid "" "characters must be in the \"letter- and digit-like\" set ``xid_continue``." msgstr "" -#: ../../reference/lexical_analysis.rst:563 +#: ../../reference/lexical_analysis.rst:564 msgid "" "These sets are based on the *XID_Start* and *XID_Continue* sets as defined " "by the Unicode standard annex `UAX-31`_. Python's ``xid_start`` additionally " @@ -801,7 +803,7 @@ msgid "" "conform to `UAX-31`_." msgstr "" -#: ../../reference/lexical_analysis.rst:568 +#: ../../reference/lexical_analysis.rst:569 msgid "" "A non-normative listing of characters in the *XID_Start* and *XID_Continue* " "sets as defined by Unicode is available in the `DerivedCoreProperties.txt`_ " @@ -809,156 +811,156 @@ msgid "" "rules for the ``xid_*`` sets are given below." msgstr "" -#: ../../reference/lexical_analysis.rst:573 +#: ../../reference/lexical_analysis.rst:574 msgid "The set ``id_start`` is defined as the union of:" msgstr "" -#: ../../reference/lexical_analysis.rst:575 +#: ../../reference/lexical_analysis.rst:576 msgid "Unicode category ```` - uppercase letters (includes ``A`` to ``Z``)" msgstr "" -#: ../../reference/lexical_analysis.rst:576 +#: ../../reference/lexical_analysis.rst:577 msgid "Unicode category ```` - lowercase letters (includes ``a`` to ``z``)" msgstr "" -#: ../../reference/lexical_analysis.rst:577 +#: ../../reference/lexical_analysis.rst:578 msgid "Unicode category ```` - titlecase letters" msgstr "" -#: ../../reference/lexical_analysis.rst:578 +#: ../../reference/lexical_analysis.rst:579 msgid "Unicode category ```` - modifier letters" msgstr "" -#: ../../reference/lexical_analysis.rst:579 +#: ../../reference/lexical_analysis.rst:580 msgid "Unicode category ```` - other letters" msgstr "" -#: ../../reference/lexical_analysis.rst:580 +#: ../../reference/lexical_analysis.rst:581 msgid "Unicode category ```` - letter numbers" msgstr "" -#: ../../reference/lexical_analysis.rst:581 +#: ../../reference/lexical_analysis.rst:582 msgid "{``\"_\"``} - the underscore" msgstr "" -#: ../../reference/lexical_analysis.rst:582 +#: ../../reference/lexical_analysis.rst:583 msgid "" "```` - an explicit set of characters in `PropList.txt`_ to " "support backwards compatibility" msgstr "" -#: ../../reference/lexical_analysis.rst:585 +#: ../../reference/lexical_analysis.rst:586 msgid "" "The set ``xid_start`` then closes this set under NFKC normalization, by " "removing all characters whose normalization is not of the form ``id_start " "id_continue*``." msgstr "" -#: ../../reference/lexical_analysis.rst:589 +#: ../../reference/lexical_analysis.rst:590 msgid "The set ``id_continue`` is defined as the union of:" msgstr "" -#: ../../reference/lexical_analysis.rst:591 +#: ../../reference/lexical_analysis.rst:592 msgid "``id_start`` (see above)" msgstr "" -#: ../../reference/lexical_analysis.rst:592 +#: ../../reference/lexical_analysis.rst:593 msgid "Unicode category ```` - decimal numbers (includes ``0`` to ``9``)" msgstr "" -#: ../../reference/lexical_analysis.rst:593 +#: ../../reference/lexical_analysis.rst:594 msgid "Unicode category ```` - connector punctuations" msgstr "" -#: ../../reference/lexical_analysis.rst:594 +#: ../../reference/lexical_analysis.rst:595 msgid "Unicode category ```` - nonspacing marks" msgstr "" -#: ../../reference/lexical_analysis.rst:595 +#: ../../reference/lexical_analysis.rst:596 msgid "Unicode category ```` - spacing combining marks" msgstr "" -#: ../../reference/lexical_analysis.rst:596 +#: ../../reference/lexical_analysis.rst:597 msgid "" "```` - another explicit set of characters in " "`PropList.txt`_ to support backwards compatibility" msgstr "" -#: ../../reference/lexical_analysis.rst:599 +#: ../../reference/lexical_analysis.rst:600 msgid "Again, ``xid_continue`` closes this set under NFKC normalization." msgstr "" -#: ../../reference/lexical_analysis.rst:601 +#: ../../reference/lexical_analysis.rst:602 msgid "" "Unicode categories use the version of the Unicode Character Database as " "included in the :mod:`unicodedata` module." msgstr "" -#: ../../reference/lexical_analysis.rst:611 +#: ../../reference/lexical_analysis.rst:612 msgid ":pep:`3131` -- Supporting Non-ASCII Identifiers" msgstr "" -#: ../../reference/lexical_analysis.rst:612 +#: ../../reference/lexical_analysis.rst:613 msgid ":pep:`672` -- Unicode-related Security Considerations for Python" msgstr "" -#: ../../reference/lexical_analysis.rst:618 +#: ../../reference/lexical_analysis.rst:619 msgid "Literals" msgstr "Literale" -#: ../../reference/lexical_analysis.rst:622 +#: ../../reference/lexical_analysis.rst:623 msgid "Literals are notations for constant values of some built-in types." msgstr "" -#: ../../reference/lexical_analysis.rst:624 +#: ../../reference/lexical_analysis.rst:625 msgid "" "In terms of lexical analysis, Python has :ref:`string, bytes ` " "and :ref:`numeric ` literals." msgstr "" -#: ../../reference/lexical_analysis.rst:627 +#: ../../reference/lexical_analysis.rst:628 msgid "" "Other \"literals\" are lexically denoted using :ref:`keywords ` " "(``None``, ``True``, ``False``) and the special :ref:`ellipsis token " "` (``...``)." msgstr "" -#: ../../reference/lexical_analysis.rst:638 +#: ../../reference/lexical_analysis.rst:639 msgid "String and Bytes literals" msgstr "" -#: ../../reference/lexical_analysis.rst:640 +#: ../../reference/lexical_analysis.rst:641 msgid "" "String literals are text enclosed in single quotes (``'``) or double quotes " "(``\"``). For example:" msgstr "" -#: ../../reference/lexical_analysis.rst:643 +#: ../../reference/lexical_analysis.rst:644 msgid "" "\"spam\"\n" "'eggs'" msgstr "" -#: ../../reference/lexical_analysis.rst:648 +#: ../../reference/lexical_analysis.rst:649 msgid "" "The quote used to start the literal also terminates it, so a string literal " "can only contain the other quote (except with escape sequences, see below). " "For example:" msgstr "" -#: ../../reference/lexical_analysis.rst:652 +#: ../../reference/lexical_analysis.rst:653 msgid "" "'Say \"Hello\", please.'\n" "\"Don't do that!\"" msgstr "" -#: ../../reference/lexical_analysis.rst:657 +#: ../../reference/lexical_analysis.rst:658 msgid "" "Except for this limitation, the choice of quote character (``'`` or ``\"``) " "does not affect how the literal is parsed." msgstr "" -#: ../../reference/lexical_analysis.rst:660 +#: ../../reference/lexical_analysis.rst:661 msgid "" "Inside a string literal, the backslash (``\\``) character introduces " "an :dfn:`escape sequence`, which has special meaning depending on the " @@ -966,98 +968,98 @@ msgid "" "quote character, and does *not* end the string:" msgstr "" -#: ../../reference/lexical_analysis.rst:666 +#: ../../reference/lexical_analysis.rst:667 msgid "" ">>> print(\"Say \\\"Hello\\\" to everyone!\")\n" "Say \"Hello\" to everyone!" msgstr "" -#: ../../reference/lexical_analysis.rst:671 +#: ../../reference/lexical_analysis.rst:672 msgid "" "See :ref:`escape sequences ` below for a full list of such " "sequences, and more details." msgstr "" -#: ../../reference/lexical_analysis.rst:680 +#: ../../reference/lexical_analysis.rst:681 msgid "Triple-quoted strings" msgstr "" -#: ../../reference/lexical_analysis.rst:682 +#: ../../reference/lexical_analysis.rst:683 msgid "" "Strings can also be enclosed in matching groups of three single or double " "quotes. These are generally referred to as :dfn:`triple-quoted strings`::" msgstr "" -#: ../../reference/lexical_analysis.rst:686 +#: ../../reference/lexical_analysis.rst:687 msgid "\"\"\"This is a triple-quoted string.\"\"\"" msgstr "" -#: ../../reference/lexical_analysis.rst:688 +#: ../../reference/lexical_analysis.rst:689 msgid "" "In triple-quoted literals, unescaped quotes are allowed (and are retained), " "except that three unescaped quotes in a row terminate the literal, if they " "are of the same kind (``'`` or ``\"``) used at the start::" msgstr "" -#: ../../reference/lexical_analysis.rst:692 +#: ../../reference/lexical_analysis.rst:693 msgid "\"\"\"This string has \"quotes\" inside.\"\"\"" msgstr "" -#: ../../reference/lexical_analysis.rst:694 +#: ../../reference/lexical_analysis.rst:695 msgid "Unescaped newlines are also allowed and retained::" msgstr "" -#: ../../reference/lexical_analysis.rst:696 +#: ../../reference/lexical_analysis.rst:697 msgid "" "'''This triple-quoted string\n" "continues on the next line.'''" msgstr "" -#: ../../reference/lexical_analysis.rst:705 +#: ../../reference/lexical_analysis.rst:706 msgid "String prefixes" msgstr "" -#: ../../reference/lexical_analysis.rst:707 +#: ../../reference/lexical_analysis.rst:708 msgid "" "String literals can have an optional :dfn:`prefix` that influences how the " "content of the literal is parsed, for example:" msgstr "" -#: ../../reference/lexical_analysis.rst:710 +#: ../../reference/lexical_analysis.rst:711 msgid "" "b\"data\"\n" "f'{result=}'" msgstr "" -#: ../../reference/lexical_analysis.rst:715 +#: ../../reference/lexical_analysis.rst:716 msgid "The allowed prefixes are:" msgstr "" -#: ../../reference/lexical_analysis.rst:717 +#: ../../reference/lexical_analysis.rst:718 msgid "``b``: :ref:`Bytes literal `" msgstr "" -#: ../../reference/lexical_analysis.rst:718 +#: ../../reference/lexical_analysis.rst:719 msgid "``r``: :ref:`Raw string `" msgstr "" -#: ../../reference/lexical_analysis.rst:719 +#: ../../reference/lexical_analysis.rst:720 msgid "``f``: :ref:`Formatted string literal ` (\"f-string\")" msgstr "" -#: ../../reference/lexical_analysis.rst:720 +#: ../../reference/lexical_analysis.rst:721 msgid "``t``: :ref:`Template string literal ` (\"t-string\")" msgstr "" -#: ../../reference/lexical_analysis.rst:721 +#: ../../reference/lexical_analysis.rst:722 msgid "``u``: No effect (allowed for backwards compatibility)" msgstr "" -#: ../../reference/lexical_analysis.rst:723 +#: ../../reference/lexical_analysis.rst:724 msgid "See the linked sections for details on each type." msgstr "" -#: ../../reference/lexical_analysis.rst:725 +#: ../../reference/lexical_analysis.rst:726 msgid "" "Prefixes are case-insensitive (for example, '``B``' works the same as " "'``b``'). The '``r``' prefix can be combined with '``f``', '``t``' or " @@ -1065,308 +1067,308 @@ msgid "" "are also valid prefixes." msgstr "" -#: ../../reference/lexical_analysis.rst:729 +#: ../../reference/lexical_analysis.rst:730 msgid "" "The ``'rb'`` prefix of raw bytes literals has been added as a synonym of " "``'br'``." msgstr "" -#: ../../reference/lexical_analysis.rst:733 +#: ../../reference/lexical_analysis.rst:734 msgid "" "Support for the unicode legacy literal (``u'value'``) was reintroduced to " "simplify the maintenance of dual Python 2.x and 3.x codebases. " "See :pep:`414` for more information." msgstr "" -#: ../../reference/lexical_analysis.rst:739 +#: ../../reference/lexical_analysis.rst:740 msgid "Formal grammar" msgstr "" -#: ../../reference/lexical_analysis.rst:741 +#: ../../reference/lexical_analysis.rst:742 msgid "" "String literals, except :ref:`\"f-strings\" ` and :ref:`\"t-" "strings\" `, are described by the following lexical definitions." msgstr "" -#: ../../reference/lexical_analysis.rst:745 +#: ../../reference/lexical_analysis.rst:746 msgid "" "These definitions use :ref:`negative lookaheads ` (``!" "``) to indicate that an ending quote ends the literal." msgstr "" -#: ../../reference/lexical_analysis.rst:763 +#: ../../reference/lexical_analysis.rst:764 msgid "" "Note that as in all lexical definitions, whitespace is significant. In " "particular, the prefix (if any) must be immediately followed by the starting " "quote." msgstr "" -#: ../../reference/lexical_analysis.rst:785 +#: ../../reference/lexical_analysis.rst:786 msgid "Escape sequences" msgstr "" -#: ../../reference/lexical_analysis.rst:787 +#: ../../reference/lexical_analysis.rst:788 msgid "" "Unless an '``r``' or '``R``' prefix is present, escape sequences in string " "and bytes literals are interpreted according to rules similar to those used " "by Standard C. The recognized escape sequences are:" msgstr "" -#: ../../reference/lexical_analysis.rst:795 +#: ../../reference/lexical_analysis.rst:796 msgid "Escape Sequence" msgstr "" -#: ../../reference/lexical_analysis.rst:796 +#: ../../reference/lexical_analysis.rst:797 msgid "Meaning" msgstr "Bedeutung" -#: ../../reference/lexical_analysis.rst:797 +#: ../../reference/lexical_analysis.rst:798 msgid "``\\``\\ " msgstr "" -#: ../../reference/lexical_analysis.rst:798 +#: ../../reference/lexical_analysis.rst:799 msgid ":ref:`string-escape-ignore`" msgstr "" -#: ../../reference/lexical_analysis.rst:799 +#: ../../reference/lexical_analysis.rst:800 msgid "``\\\\``" msgstr "" -#: ../../reference/lexical_analysis.rst:800 +#: ../../reference/lexical_analysis.rst:801 msgid ":ref:`Backslash `" msgstr "" -#: ../../reference/lexical_analysis.rst:801 +#: ../../reference/lexical_analysis.rst:802 msgid "``\\'``" msgstr "" -#: ../../reference/lexical_analysis.rst:802 +#: ../../reference/lexical_analysis.rst:803 msgid ":ref:`Single quote `" msgstr "" -#: ../../reference/lexical_analysis.rst:803 +#: ../../reference/lexical_analysis.rst:804 msgid "``\\\"``" msgstr "" -#: ../../reference/lexical_analysis.rst:804 +#: ../../reference/lexical_analysis.rst:805 msgid ":ref:`Double quote `" msgstr "" -#: ../../reference/lexical_analysis.rst:805 +#: ../../reference/lexical_analysis.rst:806 msgid "``\\a``" msgstr "" -#: ../../reference/lexical_analysis.rst:806 +#: ../../reference/lexical_analysis.rst:807 msgid "ASCII Bell (BEL)" msgstr "" -#: ../../reference/lexical_analysis.rst:807 +#: ../../reference/lexical_analysis.rst:808 msgid "``\\b``" msgstr "``\\b``" -#: ../../reference/lexical_analysis.rst:808 +#: ../../reference/lexical_analysis.rst:809 msgid "ASCII Backspace (BS)" msgstr "" -#: ../../reference/lexical_analysis.rst:809 +#: ../../reference/lexical_analysis.rst:810 msgid "``\\f``" msgstr "" -#: ../../reference/lexical_analysis.rst:810 +#: ../../reference/lexical_analysis.rst:811 msgid "ASCII Formfeed (FF)" msgstr "" -#: ../../reference/lexical_analysis.rst:811 +#: ../../reference/lexical_analysis.rst:812 msgid "``\\n``" msgstr "``\\n``" -#: ../../reference/lexical_analysis.rst:812 +#: ../../reference/lexical_analysis.rst:813 msgid "ASCII Linefeed (LF)" msgstr "" -#: ../../reference/lexical_analysis.rst:813 +#: ../../reference/lexical_analysis.rst:814 msgid "``\\r``" msgstr "``\\r``" -#: ../../reference/lexical_analysis.rst:814 +#: ../../reference/lexical_analysis.rst:815 msgid "ASCII Carriage Return (CR)" msgstr "" -#: ../../reference/lexical_analysis.rst:815 +#: ../../reference/lexical_analysis.rst:816 msgid "``\\t``" msgstr "" -#: ../../reference/lexical_analysis.rst:816 +#: ../../reference/lexical_analysis.rst:817 msgid "ASCII Horizontal Tab (TAB)" msgstr "" -#: ../../reference/lexical_analysis.rst:817 +#: ../../reference/lexical_analysis.rst:818 msgid "``\\v``" msgstr "" -#: ../../reference/lexical_analysis.rst:818 +#: ../../reference/lexical_analysis.rst:819 msgid "ASCII Vertical Tab (VT)" msgstr "" -#: ../../reference/lexical_analysis.rst:819 +#: ../../reference/lexical_analysis.rst:820 msgid ":samp:`\\\\\\\\{ooo}`" msgstr "" -#: ../../reference/lexical_analysis.rst:820 +#: ../../reference/lexical_analysis.rst:821 msgid ":ref:`string-escape-oct`" msgstr "" -#: ../../reference/lexical_analysis.rst:821 +#: ../../reference/lexical_analysis.rst:822 msgid ":samp:`\\\\x{hh}`" msgstr "" -#: ../../reference/lexical_analysis.rst:822 +#: ../../reference/lexical_analysis.rst:823 msgid ":ref:`string-escape-hex`" msgstr "" -#: ../../reference/lexical_analysis.rst:823 +#: ../../reference/lexical_analysis.rst:824 msgid ":samp:`\\\\N\\\\{{name}\\\\}`" msgstr "" -#: ../../reference/lexical_analysis.rst:824 +#: ../../reference/lexical_analysis.rst:825 msgid ":ref:`string-escape-named`" msgstr "" -#: ../../reference/lexical_analysis.rst:825 +#: ../../reference/lexical_analysis.rst:826 msgid ":samp:`\\\\u{xxxx}`" msgstr "" -#: ../../reference/lexical_analysis.rst:826 -#: ../../reference/lexical_analysis.rst:828 +#: ../../reference/lexical_analysis.rst:827 +#: ../../reference/lexical_analysis.rst:829 msgid ":ref:`Hexadecimal Unicode character `" msgstr "" -#: ../../reference/lexical_analysis.rst:827 +#: ../../reference/lexical_analysis.rst:828 msgid ":samp:`\\\\U{xxxxxxxx}`" msgstr "" -#: ../../reference/lexical_analysis.rst:833 +#: ../../reference/lexical_analysis.rst:834 msgid "Ignored end of line" msgstr "" -#: ../../reference/lexical_analysis.rst:835 +#: ../../reference/lexical_analysis.rst:836 msgid "A backslash can be added at the end of a line to ignore the newline::" msgstr "" -#: ../../reference/lexical_analysis.rst:837 +#: ../../reference/lexical_analysis.rst:838 msgid "" ">>> 'This string will not include \\\n" "... backslashes or newline characters.'\n" "'This string will not include backslashes or newline characters.'" msgstr "" -#: ../../reference/lexical_analysis.rst:841 +#: ../../reference/lexical_analysis.rst:842 msgid "" "The same result can be achieved using :ref:`triple-quoted strings " "`, or parentheses and :ref:`string literal concatenation `." msgstr "" -#: ../../reference/lexical_analysis.rst:847 +#: ../../reference/lexical_analysis.rst:848 msgid "Escaped characters" msgstr "" -#: ../../reference/lexical_analysis.rst:849 +#: ../../reference/lexical_analysis.rst:850 msgid "" "To include a backslash in a non-:ref:`raw ` Python string " "literal, it must be doubled. The ``\\\\`` escape sequence denotes a single " "backslash character::" msgstr "" -#: ../../reference/lexical_analysis.rst:853 +#: ../../reference/lexical_analysis.rst:854 msgid "" ">>> print('C:\\\\Program Files')\n" "C:\\Program Files" msgstr "" -#: ../../reference/lexical_analysis.rst:856 +#: ../../reference/lexical_analysis.rst:857 msgid "" "Similarly, the ``\\'`` and ``\\\"`` sequences denote the single and double " "quote character, respectively::" msgstr "" -#: ../../reference/lexical_analysis.rst:859 +#: ../../reference/lexical_analysis.rst:860 msgid "" ">>> print('\\' and \\\"')\n" "' and \"" msgstr "" -#: ../../reference/lexical_analysis.rst:865 +#: ../../reference/lexical_analysis.rst:866 msgid "Octal character" msgstr "" -#: ../../reference/lexical_analysis.rst:867 +#: ../../reference/lexical_analysis.rst:868 msgid "" "The sequence :samp:`\\\\\\\\{ooo}` denotes a *character* with the octal " "(base 8) value *ooo*::" msgstr "" -#: ../../reference/lexical_analysis.rst:870 +#: ../../reference/lexical_analysis.rst:871 msgid "" ">>> '\\120'\n" "'P'" msgstr "" -#: ../../reference/lexical_analysis.rst:873 +#: ../../reference/lexical_analysis.rst:874 msgid "Up to three octal digits (0 through 7) are accepted." msgstr "" -#: ../../reference/lexical_analysis.rst:875 -#: ../../reference/lexical_analysis.rst:900 +#: ../../reference/lexical_analysis.rst:876 +#: ../../reference/lexical_analysis.rst:901 msgid "" "In a bytes literal, *character* means a *byte* with the given value. In a " "string literal, it means a Unicode character with the given value." msgstr "" -#: ../../reference/lexical_analysis.rst:878 +#: ../../reference/lexical_analysis.rst:879 msgid "" "Octal escapes with value larger than ``0o377`` (255) produce " "a :exc:`DeprecationWarning`." msgstr "" -#: ../../reference/lexical_analysis.rst:882 +#: ../../reference/lexical_analysis.rst:883 msgid "" "Octal escapes with value larger than ``0o377`` (255) produce " "a :exc:`SyntaxWarning`. In a future Python version they will raise " "a :exc:`SyntaxError`." msgstr "" -#: ../../reference/lexical_analysis.rst:890 +#: ../../reference/lexical_analysis.rst:891 msgid "Hexadecimal character" msgstr "" -#: ../../reference/lexical_analysis.rst:892 +#: ../../reference/lexical_analysis.rst:893 msgid "" "The sequence :samp:`\\\\x{hh}` denotes a *character* with the hex (base 16) " "value *hh*::" msgstr "" -#: ../../reference/lexical_analysis.rst:895 +#: ../../reference/lexical_analysis.rst:896 msgid "" ">>> '\\x50'\n" "'P'" msgstr "" -#: ../../reference/lexical_analysis.rst:898 +#: ../../reference/lexical_analysis.rst:899 msgid "Unlike in Standard C, exactly two hex digits are required." msgstr "" -#: ../../reference/lexical_analysis.rst:906 +#: ../../reference/lexical_analysis.rst:907 msgid "Named Unicode character" msgstr "" -#: ../../reference/lexical_analysis.rst:908 +#: ../../reference/lexical_analysis.rst:909 msgid "" "The sequence :samp:`\\\\N\\\\{{name}\\\\}` denotes a Unicode character with " "the given *name*::" msgstr "" -#: ../../reference/lexical_analysis.rst:911 +#: ../../reference/lexical_analysis.rst:912 msgid "" ">>> '\\N{LATIN CAPITAL LETTER P}'\n" "'P'\n" @@ -1374,21 +1376,21 @@ msgid "" "'🐍'" msgstr "" -#: ../../reference/lexical_analysis.rst:916 +#: ../../reference/lexical_analysis.rst:917 msgid "This sequence cannot appear in :ref:`bytes literals `." msgstr "" -#: ../../reference/lexical_analysis.rst:918 +#: ../../reference/lexical_analysis.rst:919 msgid "" "Support for `name aliases `__ has been added." msgstr "" -#: ../../reference/lexical_analysis.rst:925 +#: ../../reference/lexical_analysis.rst:926 msgid "Hexadecimal Unicode characters" msgstr "" -#: ../../reference/lexical_analysis.rst:927 +#: ../../reference/lexical_analysis.rst:928 msgid "" "These sequences :samp:`\\\\u{xxxx}` and :samp:`\\\\U{xxxxxxxx}` denote the " "Unicode character with the given hex (base 16) value. Exactly four digits " @@ -1396,7 +1398,7 @@ msgid "" "latter can encode any Unicode character." msgstr "" -#: ../../reference/lexical_analysis.rst:933 +#: ../../reference/lexical_analysis.rst:934 msgid "" ">>> '\\u1234'\n" "'ሴ'\n" @@ -1404,21 +1406,21 @@ msgid "" "'🐍'" msgstr "" -#: ../../reference/lexical_analysis.rst:940 +#: ../../reference/lexical_analysis.rst:941 msgid "These sequences cannot appear in :ref:`bytes literals `." msgstr "" -#: ../../reference/lexical_analysis.rst:946 +#: ../../reference/lexical_analysis.rst:947 msgid "Unrecognized escape sequences" msgstr "" -#: ../../reference/lexical_analysis.rst:948 +#: ../../reference/lexical_analysis.rst:949 msgid "" "Unlike in Standard C, all unrecognized escape sequences are left in the " "string unchanged, that is, *the backslash is left in the result*::" msgstr "" -#: ../../reference/lexical_analysis.rst:951 +#: ../../reference/lexical_analysis.rst:952 msgid "" ">>> print('\\q')\n" "\\q\n" @@ -1426,28 +1428,28 @@ msgid "" "['\\\\', 'q']" msgstr "" -#: ../../reference/lexical_analysis.rst:956 +#: ../../reference/lexical_analysis.rst:957 msgid "" "Note that for bytes literals, the escape sequences only recognized in string " "literals (``\\N...``, ``\\u...``, ``\\U...``) fall into the category of " "unrecognized escapes." msgstr "" -#: ../../reference/lexical_analysis.rst:960 +#: ../../reference/lexical_analysis.rst:961 msgid "Unrecognized escape sequences produce a :exc:`DeprecationWarning`." msgstr "" -#: ../../reference/lexical_analysis.rst:963 +#: ../../reference/lexical_analysis.rst:964 msgid "" "Unrecognized escape sequences produce a :exc:`SyntaxWarning`. In a future " "Python version they will raise a :exc:`SyntaxError`." msgstr "" -#: ../../reference/lexical_analysis.rst:976 +#: ../../reference/lexical_analysis.rst:977 msgid "Bytes literals" msgstr "" -#: ../../reference/lexical_analysis.rst:978 +#: ../../reference/lexical_analysis.rst:979 msgid "" ":dfn:`Bytes literals` are always prefixed with '``b``' or '``B``'; they " "produce an instance of the :class:`bytes` type instead of the :class:`str` " @@ -1456,7 +1458,7 @@ msgid "" "(typically :ref:`string-escape-hex` or :ref:`string-escape-oct`):" msgstr "" -#: ../../reference/lexical_analysis.rst:984 +#: ../../reference/lexical_analysis.rst:985 msgid "" ">>> b'\\x89PNG\\r\\n\\x1a\\n'\n" "b'\\x89PNG\\r\\n\\x1a\\n'\n" @@ -1464,17 +1466,17 @@ msgid "" "[137, 80, 78, 71, 13, 10, 26, 10]" msgstr "" -#: ../../reference/lexical_analysis.rst:991 +#: ../../reference/lexical_analysis.rst:992 msgid "" "Similarly, a zero byte must be expressed using an escape sequence (typically " "``\\0`` or ``\\x00``)." msgstr "" -#: ../../reference/lexical_analysis.rst:1002 +#: ../../reference/lexical_analysis.rst:1003 msgid "Raw string literals" msgstr "" -#: ../../reference/lexical_analysis.rst:1004 +#: ../../reference/lexical_analysis.rst:1005 msgid "" "Both string and bytes literals may optionally be prefixed with a letter " "'``r``' or '``R``'; such constructs are called :dfn:`raw string literals` " @@ -1483,13 +1485,13 @@ msgid "" "` are not treated specially:" msgstr "" -#: ../../reference/lexical_analysis.rst:1011 +#: ../../reference/lexical_analysis.rst:1012 msgid "" ">>> r'\\d{4}-\\d{2}-\\d{2}'\n" "'\\\\d{4}-\\\\d{2}-\\\\d{2}'" msgstr "" -#: ../../reference/lexical_analysis.rst:1016 +#: ../../reference/lexical_analysis.rst:1017 msgid "" "Even in a raw literal, quotes can be escaped with a backslash, but the " "backslash remains in the result; for example, ``r\"\\\"\"`` is a valid " @@ -1502,11 +1504,11 @@ msgid "" "continuation." msgstr "" -#: ../../reference/lexical_analysis.rst:1044 +#: ../../reference/lexical_analysis.rst:1045 msgid "f-strings" msgstr "f-Strings" -#: ../../reference/lexical_analysis.rst:1047 +#: ../../reference/lexical_analysis.rst:1048 msgid "" "The :keyword:`await` and :keyword:`async for` can be used in expressions " "within f-strings." @@ -1514,11 +1516,11 @@ msgstr "" ":keyword:`await` und :keyword:`async for` können in Ausdrücken innerhalb von " "f-Strings verwendet werden." -#: ../../reference/lexical_analysis.rst:1050 +#: ../../reference/lexical_analysis.rst:1051 msgid "Added the debug specifier (``=``)" msgstr "Der Debug-Bezeichner (``=``) wurde hinzugefügt" -#: ../../reference/lexical_analysis.rst:1052 +#: ../../reference/lexical_analysis.rst:1053 msgid "" "Many restrictions on expressions within f-strings have been removed. " "Notably, nested strings, comments, and backslashes are now permitted." @@ -1527,7 +1529,7 @@ msgstr "" "aufgehoben. Insbesondere sind verschachtelte Strings, Kommentare und " "Backslashes nun erlaubt." -#: ../../reference/lexical_analysis.rst:1056 +#: ../../reference/lexical_analysis.rst:1057 msgid "" "A :dfn:`formatted string literal` or :dfn:`f-string` is a string literal " "that is prefixed with '``f``' or '``F``'. Unlike other string literals, f-" @@ -1536,7 +1538,7 @@ msgid "" "which are evaluated at run time. For example::" msgstr "" -#: ../../reference/lexical_analysis.rst:1063 +#: ../../reference/lexical_analysis.rst:1064 msgid "" ">>> who = 'nobody'\n" ">>> nationality = 'Spanish'\n" @@ -1544,19 +1546,19 @@ msgid "" "'Nobody expects the Spanish Inquisition!'" msgstr "" -#: ../../reference/lexical_analysis.rst:1068 +#: ../../reference/lexical_analysis.rst:1069 msgid "" "Any doubled curly braces (``{{`` or ``}}``) outside replacement fields are " "replaced with the corresponding single curly brace::" msgstr "" -#: ../../reference/lexical_analysis.rst:1071 +#: ../../reference/lexical_analysis.rst:1072 msgid "" ">>> print(f'{{...}}')\n" "{...}" msgstr "" -#: ../../reference/lexical_analysis.rst:1074 +#: ../../reference/lexical_analysis.rst:1075 msgid "" "Other characters outside replacement fields are treated like in ordinary " "string literals. This means that escape sequences are decoded (except when a " @@ -1564,7 +1566,7 @@ msgid "" "quoted f-strings::" msgstr "" -#: ../../reference/lexical_analysis.rst:1080 +#: ../../reference/lexical_analysis.rst:1081 msgid "" ">>> name = 'Galahad'\n" ">>> favorite_color = 'blue'\n" @@ -1578,7 +1580,7 @@ msgid "" "and the number of the counting shall be three." msgstr "" -#: ../../reference/lexical_analysis.rst:1091 +#: ../../reference/lexical_analysis.rst:1092 msgid "" "Expressions in formatted string literals are treated like regular Python " "expressions. Each expression is evaluated in the context where the formatted " @@ -1587,32 +1589,32 @@ msgid "" "must be surrounded by explicit parentheses::" msgstr "" -#: ../../reference/lexical_analysis.rst:1098 +#: ../../reference/lexical_analysis.rst:1099 msgid "" ">>> f'{(half := 1/2)}, {half * 42}'\n" "'0.5, 21.0'" msgstr "" -#: ../../reference/lexical_analysis.rst:1101 +#: ../../reference/lexical_analysis.rst:1102 msgid "" "Reusing the outer f-string quoting type inside a replacement field is " "permitted::" msgstr "" -#: ../../reference/lexical_analysis.rst:1104 +#: ../../reference/lexical_analysis.rst:1105 msgid "" ">>> a = dict(x=2)\n" ">>> f\"abc {a[\"x\"]} def\"\n" "'abc 2 def'" msgstr "" -#: ../../reference/lexical_analysis.rst:1108 +#: ../../reference/lexical_analysis.rst:1109 msgid "" "Backslashes are also allowed in replacement fields and are evaluated the " "same way as in any other context::" msgstr "" -#: ../../reference/lexical_analysis.rst:1111 +#: ../../reference/lexical_analysis.rst:1112 msgid "" ">>> a = [\"a\", \"b\", \"c\"]\n" ">>> print(f\"List a contains:\\n{\"\\n\".join(a)}\")\n" @@ -1622,26 +1624,26 @@ msgid "" "c" msgstr "" -#: ../../reference/lexical_analysis.rst:1118 +#: ../../reference/lexical_analysis.rst:1119 msgid "It is possible to nest f-strings::" msgstr "" -#: ../../reference/lexical_analysis.rst:1120 +#: ../../reference/lexical_analysis.rst:1121 msgid "" ">>> name = 'world'\n" ">>> f'Repeated:{f' hello {name}' * 3}'\n" "'Repeated: hello world hello world hello world'" msgstr "" -#: ../../reference/lexical_analysis.rst:1124 +#: ../../reference/lexical_analysis.rst:1125 msgid "Portable Python programs should not use more than 5 levels of nesting." msgstr "" -#: ../../reference/lexical_analysis.rst:1128 +#: ../../reference/lexical_analysis.rst:1129 msgid "CPython does not limit nesting of f-strings." msgstr "" -#: ../../reference/lexical_analysis.rst:1130 +#: ../../reference/lexical_analysis.rst:1131 msgid "" "Replacement expressions can contain newlines in both single-quoted and " "triple-quoted f-strings and they can contain comments. Everything that comes " @@ -1650,7 +1652,7 @@ msgid "" "in a different line:" msgstr "" -#: ../../reference/lexical_analysis.rst:1137 +#: ../../reference/lexical_analysis.rst:1138 msgid "" ">>> a = 2\n" ">>> f\"abc{a # This comment }\" continues until the end of the line\n" @@ -1658,33 +1660,33 @@ msgid "" "'abc5'" msgstr "" -#: ../../reference/lexical_analysis.rst:1144 +#: ../../reference/lexical_analysis.rst:1145 msgid "After the expression, replacement fields may optionally contain:" msgstr "" -#: ../../reference/lexical_analysis.rst:1146 +#: ../../reference/lexical_analysis.rst:1147 msgid "" "a *debug specifier* -- an equal sign (``=``), optionally surrounded by " "whitespace on one or both sides;" msgstr "" -#: ../../reference/lexical_analysis.rst:1148 +#: ../../reference/lexical_analysis.rst:1149 msgid "a *conversion specifier* -- ``!s``, ``!r`` or ``!a``; and/or" msgstr "" "einen *Konvertierungsbezeichner* – ``!s``, ``!r`` oder ``!a``, und/oder" -#: ../../reference/lexical_analysis.rst:1149 +#: ../../reference/lexical_analysis.rst:1150 msgid "a *format specifier* prefixed with a colon (``:``)." msgstr "" "einen *Formatbezeichner*, dem ein Doppelpunkt (``:``) vorangestellt ist." -#: ../../reference/lexical_analysis.rst:1151 +#: ../../reference/lexical_analysis.rst:1152 msgid "" "See the :ref:`Standard Library section on f-strings ` for " "details on how these fields are evaluated." msgstr "" -#: ../../reference/lexical_analysis.rst:1154 +#: ../../reference/lexical_analysis.rst:1155 msgid "" "As that section explains, *format specifiers* are passed as the second " "argument to the :func:`format` function to format a replacement field value. " @@ -1692,18 +1694,18 @@ msgid "" "characters using the :ref:`Format Specification Mini-Language `::" msgstr "" -#: ../../reference/lexical_analysis.rst:1159 +#: ../../reference/lexical_analysis.rst:1160 msgid "" ">>> number = 14.3\n" ">>> f'{number:20.7f}'\n" "' 14.3000000'" msgstr "" -#: ../../reference/lexical_analysis.rst:1163 +#: ../../reference/lexical_analysis.rst:1164 msgid "Top-level format specifiers may include nested replacement fields::" msgstr "" -#: ../../reference/lexical_analysis.rst:1165 +#: ../../reference/lexical_analysis.rst:1166 msgid "" ">>> field_size = 20\n" ">>> precision = 7\n" @@ -1711,13 +1713,13 @@ msgid "" "' 14.3000000'" msgstr "" -#: ../../reference/lexical_analysis.rst:1170 +#: ../../reference/lexical_analysis.rst:1171 msgid "" "These nested fields may include their own conversion fields and :ref:`format " "specifiers `::" msgstr "" -#: ../../reference/lexical_analysis.rst:1173 +#: ../../reference/lexical_analysis.rst:1174 msgid "" ">>> number = 3\n" ">>> f'{number:{field_size}}'\n" @@ -1726,19 +1728,19 @@ msgid "" "'00000000000000000003'" msgstr "" -#: ../../reference/lexical_analysis.rst:1179 +#: ../../reference/lexical_analysis.rst:1180 msgid "" "However, these nested fields may not include more deeply nested replacement " "fields." msgstr "" -#: ../../reference/lexical_analysis.rst:1182 +#: ../../reference/lexical_analysis.rst:1183 msgid "" "Formatted string literals cannot be used as :term:`docstrings `, " "even if they do not include expressions::" msgstr "" -#: ../../reference/lexical_analysis.rst:1185 +#: ../../reference/lexical_analysis.rst:1186 msgid "" ">>> def foo():\n" "... f\"Not a docstring\"\n" @@ -1747,23 +1749,23 @@ msgid "" "None" msgstr "" -#: ../../reference/lexical_analysis.rst:1193 +#: ../../reference/lexical_analysis.rst:1194 msgid ":pep:`498` -- Literal String Interpolation" msgstr "" -#: ../../reference/lexical_analysis.rst:1194 +#: ../../reference/lexical_analysis.rst:1195 msgid ":pep:`701` -- Syntactic formalization of f-strings" msgstr "" -#: ../../reference/lexical_analysis.rst:1195 +#: ../../reference/lexical_analysis.rst:1196 msgid ":meth:`str.format`, which uses a related format string mechanism." msgstr "" -#: ../../reference/lexical_analysis.rst:1202 +#: ../../reference/lexical_analysis.rst:1203 msgid "t-strings" msgstr "" -#: ../../reference/lexical_analysis.rst:1206 +#: ../../reference/lexical_analysis.rst:1207 msgid "" "A :dfn:`template string literal` or :dfn:`t-string` is a string literal that " "is prefixed with '``t``' or '``T``'. These strings follow the same syntax " @@ -1772,11 +1774,11 @@ msgid "" "`" msgstr "" -#: ../../reference/lexical_analysis.rst:1215 +#: ../../reference/lexical_analysis.rst:1216 msgid "Formal grammar for f-strings" msgstr "" -#: ../../reference/lexical_analysis.rst:1217 +#: ../../reference/lexical_analysis.rst:1218 msgid "" "F-strings are handled partly by the :term:`lexical analyzer`, which produces " "the tokens :py:data:`~token.FSTRING_START`, :py:data:`~token.FSTRING_MIDDLE` " @@ -1785,29 +1787,29 @@ msgid "" "CPython implementation detail." msgstr "" -#: ../../reference/lexical_analysis.rst:1223 +#: ../../reference/lexical_analysis.rst:1224 msgid "" "Correspondingly, the f-string grammar is a mix of :ref:`lexical and " "syntactic definitions `." msgstr "" -#: ../../reference/lexical_analysis.rst:1226 +#: ../../reference/lexical_analysis.rst:1227 msgid "Whitespace is significant in these situations:" msgstr "" -#: ../../reference/lexical_analysis.rst:1228 +#: ../../reference/lexical_analysis.rst:1229 msgid "" "There may be no whitespace in :py:data:`~token.FSTRING_START` (between the " "prefix and quote)." msgstr "" -#: ../../reference/lexical_analysis.rst:1230 +#: ../../reference/lexical_analysis.rst:1231 msgid "" "Whitespace in :py:data:`~token.FSTRING_MIDDLE` is part of the literal string " "contents." msgstr "" -#: ../../reference/lexical_analysis.rst:1232 +#: ../../reference/lexical_analysis.rst:1233 msgid "" "In ``fstring_replacement_field``, if ``f_debug_specifier`` is present, all " "whitespace after the opening brace until the ``f_debug_specifier``, as well " @@ -1815,50 +1817,50 @@ msgid "" "part of the expression." msgstr "" -#: ../../reference/lexical_analysis.rst:1239 +#: ../../reference/lexical_analysis.rst:1240 msgid "" "The expression is not handled in the tokenization phase; it is retrieved " "from the source code using locations of the ``{`` token and the token after " "``=``." msgstr "" -#: ../../reference/lexical_analysis.rst:1244 +#: ../../reference/lexical_analysis.rst:1245 msgid "" "The ``FSTRING_MIDDLE`` definition uses :ref:`negative lookaheads ` (``!``) to indicate special characters (backslash, newline, " "``{``, ``}``) and sequences (``f_quote``)." msgstr "" -#: ../../reference/lexical_analysis.rst:1285 +#: ../../reference/lexical_analysis.rst:1286 msgid "" "In the above grammar snippet, the ``f_quote`` and ``FSTRING_MIDDLE`` rules " "are context-sensitive -- they depend on the contents of ``FSTRING_START`` of " "the nearest enclosing ``fstring``." msgstr "" -#: ../../reference/lexical_analysis.rst:1289 +#: ../../reference/lexical_analysis.rst:1290 msgid "" "Constructing a more traditional formal grammar from this template is left as " "an exercise for the reader." msgstr "" -#: ../../reference/lexical_analysis.rst:1292 +#: ../../reference/lexical_analysis.rst:1293 msgid "" "The grammar for t-strings is identical to the one for f-strings, with *t* " "instead of *f* at the beginning of rule and token names and in the prefix." msgstr "" -#: ../../reference/lexical_analysis.rst:1306 +#: ../../reference/lexical_analysis.rst:1307 msgid "Numeric literals" msgstr "" -#: ../../reference/lexical_analysis.rst:1312 +#: ../../reference/lexical_analysis.rst:1313 msgid "" ":data:`~token.NUMBER` tokens represent numeric literals, of which there are " "three types: integers, floating-point numbers, and imaginary numbers." msgstr "" -#: ../../reference/lexical_analysis.rst:1320 +#: ../../reference/lexical_analysis.rst:1321 msgid "" "The numeric value of a numeric literal is the same as if it were passed as a " "string to the :class:`int`, :class:`float` or :class:`complex` class " @@ -1866,58 +1868,58 @@ msgid "" "constructors are also valid literals." msgstr "" -#: ../../reference/lexical_analysis.rst:1325 +#: ../../reference/lexical_analysis.rst:1326 msgid "" "Numeric literals do not include a sign; a phrase like ``-1`` is actually an " "expression composed of the unary operator '``-``' and the literal ``1``." msgstr "" -#: ../../reference/lexical_analysis.rst:1339 +#: ../../reference/lexical_analysis.rst:1340 msgid "Integer literals" msgstr "" -#: ../../reference/lexical_analysis.rst:1341 +#: ../../reference/lexical_analysis.rst:1342 msgid "Integer literals denote whole numbers. For example::" msgstr "" -#: ../../reference/lexical_analysis.rst:1343 +#: ../../reference/lexical_analysis.rst:1344 msgid "" "7\n" "3\n" "2147483647" msgstr "" -#: ../../reference/lexical_analysis.rst:1347 +#: ../../reference/lexical_analysis.rst:1348 msgid "" "There is no limit for the length of integer literals apart from what can be " "stored in available memory::" msgstr "" -#: ../../reference/lexical_analysis.rst:1350 +#: ../../reference/lexical_analysis.rst:1351 msgid "7922816251426433759354395033679228162514264337593543950336" msgstr "" -#: ../../reference/lexical_analysis.rst:1352 +#: ../../reference/lexical_analysis.rst:1353 msgid "" "Underscores can be used to group digits for enhanced readability, and are " "ignored for determining the numeric value of the literal. For example, the " "following literals are equivalent::" msgstr "" -#: ../../reference/lexical_analysis.rst:1356 +#: ../../reference/lexical_analysis.rst:1357 msgid "" "100_000_000_000\n" "100000000000\n" "1_00_00_00_00_000" msgstr "" -#: ../../reference/lexical_analysis.rst:1360 +#: ../../reference/lexical_analysis.rst:1361 msgid "" "Underscores can only occur between digits. For example, ``_123``, ``321_``, " "and ``123__321`` are *not* valid literals." msgstr "" -#: ../../reference/lexical_analysis.rst:1363 +#: ../../reference/lexical_analysis.rst:1364 msgid "" "Integers can be specified in binary (base 2), octal (base 8), or hexadecimal " "(base 16) using the prefixes ``0b``, ``0o`` and ``0x``, respectively. " @@ -1925,7 +1927,7 @@ msgid "" "case-insensitive. For example::" msgstr "" -#: ../../reference/lexical_analysis.rst:1368 +#: ../../reference/lexical_analysis.rst:1369 msgid "" "0b100110111\n" "0b_1110_0101\n" @@ -1935,81 +1937,81 @@ msgid "" "0xDead_Beef" msgstr "" -#: ../../reference/lexical_analysis.rst:1375 +#: ../../reference/lexical_analysis.rst:1376 msgid "" "An underscore can follow the base specifier. For example, ``0x_1f`` is a " "valid literal, but ``0_x1f`` and ``0x__1f`` are not." msgstr "" -#: ../../reference/lexical_analysis.rst:1379 +#: ../../reference/lexical_analysis.rst:1380 msgid "" "Leading zeros in a non-zero decimal number are not allowed. For example, " "``0123`` is not a valid literal. This is for disambiguation with C-style " "octal literals, which Python used before version 3.0." msgstr "" -#: ../../reference/lexical_analysis.rst:1384 +#: ../../reference/lexical_analysis.rst:1385 msgid "" "Formally, integer literals are described by the following lexical " "definitions:" msgstr "" -#: ../../reference/lexical_analysis.rst:1401 -#: ../../reference/lexical_analysis.rst:1465 +#: ../../reference/lexical_analysis.rst:1402 +#: ../../reference/lexical_analysis.rst:1466 msgid "Underscores are now allowed for grouping purposes in literals." msgstr "" -#: ../../reference/lexical_analysis.rst:1412 +#: ../../reference/lexical_analysis.rst:1413 msgid "Floating-point literals" msgstr "" -#: ../../reference/lexical_analysis.rst:1414 +#: ../../reference/lexical_analysis.rst:1415 msgid "" "Floating-point (float) literals, such as ``3.14`` or ``1.5``, " "denote :ref:`approximations of real numbers `." msgstr "" -#: ../../reference/lexical_analysis.rst:1417 +#: ../../reference/lexical_analysis.rst:1418 msgid "" "They consist of *integer* and *fraction* parts, each composed of decimal " "digits. The parts are separated by a decimal point, ``.``::" msgstr "" -#: ../../reference/lexical_analysis.rst:1420 +#: ../../reference/lexical_analysis.rst:1421 msgid "" "2.71828\n" "4.0" msgstr "" -#: ../../reference/lexical_analysis.rst:1423 +#: ../../reference/lexical_analysis.rst:1424 msgid "" "Unlike in integer literals, leading zeros are allowed. For example, " "``077.010`` is legal, and denotes the same number as ``77.01``." msgstr "" -#: ../../reference/lexical_analysis.rst:1426 +#: ../../reference/lexical_analysis.rst:1427 msgid "" "As in integer literals, single underscores may occur between digits to help " "readability::" msgstr "" -#: ../../reference/lexical_analysis.rst:1429 +#: ../../reference/lexical_analysis.rst:1430 msgid "" "96_485.332_123\n" "3.14_15_93" msgstr "" -#: ../../reference/lexical_analysis.rst:1432 +#: ../../reference/lexical_analysis.rst:1433 msgid "Either of these parts, but not both, can be empty. For example::" msgstr "" -#: ../../reference/lexical_analysis.rst:1434 +#: ../../reference/lexical_analysis.rst:1435 msgid "" "10. # (equivalent to 10.0)\n" ".001 # (equivalent to 0.001)" msgstr "" -#: ../../reference/lexical_analysis.rst:1437 +#: ../../reference/lexical_analysis.rst:1438 msgid "" "Optionally, the integer and fraction may be followed by an *exponent*: the " "letter ``e`` or ``E``, followed by an optional sign, ``+`` or ``-``, and a " @@ -2017,54 +2019,54 @@ msgid "" "``E`` represents \"times ten raised to the power of\"::" msgstr "" -#: ../../reference/lexical_analysis.rst:1442 +#: ../../reference/lexical_analysis.rst:1443 msgid "" "1.0e3 # (represents 1.0×10³, or 1000.0)\n" "1.166e-5 # (represents 1.166×10⁻⁵, or 0.00001166)\n" "6.02214076e+23 # (represents 6.02214076×10²³, or 602214076000000000000000.)" msgstr "" -#: ../../reference/lexical_analysis.rst:1446 +#: ../../reference/lexical_analysis.rst:1447 msgid "" "In floats with only integer and exponent parts, the decimal point may be " "omitted::" msgstr "" -#: ../../reference/lexical_analysis.rst:1449 +#: ../../reference/lexical_analysis.rst:1450 msgid "" "1e3 # (equivalent to 1.e3 and 1.0e3)\n" "0e0 # (equivalent to 0.)" msgstr "" -#: ../../reference/lexical_analysis.rst:1452 +#: ../../reference/lexical_analysis.rst:1453 msgid "" "Formally, floating-point literals are described by the following lexical " "definitions:" msgstr "" -#: ../../reference/lexical_analysis.rst:1474 +#: ../../reference/lexical_analysis.rst:1475 msgid "Imaginary literals" msgstr "" -#: ../../reference/lexical_analysis.rst:1476 +#: ../../reference/lexical_analysis.rst:1477 msgid "" "Python has :ref:`complex number ` objects, but no complex " "literals. Instead, *imaginary literals* denote complex numbers with a zero " "real part." msgstr "" -#: ../../reference/lexical_analysis.rst:1481 +#: ../../reference/lexical_analysis.rst:1482 msgid "" "For example, in math, the complex number 3+4.2\\ *i* is written as the real " "number 3 added to the imaginary number 4.2\\ *i*. Python uses a similar " "syntax, except the imaginary unit is written as ``j`` rather than *i*::" msgstr "" -#: ../../reference/lexical_analysis.rst:1486 +#: ../../reference/lexical_analysis.rst:1487 msgid "3+4.2j" msgstr "" -#: ../../reference/lexical_analysis.rst:1488 +#: ../../reference/lexical_analysis.rst:1489 msgid "" "This is an expression composed of the :ref:`integer literal ` " "``3``, the :ref:`operator ` '``+``', and the :ref:`imaginary " @@ -2072,23 +2074,23 @@ msgid "" "whitespace is allowed between them::" msgstr "" -#: ../../reference/lexical_analysis.rst:1494 +#: ../../reference/lexical_analysis.rst:1495 msgid "3 + 4.2j" msgstr "" -#: ../../reference/lexical_analysis.rst:1496 +#: ../../reference/lexical_analysis.rst:1497 msgid "" "No whitespace is allowed *within* each token. In particular, the ``j`` " "suffix, may not be separated from the number before it." msgstr "" -#: ../../reference/lexical_analysis.rst:1500 +#: ../../reference/lexical_analysis.rst:1501 msgid "" "The number before the ``j`` has the same syntax as a floating-point literal. " "Thus, the following are valid imaginary literals::" msgstr "" -#: ../../reference/lexical_analysis.rst:1503 +#: ../../reference/lexical_analysis.rst:1504 msgid "" "4.2j\n" "3.14j\n" @@ -2099,40 +2101,40 @@ msgid "" "3.14_15_93j" msgstr "" -#: ../../reference/lexical_analysis.rst:1511 +#: ../../reference/lexical_analysis.rst:1512 msgid "" "Unlike in a floating-point literal the decimal point can be omitted if the " "imaginary number only has an integer part. The number is still evaluated as " "a floating-point number, not an integer::" msgstr "" -#: ../../reference/lexical_analysis.rst:1515 +#: ../../reference/lexical_analysis.rst:1516 msgid "" "10j\n" "0j\n" "1000000000000000000000000j # equivalent to 1e+24j" msgstr "" -#: ../../reference/lexical_analysis.rst:1519 +#: ../../reference/lexical_analysis.rst:1520 msgid "" "The ``j`` suffix is case-insensitive. That means you can use ``J`` instead::" msgstr "" -#: ../../reference/lexical_analysis.rst:1522 +#: ../../reference/lexical_analysis.rst:1523 msgid "3.14J # equivalent to 3.14j" msgstr "" -#: ../../reference/lexical_analysis.rst:1524 +#: ../../reference/lexical_analysis.rst:1525 msgid "" "Formally, imaginary literals are described by the following lexical " "definition:" msgstr "" -#: ../../reference/lexical_analysis.rst:1537 +#: ../../reference/lexical_analysis.rst:1538 msgid "Operators and delimiters" msgstr "" -#: ../../reference/lexical_analysis.rst:1543 +#: ../../reference/lexical_analysis.rst:1544 msgid "" "The following grammar defines :dfn:`operator` and :dfn:`delimiter` tokens, " "that is, the generic :data:`~token.OP` token type. A :ref:`list of these " @@ -2140,14 +2142,14 @@ msgid "" "the :mod:`!token` module documentation." msgstr "" -#: ../../reference/lexical_analysis.rst:1572 +#: ../../reference/lexical_analysis.rst:1573 msgid "" "Generally, *operators* are used to combine :ref:`expressions `, " "while *delimiters* serve other purposes. However, there is no clear, formal " "distinction between the two categories." msgstr "" -#: ../../reference/lexical_analysis.rst:1576 +#: ../../reference/lexical_analysis.rst:1577 msgid "" "Some tokens can serve as either operators or delimiters, depending on usage. " "For example, ``*`` is both the multiplication operator and a delimiter used " @@ -2155,21 +2157,21 @@ msgid "" "delimiter that introduces decorators." msgstr "" -#: ../../reference/lexical_analysis.rst:1581 +#: ../../reference/lexical_analysis.rst:1582 msgid "" "For some tokens, the distinction is unclear. For example, some people " "consider ``.``, ``(``, and ``)`` to be delimiters, while others see " "the :py:func:`getattr` operator and the function call operator(s)." msgstr "" -#: ../../reference/lexical_analysis.rst:1585 +#: ../../reference/lexical_analysis.rst:1586 msgid "" "Some of Python's operators, like ``and``, ``or``, and ``not in``, " "use :ref:`keyword ` tokens rather than \"symbols\" (operator " "tokens)." msgstr "" -#: ../../reference/lexical_analysis.rst:1588 +#: ../../reference/lexical_analysis.rst:1589 msgid "" "A sequence of three consecutive periods (``...``) has a special meaning as " "an :py:data:`Ellipsis` literal." @@ -2197,7 +2199,7 @@ msgstr "" #: ../../reference/lexical_analysis.rst:100 #: ../../reference/lexical_analysis.rst:205 -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "physical line" msgstr "" @@ -2292,293 +2294,293 @@ msgstr "" msgid "soft keyword" msgstr "" -#: ../../reference/lexical_analysis.rst:475 +#: ../../reference/lexical_analysis.rst:476 msgid "_, identifiers" msgstr "" -#: ../../reference/lexical_analysis.rst:475 +#: ../../reference/lexical_analysis.rst:476 msgid "__, identifiers" msgstr "" -#: ../../reference/lexical_analysis.rst:620 +#: ../../reference/lexical_analysis.rst:621 msgid "literal" msgstr "wörtlich" -#: ../../reference/lexical_analysis.rst:620 +#: ../../reference/lexical_analysis.rst:621 msgid "constant" msgstr "" -#: ../../reference/lexical_analysis.rst:632 -#: ../../reference/lexical_analysis.rst:675 -#: ../../reference/lexical_analysis.rst:700 +#: ../../reference/lexical_analysis.rst:633 +#: ../../reference/lexical_analysis.rst:676 +#: ../../reference/lexical_analysis.rst:701 msgid "string literal" msgstr "" -#: ../../reference/lexical_analysis.rst:632 -#: ../../reference/lexical_analysis.rst:968 +#: ../../reference/lexical_analysis.rst:633 +#: ../../reference/lexical_analysis.rst:969 msgid "bytes literal" msgstr "" -#: ../../reference/lexical_analysis.rst:632 +#: ../../reference/lexical_analysis.rst:633 msgid "ASCII" msgstr "" -#: ../../reference/lexical_analysis.rst:632 +#: ../../reference/lexical_analysis.rst:633 msgid "' (single quote)" msgstr "" -#: ../../reference/lexical_analysis.rst:632 +#: ../../reference/lexical_analysis.rst:633 msgid "\" (double quote)" msgstr "" -#: ../../reference/lexical_analysis.rst:675 +#: ../../reference/lexical_analysis.rst:676 msgid "triple-quoted string" msgstr "" -#: ../../reference/lexical_analysis.rst:675 +#: ../../reference/lexical_analysis.rst:676 msgid "\"\"\"" msgstr "" -#: ../../reference/lexical_analysis.rst:675 +#: ../../reference/lexical_analysis.rst:676 msgid "'''" msgstr "" -#: ../../reference/lexical_analysis.rst:700 +#: ../../reference/lexical_analysis.rst:701 msgid "u'" msgstr "" -#: ../../reference/lexical_analysis.rst:700 +#: ../../reference/lexical_analysis.rst:701 msgid "u\"" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "escape sequence" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "Standard C" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "C" msgstr "C" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\ (backslash)" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\\\" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\a" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\b" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\f" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\n" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\r" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\t" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\v" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\x" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\N" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\u" msgstr "" -#: ../../reference/lexical_analysis.rst:767 +#: ../../reference/lexical_analysis.rst:768 msgid "\\U" msgstr "" -#: ../../reference/lexical_analysis.rst:943 +#: ../../reference/lexical_analysis.rst:944 msgid "unrecognized escape sequence" msgstr "" -#: ../../reference/lexical_analysis.rst:968 +#: ../../reference/lexical_analysis.rst:969 msgid "b'" msgstr "" -#: ../../reference/lexical_analysis.rst:968 +#: ../../reference/lexical_analysis.rst:969 msgid "b\"" msgstr "" -#: ../../reference/lexical_analysis.rst:995 +#: ../../reference/lexical_analysis.rst:996 msgid "r'" msgstr "" -#: ../../reference/lexical_analysis.rst:995 +#: ../../reference/lexical_analysis.rst:996 msgid "raw string literal" msgstr "" -#: ../../reference/lexical_analysis.rst:995 +#: ../../reference/lexical_analysis.rst:996 msgid "r\"" msgstr "" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "formatted string literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "interpolated string literal" msgstr "interpoliertes String-Literal" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "string" msgstr "Zeichenkette" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "formatted literal" msgstr "formatiertes Literal" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "interpolated literal" msgstr "interpoliertes Literal" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "f-string" msgstr "" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "fstring" msgstr "fstring" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "f'" msgstr "" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "f\"" msgstr "" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "{} (curly brackets)" msgstr "{} (geschweifte Klammern)" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "in formatted string literal" msgstr "in formatiertem String-Literal" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "! (exclamation)" msgstr "! (Ausrufezeichen)" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid ": (colon)" msgstr ": (Doppelpunkt)" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "= (equals)" msgstr "= (gleich)" -#: ../../reference/lexical_analysis.rst:1026 +#: ../../reference/lexical_analysis.rst:1027 msgid "for help in debugging using string literals" msgstr "als Hilfe beim Debuggen mittels String-Literalen" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "number" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "numeric literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 -#: ../../reference/lexical_analysis.rst:1330 +#: ../../reference/lexical_analysis.rst:1309 +#: ../../reference/lexical_analysis.rst:1331 msgid "integer literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "floating-point literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "hexadecimal literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "octal literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "binary literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "decimal literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "imaginary literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1308 +#: ../../reference/lexical_analysis.rst:1309 msgid "complex literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1330 +#: ../../reference/lexical_analysis.rst:1331 msgid "0b" msgstr "" -#: ../../reference/lexical_analysis.rst:1330 +#: ../../reference/lexical_analysis.rst:1331 msgid "0o" msgstr "" -#: ../../reference/lexical_analysis.rst:1330 +#: ../../reference/lexical_analysis.rst:1331 msgid "0x" msgstr "" -#: ../../reference/lexical_analysis.rst:1330 -#: ../../reference/lexical_analysis.rst:1405 +#: ../../reference/lexical_analysis.rst:1331 +#: ../../reference/lexical_analysis.rst:1406 msgid "_ (underscore)" msgstr "_ (Unterstrich)" -#: ../../reference/lexical_analysis.rst:1330 -#: ../../reference/lexical_analysis.rst:1405 -#: ../../reference/lexical_analysis.rst:1469 +#: ../../reference/lexical_analysis.rst:1331 +#: ../../reference/lexical_analysis.rst:1406 +#: ../../reference/lexical_analysis.rst:1470 msgid "in numeric literal" msgstr "" -#: ../../reference/lexical_analysis.rst:1405 +#: ../../reference/lexical_analysis.rst:1406 msgid ". (dot)" msgstr ". (Punkt)" -#: ../../reference/lexical_analysis.rst:1405 +#: ../../reference/lexical_analysis.rst:1406 msgid "e" msgstr "" -#: ../../reference/lexical_analysis.rst:1469 +#: ../../reference/lexical_analysis.rst:1470 msgid "j" msgstr "" -#: ../../reference/lexical_analysis.rst:1539 +#: ../../reference/lexical_analysis.rst:1540 msgid "operators" msgstr "" -#: ../../reference/lexical_analysis.rst:1539 +#: ../../reference/lexical_analysis.rst:1540 msgid "delimiters" msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index d79ee2e9..c4a9b703 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-08-22 12:07+0200\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-13 22:45+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -1461,12 +1461,14 @@ msgstr "" "Namens geladen." #: ../../reference/simple_stmts.rst:892 +#, fuzzy msgid "" "Lazy imports are only permitted at module scope. Using :keyword:`lazy` " "inside a function, class body, " "or :keyword:`try`/:keyword:`except`/:keyword:`finally` block raises " "a :exc:`SyntaxError`. Star imports cannot be lazy (``lazy from module import " -"*`` is a syntax error), and :ref:`future statements ` cannot be lazy." +"*`` is a syntax error). Explicit :keyword:`lazy` syntax is also invalid " +"for :ref:`future statements `." msgstr "" "Verzögerte Importe sind nur auf Modulebene erlaubt. Die Verwendung " "von :keyword:`lazy` innerhalb einer Funktion, eines Klassenrumpfs oder " @@ -1477,22 +1479,18 @@ msgstr "" #: ../../reference/simple_stmts.rst:899 msgid "" -"When using ``lazy from ... import``, each imported name is bound to a lazy " -"proxy object. The first access to any of these names triggers loading of the " -"entire module and resolves only that specific name to its actual value. " -"Other names remain as lazy proxies until they are accessed." +"With ``lazy from ... import``, each imported name can have its own proxy. If " +"the module is already initialized, Python can bind an attribute without a " +"proxy. Otherwise, the first access loads the module and resolves the " +"requested name. Other names remain unresolved until access. If a name refers " +"to a submodule, access loads that submodule and its dependencies." msgstr "" -"Bei ``lazy from ... import`` wird jeder importierte Name an ein verzögerndes " -"Stellvertreterobjekt gebunden. Der erste Zugriff auf einen dieser Namen löst " -"das Laden des gesamten Moduls aus und löst nur diesen einen Namen zu seinem " -"tatsächlichen Wert auf. Die übrigen Namen bleiben Stellvertreter, bis auf " -"sie zugegriffen wird." -#: ../../reference/simple_stmts.rst:904 +#: ../../reference/simple_stmts.rst:907 msgid "Example::" msgstr "Beispiel::" -#: ../../reference/simple_stmts.rst:906 +#: ../../reference/simple_stmts.rst:909 msgid "" "lazy import json\n" "import sys\n" @@ -1514,7 +1512,7 @@ msgstr "" "\n" "print('json' in sys.modules) # True - jetzt geladen" -#: ../../reference/simple_stmts.rst:916 +#: ../../reference/simple_stmts.rst:919 msgid "" "If an error occurs during module loading (such as :exc:`ImportError` " "or :exc:`SyntaxError`), it is raised at the point where the lazy import is " @@ -1525,16 +1523,101 @@ msgstr "" "verzögerte Import zum ersten Mal verwendet wird, nicht an der Import-" "Anweisung selbst." -#: ../../reference/simple_stmts.rst:920 -msgid "See :pep:`810` for the full specification of lazy imports." +#: ../../reference/simple_stmts.rst:923 +msgid "The sections below describe name resolution and runtime controls." +msgstr "" + +#: ../../reference/simple_stmts.rst:925 +#, fuzzy +msgid "" +":pep:`810` provides the rationale and initial specification for lazy imports." msgstr "" "Die vollständige Spezifikation der verzögerten Importe steht in :pep:`810`." -#: ../../reference/simple_stmts.rst:927 +#: ../../reference/simple_stmts.rst:931 +msgid "Resolution and side effects" +msgstr "" + +#: ../../reference/simple_stmts.rst:933 +msgid "" +"Python resolves a proxy when code reads the imported name or accesses that " +"name as a module attribute. After resolution, Python replaces the proxy if " +"the namespace permits writes and the entry still contains that proxy." +msgstr "" + +#: ../../reference/simple_stmts.rst:937 +msgid "" +"Direct access through :func:`globals` or a module's :attr:`~module.__dict__` " +"returns the proxy without resolution. The same applies to dictionary " +"iteration. :func:`dir` lists the names of a module and does not resolve its " +"lazy imports. Use :class:`types.LazyImportType` to identify a proxy. " +"Its :meth:`~types.LazyImportType.resolve` method returns the imported object." +msgstr "" + +#: ../../reference/simple_stmts.rst:944 +msgid "" +"The module search occurs at resolution time. Changes to :data:`sys.path` or " +"import hooks before resolution can change which module Python imports. " +"Direct calls to :func:`__import__` and :func:`importlib.import_module` are " +"eager." +msgstr "" + +#: ../../reference/simple_stmts.rst:949 +msgid "" +"Module code executes when resolution loads the module. Side effects, such as " +"plugin registration, occur at that time. If a program needs these side " +"effects before the first use of an imported name, use an eager import. In " +"the default ``\"normal\"`` mode, omit :keyword:`lazy` and exclude the module " +"from :attr:`~module.__lazy_modules__`." +msgstr "" + +#: ../../reference/simple_stmts.rst:956 +msgid "" +"An import failure leaves the proxy available for a later attempt. If " +"resolution recursively accesses the same unresolved proxy, Python " +"raises :exc:`ImportCycleError`." +msgstr "" + +#: ../../reference/simple_stmts.rst:961 +msgid "Runtime controls" +msgstr "" + +#: ../../reference/simple_stmts.rst:963 +msgid "" +"The default ``\"normal\"`` mode respects explicit :keyword:`lazy` statements " +"and :attr:`~module.__lazy_modules__`. The ``\"all\"`` mode also makes other " +"eligible module-scope imports lazy. Imports inside functions, class bodies, " +"and :keyword:`try`/:keyword:`except`/:keyword:`finally` blocks remain eager. " +"Star imports also remain eager." +msgstr "" + +#: ../../reference/simple_stmts.rst:970 +msgid "" +"Set the mode with :option:`-X lazy_imports <-" +"X>`, :envvar:`PYTHON_LAZY_IMPORTS`, " +"or :func:`sys.set_lazy_imports`. :func:`sys.get_lazy_imports` returns the " +"current mode. A mode change applies to subsequent import statements. It does " +"not resolve proxies from earlier statements." +msgstr "" + +#: ../../reference/simple_stmts.rst:976 +msgid "" +":func:`sys.set_lazy_imports_filter` supplies a filter that can force any " +"potentially lazy import to be eager. This also applies to " +"explicit :keyword:`lazy` statements. The filter runs when the import " +"statement executes. A filter exception therefore occurs at the import " +"statement. The filter cannot make an otherwise eager import lazy." +msgstr "" + +#: ../../reference/simple_stmts.rst:982 +msgid "See also :data:`sys.lazy_modules`." +msgstr "" + +#: ../../reference/simple_stmts.rst:987 msgid "Compatibility via ``__lazy_modules__``" msgstr "Verträglichkeit über ``__lazy_modules__``" -#: ../../reference/simple_stmts.rst:932 +#: ../../reference/simple_stmts.rst:992 msgid "" "As an alternative to using the :keyword:`lazy` keyword, a module can opt " "into lazy loading for specific imports by defining a module-" @@ -1553,7 +1636,7 @@ msgstr "" "__lazy_modules__` steht, wird als verzögerter Import behandelt, genau als " "stünde das Schlüsselwort :keyword:`lazy` davor." -#: ../../reference/simple_stmts.rst:940 +#: ../../reference/simple_stmts.rst:1000 msgid "" "This provides a way to enable lazy loading for specific dependencies without " "changing individual ``import`` statements. This is useful when supporting " @@ -1564,7 +1647,7 @@ msgstr "" "nützlich, wenn du Python-Versionen vor 3.15 unterstützen und ab 3.15 " "trotzdem verzögerte Importe verwenden willst::" -#: ../../reference/simple_stmts.rst:944 +#: ../../reference/simple_stmts.rst:1004 msgid "" "__lazy_modules__ = [\"json\", \"pathlib\"]\n" "\n" @@ -1580,7 +1663,7 @@ msgstr "" "\n" "import pathlib # verzögert geladen" -#: ../../reference/simple_stmts.rst:951 +#: ../../reference/simple_stmts.rst:1011 msgid "" "Relative imports are resolved to their absolute name before the lookup, " "so :attr:`!__lazy_modules__` must always contain fully qualified module " @@ -1590,7 +1673,7 @@ msgstr "" "aufgelöst, deshalb muss :attr:`!__lazy_modules__` immer vollständig " "qualifizierte Modulnamen enthalten." -#: ../../reference/simple_stmts.rst:954 +#: ../../reference/simple_stmts.rst:1014 msgid "" "For ``from``-style imports, the relevant name is the module following " "``from``, not the names of its members::" @@ -1598,7 +1681,7 @@ msgstr "" "Bei Importen der Form ``from`` ist der maßgebliche Name das Modul hinter " "``from``, nicht die Namen seiner Bestandteile::" -#: ../../reference/simple_stmts.rst:957 +#: ../../reference/simple_stmts.rst:1017 msgid "" "# In mypackage/mymodule.py\n" "__lazy_modules__ = [\"mypackage\", \"mypackage.sub.utils\"]\n" @@ -1617,7 +1700,7 @@ msgstr "" "mypackage.sub.utils aufgelöst\n" "import json # sofort geladen (nicht in __lazy_modules__)" -#: ../../reference/simple_stmts.rst:964 +#: ../../reference/simple_stmts.rst:1024 msgid "" "Imports inside functions, class bodies, " "or :keyword:`try`/:keyword:`except`/:keyword:`finally` blocks are always " @@ -1627,11 +1710,11 @@ msgstr "" "oder :keyword:`try`/:keyword:`except`/:keyword:`finally`-Blöcken sind immer " "sofortig, unabhängig von :attr:`!__lazy_modules__`." -#: ../../reference/simple_stmts.rst:973 +#: ../../reference/simple_stmts.rst:1033 msgid "Future statements" msgstr "Future-Anweisung" -#: ../../reference/simple_stmts.rst:979 +#: ../../reference/simple_stmts.rst:1039 msgid "" "A :dfn:`future statement` is a directive to the compiler that a particular " "module should be compiled using syntax or semantics that will be available " @@ -1642,7 +1725,7 @@ msgstr "" "werden soll, die in einer bestimmten zukünftigen Python-Version verfügbar " "sein wird, in der diese Funktion zum Standard wird." -#: ../../reference/simple_stmts.rst:983 +#: ../../reference/simple_stmts.rst:1043 msgid "" "The future statement is intended to ease migration to future versions of " "Python that introduce incompatible changes to the language. It allows use " @@ -1654,7 +1737,7 @@ msgstr "" "Sie ermöglicht die Nutzung der neuen Funktionen auf Modulbasis bereits vor " "der Veröffentlichung, in der die Funktion zum Standard wird." -#: ../../reference/simple_stmts.rst:995 +#: ../../reference/simple_stmts.rst:1055 msgid "" "A future statement must appear near the top of the module. The only lines " "that can appear before a future statement are:" @@ -1662,23 +1745,23 @@ msgstr "" "Eine \"future\"-Anweisung muss im oberen Bereich des Moduls stehen. Die " "einzigen Zeilen, die vor einer \"future\"-Anweisung stehen dürfen, sind:" -#: ../../reference/simple_stmts.rst:998 +#: ../../reference/simple_stmts.rst:1058 msgid "the module docstring (if any)," msgstr "die Docstring des Moduls (falls vorhanden)," -#: ../../reference/simple_stmts.rst:999 +#: ../../reference/simple_stmts.rst:1059 msgid "comments," msgstr "Kommentare," -#: ../../reference/simple_stmts.rst:1000 +#: ../../reference/simple_stmts.rst:1060 msgid "blank lines, and" msgstr "Leerzeilen und" -#: ../../reference/simple_stmts.rst:1001 +#: ../../reference/simple_stmts.rst:1061 msgid "other future statements." msgstr "sonstige Future-Anweisung" -#: ../../reference/simple_stmts.rst:1003 +#: ../../reference/simple_stmts.rst:1063 msgid "" "The only feature that requires using the future statement is ``annotations`` " "(see :pep:`563`)." @@ -1686,7 +1769,7 @@ msgstr "" "Die einzige Funktion, für die die Verwendung der \"future\"-Anweisung " "erforderlich ist, ist ``annotations`` (siehe :pep:`563`)." -#: ../../reference/simple_stmts.rst:1006 +#: ../../reference/simple_stmts.rst:1066 msgid "" "All historical features enabled by the future statement are still recognized " "by Python 3. The list includes ``absolute_import``, ``division``, " @@ -1702,7 +1785,7 @@ msgstr "" "``with_statement`` . Sie sind alle überflüssig, da sie immer aktiviert sind, " "und werden nur aus Gründen der Abwärtskompatibilität beibehalten." -#: ../../reference/simple_stmts.rst:1013 +#: ../../reference/simple_stmts.rst:1073 msgid "" "A future statement is recognized and treated specially at compile time: " "Changes to the semantics of core constructs are often implemented by " @@ -1719,7 +1802,7 @@ msgstr "" "Compiler das Modul möglicherweise anders analysieren. Solche Entscheidungen " "können nicht bis zur Laufzeit aufgeschoben werden." -#: ../../reference/simple_stmts.rst:1020 +#: ../../reference/simple_stmts.rst:1080 msgid "" "For any given release, the compiler knows which feature names have been " "defined, and raises a compile-time error if a future statement contains a " @@ -1729,7 +1812,7 @@ msgstr "" "definiert wurden, und löst einen Fehler zur Kompilierungszeit aus, wenn eine " "\"future\"-Anweisung eine ihm unbekannte Funktion enthält." -#: ../../reference/simple_stmts.rst:1024 +#: ../../reference/simple_stmts.rst:1084 msgid "" "The direct runtime semantics are the same as for any import statement: there " "is a standard module :mod:`__future__`, described later, and it will be " @@ -1740,7 +1823,7 @@ msgstr "" "und zum Zeitpunkt der Ausführung der \"future\"-Anweisung auf die übliche " "Weise importiert wird." -#: ../../reference/simple_stmts.rst:1028 +#: ../../reference/simple_stmts.rst:1088 msgid "" "The interesting runtime semantics depend on the specific feature enabled by " "the future statement." @@ -1748,15 +1831,15 @@ msgstr "" "Die interessante Laufzeitsemantik hängt von der jeweiligen Funktion ab, die " "durch die \"future\"-Anweisung aktiviert wird." -#: ../../reference/simple_stmts.rst:1031 +#: ../../reference/simple_stmts.rst:1091 msgid "Note that there is nothing special about the statement::" msgstr "Beachte, dass an dieser Aussage nichts Besonderes ist::" -#: ../../reference/simple_stmts.rst:1033 +#: ../../reference/simple_stmts.rst:1093 msgid "import __future__ [as name]" msgstr "import __future__ [as name]" -#: ../../reference/simple_stmts.rst:1035 +#: ../../reference/simple_stmts.rst:1095 msgid "" "That is not a future statement; it's an ordinary import statement with no " "special semantics or syntax restrictions." @@ -1764,7 +1847,7 @@ msgstr "" "Das ist keine Zukunftsanweisung, sondern eine gewöhnliche Importanweisung " "ohne besondere Semantik oder syntaktische Einschränkungen." -#: ../../reference/simple_stmts.rst:1038 +#: ../../reference/simple_stmts.rst:1098 msgid "" "Code compiled by calls to the built-in functions :func:`exec` " "and :func:`compile` that occur in a module :mod:`!M` containing a future " @@ -1779,7 +1862,7 @@ msgstr "" "ist. Dies kann durch optionale Argumente an :func:`compile` gesteuert werden " "– Einzelheiten findest du in der Dokumentation dieser Funktion." -#: ../../reference/simple_stmts.rst:1044 +#: ../../reference/simple_stmts.rst:1104 msgid "" "A future statement typed at an interactive interpreter prompt will take " "effect for the rest of the interpreter session. If an interpreter is " @@ -1794,19 +1877,19 @@ msgstr "" "Anweisung, so gilt diese in der interaktiven Sitzung, die nach der " "Ausführung des Skripts gestartet wird." -#: ../../reference/simple_stmts.rst:1052 +#: ../../reference/simple_stmts.rst:1112 msgid ":pep:`236` - Back to the __future__" msgstr ":pep:`236` - Zurück in die __Zukunft__" -#: ../../reference/simple_stmts.rst:1053 +#: ../../reference/simple_stmts.rst:1113 msgid "The original proposal for the __future__ mechanism." msgstr "Der ursprüngliche Vorschlag für den __future__-Mechanismus." -#: ../../reference/simple_stmts.rst:1059 +#: ../../reference/simple_stmts.rst:1119 msgid "The :keyword:`!global` statement" msgstr "Die Erklärung der :keyword:`!global` ." -#: ../../reference/simple_stmts.rst:1069 +#: ../../reference/simple_stmts.rst:1129 msgid "" "The :keyword:`global` statement causes the listed identifiers to be " "interpreted as globals. It would be impossible to assign to a global " @@ -1819,7 +1902,7 @@ msgstr "" "Variablen auf globale Variablen verweisen können, ohne selbst als global " "deklariert zu sein." -#: ../../reference/simple_stmts.rst:1074 +#: ../../reference/simple_stmts.rst:1134 msgid "" "The :keyword:`!global` statement applies to the entire current scope " "(module, function body or class definition). A :exc:`SyntaxError` is raised " @@ -1832,7 +1915,7 @@ msgstr "" "Deklaration in diesem Geltungsbereich verwendet oder ihr ein Wert zugewiesen " "wird." -#: ../../reference/simple_stmts.rst:1079 +#: ../../reference/simple_stmts.rst:1139 msgid "" "At the module level, all variables are global, so a :keyword:`!global` " "statement has no effect. However, variables must still not be used or " @@ -1845,7 +1928,7 @@ msgstr "" "Diese Vorschrift wird in der interaktiven Eingabeaufforderung (:term:`REPL`) " "gelockert." -#: ../../reference/simple_stmts.rst:1090 +#: ../../reference/simple_stmts.rst:1150 msgid "" "**Programmer's note:** :keyword:`global` is a directive to the parser. It " "applies only to code parsed at the same time as the :keyword:`!global` " @@ -1867,11 +1950,11 @@ msgstr "" "Funktionsaufruf enthält, unberührt. Dasselbe gilt für die " "Funktionen :func:`eval` und :func:`compile` ." -#: ../../reference/simple_stmts.rst:1102 +#: ../../reference/simple_stmts.rst:1162 msgid "The :keyword:`!nonlocal` statement" msgstr "Die :keyword:`!nonlocal` Anweisung" -#: ../../reference/simple_stmts.rst:1110 +#: ../../reference/simple_stmts.rst:1170 msgid "" "When the definition of a function or class is nested (enclosed) within the " "definitions of other functions, its nonlocal scopes are the local scopes of " @@ -1894,7 +1977,7 @@ msgstr "" "gebunden oder gibt es keinen nichtlokalen Gültigkeitsbereich, wird " "eine :exc:`SyntaxError` ausgelöst." -#: ../../reference/simple_stmts.rst:1119 +#: ../../reference/simple_stmts.rst:1179 msgid "" "The :keyword:`nonlocal` statement applies to the entire scope of a function " "or class body. A :exc:`SyntaxError` is raised if a variable is used or " @@ -1905,15 +1988,15 @@ msgstr "" "Typ :exc:`SyntaxError` ausgelöst, wenn eine Variable verwendet oder " "zugewiesen wird, bevor sie im Geltungsbereich nichtlokal deklariert wurde." -#: ../../reference/simple_stmts.rst:1125 +#: ../../reference/simple_stmts.rst:1185 msgid ":pep:`3104` - Access to Names in Outer Scopes" msgstr ":pep:`3104` - Zugriff auf Namen in äußeren Gültigkeitsbereichen" -#: ../../reference/simple_stmts.rst:1126 +#: ../../reference/simple_stmts.rst:1186 msgid "The specification for the :keyword:`nonlocal` statement." msgstr "Die Spezifikation für die Anweisung :keyword:`nonlocal` ." -#: ../../reference/simple_stmts.rst:1128 +#: ../../reference/simple_stmts.rst:1188 msgid "" "**Programmer's note:** :keyword:`nonlocal` is a directive to the parser and " "applies only to code parsed along with it. See the note for " @@ -1923,11 +2006,11 @@ msgstr "" "den Parser und gilt nur für Code, der zusammen mit dieser Anweisung geparst " "wird. Siehe dazu die Anmerkung zur Anweisung :keyword:`global` ." -#: ../../reference/simple_stmts.rst:1136 +#: ../../reference/simple_stmts.rst:1196 msgid "The :keyword:`!type` statement" msgstr "Die :keyword:`!type` Anweisung" -#: ../../reference/simple_stmts.rst:1143 +#: ../../reference/simple_stmts.rst:1203 msgid "" "The :keyword:`!type` statement declares a type alias, which is an instance " "of :class:`typing.TypeAliasType`." @@ -1935,19 +2018,19 @@ msgstr "" "Die Anweisung :keyword:`!type` deklariert einen Typalias, bei dem es sich " "um eine Instanz von :class:`typing.TypeAliasType` handelt." -#: ../../reference/simple_stmts.rst:1146 +#: ../../reference/simple_stmts.rst:1206 msgid "For example, the following statement creates a type alias::" msgstr "Die folgende Anweisung erstellt beispielsweise einen Typalias::" -#: ../../reference/simple_stmts.rst:1148 +#: ../../reference/simple_stmts.rst:1208 msgid "type Point = tuple[float, float]" msgstr "type Point = tuple[float, float]" -#: ../../reference/simple_stmts.rst:1150 +#: ../../reference/simple_stmts.rst:1210 msgid "This code is roughly equivalent to::" msgstr "Dieser Code entspricht in etwa folgendem:" -#: ../../reference/simple_stmts.rst:1152 +#: ../../reference/simple_stmts.rst:1212 msgid "" "annotation-def VALUE_OF_Point():\n" " return tuple[float, float]\n" @@ -1957,7 +2040,7 @@ msgstr "" " return tuple[float, float]\n" "Point = typing.TypeAliasType(\"Point\", VALUE_OF_Point())" -#: ../../reference/simple_stmts.rst:1156 +#: ../../reference/simple_stmts.rst:1216 msgid "" "``annotation-def`` indicates an :ref:`annotation scope `, " "which behaves mostly like a function, but with several small differences." @@ -1966,7 +2049,7 @@ msgstr "" "scopes>`, der sich größtenteils wie eine Funktion verhält, jedoch einige " "kleine Unterschiede aufweist." -#: ../../reference/simple_stmts.rst:1159 +#: ../../reference/simple_stmts.rst:1219 msgid "" "The value of the type alias is evaluated in the annotation scope. It is not " "evaluated when the type alias is created, but only when the value is " @@ -1980,7 +2063,7 @@ msgstr "" "zugegriffen wird (siehe :ref:`lazy-evaluation`). Dadurch kann der Typalias " "auf Namen verweisen, die noch nicht definiert sind." -#: ../../reference/simple_stmts.rst:1165 +#: ../../reference/simple_stmts.rst:1225 msgid "" "Type aliases may be made generic by adding a :ref:`type parameter list ` after the name. See :ref:`generic-type-aliases` for more." @@ -1989,15 +2072,15 @@ msgstr "" "eine :ref:`Typ-Parameterliste ` hinzufügt. Weitere " "Informationen findest du unter :ref:`generic-type-aliases`." -#: ../../reference/simple_stmts.rst:1168 +#: ../../reference/simple_stmts.rst:1228 msgid ":keyword:`!type` is a :ref:`soft keyword `." msgstr ":keyword:`!type` ist ein :ref:`Soft-Schlüsselwort `." -#: ../../reference/simple_stmts.rst:1174 +#: ../../reference/simple_stmts.rst:1234 msgid ":pep:`695` - Type Parameter Syntax" msgstr ":pep:`695` - Type Parameter Syntax" -#: ../../reference/simple_stmts.rst:1175 +#: ../../reference/simple_stmts.rst:1235 msgid "" "Introduced the :keyword:`!type` statement and syntax for generic classes and " "functions." @@ -2016,9 +2099,9 @@ msgstr "einfach" #: ../../reference/simple_stmts.rst:457 ../../reference/simple_stmts.rst:483 #: ../../reference/simple_stmts.rst:520 ../../reference/simple_stmts.rst:556 #: ../../reference/simple_stmts.rst:681 ../../reference/simple_stmts.rst:715 -#: ../../reference/simple_stmts.rst:740 ../../reference/simple_stmts.rst:975 -#: ../../reference/simple_stmts.rst:1061 ../../reference/simple_stmts.rst:1104 -#: ../../reference/simple_stmts.rst:1138 +#: ../../reference/simple_stmts.rst:740 ../../reference/simple_stmts.rst:1035 +#: ../../reference/simple_stmts.rst:1121 ../../reference/simple_stmts.rst:1164 +#: ../../reference/simple_stmts.rst:1198 msgid "statement" msgstr "Erklärung" @@ -2032,7 +2115,7 @@ msgstr "Ausdruck" msgid "list" msgstr "Liste" -#: ../../reference/simple_stmts.rst:56 ../../reference/simple_stmts.rst:1085 +#: ../../reference/simple_stmts.rst:56 ../../reference/simple_stmts.rst:1145 msgid "built-in function" msgstr "integrierte Funktion" @@ -2098,13 +2181,13 @@ msgid "assignment" msgstr "Aufgabe" #: ../../reference/simple_stmts.rst:75 ../../reference/simple_stmts.rst:740 -#: ../../reference/simple_stmts.rst:797 ../../reference/simple_stmts.rst:1061 +#: ../../reference/simple_stmts.rst:797 ../../reference/simple_stmts.rst:1121 msgid "binding" msgstr "verbindlich" #: ../../reference/simple_stmts.rst:75 ../../reference/simple_stmts.rst:457 #: ../../reference/simple_stmts.rst:740 ../../reference/simple_stmts.rst:797 -#: ../../reference/simple_stmts.rst:1061 +#: ../../reference/simple_stmts.rst:1121 msgid "name" msgstr "Name" @@ -2127,8 +2210,8 @@ msgid "target" msgstr "Ziel" #: ../../reference/simple_stmts.rst:115 ../../reference/simple_stmts.rst:379 -#: ../../reference/simple_stmts.rst:740 ../../reference/simple_stmts.rst:1061 -#: ../../reference/simple_stmts.rst:1104 +#: ../../reference/simple_stmts.rst:740 ../../reference/simple_stmts.rst:1121 +#: ../../reference/simple_stmts.rst:1164 msgid ", (comma)" msgstr ", (Komma)" @@ -2302,7 +2385,7 @@ msgstr "del" msgid "deletion" msgstr "Löschung" -#: ../../reference/simple_stmts.rst:457 ../../reference/simple_stmts.rst:1061 +#: ../../reference/simple_stmts.rst:457 ../../reference/simple_stmts.rst:1121 msgid "global" msgstr "global" @@ -2455,42 +2538,54 @@ msgstr "Verwandter" msgid "lazy import" msgstr "lazy import" -#: ../../reference/simple_stmts.rst:929 +#: ../../reference/simple_stmts.rst:989 msgid "__lazy_modules__" msgstr "__lazy_modules__" -#: ../../reference/simple_stmts.rst:975 +#: ../../reference/simple_stmts.rst:1035 msgid "future" msgstr "Zukunft" -#: ../../reference/simple_stmts.rst:975 +#: ../../reference/simple_stmts.rst:1035 msgid "__future__" msgstr "__Zukunft__" -#: ../../reference/simple_stmts.rst:975 +#: ../../reference/simple_stmts.rst:1035 msgid "future statement" msgstr "Zukunftsaussage" -#: ../../reference/simple_stmts.rst:1061 ../../reference/simple_stmts.rst:1104 +#: ../../reference/simple_stmts.rst:1121 ../../reference/simple_stmts.rst:1164 msgid "identifier list" msgstr "Liste der Bezeichner" -#: ../../reference/simple_stmts.rst:1085 +#: ../../reference/simple_stmts.rst:1145 msgid "exec" msgstr "exec" -#: ../../reference/simple_stmts.rst:1085 +#: ../../reference/simple_stmts.rst:1145 msgid "eval" msgstr "eval" -#: ../../reference/simple_stmts.rst:1085 +#: ../../reference/simple_stmts.rst:1145 msgid "compile" msgstr "kompilieren" -#: ../../reference/simple_stmts.rst:1104 +#: ../../reference/simple_stmts.rst:1164 msgid "nonlocal" msgstr "nichtlokal" -#: ../../reference/simple_stmts.rst:1138 +#: ../../reference/simple_stmts.rst:1198 msgid "type" msgstr "Typ" + +#~ msgid "" +#~ "When using ``lazy from ... import``, each imported name is bound to a " +#~ "lazy proxy object. The first access to any of these names triggers " +#~ "loading of the entire module and resolves only that specific name to its " +#~ "actual value. Other names remain as lazy proxies until they are accessed." +#~ msgstr "" +#~ "Bei ``lazy from ... import`` wird jeder importierte Name an ein " +#~ "verzögerndes Stellvertreterobjekt gebunden. Der erste Zugriff auf einen " +#~ "dieser Namen löst das Laden des gesamten Moduls aus und löst nur diesen " +#~ "einen Namen zu seinem tatsächlichen Wert auf. Die übrigen Namen bleiben " +#~ "Stellvertreter, bis auf sie zugegriffen wird." diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 12c680c9..8b664eac 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -1024,10 +1024,11 @@ msgid "" "creates an empty dictionary, a data structure that we discuss in the next " "section." msgstr "" -"Zum Erstellen von Mengen können geschweifte Klammern oder die Funktion " -":func:`set` verwendet werden. Hinweis: Um eine leere Menge zu erstellen, " -"musst du ``set()`` verwenden, nicht ``{}``. Letzteres erstellt ein leeres " -"Dictionary, eine Datenstruktur, die wir im nächsten Abschnitt behandeln." +"Zum Erstellen von Mengen können geschweifte Klammern oder die " +"Funktion :func:`set` verwendet werden. Hinweis: Um eine leere Menge zu " +"erstellen, musst du ``set()`` verwenden, nicht ``{}``. Letzteres erstellt " +"ein leeres Dictionary, eine Datenstruktur, die wir im nächsten Abschnitt " +"behandeln." #: ../../tutorial/datastructures.rst:497 msgid "" @@ -1140,19 +1141,19 @@ msgid "" "lists can be modified in place using index assignments, slice assignments, " "or methods like :meth:`~list.append` and :meth:`~list.extend`." msgstr "" -"Ein weiterer nützlicher, in Python integrierter Datentyp ist das *Dictionary*" -" (sinngemäß „Wörterbuch“, siehe :ref:`typesmapping`). In anderen Sprachen " -"heißen Dictionaries manchmal „assoziative Speicher“ oder „assoziative " -"Arrays“. Im Gegensatz zu Sequenzen, die durch einen Zahlenbereich indiziert " -"werden, werden Dictionaries durch *Schlüssel* indiziert, die von jedem " -"unveränderlichen Typ sein können. Zeichenketten und Zahlen können immer als " -"Schlüssel verwendet werden. Tupel können als Schlüssel verwendet werden, wenn" -" sie ausschließlich Zeichenketten, Zahlen oder Tupel enthalten. Enthält ein " -"Tupel direkt oder indirekt ein veränderliches Objekt, kann es nicht als " -"Schlüssel verwendet werden. Listen können nicht als Schlüssel verwendet " -"werden, da sie durch Indexzuweisungen, Slice-Zuweisungen oder Methoden wie " -":meth:`~list.append` und :meth:`~list.extend` an Ort und Stelle verändert " -"werden können." +"Ein weiterer nützlicher, in Python integrierter Datentyp ist das " +"*Dictionary* (sinngemäß „Wörterbuch“, siehe :ref:`typesmapping`). In anderen " +"Sprachen heißen Dictionaries manchmal „assoziative Speicher“ oder " +"„assoziative Arrays“. Im Gegensatz zu Sequenzen, die durch einen " +"Zahlenbereich indiziert werden, werden Dictionaries durch *Schlüssel* " +"indiziert, die von jedem unveränderlichen Typ sein können. Zeichenketten und " +"Zahlen können immer als Schlüssel verwendet werden. Tupel können als " +"Schlüssel verwendet werden, wenn sie ausschließlich Zeichenketten, Zahlen " +"oder Tupel enthalten. Enthält ein Tupel direkt oder indirekt ein " +"veränderliches Objekt, kann es nicht als Schlüssel verwendet werden. Listen " +"können nicht als Schlüssel verwendet werden, da sie durch Indexzuweisungen, " +"Slice-Zuweisungen oder Methoden wie :meth:`~list.append` " +"und :meth:`~list.extend` an Ort und Stelle verändert werden können." #: ../../tutorial/datastructures.rst:553 msgid "" @@ -1162,12 +1163,12 @@ msgid "" "of key:value pairs within the braces adds initial key:value pairs to the " "dictionary; this is also the way dictionaries are written on output." msgstr "" -"Man kann sich ein Dictionary am besten als eine Menge von " -"*Schlüssel:Wert*-Paaren vorstellen, wobei die Schlüssel (innerhalb eines " -"Dictionarys) eindeutig sein müssen. Ein Paar geschweifter Klammern erstellt " -"ein leeres Dictionary: ``{}``. Durch Einfügen einer durch Kommas getrennten " -"Liste von Schlüssel:Wert-Paaren innerhalb der geschweiften Klammern werden " -"dem Dictionary anfängliche Schlüssel:Wert-Paare hinzugefügt. Auf diese Weise " +"Man kann sich ein Dictionary am besten als eine Menge von *Schlüssel:Wert*-" +"Paaren vorstellen, wobei die Schlüssel (innerhalb eines Dictionarys) " +"eindeutig sein müssen. Ein Paar geschweifter Klammern erstellt ein leeres " +"Dictionary: ``{}``. Durch Einfügen einer durch Kommas getrennten Liste von " +"Schlüssel:Wert-Paaren innerhalb der geschweiften Klammern werden dem " +"Dictionary anfängliche Schlüssel:Wert-Paare hinzugefügt. Auf diese Weise " "werden Dictionaries auch bei der Ausgabe dargestellt." #: ../../tutorial/datastructures.rst:559 @@ -1192,11 +1193,11 @@ msgid "" "dictionary." msgstr "" "Der Versuch, einen Wert für einen nicht vorhandenen Schlüssel mittels " -"Indexierung abzurufen (``d[key]``), löst einen :exc:`KeyError` aus. Um diesen" -" Fehler beim Zugriff auf einen möglicherweise nicht vorhandenen Schlüssel zu " -"vermeiden, verwende stattdessen die Methode :meth:`~dict.get`, die ``None`` " -"(oder einen angegebenen Standardwert) zurückgibt, wenn der Schlüssel nicht im" -" Dictionary enthalten ist." +"Indexierung abzurufen (``d[key]``), löst einen :exc:`KeyError` aus. Um " +"diesen Fehler beim Zugriff auf einen möglicherweise nicht vorhandenen " +"Schlüssel zu vermeiden, verwende stattdessen die Methode :meth:`~dict.get`, " +"die ``None`` (oder einen angegebenen Standardwert) zurückgibt, wenn der " +"Schlüssel nicht im Dictionary enthalten ist." #: ../../tutorial/datastructures.rst:569 msgid "" @@ -1353,8 +1354,8 @@ msgid "" "retrieved at the same time using the :meth:`~dict.items` method. ::" msgstr "" "Beim Durchlaufen von Dictionaries können der Schlüssel und der zugehörige " -"Wert mithilfe der Methode :meth:`~dict.items` gleichzeitig abgerufen werden. " -"::" +"Wert mithilfe der Methode :meth:`~dict.items` gleichzeitig abgerufen " +"werden. ::" #: ../../tutorial/datastructures.rst:640 msgid "" diff --git a/tutorial/modules.po b/tutorial/modules.po index ef082631..b822517b 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-14 20:17+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: Swen Bachmann <142266608+sba72@users.noreply.github.com>\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -181,11 +181,12 @@ msgid "More on Modules" msgstr "Mehr zum Thema Module" #: ../../tutorial/modules.rst:76 +#, fuzzy msgid "" "A module can contain executable statements as well as function definitions. " -"These statements are intended to initialize the module. They are executed " -"only the *first* time the module name is encountered in an import statement. " -"[#]_ (They are also run if the file is executed as a script.)" +"These statements initialize the module. Python executes them only the " +"*first* time it loads the module. [#]_ (They are also run if the file is " +"executed as a script.)" msgstr "" "Ein Modul kann sowohl ausführbare Anweisungen als auch Funktionsdefinitionen " "enthalten. Diese Anweisungen dienen der Initialisierung des Moduls. Sie " @@ -195,6 +196,25 @@ msgstr "" #: ../../tutorial/modules.rst:81 msgid "" +"A :ref:`lazy import ` delays this execution until the first " +"use of the imported name. For example, in a new interpreter session::" +msgstr "" + +#: ../../tutorial/modules.rst:84 +msgid "" +">>> lazy import fibo\n" +">>> fibo.fib(10) # Loads the module, then calls fib().\n" +"0 1 1 2 3 5 8" +msgstr "" + +#: ../../tutorial/modules.rst:88 +msgid "" +"Lazy imports are permitted only at module scope and " +"outside :keyword:`try`/:keyword:`except`/:keyword:`finally` blocks." +msgstr "" + +#: ../../tutorial/modules.rst:91 +msgid "" "Each module has its own private namespace, which is used as the global " "namespace by all functions defined in the module. Thus, the author of a " "module can use global variables in the module without worrying about " @@ -211,7 +231,7 @@ msgstr "" "zugreifen, die auch für den Verweis auf dessen Funktionen verwendet wird: " "``modname.itemname``." -#: ../../tutorial/modules.rst:88 +#: ../../tutorial/modules.rst:98 msgid "" "Modules can import other modules. It is customary but not required to place " "all :keyword:`import` statements at the beginning of a module (or script, " @@ -225,7 +245,7 @@ msgstr "" "sofern sie auf der obersten Ebene eines Moduls (außerhalb von Funktionen " "oder Klassen) stehen, dem globalen Namensraum des Moduls hinzugefügt." -#: ../../tutorial/modules.rst:93 +#: ../../tutorial/modules.rst:103 msgid "" "There is a variant of the :keyword:`import` statement that imports names " "from a module directly into the importing module's namespace. For example::" @@ -234,7 +254,7 @@ msgstr "" "einem Modul direkt in den Namensraum des importierenden Moduls importiert " "werden. Zum Beispiel::" -#: ../../tutorial/modules.rst:96 +#: ../../tutorial/modules.rst:106 msgid "" ">>> from fibo import fib, fib2\n" ">>> fib(500)\n" @@ -244,7 +264,7 @@ msgstr "" ">>> fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" -#: ../../tutorial/modules.rst:100 +#: ../../tutorial/modules.rst:110 msgid "" "This does not introduce the module name from which the imports are taken in " "the local namespace (so in the example, ``fibo`` is not defined)." @@ -253,13 +273,13 @@ msgstr "" "lokalen Namensraum eingeführt (im Beispiel ist ``fibo`` also nicht " "definiert)." -#: ../../tutorial/modules.rst:103 +#: ../../tutorial/modules.rst:113 msgid "There is even a variant to import all names that a module defines::" msgstr "" "Es gibt sogar eine Variante, mit der alle von einem Modul definierten Namen " "importiert werden können::" -#: ../../tutorial/modules.rst:105 +#: ../../tutorial/modules.rst:115 msgid "" ">>> from fibo import *\n" ">>> fib(500)\n" @@ -269,7 +289,7 @@ msgstr "" ">>> fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" -#: ../../tutorial/modules.rst:109 +#: ../../tutorial/modules.rst:119 msgid "" "This imports all names except those beginning with an underscore (``_``). In " "most cases Python programmers do not use this facility since it introduces " @@ -282,7 +302,7 @@ msgstr "" "Namen in den Interpreter eingeführt wird, wodurch möglicherweise einige " "bereits von dir definierte Elemente verdeckt werden." -#: ../../tutorial/modules.rst:114 +#: ../../tutorial/modules.rst:124 msgid "" "Note that in general the practice of importing ``*`` from a module or " "package is frowned upon, since it often causes poorly readable code. " @@ -293,7 +313,7 @@ msgstr "" "führt. Es ist jedoch in Ordnung, diese Funktion zu verwenden, um sich in " "interaktiven Sitzungen Tipparbeit zu ersparen." -#: ../../tutorial/modules.rst:118 +#: ../../tutorial/modules.rst:128 msgid "" "If the module name is followed by :keyword:`!as`, then the name " "following :keyword:`!as` is bound directly to the imported module." @@ -301,7 +321,7 @@ msgstr "" "Folgt auf den Modulnamen :keyword:`!as`, wird der Name nach :keyword:`!as` " "direkt an das importierte Modul gebunden." -#: ../../tutorial/modules.rst:123 +#: ../../tutorial/modules.rst:133 msgid "" ">>> import fibo as fib\n" ">>> fib.fib(500)\n" @@ -311,7 +331,7 @@ msgstr "" ">>> fib.fib(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" -#: ../../tutorial/modules.rst:127 +#: ../../tutorial/modules.rst:137 msgid "" "This is effectively importing the module in the same way that ``import " "fibo`` will do, with the only difference of it being available as ``fib``." @@ -320,14 +340,14 @@ msgstr "" "``import fibo``, mit dem einzigen Unterschied, dass es unter ``fib`` " "verfügbar ist." -#: ../../tutorial/modules.rst:130 +#: ../../tutorial/modules.rst:140 msgid "" "It can also be used when utilising :keyword:`from` with similar effects::" msgstr "" "Es kann auch bei der Verwendung von :keyword:`from` mit ähnlichen Effekten " "eingesetzt werden::" -#: ../../tutorial/modules.rst:132 +#: ../../tutorial/modules.rst:142 msgid "" ">>> from fibo import fib as fibonacci\n" ">>> fibonacci(500)\n" @@ -337,7 +357,7 @@ msgstr "" ">>> fibonacci(500)\n" "0 1 1 2 3 5 8 13 21 34 55 89 144 233 377" -#: ../../tutorial/modules.rst:139 +#: ../../tutorial/modules.rst:149 msgid "" "For efficiency reasons, each module is only imported once per interpreter " "session. Therefore, if you change your modules, you must restart the " @@ -351,19 +371,19 @@ msgstr "" "Funktion :func:`importlib.reload` verwenden, z. B. ``import importlib; " "importlib.reload(modulename)``." -#: ../../tutorial/modules.rst:149 +#: ../../tutorial/modules.rst:159 msgid "Executing modules as scripts" msgstr "Module als Skripte ausführen" -#: ../../tutorial/modules.rst:151 +#: ../../tutorial/modules.rst:161 msgid "When you run a Python module with ::" msgstr "Wenn du ein Python-Modul mit :: ausführst:" -#: ../../tutorial/modules.rst:153 +#: ../../tutorial/modules.rst:163 msgid "python fibo.py " msgstr "python fibo.py " -#: ../../tutorial/modules.rst:155 +#: ../../tutorial/modules.rst:165 msgid "" "the code in the module will be executed, just as if you imported it, but " "with the ``__name__`` set to ``\"__main__\"``. That means that by adding " @@ -373,7 +393,7 @@ msgstr "" "allerdings mit der Einstellung ``__name__`` auf ``\"__main__\"``. Das " "bedeutet, dass du durch Hinzufügen dieses Codes am Ende deines Moduls::" -#: ../../tutorial/modules.rst:159 +#: ../../tutorial/modules.rst:169 msgid "" "if __name__ == \"__main__\":\n" " import sys\n" @@ -383,7 +403,7 @@ msgstr "" " import sys\n" " fib(int(sys.argv[1]))" -#: ../../tutorial/modules.rst:163 +#: ../../tutorial/modules.rst:173 msgid "" "you can make the file usable as a script as well as an importable module, " "because the code that parses the command line only runs if the module is " @@ -393,7 +413,7 @@ msgstr "" "nutzen, da der Code, der die Befehlszeile auswertet, nur ausgeführt wird, " "wenn das Modul als \"Hauptdatei\" ausgeführt wird:" -#: ../../tutorial/modules.rst:167 +#: ../../tutorial/modules.rst:177 msgid "" "$ python fibo.py 50\n" "0 1 1 2 3 5 8 13 21 34" @@ -401,11 +421,11 @@ msgstr "" "$ python fibo.py 50\n" "0 1 1 2 3 5 8 13 21 34" -#: ../../tutorial/modules.rst:172 +#: ../../tutorial/modules.rst:182 msgid "If the module is imported, the code is not run::" msgstr "Wenn das Modul importiert wird, wird der Code nicht ausgeführt::" -#: ../../tutorial/modules.rst:174 +#: ../../tutorial/modules.rst:184 msgid "" ">>> import fibo\n" ">>>" @@ -413,7 +433,7 @@ msgstr "" ">>> import fibo\n" ">>>" -#: ../../tutorial/modules.rst:177 +#: ../../tutorial/modules.rst:187 msgid "" "This is often used either to provide a convenient user interface to a " "module, or for testing purposes (running the module as a script executes a " @@ -423,11 +443,11 @@ msgstr "" "für ein Modul bereitzustellen, oder zu Testzwecken (die Ausführung des " "Moduls als Skript führt eine Testsuite aus)." -#: ../../tutorial/modules.rst:184 +#: ../../tutorial/modules.rst:194 msgid "The Module Search Path" msgstr "Der Suchpfad für Module" -#: ../../tutorial/modules.rst:188 +#: ../../tutorial/modules.rst:198 msgid "" "When a module named :mod:`!spam` is imported, the interpreter first searches " "for a built-in module with that name. These module names are listed " @@ -444,7 +464,7 @@ msgstr "" "angegeben wird. :data:`sys.path` wird anhand dieser Speicherorte " "initialisiert:" -#: ../../tutorial/modules.rst:194 +#: ../../tutorial/modules.rst:204 msgid "" "The directory containing the input script (or the current directory when no " "file is specified)." @@ -452,7 +472,7 @@ msgstr "" "Das Verzeichnis, in dem sich das Eingabeskript befindet (oder das aktuelle " "Verzeichnis, wenn keine Datei angegeben ist)." -#: ../../tutorial/modules.rst:196 +#: ../../tutorial/modules.rst:206 msgid "" ":envvar:`PYTHONPATH` (a list of directory names, with the same syntax as the " "shell variable :envvar:`PATH`)." @@ -460,7 +480,7 @@ msgstr "" ":envvar:`PYTHONPATH` (eine Liste von Verzeichnisnamen, deren Syntax der der " "Shell-Variablen :envvar:`PATH` entspricht)." -#: ../../tutorial/modules.rst:198 +#: ../../tutorial/modules.rst:208 msgid "" "The installation-dependent default (by convention including a ``site-" "packages`` directory, handled by the :mod:`site` module)." @@ -469,11 +489,11 @@ msgstr "" "einschließlich des Verzeichnisses ``site-packages``, das vom " "Modul :mod:`site` verwaltet wird)." -#: ../../tutorial/modules.rst:201 +#: ../../tutorial/modules.rst:211 msgid "More details are at :ref:`sys-path-init`." msgstr "Weitere Informationen findest du unter :ref:`sys-path-init`." -#: ../../tutorial/modules.rst:204 +#: ../../tutorial/modules.rst:214 msgid "" "On file systems which support symlinks, the directory containing the input " "script is calculated after the symlink is followed. In other words the " @@ -485,7 +505,7 @@ msgstr "" "sich der symbolische Link befindet, wird **nicht** zum Suchpfad des Moduls " "hinzugefügt." -#: ../../tutorial/modules.rst:208 +#: ../../tutorial/modules.rst:218 msgid "" "After initialization, Python programs can modify :data:`sys.path`. The " "directory containing the script being run is placed at the beginning of the " @@ -503,11 +523,11 @@ msgstr "" "denn, die Ersetzung ist beabsichtigt. Weitere Informationen findest du im " "Abschnitt :ref:`tut-standardmodules` ." -#: ../../tutorial/modules.rst:221 +#: ../../tutorial/modules.rst:231 msgid "\"Compiled\" Python files" msgstr "\"Kompilierte\" Python-Dateien" -#: ../../tutorial/modules.rst:223 +#: ../../tutorial/modules.rst:233 msgid "" "To speed up loading modules, Python caches the compiled version of each " "module in the ``__pycache__`` directory under the name :file:`module." @@ -527,7 +547,7 @@ msgstr "" "kompilierte Module aus verschiedenen Releases und verschiedenen Python-" "Versionen nebeneinander existieren können." -#: ../../tutorial/modules.rst:231 +#: ../../tutorial/modules.rst:241 msgid "" "Python checks the modification date of the source against the compiled " "version to see if it's out of date and needs to be recompiled. This is a " @@ -541,7 +561,7 @@ msgstr "" "kompilierten Module plattformunabhängig, sodass dieselbe Bibliothek auf " "Systemen mit unterschiedlichen Architekturen gemeinsam genutzt werden kann." -#: ../../tutorial/modules.rst:236 +#: ../../tutorial/modules.rst:246 msgid "" "Python does not check the cache in two circumstances. First, it always " "recompiles and does not store the result for the module that's loaded " @@ -557,11 +577,11 @@ msgstr "" "Quellcode (nur kompiliert) zu unterstützen, muss sich das kompilierte Modul " "im Quellverzeichnis befinden, und es darf kein Quellmodul vorhanden sein." -#: ../../tutorial/modules.rst:243 +#: ../../tutorial/modules.rst:253 msgid "Some tips for experts:" msgstr "Einige Tipps für Experten:" -#: ../../tutorial/modules.rst:245 +#: ../../tutorial/modules.rst:255 msgid "" "You can use the :option:`-O` or :option:`-OO` switches on the Python command " "to reduce the size of a compiled module. The ``-O`` switch removes assert " @@ -581,7 +601,7 @@ msgstr "" "Regel kleiner. In zukünftigen Versionen können sich die Auswirkungen der " "Optimierung ändern." -#: ../../tutorial/modules.rst:253 +#: ../../tutorial/modules.rst:263 msgid "" "A program doesn't run any faster when it is read from a ``.pyc`` file than " "when it is read from a ``.py`` file; the only thing that's faster about " @@ -592,7 +612,7 @@ msgstr "" "``.pyc``-Dateien schneller ist, ist die Geschwindigkeit, mit der sie geladen " "werden." -#: ../../tutorial/modules.rst:257 +#: ../../tutorial/modules.rst:267 msgid "" "The module :mod:`compileall` can create .pyc files for all modules in a " "directory." @@ -600,7 +620,7 @@ msgstr "" "Das Modul :mod:`compileall` kann für alle Module in einem Verzeichnis .pyc-" "Dateien erstellen." -#: ../../tutorial/modules.rst:260 +#: ../../tutorial/modules.rst:270 msgid "" "There is more detail on this process, including a flow chart of the " "decisions, in :pep:`3147`." @@ -608,11 +628,11 @@ msgstr "" "Weitere Einzelheiten zu diesem Prozess, einschließlich eines " "Entscheidungsdiagramms, findest du unter :pep:`3147`." -#: ../../tutorial/modules.rst:267 +#: ../../tutorial/modules.rst:277 msgid "Standard Modules" msgstr "Standardmodule" -#: ../../tutorial/modules.rst:271 +#: ../../tutorial/modules.rst:281 msgid "" "Python comes with a library of standard modules, described in a separate " "document, the Python Library Reference (\"Library Reference\" hereafter). " @@ -640,7 +660,7 @@ msgstr "" "Variablen ``sys.ps1`` und ``sys.ps2`` definieren die Zeichenketten, die als " "primäre und sekundäre Eingabeaufforderung verwendet werden::" -#: ../../tutorial/modules.rst:283 +#: ../../tutorial/modules.rst:293 msgid "" ">>> import sys\n" ">>> sys.ps1\n" @@ -662,7 +682,7 @@ msgstr "" "Yuck!\n" "C>" -#: ../../tutorial/modules.rst:294 +#: ../../tutorial/modules.rst:304 msgid "" "These two variables are only defined if the interpreter is in interactive " "mode." @@ -670,7 +690,7 @@ msgstr "" "Diese beiden Variablen sind nur definiert, wenn sich der Interpreter im " "interaktiven Modus befindet." -#: ../../tutorial/modules.rst:296 +#: ../../tutorial/modules.rst:306 msgid "" "The variable ``sys.path`` is a list of strings that determines the " "interpreter's search path for modules. It is initialized to a default path " @@ -685,7 +705,7 @@ msgstr "" "integrierten Standardwert. Sie können sie mithilfe von Standardoperationen " "für Listen ändern::" -#: ../../tutorial/modules.rst:302 +#: ../../tutorial/modules.rst:312 msgid "" ">>> import sys\n" ">>> sys.path.append('/ufs/guido/lib/python')" @@ -693,11 +713,11 @@ msgstr "" ">>> import sys\n" ">>> sys.path.append('/ufs/guido/lib/python')" -#: ../../tutorial/modules.rst:309 +#: ../../tutorial/modules.rst:319 msgid "The :func:`dir` Function" msgstr "Die Funktion :func:`dir`" -#: ../../tutorial/modules.rst:311 +#: ../../tutorial/modules.rst:321 msgid "" "The built-in function :func:`dir` is used to find out which names a module " "defines. It returns a sorted list of strings::" @@ -706,7 +726,7 @@ msgstr "" "Namen ein Modul definiert. Sie gibt eine sortierte Liste von Zeichenketten " "zurück::" -#: ../../tutorial/modules.rst:314 +#: ../../tutorial/modules.rst:324 msgid "" ">>> import fibo, sys\n" ">>> dir(fibo)\n" @@ -774,14 +794,14 @@ msgstr "" "'version_info',\n" " 'warnoptions']" -#: ../../tutorial/modules.rst:340 +#: ../../tutorial/modules.rst:350 msgid "" "Without arguments, :func:`dir` lists the names you have defined currently::" msgstr "" "Ohne Argumente listet der Befehl :func:`dir` die Namen auf, die du derzeit " "definiert hast::" -#: ../../tutorial/modules.rst:342 +#: ../../tutorial/modules.rst:352 msgid "" ">>> a = [1, 2, 3, 4, 5]\n" ">>> import fibo\n" @@ -795,14 +815,14 @@ msgstr "" ">>> dir()\n" "['__builtins__', '__name__', 'a', 'fib', 'fibo', 'sys']" -#: ../../tutorial/modules.rst:348 +#: ../../tutorial/modules.rst:358 msgid "" "Note that it lists all types of names: variables, modules, functions, etc." msgstr "" "Beachte, dass hier alle Arten von Namen aufgeführt sind: Variablen, Module, " "Funktionen usw." -#: ../../tutorial/modules.rst:352 +#: ../../tutorial/modules.rst:362 msgid "" ":func:`dir` does not list the names of built-in functions and variables. If " "you want a list of those, they are defined in the standard " @@ -812,7 +832,7 @@ msgstr "" "und Variablen. Wenn du eine Liste davon benötigst: Diese sind im " "Standardmodul :mod:`builtins` definiert ::" -#: ../../tutorial/modules.rst:356 +#: ../../tutorial/modules.rst:366 msgid "" ">>> import builtins\n" ">>> dir(builtins)\n" @@ -880,11 +900,11 @@ msgstr "" " 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars',\n" " 'zip']" -#: ../../tutorial/modules.rst:391 +#: ../../tutorial/modules.rst:401 msgid "Packages" msgstr "Pakete" -#: ../../tutorial/modules.rst:393 +#: ../../tutorial/modules.rst:403 msgid "" "Packages are a way of structuring Python's module namespace by using " "\"dotted module names\". For example, the module name :mod:`!A.B` " @@ -903,7 +923,7 @@ msgstr "" "Paketen mit mehreren Modulen wie NumPy oder Pillow, sich um die Modulnamen " "der anderen kümmern zu müssen." -#: ../../tutorial/modules.rst:401 +#: ../../tutorial/modules.rst:411 msgid "" "Suppose you want to design a collection of modules (a \"package\") for the " "uniform handling of sound files and sound data. There are many different " @@ -930,7 +950,7 @@ msgstr "" "schreiben wirst, um diese Operationen auszuführen. Hier ist eine mögliche " "Struktur für dein Paket (dargestellt als hierarchisches Dateisystem):" -#: ../../tutorial/modules.rst:412 +#: ../../tutorial/modules.rst:422 msgid "" "sound/ Top-level package\n" " __init__.py Initialize the sound package\n" @@ -980,7 +1000,7 @@ msgstr "" " karaoke.py\n" " ..." -#: ../../tutorial/modules.rst:438 +#: ../../tutorial/modules.rst:448 msgid "" "When importing the package, Python searches through the directories on " "``sys.path`` looking for the package subdirectory." @@ -988,7 +1008,7 @@ msgstr "" "Beim Importieren des Pakets durchsucht Python die Verzeichnisse unter " "``sys.path`` nach dem Unterverzeichnis des Pakets." -#: ../../tutorial/modules.rst:441 +#: ../../tutorial/modules.rst:451 msgid "" "The :file:`__init__.py` files are required to make Python treat directories " "containing the file as packages (unless using a :term:`namespace package`, a " @@ -1008,7 +1028,7 @@ msgstr "" "kann aber auch Initialisierungscode für das Paket ausführen oder die " "Variable ``__all__`` setzen, die später beschrieben wird." -#: ../../tutorial/modules.rst:449 +#: ../../tutorial/modules.rst:459 msgid "" "Users of the package can import individual modules from the package, for " "example::" @@ -1016,11 +1036,11 @@ msgstr "" "Benutzer des Pakets können einzelne Module aus dem Paket importieren, zum " "Beispiel::" -#: ../../tutorial/modules.rst:452 +#: ../../tutorial/modules.rst:462 msgid "import sound.effects.echo" msgstr "import sound.effects.echo" -#: ../../tutorial/modules.rst:454 +#: ../../tutorial/modules.rst:464 msgid "" "This loads the submodule :mod:`!sound.effects.echo`. It must be referenced " "with its full name. ::" @@ -1028,19 +1048,19 @@ msgstr "" "Dadurch wird das Submodul :mod:`!sound.effects.echo` geladen. Es muss mit " "seinem vollständigen Namen referenziert werden. ::" -#: ../../tutorial/modules.rst:457 +#: ../../tutorial/modules.rst:467 msgid "sound.effects.echo.echofilter(input, output, delay=0.7, atten=4)" msgstr "sound.effects.echo.echofilter(input, output, delay=0.7, atten=4)" -#: ../../tutorial/modules.rst:459 +#: ../../tutorial/modules.rst:469 msgid "An alternative way of importing the submodule is::" msgstr "Eine alternative Möglichkeit, das Submodul zu importieren, ist:" -#: ../../tutorial/modules.rst:461 +#: ../../tutorial/modules.rst:471 msgid "from sound.effects import echo" msgstr "from sound.effects import echo" -#: ../../tutorial/modules.rst:463 +#: ../../tutorial/modules.rst:473 msgid "" "This also loads the submodule :mod:`!echo`, and makes it available without " "its package prefix, so it can be used as follows::" @@ -1049,11 +1069,11 @@ msgstr "" "Paketpräfix zur Verfügung gestellt, sodass es wie folgt verwendet werden " "kann::" -#: ../../tutorial/modules.rst:466 +#: ../../tutorial/modules.rst:476 msgid "echo.echofilter(input, output, delay=0.7, atten=4)" msgstr "echo.echofilter(input, output, delay=0.7, atten=4)" -#: ../../tutorial/modules.rst:468 +#: ../../tutorial/modules.rst:478 msgid "" "Yet another variation is to import the desired function or variable " "directly::" @@ -1061,11 +1081,11 @@ msgstr "" "Eine weitere Möglichkeit besteht darin, die gewünschte Funktion oder " "Variable direkt zu importieren::" -#: ../../tutorial/modules.rst:470 +#: ../../tutorial/modules.rst:480 msgid "from sound.effects.echo import echofilter" msgstr "from sound.effects.echo import echofilter" -#: ../../tutorial/modules.rst:472 +#: ../../tutorial/modules.rst:482 msgid "" "Again, this loads the submodule :mod:`!echo`, but this makes its " "function :func:`!echofilter` directly available::" @@ -1073,11 +1093,11 @@ msgstr "" "Auch hier wird das Submodul :mod:`!echo` geladen, wodurch dessen " "Funktion :func:`!echofilter` direkt verfügbar ist::" -#: ../../tutorial/modules.rst:475 +#: ../../tutorial/modules.rst:485 msgid "echofilter(input, output, delay=0.7, atten=4)" msgstr "echofilter(input, output, delay=0.7, atten=4)" -#: ../../tutorial/modules.rst:477 +#: ../../tutorial/modules.rst:487 msgid "" "Note that when using ``from package import item``, the item can be either a " "submodule (or subpackage) of the package, or some other name defined in the " @@ -1095,7 +1115,7 @@ msgstr "" "Element nicht gefunden, wird eine Ausnahme vom Typ :exc:`ImportError` " "ausgelöst." -#: ../../tutorial/modules.rst:484 +#: ../../tutorial/modules.rst:494 msgid "" "Contrarily, when using syntax like ``import item.subitem.subsubitem``, each " "item except for the last must be a package; the last item can be a module or " @@ -1108,11 +1128,11 @@ msgstr "" "keine Klasse, Funktion oder Variable sein, die im vorherigen Element " "definiert wurde." -#: ../../tutorial/modules.rst:493 +#: ../../tutorial/modules.rst:503 msgid "Importing \\* From a Package" msgstr "Importieren von \\* aus einem Paket" -#: ../../tutorial/modules.rst:497 +#: ../../tutorial/modules.rst:507 msgid "" "Now what happens when the user writes ``from sound.effects import *``? " "Ideally, one would hope that this somehow goes out to the filesystem, finds " @@ -1127,7 +1147,7 @@ msgstr "" "Importieren von Submodulen könnte unerwünschte Nebenwirkungen haben, die nur " "auftreten sollten, wenn das Submodul explizit importiert wird." -#: ../../tutorial/modules.rst:503 +#: ../../tutorial/modules.rst:513 msgid "" "The only solution is for the package author to provide an explicit index of " "the package. The :keyword:`import` statement uses the following convention: " @@ -1151,11 +1171,11 @@ msgstr "" "Paket zu importieren. Beispielsweise könnte die Datei :file:`sound/effects/" "__init__.py` den folgenden Code enthalten::" -#: ../../tutorial/modules.rst:513 +#: ../../tutorial/modules.rst:523 msgid "__all__ = [\"echo\", \"surround\", \"reverse\"]" msgstr "__all__ = [\"echo\", \"surround\", \"reverse\"]" -#: ../../tutorial/modules.rst:515 +#: ../../tutorial/modules.rst:525 msgid "" "This would mean that ``from sound.effects import *`` would import the three " "named submodules of the :mod:`!sound.effects` package." @@ -1163,7 +1183,7 @@ msgstr "" "Das würde bedeuten, dass ``from sound.effects import *`` die drei genannten " "Submodule des Pakets :mod:`!sound.effects` importieren würde." -#: ../../tutorial/modules.rst:518 +#: ../../tutorial/modules.rst:528 msgid "" "Be aware that submodules might become shadowed by locally defined names. For " "example, if you added a ``reverse`` function to the :file:`sound/effects/" @@ -1179,7 +1199,7 @@ msgstr "" "``surround`` importieren, jedoch *nicht* das Submodul ``reverse``, da " "dieses durch die lokal definierte Funktion ``reverse`` überschattet wird::" -#: ../../tutorial/modules.rst:525 +#: ../../tutorial/modules.rst:535 msgid "" "__all__ = [\n" " \"echo\", # refers to the 'echo.py' file\n" @@ -1200,7 +1220,7 @@ msgstr "" "„reverse.py“\n" " return msg[::-1] # im Fall von „from sound.effects import *“" -#: ../../tutorial/modules.rst:534 +#: ../../tutorial/modules.rst:544 msgid "" "If ``__all__`` is not defined, the statement ``from sound.effects import *`` " "does *not* import all submodules from the package :mod:`!sound.effects` into " @@ -1223,7 +1243,7 @@ msgstr "" "Pakets, die durch vorherige :keyword:`import`-Anweisungen explizit geladen " "wurden. Betrachte folgenden Code::" -#: ../../tutorial/modules.rst:543 +#: ../../tutorial/modules.rst:553 msgid "" "import sound.effects.echo\n" "import sound.effects.surround\n" @@ -1233,7 +1253,7 @@ msgstr "" "import sound.effects.surround\n" "from sound.effects import *" -#: ../../tutorial/modules.rst:547 +#: ../../tutorial/modules.rst:557 msgid "" "In this example, the :mod:`!echo` and :mod:`!surround` modules are imported " "in the current namespace because they are defined in the :mod:`!" @@ -1245,7 +1265,7 @@ msgstr "" "definiert sind, wenn die Anweisung ``from...import`` ausgeführt wird. (Dies " "funktioniert auch, wenn ``__all__`` definiert ist.)" -#: ../../tutorial/modules.rst:552 +#: ../../tutorial/modules.rst:562 msgid "" "Although certain modules are designed to export only names that follow " "certain patterns when you use ``import *``, it is still considered bad " @@ -1255,7 +1275,7 @@ msgstr "" "``import *`` nur Namen exportieren, die bestimmten Mustern entsprechen, gilt " "dies im Produktionscode dennoch als schlechte Praxis." -#: ../../tutorial/modules.rst:556 +#: ../../tutorial/modules.rst:566 msgid "" "Remember, there is nothing wrong with using ``from package import " "specific_submodule``! In fact, this is the recommended notation unless the " @@ -1267,11 +1287,11 @@ msgstr "" "Schreibweise, es sei denn, das importierende Modul muss Submodule mit " "demselben Namen aus verschiedenen Paketen verwenden." -#: ../../tutorial/modules.rst:565 +#: ../../tutorial/modules.rst:575 msgid "Intra-package References" msgstr "Verweise innerhalb eines Pakets" -#: ../../tutorial/modules.rst:567 +#: ../../tutorial/modules.rst:577 msgid "" "When packages are structured into subpackages (as with the :mod:`!sound` " "package in the example), you can use absolute imports to refer to submodules " @@ -1286,7 +1306,7 @@ msgstr "" "Paket :mod:`!sound.effects` verwenden muss, kann es ``from sound.effects " "import echo`` verwenden." -#: ../../tutorial/modules.rst:573 +#: ../../tutorial/modules.rst:583 msgid "" "You can also write relative imports, with the ``from module import name`` " "form of import statement. These imports use leading dots to indicate the " @@ -1299,7 +1319,7 @@ msgstr "" "übergeordnete Paket anzugeben, die an dem relativen Import beteiligt sind. " "Aus dem Modul :mod:`!surround` kannst du beispielsweise Folgendes verwenden::" -#: ../../tutorial/modules.rst:578 +#: ../../tutorial/modules.rst:588 msgid "" "from . import echo\n" "from .. import formats\n" @@ -1309,7 +1329,7 @@ msgstr "" "from .. import formats\n" "from ..filters import equalizer" -#: ../../tutorial/modules.rst:582 +#: ../../tutorial/modules.rst:592 msgid "" "Note that relative imports are based on the name of the current module's " "package. Since the main module does not have a package, modules intended for " @@ -1321,11 +1341,11 @@ msgstr "" "Hauptmodul einer Python-Anwendung dienen sollen, stets absolute Importe " "verwenden." -#: ../../tutorial/modules.rst:588 +#: ../../tutorial/modules.rst:598 msgid "Footnotes" msgstr "Fußnoten" -#: ../../tutorial/modules.rst:589 +#: ../../tutorial/modules.rst:599 msgid "" "In fact function definitions are also 'statements' that are 'executed'; the " "execution of a module-level function definition adds the function name to " @@ -1336,28 +1356,28 @@ msgstr "" "Modulebene wird der Funktionsname dem globalen Namensraum des Moduls " "hinzugefügt." -#: ../../tutorial/modules.rst:186 ../../tutorial/modules.rst:269 -#: ../../tutorial/modules.rst:350 +#: ../../tutorial/modules.rst:196 ../../tutorial/modules.rst:279 +#: ../../tutorial/modules.rst:360 msgid "module" msgstr "module" -#: ../../tutorial/modules.rst:186 +#: ../../tutorial/modules.rst:196 msgid "search" msgstr "search" -#: ../../tutorial/modules.rst:186 +#: ../../tutorial/modules.rst:196 msgid "path" msgstr "path" -#: ../../tutorial/modules.rst:269 +#: ../../tutorial/modules.rst:279 msgid "sys" msgstr "sys" -#: ../../tutorial/modules.rst:350 +#: ../../tutorial/modules.rst:360 msgid "builtins" msgstr "builtins" -#: ../../tutorial/modules.rst:495 +#: ../../tutorial/modules.rst:505 msgid "__all__" msgstr "__all__" diff --git a/using/cmdline.po b/using/cmdline.po index 6467ffbd..4f7c8b73 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-11-01 16:00+0100\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -310,7 +310,7 @@ msgstr "" "gleich ``\"-\"``, und das aktuelle Verzeichnis wird an den Anfang " "von :data:`sys.path` gestellt." -#: ../../using/cmdline.rst:144 ../../using/cmdline.rst:886 +#: ../../using/cmdline.rst:144 ../../using/cmdline.rst:888 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_stdin`` with no " "arguments." @@ -735,8 +735,8 @@ msgstr "" msgid "See also :envvar:`PYTHONNOUSERSITE`." msgstr "Siehe auch :envvar:`PYTHONNOUSERSITE`." -#: ../../using/cmdline.rst:409 ../../using/cmdline.rst:984 -#: ../../using/cmdline.rst:999 +#: ../../using/cmdline.rst:409 ../../using/cmdline.rst:986 +#: ../../using/cmdline.rst:1001 msgid ":pep:`370` -- Per user site-packages directory" msgstr ":pep:`370` -- site-packages-Verzeichnis pro Benutzer" @@ -801,7 +801,7 @@ msgstr "" "Steuerung der Warnungen. Die Warnmaschinerie von Python gibt Warnmeldungen " "standardmäßig auf :data:`sys.stderr` aus." -#: ../../using/cmdline.rst:451 ../../using/cmdline.rst:1015 +#: ../../using/cmdline.rst:451 ../../using/cmdline.rst:1017 msgid "" "The simplest settings apply a particular action unconditionally to all " "warnings emitted by a process (even those that are otherwise ignored by " @@ -936,7 +936,7 @@ msgstr "" "Funktion :func:`warnings.filterwarnings` kannst du zum Beispiel einen " "regulären Ausdruck auf die Warnmeldung anwenden." -#: ../../using/cmdline.rst:508 ../../using/cmdline.rst:1027 +#: ../../using/cmdline.rst:508 ../../using/cmdline.rst:1029 msgid "" "See :ref:`warning-filter` and :ref:`describing-warning-filters` for more " "details." @@ -944,7 +944,7 @@ msgstr "" "Weitere Einzelheiten unter :ref:`warning-filter` und :ref:`describing-" "warning-filters`." -#: ../../using/cmdline.rst:511 ../../using/cmdline.rst:1030 +#: ../../using/cmdline.rst:511 ../../using/cmdline.rst:1032 msgid "Added regular expression support for *message* and *module*." msgstr "" "Unterstützung regulärer Ausdrücke für *message* und *module* hinzugefügt." @@ -1244,7 +1244,7 @@ msgstr "" "Debug-Modus gebaut ` sein, damit es diese Option gibt. Siehe " "auch :envvar:`PYTHON_PRESITE`." -#: ../../using/cmdline.rst:679 ../../using/cmdline.rst:1479 +#: ../../using/cmdline.rst:679 ../../using/cmdline.rst:1483 msgid "Accept also ``module:func`` entry point format." msgstr "Das Einstiegspunktformat ``module:func`` wird ebenfalls akzeptiert." @@ -1315,17 +1315,20 @@ msgstr "" "abgeschaltet. Siehe auch :envvar:`PYTHON_TLBC`." #: ../../using/cmdline.rst:722 +#, fuzzy msgid "" ":samp:`-X lazy_imports={all,normal}` controls lazy import behavior. ``all`` " -"makes all imports lazy by default, and ``normal`` (the default) respects the " -"``lazy`` keyword in source code. See also :envvar:`PYTHON_LAZY_IMPORTS`." +"makes eligible module-scope imports lazy by default. ``normal`` (the " +"default) respects :keyword:`lazy` and :attr:`module.__lazy_modules__`. " +"The :ref:`lazy import restrictions ` apply in both modes. See " +"also :envvar:`PYTHON_LAZY_IMPORTS` and :func:`sys.set_lazy_imports`." msgstr "" ":samp:`-X lazy_imports={all,normal}` steuert das Verhalten beim verzögerten " "Import. ``all`` macht standardmäßig alle Importe verzögert, ``normal`` (der " "Standard) beachtet das Schlüsselwort ``lazy`` im Quelltext. Siehe " "auch :envvar:`PYTHON_LAZY_IMPORTS`." -#: ../../using/cmdline.rst:729 +#: ../../using/cmdline.rst:731 msgid "" "It also allows passing arbitrary values and retrieving them through " "the :data:`sys._xoptions` dictionary." @@ -1333,15 +1336,15 @@ msgstr "" "Außerdem lassen sich damit beliebige Werte übergeben und über das " "Wörterbuch :data:`sys._xoptions` abrufen." -#: ../../using/cmdline.rst:734 +#: ../../using/cmdline.rst:736 msgid "Removed the ``-X showalloccount`` option." msgstr "Die Option ``-X showalloccount`` wurde entfernt." -#: ../../using/cmdline.rst:737 +#: ../../using/cmdline.rst:739 msgid "Removed the ``-X oldparser`` option." msgstr "Die Option ``-X oldparser`` wurde entfernt." -#: ../../using/cmdline.rst:742 +#: ../../using/cmdline.rst:744 msgid "" ":option:`!-J` is no longer reserved for use by Jython_, and now has no " "special meaning." @@ -1349,11 +1352,11 @@ msgstr "" ":option:`!-J` ist nicht mehr für Jython_ reserviert und hat jetzt keine " "besondere Bedeutung mehr." -#: ../../using/cmdline.rst:750 +#: ../../using/cmdline.rst:752 msgid "Controlling color" msgstr "Farbsteuerung" -#: ../../using/cmdline.rst:752 +#: ../../using/cmdline.rst:754 msgid "" "The Python interpreter is configured by default to use colors to highlight " "output in certain situations such as when displaying tracebacks. This " @@ -1364,14 +1367,14 @@ msgstr "" "Tracebacks. Dieses Verhalten lässt sich über verschiedene Umgebungsvariablen " "steuern." -#: ../../using/cmdline.rst:756 +#: ../../using/cmdline.rst:758 msgid "" "Setting the environment variable ``TERM`` to ``dumb`` will disable color." msgstr "" "Setzt du die Umgebungsvariable ``TERM`` auf ``dumb``, wird die Farbe " "abgeschaltet." -#: ../../using/cmdline.rst:758 +#: ../../using/cmdline.rst:760 msgid "" "If the |FORCE_COLOR|_ environment variable is set, then color will be " "enabled regardless of the value of TERM. This is useful on CI systems which " @@ -1381,7 +1384,7 @@ msgstr "" "vom Wert von TERM eingeschaltet. Das ist nützlich auf CI-Systemen, die keine " "Terminals sind, aber dennoch ANSI-Escape-Sequenzen anzeigen können." -#: ../../using/cmdline.rst:762 +#: ../../using/cmdline.rst:764 msgid "" "If the |NO_COLOR|_ environment variable is set, Python will disable all " "color in the output. This takes precedence over ``FORCE_COLOR``." @@ -1389,7 +1392,7 @@ msgstr "" "Ist die Umgebungsvariable |NO_COLOR|_ gesetzt, schaltet Python alle Farbe in " "der Ausgabe ab. Das hat Vorrang vor ``FORCE_COLOR``." -#: ../../using/cmdline.rst:765 +#: ../../using/cmdline.rst:767 msgid "" "All these environment variables are used also by other tools to control " "color output. To control the color output only in the Python interpreter, " @@ -1403,11 +1406,11 @@ msgstr "" "Umgebungsvariable :envvar:`PYTHON_COLORS` verwenden. Diese Variable hat " "Vorrang vor ``NO_COLOR``, das wiederum Vorrang vor ``FORCE_COLOR`` hat." -#: ../../using/cmdline.rst:775 +#: ../../using/cmdline.rst:777 msgid "Environment variables" msgstr "Umgebungsvariablen" -#: ../../using/cmdline.rst:777 +#: ../../using/cmdline.rst:779 msgid "" "These environment variables influence Python's behavior, they are processed " "before the command-line switches other than -E or -I. It is customary that " @@ -1419,7 +1422,7 @@ msgstr "" "Üblicherweise haben Befehlszeilenschalter bei einem Widerspruch Vorrang vor " "Umgebungsvariablen." -#: ../../using/cmdline.rst:784 +#: ../../using/cmdline.rst:786 msgid "" "Change the location of the standard Python libraries. By default, the " "libraries are searched in :file:`{prefix}/lib/python{version}` " @@ -1433,7 +1436,7 @@ msgstr "" "` und :file:`{exec_prefix}` installationsabhängige Verzeichnisse sind, die " "beide standardmäßig :file:`/usr/local` lauten." -#: ../../using/cmdline.rst:790 +#: ../../using/cmdline.rst:792 msgid "" "When :envvar:`PYTHONHOME` is set to a single directory, its value replaces " "both :file:`{prefix}` and :file:`{exec_prefix}`. To specify different " @@ -1444,7 +1447,7 @@ msgstr "" "unterschiedliche Werte anzugeben, setze :envvar:`PYTHONHOME` " "auf :file:`{prefix}:{exec_prefix}`." -#: ../../using/cmdline.rst:797 +#: ../../using/cmdline.rst:799 msgid "" "Augment the default search path for module files. The format is the same as " "the shell's :envvar:`PATH`: one or more directory pathnames separated " @@ -1456,7 +1459,7 @@ msgstr "" "durch :data:`os.pathsep` (also Doppelpunkte unter Unix oder Semikolons unter " "Windows). Nicht vorhandene Verzeichnisse werden stillschweigend ignoriert." -#: ../../using/cmdline.rst:802 +#: ../../using/cmdline.rst:804 msgid "" "In addition to normal directories, individual :envvar:`PYTHONPATH` entries " "may refer to zipfiles containing pure Python modules (in either source or " @@ -1467,7 +1470,7 @@ msgstr "" "Module enthalten (im Quelltext oder kompiliert). Erweiterungsmodule lassen " "sich nicht aus ZIP-Dateien importieren." -#: ../../using/cmdline.rst:806 +#: ../../using/cmdline.rst:808 msgid "" "The default search path is installation dependent, but generally begins " "with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). " @@ -1477,7 +1480,7 @@ msgstr "" "mit :file:`{prefix}/lib/python{version}` (siehe :envvar:`PYTHONHOME` oben). " "Er wird *immer* an :envvar:`PYTHONPATH` angehängt." -#: ../../using/cmdline.rst:810 +#: ../../using/cmdline.rst:812 msgid "" "An additional directory will be inserted in the search path in front " "of :envvar:`PYTHONPATH` as described above under :ref:`using-on-interface-" @@ -1489,7 +1492,7 @@ msgstr "" "Suchpfad lässt sich innerhalb eines Python-Programms über die " "Variable :data:`sys.path` verändern." -#: ../../using/cmdline.rst:818 +#: ../../using/cmdline.rst:820 msgid "" "If this is set to a non-empty string, don't prepend a potentially unsafe " "path :data:`sys._path0` to :data:`sys.path`." @@ -1498,11 +1501,11 @@ msgstr "" "unsichere Pfad :data:`sys._path0` nicht an den Anfang von :data:`sys.path` " "gestellt." -#: ../../using/cmdline.rst:821 +#: ../../using/cmdline.rst:823 msgid "See also the :option:`-P` option." msgstr "Siehe auch die Option :option:`-P`." -#: ../../using/cmdline.rst:828 +#: ../../using/cmdline.rst:830 msgid "" "If this is set to a non-empty string, it overrides " "the :data:`sys.platlibdir` value." @@ -1510,7 +1513,7 @@ msgstr "" "Ist sie auf eine nicht leere Zeichenkette gesetzt, überschreibt sie den Wert " "von :data:`sys.platlibdir`." -#: ../../using/cmdline.rst:836 +#: ../../using/cmdline.rst:838 msgid "" "If this is the name of a readable file, the Python commands in that file are " "executed before the first prompt is displayed in interactive mode. The file " @@ -1529,7 +1532,7 @@ msgstr "" "Eingabeaufforderungen :data:`sys.ps1` und :data:`sys.ps2` sowie den " "Hook :data:`sys.__interactivehook__` ändern." -#: ../../using/cmdline.rst:843 ../../using/cmdline.rst:845 +#: ../../using/cmdline.rst:845 ../../using/cmdline.rst:847 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with the " "filename as the argument when called on startup." @@ -1537,7 +1540,7 @@ msgstr "" "Löst beim Aufruf während des Starts ein :ref:`Auditing-Ereignis ` " "``cpython.run_startup`` mit dem Dateinamen als Argument aus." -#: ../../using/cmdline.rst:851 +#: ../../using/cmdline.rst:853 msgid "" "If this is set to a non-empty string it is equivalent to specifying " "the :option:`-O` option. If set to an integer, it is equivalent to " @@ -1547,7 +1550,7 @@ msgstr "" "der Option :option:`-O`. Ist sie auf eine Ganzzahl gesetzt, entspricht das " "der mehrfachen Angabe von :option:`-O`." -#: ../../using/cmdline.rst:858 +#: ../../using/cmdline.rst:860 msgid "" "If this is set, it names a callable using dotted-path notation. The module " "containing the callable will be imported and then the callable will be run " @@ -1566,7 +1569,7 @@ msgstr "" "Zeichenkette „0“, tut die Standardumsetzung von :func:`sys.breakpointhook` " "nichts, sondern kehrt sofort zurück." -#: ../../using/cmdline.rst:870 +#: ../../using/cmdline.rst:872 msgid "" "If this is set to a non-empty string it is equivalent to specifying " "the :option:`-d` option. If set to an integer, it is equivalent to " @@ -1576,7 +1579,7 @@ msgstr "" "der Option :option:`-d`. Ist sie auf eine Ganzzahl gesetzt, entspricht das " "der mehrfachen Angabe von :option:`-d`." -#: ../../using/cmdline.rst:874 +#: ../../using/cmdline.rst:876 msgid "" "This environment variable requires a :ref:`debug build of Python `, otherwise it's ignored." @@ -1584,7 +1587,7 @@ msgstr "" "Diese Umgebungsvariable setzt einen :ref:`Debug-Build von Python ` voraus, andernfalls wird sie ignoriert." -#: ../../using/cmdline.rst:880 +#: ../../using/cmdline.rst:882 msgid "" "If this is set to a non-empty string it is equivalent to specifying " "the :option:`-i` option." @@ -1592,7 +1595,7 @@ msgstr "" "Ist sie auf eine nicht leere Zeichenkette gesetzt, entspricht das der Angabe " "der Option :option:`-i`." -#: ../../using/cmdline.rst:883 +#: ../../using/cmdline.rst:885 msgid "" "This variable can also be modified by Python code using :data:`os.environ` " "to force inspect mode on program termination." @@ -1600,12 +1603,12 @@ msgstr "" "Diese Variable lässt sich auch von Python-Code über :data:`os.environ` " "verändern, um beim Programmende den Inspect-Modus zu erzwingen." -#: ../../using/cmdline.rst:888 +#: ../../using/cmdline.rst:890 msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events." msgstr "" "(auch 3.11.10, 3.10.15, 3.9.20 und 3.8.20) Löst Auditing-Ereignisse aus." -#: ../../using/cmdline.rst:891 +#: ../../using/cmdline.rst:893 msgid "" "Uses PyREPL if possible, in which case :envvar:`PYTHONSTARTUP` is also " "executed. Emits audit events." @@ -1613,7 +1616,7 @@ msgstr "" "Verwendet, wenn möglich, PyREPL. In diesem Fall wird " "auch :envvar:`PYTHONSTARTUP` ausgeführt. Löst Auditing-Ereignisse aus." -#: ../../using/cmdline.rst:898 +#: ../../using/cmdline.rst:900 msgid "" "If this is set to a non-empty string it is equivalent to specifying " "the :option:`-u` option." @@ -1621,7 +1624,7 @@ msgstr "" "Ist sie auf eine nicht leere Zeichenkette gesetzt, entspricht das der Angabe " "der Option :option:`-u`." -#: ../../using/cmdline.rst:904 +#: ../../using/cmdline.rst:906 msgid "" "If this is set to a non-empty string it is equivalent to specifying " "the :option:`-v` option. If set to an integer, it is equivalent to " @@ -1631,7 +1634,7 @@ msgstr "" "der Option :option:`-v`. Ist sie auf eine Ganzzahl gesetzt, entspricht das " "der mehrfachen Angabe von :option:`-v`." -#: ../../using/cmdline.rst:911 +#: ../../using/cmdline.rst:913 msgid "" "If this is set, Python ignores case in :keyword:`import` statements. This " "only works on Windows and macOS." @@ -1639,7 +1642,7 @@ msgstr "" "Ist sie gesetzt, ignoriert Python in :keyword:`import`-Anweisungen die Groß- " "und Kleinschreibung. Das funktioniert nur unter Windows und macOS." -#: ../../using/cmdline.rst:917 +#: ../../using/cmdline.rst:919 msgid "" "If this is set to a non-empty string, Python won't try to write ``.pyc`` " "files on the import of source modules. This is equivalent to specifying " @@ -1649,7 +1652,7 @@ msgstr "" "beim Import von Quellmodulen ``.pyc``-Dateien zu schreiben. Das entspricht " "der Angabe der Option :option:`-B`." -#: ../../using/cmdline.rst:924 +#: ../../using/cmdline.rst:926 msgid "" "If this is set, Python will write ``.pyc`` files in a mirror directory tree " "at this path, instead of in ``__pycache__`` directories within the source " @@ -1661,7 +1664,7 @@ msgstr "" "innerhalb des Quellbaums. Das entspricht der Angabe der Option :option:`-X` " "``pycache_prefix=PATH``." -#: ../../using/cmdline.rst:934 +#: ../../using/cmdline.rst:936 msgid "" "If this variable is not set or set to ``random``, a random value is used to " "seed the hashes of str and bytes objects." @@ -1670,7 +1673,7 @@ msgstr "" "Zufallswert als Startwert für die Hashes von str- und bytes-Objekten " "verwendet." -#: ../../using/cmdline.rst:937 +#: ../../using/cmdline.rst:939 msgid "" "If :envvar:`PYTHONHASHSEED` is set to an integer value, it is used as a " "fixed seed for generating the hash() of the types covered by the hash " @@ -1680,7 +1683,7 @@ msgstr "" "dieser als fester Startwert verwendet, um hash() für die von der Hash-" "Randomisierung betroffenen Typen zu erzeugen." -#: ../../using/cmdline.rst:941 +#: ../../using/cmdline.rst:943 msgid "" "Its purpose is to allow repeatable hashing, such as for selftests for the " "interpreter itself, or to allow a cluster of python processes to share hash " @@ -1690,7 +1693,7 @@ msgstr "" "Interpreters selbst, oder es mehreren Python-Prozessen in einem Verbund " "erlauben, dieselben Hash-Werte zu verwenden." -#: ../../using/cmdline.rst:945 +#: ../../using/cmdline.rst:947 msgid "" "The integer must be a decimal number in the range [0,4294967295]. " "Specifying the value 0 will disable hash randomization." @@ -1698,7 +1701,7 @@ msgstr "" "Die Ganzzahl muss eine Dezimalzahl im Bereich [0,4294967295] sein. Mit dem " "Wert 0 wird die Hash-Randomisierung abgeschaltet." -#: ../../using/cmdline.rst:952 +#: ../../using/cmdline.rst:954 msgid "" "If this variable is set to an integer, it is used to configure the " "interpreter's global :ref:`integer string conversion length limitation " @@ -1708,7 +1711,7 @@ msgstr "" "globale :ref:`Längenbegrenzung bei der Umwandlung zwischen Ganzzahl und " "Zeichenkette ` des Interpreters ein." -#: ../../using/cmdline.rst:960 +#: ../../using/cmdline.rst:962 msgid "" "If this is set before running the interpreter, it overrides the encoding " "used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. " @@ -1721,7 +1724,7 @@ msgstr "" "Teil ``:errorhandler`` ist optional und hat dieselbe Bedeutung wie " "in :func:`str.encode`." -#: ../../using/cmdline.rst:965 +#: ../../using/cmdline.rst:967 msgid "" "For stderr, the ``:errorhandler`` part is ignored; the handler will always " "be ``'backslashreplace'``." @@ -1729,11 +1732,11 @@ msgstr "" "Bei stderr wird der Teil ``:errorhandler`` ignoriert, der Handler ist immer " "``'backslashreplace'``." -#: ../../using/cmdline.rst:968 +#: ../../using/cmdline.rst:970 msgid "The ``encodingname`` part is now optional." msgstr "Der Teil ``encodingname`` ist jetzt optional." -#: ../../using/cmdline.rst:971 +#: ../../using/cmdline.rst:973 msgid "" "On Windows, the encoding specified by this variable is ignored for " "interactive console buffers unless :envvar:`PYTHONLEGACYWINDOWSSTDIO` is " @@ -1745,7 +1748,7 @@ msgstr "" "zusätzlich :envvar:`PYTHONLEGACYWINDOWSSTDIO` angegeben ist. Dateien und " "Pipes, die über die Standardströme umgeleitet werden, sind nicht betroffen." -#: ../../using/cmdline.rst:978 +#: ../../using/cmdline.rst:980 msgid "" "This is equivalent to the :option:`-s` option. If this is set, Python won't " "add the :data:`user site-packages directory ` " @@ -1755,7 +1758,7 @@ msgstr "" "das :data:`site-packages-Verzeichnis des Benutzers ` nicht " "zu :data:`sys.path` hinzu." -#: ../../using/cmdline.rst:989 +#: ../../using/cmdline.rst:991 msgid "" "Defines the :data:`user base directory `, which is used to " "compute the path of the :data:`user site-packages directory " @@ -1767,7 +1770,7 @@ msgstr "" "` und die :ref:`Installationspfade ` " "für ``python -m pip install --user`` berechnet werden." -#: ../../using/cmdline.rst:994 +#: ../../using/cmdline.rst:996 msgid "" "To disable the user site-packages, see :envvar:`PYTHONNOUSERSITE` or " "the :option:`-s` option." @@ -1775,7 +1778,7 @@ msgstr "" "Wie du die site-packages des Benutzers abschaltest, steht " "unter :envvar:`PYTHONNOUSERSITE` oder bei der Option :option:`-s`." -#: ../../using/cmdline.rst:1004 +#: ../../using/cmdline.rst:1006 msgid "" "If this environment variable is set, ``sys.argv[0]`` will be set to its " "value instead of the value got through the C runtime. Only works on macOS." @@ -1784,7 +1787,7 @@ msgstr "" "gesetzt statt auf den Wert aus der C-Laufzeitumgebung. Funktioniert nur " "unter macOS." -#: ../../using/cmdline.rst:1010 +#: ../../using/cmdline.rst:1012 msgid "" "This is equivalent to the :option:`-W` option. If set to a comma separated " "string, it is equivalent to specifying :option:`-W` multiple times, with " @@ -1795,7 +1798,7 @@ msgstr "" "von :option:`-W`, wobei Filter, die weiter hinten in der Liste stehen, " "Vorrang vor früheren haben." -#: ../../using/cmdline.rst:1019 +#: ../../using/cmdline.rst:1021 msgid "" "PYTHONWARNINGS=default # Warn once per call location\n" "PYTHONWARNINGS=error # Convert to exceptions\n" @@ -1813,7 +1816,7 @@ msgstr "" "PYTHONWARNINGS=once # Einmal pro Python-Prozess warnen\n" "PYTHONWARNINGS=ignore # Niemals warnen" -#: ../../using/cmdline.rst:1036 +#: ../../using/cmdline.rst:1038 msgid "" "If this environment variable is set to a non-empty " "string, :func:`faulthandler.enable` is called at startup: install a handler " @@ -1828,7 +1831,7 @@ msgstr "" "und :const:`~signal.SIGILL` eingerichtet, der den Python-Traceback ausgibt. " "Das entspricht der Option :option:`-X` ``faulthandler``." -#: ../../using/cmdline.rst:1048 +#: ../../using/cmdline.rst:1050 msgid "" "If this environment variable is set to a non-empty string, start tracing " "Python memory allocations using the :mod:`tracemalloc` module. The value of " @@ -1845,7 +1848,7 @@ msgstr "" "Funktion :func:`tracemalloc.start`. Das entspricht dem Setzen der " "Option :option:`-X` ``tracemalloc``." -#: ../../using/cmdline.rst:1061 +#: ../../using/cmdline.rst:1063 msgid "" "If this environment variable is set to ``1``, Python will show how long each " "import takes. If set to ``2``, Python will include output for imported " @@ -1857,14 +1860,14 @@ msgstr "" "die bereits geladen waren. Das entspricht dem Setzen der Option :option:`-X` " "``importtime``." -#: ../../using/cmdline.rst:1070 +#: ../../using/cmdline.rst:1072 msgid "" "Added ``PYTHONPROFILEIMPORTTIME=2`` to also trace imports of loaded modules." msgstr "" "``PYTHONPROFILEIMPORTTIME=2`` hinzugefügt, um auch Importe bereits geladener " "Module mitzuschreiben." -#: ../../using/cmdline.rst:1075 +#: ../../using/cmdline.rst:1077 msgid "" "If this environment variable is set to a non-empty string, enable " "the :ref:`debug mode ` of the :mod:`asyncio` module." @@ -1873,16 +1876,16 @@ msgstr "" "der :ref:`Debug-Modus ` des Moduls :mod:`asyncio` " "eingeschaltet." -#: ../../using/cmdline.rst:1083 +#: ../../using/cmdline.rst:1085 msgid "Set the Python memory allocators and/or install debug hooks." msgstr "" "Legt die Python-Speicherverwalter fest und/oder richtet Debug-Hooks ein." -#: ../../using/cmdline.rst:1085 +#: ../../using/cmdline.rst:1087 msgid "Set the family of memory allocators used by Python:" msgstr "Legt die Familie der von Python verwendeten Speicherverwalter fest:" -#: ../../using/cmdline.rst:1087 +#: ../../using/cmdline.rst:1089 msgid "" "``default``: use the :ref:`default memory allocators `." @@ -1890,7 +1893,7 @@ msgstr "" "``default``: verwendet die :ref:`Standard-Speicherverwalter `." -#: ../../using/cmdline.rst:1089 +#: ../../using/cmdline.rst:1091 msgid "" "``malloc``: use the :c:func:`malloc` function of the C library for all " "domains " @@ -1900,7 +1903,7 @@ msgstr "" "alle Bereiche " "(:c:macro:`PYMEM_DOMAIN_RAW`, :c:macro:`PYMEM_DOMAIN_MEM`, :c:macro:`PYMEM_DOMAIN_OBJ`)." -#: ../../using/cmdline.rst:1092 +#: ../../using/cmdline.rst:1094 msgid "" "``pymalloc``: use the :ref:`pymalloc allocator ` " "for :c:macro:`PYMEM_DOMAIN_MEM` and :c:macro:`PYMEM_DOMAIN_OBJ` domains and " @@ -1910,7 +1913,7 @@ msgstr "" "Bereiche :c:macro:`PYMEM_DOMAIN_MEM` und :c:macro:`PYMEM_DOMAIN_OBJ` und die " "Funktion :c:func:`malloc` für den Bereich :c:macro:`PYMEM_DOMAIN_RAW`." -#: ../../using/cmdline.rst:1095 +#: ../../using/cmdline.rst:1097 msgid "" "``mimalloc``: use the :ref:`mimalloc allocator ` " "for :c:macro:`PYMEM_DOMAIN_MEM` and :c:macro:`PYMEM_DOMAIN_OBJ` domains and " @@ -1920,11 +1923,11 @@ msgstr "" "Bereiche :c:macro:`PYMEM_DOMAIN_MEM` und :c:macro:`PYMEM_DOMAIN_OBJ` und die " "Funktion :c:func:`malloc` für den Bereich :c:macro:`PYMEM_DOMAIN_RAW`." -#: ../../using/cmdline.rst:1099 +#: ../../using/cmdline.rst:1101 msgid "Install :ref:`debug hooks `:" msgstr ":ref:`Debug-Hooks ` einrichten:" -#: ../../using/cmdline.rst:1101 +#: ../../using/cmdline.rst:1103 msgid "" "``debug``: install debug hooks on top of the :ref:`default memory allocators " "`." @@ -1932,24 +1935,24 @@ msgstr "" "``debug``: richtet Debug-Hooks über den :ref:`Standard-Speicherverwaltern " "` ein." -#: ../../using/cmdline.rst:1103 +#: ../../using/cmdline.rst:1105 msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks." msgstr "" "``malloc_debug``: wie ``malloc``, richtet aber zusätzlich Debug-Hooks ein." -#: ../../using/cmdline.rst:1104 +#: ../../using/cmdline.rst:1106 msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks." msgstr "" "``pymalloc_debug``: wie ``pymalloc``, richtet aber zusätzlich Debug-Hooks " "ein." -#: ../../using/cmdline.rst:1105 +#: ../../using/cmdline.rst:1107 msgid "``mimalloc_debug``: same as ``mimalloc`` but also install debug hooks." msgstr "" "``mimalloc_debug``: wie ``mimalloc``, richtet aber zusätzlich Debug-Hooks " "ein." -#: ../../using/cmdline.rst:1109 +#: ../../using/cmdline.rst:1111 msgid "" "In the :term:`free-threaded ` build, the ``malloc``, " "``malloc_debug``, ``pymalloc``, and ``pymalloc_debug`` values are not " @@ -1961,11 +1964,11 @@ msgstr "" "Akzeptiert werden nur ``default``, ``debug``, ``mimalloc`` und " "``mimalloc_debug``." -#: ../../using/cmdline.rst:1116 +#: ../../using/cmdline.rst:1118 msgid "Added the ``\"default\"`` allocator." msgstr "Der Verwalter ``\"default\"`` wurde hinzugefügt." -#: ../../using/cmdline.rst:1122 +#: ../../using/cmdline.rst:1124 msgid "" "If set to a non-empty string, Python will print statistics of " "the :ref:`pymalloc memory allocator ` or the :ref:`mimalloc memory " @@ -1978,7 +1981,7 @@ msgstr "" "des :ref:`mimalloc-Speicherverwalters ` aus (je nachdem, welcher " "in Verwendung ist)." -#: ../../using/cmdline.rst:1127 +#: ../../using/cmdline.rst:1129 msgid "" "This variable is ignored if the :envvar:`PYTHONMALLOC` environment variable " "is used to force the :c:func:`malloc` allocator of the C library, or if " @@ -1989,7 +1992,7 @@ msgstr "" "C-Bibliothek erzwungen wird oder wenn Python ohne Unterstützung für " "``pymalloc`` und ``mimalloc`` konfiguriert ist." -#: ../../using/cmdline.rst:1131 +#: ../../using/cmdline.rst:1133 msgid "" "This variable can now also be used on Python compiled in release mode. It " "now has no effect if set to an empty string." @@ -1998,7 +2001,7 @@ msgstr "" "Python verwenden. Auf eine leere Zeichenkette gesetzt, hat sie jetzt keine " "Wirkung." -#: ../../using/cmdline.rst:1138 +#: ../../using/cmdline.rst:1140 msgid "" "If set to a non-zero integer, enable huge page support for :ref:`pymalloc " "` arenas. Set to ``0`` or unset to disable. Python must be " @@ -2011,7 +2014,7 @@ msgstr "" "mit :option:`--with-pymalloc-hugepages` kompiliert sein, damit diese " "Variable überhaupt wirkt." -#: ../../using/cmdline.rst:1143 +#: ../../using/cmdline.rst:1145 msgid "" "When enabled, arena allocation uses ``MAP_HUGETLB`` (Linux) or " "``MEM_LARGE_PAGES`` (Windows) with automatic fallback to regular pages if " @@ -2021,7 +2024,7 @@ msgstr "" "(Linux) beziehungsweise ``MEM_LARGE_PAGES`` (Windows) und greift automatisch " "auf gewöhnliche Seiten zurück, wenn keine Huge Pages verfügbar sind." -#: ../../using/cmdline.rst:1149 +#: ../../using/cmdline.rst:1151 msgid "" "On Linux, if the huge-page pool is exhausted, page faults — including copy-" "on-write faults triggered by :func:`os.fork` — deliver ``SIGBUS`` and kill " @@ -2034,7 +2037,7 @@ msgstr "" "ein, in denen der Vorrat an Huge Pages passend bemessen ist und Fork-" "Sicherheit keine Rolle spielt." -#: ../../using/cmdline.rst:1154 +#: ../../using/cmdline.rst:1156 msgid "" "On Windows you need a special privilege. See the `Windows documentation for " "large pages `_ nicht " "besitzt." -#: ../../using/cmdline.rst:1167 +#: ../../using/cmdline.rst:1169 msgid "" "If set to a non-empty string, the default :term:`filesystem encoding and " "error handler` mode will revert to their pre-3.6 values of 'mbcs' and " @@ -2064,7 +2067,7 @@ msgstr "" "Andernfalls werden die neuen Standardwerte 'utf-8' und 'surrogatepass' " "verwendet." -#: ../../using/cmdline.rst:1172 +#: ../../using/cmdline.rst:1174 msgid "" "This may also be enabled at runtime " "with :func:`sys._enablelegacywindowsfsencoding`." @@ -2072,16 +2075,16 @@ msgstr "" "Das lässt sich zur Laufzeit auch " "mit :func:`sys._enablelegacywindowsfsencoding` einschalten." -#: ../../using/cmdline.rst:1175 ../../using/cmdline.rst:1189 -#: ../../using/cmdline.rst:1240 +#: ../../using/cmdline.rst:1177 ../../using/cmdline.rst:1191 +#: ../../using/cmdline.rst:1242 msgid "Availability" msgstr "Verfügbarkeit" -#: ../../using/cmdline.rst:1177 +#: ../../using/cmdline.rst:1179 msgid "See :pep:`529` for more details." msgstr "Mehr dazu unter :pep:`529`." -#: ../../using/cmdline.rst:1182 +#: ../../using/cmdline.rst:1184 msgid "" "If set to a non-empty string, does not use the new console reader and " "writer. This means that Unicode characters will be encoded according to the " @@ -2092,7 +2095,7 @@ msgstr "" "Zeichen werden dann gemäß der aktiven Codepage der Konsole kodiert und nicht " "mit utf-8." -#: ../../using/cmdline.rst:1186 +#: ../../using/cmdline.rst:1188 msgid "" "This variable is ignored if the standard streams are redirected (to files or " "pipes) rather than referring to console buffers." @@ -2100,7 +2103,7 @@ msgstr "" "Diese Variable wird ignoriert, wenn die Standardströme (in Dateien oder " "Pipes) umgeleitet werden, anstatt auf Konsolenpuffer zu verweisen." -#: ../../using/cmdline.rst:1196 +#: ../../using/cmdline.rst:1198 msgid "" "If set to the value ``0``, causes the main Python command line application " "to skip coercing the legacy ASCII-based C and POSIX locales to a more " @@ -2110,7 +2113,7 @@ msgstr "" "Python-Befehlszeile das Umlenken der alten ASCII-basierten Gebietsschemata C " "und POSIX auf eine leistungsfähigere UTF-8-basierte Alternative." -#: ../../using/cmdline.rst:1200 +#: ../../using/cmdline.rst:1202 msgid "" "If this variable is *not* set (or is set to a value other than ``0``), the " "``LC_ALL`` locale override environment variable is also not set, and the " @@ -2129,19 +2132,19 @@ msgstr "" "in der angegebenen Reihenfolge einzustellen, bevor sie die Laufzeitumgebung " "des Interpreters lädt:" -#: ../../using/cmdline.rst:1208 +#: ../../using/cmdline.rst:1210 msgid "``C.UTF-8``" msgstr "``C.UTF-8``" -#: ../../using/cmdline.rst:1209 +#: ../../using/cmdline.rst:1211 msgid "``C.utf8``" msgstr "``C.utf8``" -#: ../../using/cmdline.rst:1210 +#: ../../using/cmdline.rst:1212 msgid "``UTF-8``" msgstr "``UTF-8``" -#: ../../using/cmdline.rst:1212 +#: ../../using/cmdline.rst:1214 msgid "" "If setting one of these locale categories succeeds, then the ``LC_CTYPE`` " "environment variable will also be set accordingly in the current process " @@ -2163,7 +2166,7 @@ msgstr "" "Umgebung anstelle des aktuellen C-Gebietsschemas abfragen (etwa Pythons " "eigenes :func:`locale.getdefaultlocale`)." -#: ../../using/cmdline.rst:1222 +#: ../../using/cmdline.rst:1224 msgid "" "Configuring one of these locales (either explicitly or via the above " "implicit locale coercion) automatically enables the " @@ -2181,7 +2184,7 @@ msgstr "" "Gebietsschema). Dieses Verhalten der Ströme lässt sich wie üblich " "über :envvar:`PYTHONIOENCODING` überschreiben." -#: ../../using/cmdline.rst:1229 +#: ../../using/cmdline.rst:1231 msgid "" "For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause " "Python to emit warning messages on ``stderr`` if either the locale coercion " @@ -2193,7 +2196,7 @@ msgstr "" "greift oder wenn beim Initialisieren der Python-Laufzeitumgebung noch ein " "Gebietsschema aktiv ist, das das Umlenken ausgelöst *hätte*." -#: ../../using/cmdline.rst:1234 +#: ../../using/cmdline.rst:1236 msgid "" "Also note that even when locale coercion is disabled, or when it fails to " "find a suitable target locale, :envvar:`PYTHONUTF8` will still activate by " @@ -2207,11 +2210,11 @@ msgstr "" "Funktionen müssen abgeschaltet werden, damit der Interpreter für " "Systemschnittstellen ``ASCII`` anstelle von ``UTF-8`` verwendet." -#: ../../using/cmdline.rst:1242 +#: ../../using/cmdline.rst:1244 msgid "See :pep:`538` for more details." msgstr "Mehr dazu unter :pep:`538`." -#: ../../using/cmdline.rst:1248 +#: ../../using/cmdline.rst:1250 msgid "" "If this environment variable is set to a non-empty string, " "enable :ref:`Python Development Mode `, introducing additional " @@ -2224,18 +2227,18 @@ msgstr "" "eingeschaltet zu sein. Das entspricht dem Setzen der Option :option:`-X` " "``dev``." -#: ../../using/cmdline.rst:1257 +#: ../../using/cmdline.rst:1259 msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode `." msgstr "" "Auf ``1`` gesetzt, schaltet sie den :ref:`Python-UTF-8-Modus ` " "ein." -#: ../../using/cmdline.rst:1259 +#: ../../using/cmdline.rst:1261 msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode `." msgstr "" "Auf ``0`` gesetzt, schaltet sie den :ref:`Python-UTF-8-Modus ` ab." -#: ../../using/cmdline.rst:1261 +#: ../../using/cmdline.rst:1263 msgid "" "Setting any other non-empty string causes an error during interpreter " "initialisation." @@ -2243,7 +2246,7 @@ msgstr "" "Jede andere nicht leere Zeichenkette führt beim Initialisieren des " "Interpreters zu einem Fehler." -#: ../../using/cmdline.rst:1268 +#: ../../using/cmdline.rst:1270 msgid "" "If this environment variable is set to a non-empty string, issue " "a :class:`EncodingWarning` when the locale-specific default encoding is used." @@ -2252,11 +2255,11 @@ msgstr "" "eine :class:`EncodingWarning` ausgelöst, wenn die vom Gebietsschema " "abhängige Standardkodierung verwendet wird." -#: ../../using/cmdline.rst:1271 +#: ../../using/cmdline.rst:1273 msgid "See :ref:`io-encoding-warning` for details." msgstr "Einzelheiten unter :ref:`io-encoding-warning`." -#: ../../using/cmdline.rst:1277 +#: ../../using/cmdline.rst:1279 msgid "" "If this variable is set, it disables the inclusion of the tables mapping " "extra location information (end line, start column offset and end column " @@ -2271,7 +2274,7 @@ msgstr "" "Ortsmarkierungen unterdrückt werden sollen, mit denen der Interpreter " "Tracebacks anzeigt." -#: ../../using/cmdline.rst:1287 +#: ../../using/cmdline.rst:1289 msgid "" "If this variable is set to a nonzero value, it enables support for the Linux " "``perf`` profiler so Python calls can be detected by it." @@ -2280,13 +2283,13 @@ msgstr "" "Unterstützung für den Linux-Profiler ``perf`` ein, damit dieser Python-" "Aufrufe erkennen kann." -#: ../../using/cmdline.rst:1290 ../../using/cmdline.rst:1303 +#: ../../using/cmdline.rst:1292 ../../using/cmdline.rst:1305 msgid "If set to ``0``, disable Linux ``perf`` profiler support." msgstr "" "Auf ``0`` gesetzt, schaltet sie die Unterstützung für den Linux-Profiler " "``perf`` ab." -#: ../../using/cmdline.rst:1292 +#: ../../using/cmdline.rst:1294 msgid "" "See also the :option:`-X perf <-X>` command-line option " "and :ref:`perf_profiling`." @@ -2294,7 +2297,7 @@ msgstr "" "Siehe auch die Befehlszeilenoption :option:`-X perf <-X>` " "und :ref:`perf_profiling`." -#: ../../using/cmdline.rst:1299 +#: ../../using/cmdline.rst:1301 msgid "" "If this variable is set to a nonzero value, it enables support for the Linux " "``perf`` profiler so Python calls can be detected by it using DWARF " @@ -2304,7 +2307,7 @@ msgstr "" "Unterstützung für den Linux-Profiler ``perf`` ein, damit dieser Python-" "Aufrufe anhand von DWARF-Informationen erkennen kann." -#: ../../using/cmdline.rst:1305 +#: ../../using/cmdline.rst:1307 msgid "" "See also the :option:`-X perf_jit <-X>` command-line option " "and :ref:`perf_profiling`." @@ -2312,7 +2315,7 @@ msgstr "" "Siehe auch die Befehlszeilenoption :option:`-X perf_jit <-X>` " "und :ref:`perf_profiling`." -#: ../../using/cmdline.rst:1312 +#: ../../using/cmdline.rst:1314 msgid "" "If this variable is set to a non-empty string, it disables the remote " "debugging feature described in :pep:`768`. This includes both the " @@ -2325,11 +2328,11 @@ msgstr "" "einzuplanen, als auch die Möglichkeit, Code zur Ausführung im aktuellen " "Prozess zu empfangen." -#: ../../using/cmdline.rst:1317 +#: ../../using/cmdline.rst:1319 msgid "See also the :option:`-X disable-remote-debug` command-line option." msgstr "Siehe auch die Befehlszeilenoption :option:`-X disable-remote-debug`." -#: ../../using/cmdline.rst:1323 +#: ../../using/cmdline.rst:1325 msgid "" "If this variable is set to a positive integer, it overrides the return " "values of :func:`os.cpu_count` and :func:`os.process_cpu_count`." @@ -2337,11 +2340,11 @@ msgstr "" "Ist diese Variable auf eine positive Ganzzahl gesetzt, überschreibt sie die " "Rückgabewerte von :func:`os.cpu_count` und :func:`os.process_cpu_count`." -#: ../../using/cmdline.rst:1326 +#: ../../using/cmdline.rst:1328 msgid "See also the :option:`-X cpu_count <-X>` command-line option." msgstr "Siehe auch die Befehlszeilenoption :option:`-X cpu_count <-X>`." -#: ../../using/cmdline.rst:1332 +#: ../../using/cmdline.rst:1334 msgid "" "If this variable is set to ``on`` or ``off``, it determines whether or not " "frozen modules are ignored by the import machinery. A value of ``on`` means " @@ -2359,11 +2362,11 @@ msgstr "" "importlib_bootstrap` und :mod:`!importlib_bootstrap_external` immer " "verwendet werden, auch wenn dieser Schalter auf ``off`` steht." -#: ../../using/cmdline.rst:1340 +#: ../../using/cmdline.rst:1342 msgid "See also the :option:`-X frozen_modules <-X>` command-line option." msgstr "Siehe auch die Befehlszeilenoption :option:`-X frozen_modules <-X>`." -#: ../../using/cmdline.rst:1346 +#: ../../using/cmdline.rst:1348 msgid "" "If this variable is set to ``1``, the interpreter will colorize various " "kinds of output. Setting it to ``0`` deactivates this behavior. See " @@ -2373,7 +2376,7 @@ msgstr "" "Arten von Ausgaben ein. Auf ``0`` gesetzt, schaltet sie dieses Verhalten ab. " "Siehe auch :ref:`using-on-controlling-color`." -#: ../../using/cmdline.rst:1354 +#: ../../using/cmdline.rst:1356 msgid "" "If this variable is set to any value, the interpreter will not attempt to " "load the Python-based :term:`REPL` that requires :mod:`readline`, and will " @@ -2384,7 +2387,7 @@ msgstr "" "die :mod:`readline` benötigt, und verwendet stattdessen die herkömmliche " "parserbasierte :term:`REPL`." -#: ../../using/cmdline.rst:1362 +#: ../../using/cmdline.rst:1364 msgid "" "If this variable is set to any value, PyREPL will use :mod:`rlcompleter` to " "implement tab completion, instead of the default one which uses colors." @@ -2393,7 +2396,7 @@ msgstr "" "die Tabulator-Vervollständigung :mod:`rlcompleter` anstelle der " "Standardvervollständigung, die Farben verwendet." -#: ../../using/cmdline.rst:1369 +#: ../../using/cmdline.rst:1371 msgid "" "This environment variable can be used to set the location of a " "``.python_history`` file (by default, it is ``.python_history`` in the " @@ -2403,7 +2406,7 @@ msgstr "" "``.python_history`` festlegen (standardmäßig ist es ``.python_history`` im " "Benutzerverzeichnis)." -#: ../../using/cmdline.rst:1377 +#: ../../using/cmdline.rst:1379 msgid "" "If this variable is set to ``1``, the global interpreter lock (GIL) will be " "forced on. Setting it to ``0`` forces the GIL off (needs Python configured " @@ -2414,7 +2417,7 @@ msgstr "" "abgeschaltet ist (erfordert ein Python, das mit der Build-Option :option:`--" "disable-gil` konfiguriert ist)." -#: ../../using/cmdline.rst:1381 +#: ../../using/cmdline.rst:1383 msgid "" "See also the :option:`-X gil <-X>` command-line option, which takes " "precedence over this variable, and :ref:`whatsnew313-free-threaded-cpython`." @@ -2422,7 +2425,7 @@ msgstr "" "Siehe auch die Befehlszeilenoption :option:`-X gil <-X>`, die Vorrang vor " "dieser Variable hat, sowie :ref:`whatsnew313-free-threaded-cpython`." -#: ../../using/cmdline.rst:1388 +#: ../../using/cmdline.rst:1390 msgid "" "If this variable is set to ``1`` then :class:`~threading.Thread` will, by " "default, use a copy of context of the caller of ``Thread.start()`` when " @@ -2437,7 +2440,7 @@ msgstr "" "bei Free-Threaded-Builds und sonst ``0``. Siehe auch :option:`-X " "thread_inherit_context<-X>`." -#: ../../using/cmdline.rst:1398 +#: ../../using/cmdline.rst:1400 msgid "" "If set to ``1`` then the :class:`warnings.catch_warnings` context manager " "will use a :class:`~contextvars.ContextVar` to store warnings filter state. " @@ -2451,7 +2454,7 @@ msgstr "" "bei Free-Threaded-Builds und sonst ``0``. Siehe :option:`-X " "context_aware_warnings<-X>`." -#: ../../using/cmdline.rst:1408 +#: ../../using/cmdline.rst:1410 msgid "" "If true (``1``) then :ref:`sys-path-init` is allowed to log warnings into " "stderr. If false (``0``) suppress these warnings. Set to true by default. " @@ -2461,7 +2464,7 @@ msgstr "" "schreiben. Ist sie falsch (``0``), werden diese Warnungen unterdrückt. " "Standardmäßig ist sie wahr. Siehe auch :option:`-X pathconfig_warnings<-X>`." -#: ../../using/cmdline.rst:1416 +#: ../../using/cmdline.rst:1418 msgid "" "On builds where experimental just-in-time compilation is available, this " "variable can force the JIT to be disabled (``0``) or enabled (``1``) at " @@ -2471,7 +2474,7 @@ msgstr "" "ist, kann diese Variable den JIT beim Start des Interpreters erzwungen " "abschalten (``0``) oder einschalten (``1``)." -#: ../../using/cmdline.rst:1424 +#: ../../using/cmdline.rst:1426 msgid "" "If set to ``1`` enables thread-local bytecode. If set to ``0`` thread-local " "bytecode and the specializing interpreter are disabled. Only applies to " @@ -2482,29 +2485,31 @@ msgstr "" "abgeschaltet. Gilt nur für Builds, die mit :option:`--disable-gil` " "konfiguriert sind." -#: ../../using/cmdline.rst:1428 +#: ../../using/cmdline.rst:1430 msgid "See also the :option:`-X tlbc <-X>` command-line option." msgstr "Siehe auch die Befehlszeilenoption :option:`-X tlbc <-X>`." -#: ../../using/cmdline.rst:1434 +#: ../../using/cmdline.rst:1436 +#, fuzzy msgid "" -"Controls lazy import behavior. Accepts two values: ``all`` makes all imports " -"lazy by default, and ``normal`` (the default) respects the ``lazy`` keyword " -"in source code." +"Control lazy import behavior. The variable accepts two values. ``all`` makes " +"eligible module-scope imports lazy by default. ``normal`` (the default) " +"respects :keyword:`lazy` and :attr:`module.__lazy_modules__`. The :ref:`lazy " +"import restrictions ` apply in both modes." msgstr "" "Steuert das Verhalten beim verzögerten Import. Akzeptiert zwei Werte: " "``all`` macht standardmäßig alle Importe verzögert, ``normal`` (der " "Standard) beachtet das Schlüsselwort ``lazy`` im Quelltext." -#: ../../using/cmdline.rst:1438 +#: ../../using/cmdline.rst:1442 msgid "See also the :option:`-X lazy_imports <-X>` command-line option." msgstr "Siehe auch die Befehlszeilenoption :option:`-X lazy_imports <-X>`." -#: ../../using/cmdline.rst:1443 +#: ../../using/cmdline.rst:1447 msgid "Debug-mode variables" msgstr "Variablen für den Debug-Modus" -#: ../../using/cmdline.rst:1447 +#: ../../using/cmdline.rst:1451 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter." @@ -2512,14 +2517,14 @@ msgstr "" "Ist sie gesetzt, gibt Python Objekte und Referenzzähler aus, die nach dem " "Herunterfahren des Interpreters noch leben." -#: ../../using/cmdline.rst:1450 ../../using/cmdline.rst:1458 +#: ../../using/cmdline.rst:1454 ../../using/cmdline.rst:1462 msgid "" "Needs Python configured with the :option:`--with-trace-refs` build option." msgstr "" "Erfordert ein Python, das mit der Build-Option :option:`--with-trace-refs` " "konfiguriert ist." -#: ../../using/cmdline.rst:1454 +#: ../../using/cmdline.rst:1458 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter into a file under the path given as the value " @@ -2529,7 +2534,7 @@ msgstr "" "Herunterfahren des Interpreters noch leben, in eine Datei unter dem Pfad " "aus, der als Wert dieser Umgebungsvariable angegeben ist." -#: ../../using/cmdline.rst:1464 +#: ../../using/cmdline.rst:1468 msgid "" "If this variable is set to a module, that module will be imported early in " "the interpreter lifecycle, before the :mod:`site` module is executed, and " @@ -2541,12 +2546,12 @@ msgstr "" "ausgeführt wird und bevor das Modul :mod:`__main__` erzeugt wird. Das " "importierte Modul wird deshalb nicht als :mod:`__main__` behandelt." -#: ../../using/cmdline.rst:1469 +#: ../../using/cmdline.rst:1473 msgid "This can be used to execute code early during Python initialization." msgstr "" "Damit lässt sich früh während der Python-Initialisierung Code ausführen." -#: ../../using/cmdline.rst:1471 +#: ../../using/cmdline.rst:1475 msgid "" "To import a submodule, use ``package.module`` as the value, like in an " "import statement." @@ -2554,7 +2559,7 @@ msgstr "" "Um ein Untermodul zu importieren, verwende ``package.module`` als Wert, wie " "in einer import-Anweisung." -#: ../../using/cmdline.rst:1474 +#: ../../using/cmdline.rst:1478 msgid "" "See also the :option:`-X presite <-X>` command-line option, which takes " "precedence over this variable." @@ -2562,7 +2567,7 @@ msgstr "" "Siehe auch die Befehlszeilenoption :option:`-X presite <-X>`, die Vorrang " "vor dieser Variable hat." -#: ../../using/cmdline.rst:1477 +#: ../../using/cmdline.rst:1481 msgid "Needs Python configured with the :option:`--with-pydebug` build option." msgstr "" "Erfordert ein Python, das mit der Build-Option :option:`--with-pydebug` " diff --git a/using/ios.po b/using/ios.po index 95953357..65da904d 100644 --- a/using/ios.po +++ b/using/ios.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-10 19:30+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -510,9 +510,10 @@ msgstr "" "„Based on dependency analysis“ ab und setze den Inhalt des Skripts auf:" #: ../../using/ios.rst:219 +#, fuzzy msgid "" "set -e\n" -"source $PROJECT_DIR/Python.xcframework/build/build_utils.sh\n" +"source \"$PROJECT_DIR/Python.xcframework/build/utils.sh\"\n" "install_python Python.xcframework app" msgstr "" "set -e\n" diff --git a/using/windows.po b/using/windows.po index bcd59298..0fa74e13 100644 --- a/using/windows.po +++ b/using/windows.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-01 00:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-11-01 16:00+0100\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -366,13 +366,15 @@ msgstr "" "$> py -V:3-arm64 ..." #: ../../using/windows.rst:164 +#, fuzzy msgid "" "Runtimes from other distributors may require the *company* to be included as " "well. It should be separated from the tag by a slash (either ``/`` or " "``\\``), and may be shortened to any prefix of its full value. Specifying " "the company is optional when it is ``PythonCore``, and specifying the tag is " "optional (but not the slash) when you want the latest release from a " -"specific company." +"specific company. For more details about how tags are matched, " +"see :ref:`pymanager-tag-matching`." msgstr "" "Bei Runtimes anderer Distributoren muss möglicherweise auch die *Company* " "angegeben werden. Sie wird vom Tag durch einen Schrägstrich getrennt " @@ -382,7 +384,7 @@ msgstr "" "die des Schrägstrichs), wenn du die neueste Veröffentlichung einer " "bestimmten Company möchtest." -#: ../../using/windows.rst:172 +#: ../../using/windows.rst:173 msgid "" "$> py -V:Distributor\\1.0 ...\n" "$> py -V:distrib/ ..." @@ -390,7 +392,7 @@ msgstr "" "$> py -V:Distributor\\1.0 ...\n" "$> py -V:distrib/ ..." -#: ../../using/windows.rst:177 +#: ../../using/windows.rst:178 msgid "" "If no version is specified, but a script file is passed, the script will be " "inspected for a *shebang line*. This is a special format for the first line " @@ -405,7 +407,7 @@ msgstr "" "oder lässt sie sich nicht auflösen, wird das Skript mit der Standard-Runtime " "gestartet." -#: ../../using/windows.rst:183 +#: ../../using/windows.rst:184 msgid "" "If you are running in an active virtual environment, have not requested a " "particular version, and there is no shebang line, the default runtime will " @@ -420,7 +422,7 @@ msgstr "" "stattgefunden. Dieses Verhalten stellt aber sicher, dass der Befehl ``py`` " "gleichwertig verwendet werden kann." -#: ../../using/windows.rst:189 +#: ../../using/windows.rst:190 msgid "" "When no runtimes are installed, any launch command will try to install the " "requested version and launch it. However, after any version is installed, " @@ -434,11 +436,11 @@ msgstr "" "und ``pymanager exec ...`` eine fehlende Version. Andere Befehlsformen " "zeigen einen Fehler an und verweisen dich auf ``py install``." -#: ../../using/windows.rst:197 +#: ../../using/windows.rst:198 msgid "Command help" msgstr "Hilfe zu den Befehlen" -#: ../../using/windows.rst:199 +#: ../../using/windows.rst:200 msgid "" "The ``py help`` command will display the full list of supported commands, " "along with their options. Any command may be passed the ``-?`` option to " @@ -448,7 +450,7 @@ msgstr "" "Befehle samt ihrer Optionen an. Jedem Befehl lässt sich die Option ``-?`` " "übergeben, um seine Hilfe anzuzeigen, oder sein Name an ``py help``." -#: ../../using/windows.rst:203 +#: ../../using/windows.rst:204 msgid "" "$> py help\n" "$> py help install\n" @@ -458,7 +460,7 @@ msgstr "" "$> py help install\n" "$> py install /?" -#: ../../using/windows.rst:210 +#: ../../using/windows.rst:211 msgid "" "All commands support some common options, which will be shown by ``py " "help``. These options must be specified after any subcommand. Specifying ``-" @@ -472,7 +474,7 @@ msgstr "" "Zwecken der Fehlersuche noch mehr. Mit ``-q`` oder ``--quiet`` wird weniger " "ausgegeben, mit ``-qq`` noch weniger." -#: ../../using/windows.rst:216 +#: ../../using/windows.rst:217 msgid "" "The ``--config=`` option allows specifying a configuration file to " "override multiple settings at once. See :ref:`pymanager-config` below for " @@ -482,11 +484,11 @@ msgstr "" "angeben, die mehrere Einstellungen auf einmal überschreibt. Mehr über diese " "Dateien steht unter :ref:`pymanager-config` weiter unten." -#: ../../using/windows.rst:222 +#: ../../using/windows.rst:223 msgid "Listing runtimes" msgstr "Runtimes auflisten" -#: ../../using/windows.rst:224 +#: ../../using/windows.rst:225 msgid "" "$> py list [-f=|--format=] [-1|--one] [--online|-s=|--source=] " "[...]" @@ -494,7 +496,7 @@ msgstr "" "$> py list [-f=|--format=] [-1|--one] [--online|-s=|--source=] " "[...]" -#: ../../using/windows.rst:228 +#: ../../using/windows.rst:229 msgid "" "The list of installed runtimes can be seen using ``py list``. A filter may " "be added in the form of one or more tags (with or without company " @@ -506,7 +508,7 @@ msgstr "" "darf ein Präfix ``<``, ``<=``, ``>=`` oder ``>`` tragen, um auf einen " "Bereich einzuschränken." -#: ../../using/windows.rst:232 +#: ../../using/windows.rst:233 msgid "" "A range of formats are supported, and can be passed as the ``--" "format=`` or ``-f `` option. Formats include ``table`` (a user-" @@ -521,7 +523,7 @@ msgstr "" "Ergebnis), ``exe`` (nur der Pfad zur ausführbaren Datei) und ``prefix`` (nur " "der Präfixpfad)." -#: ../../using/windows.rst:238 +#: ../../using/windows.rst:239 msgid "" "The ``--one`` or ``-1`` option only displays a single result. If the default " "runtime is included, it will be the one. Otherwise, the \"best\" result is " @@ -535,7 +537,7 @@ msgstr "" "meint aber meist die neueste Version). Das von ``py list --one `` " "gezeigte Ergebnis entspricht der Runtime, die ``py -V:`` starten würde." -#: ../../using/windows.rst:244 +#: ../../using/windows.rst:245 msgid "" "The ``--only-managed`` option excludes results that were not installed by " "the Python install manager. This is useful when determining which runtimes " @@ -546,7 +548,7 @@ msgstr "" "welche Runtimes sich über den Befehl ``py`` aktualisieren oder " "deinstallieren lassen." -#: ../../using/windows.rst:248 +#: ../../using/windows.rst:249 msgid "" "The ``--online`` option is short for passing ``--source=`` with the " "default source. Passing either of these options will search the online index " @@ -560,11 +562,11 @@ msgstr "" "online --one `` gezeigte Ergebnis entspricht der Runtime, die ``py " "install `` installieren würde." -#: ../../using/windows.rst:255 +#: ../../using/windows.rst:256 msgid "$> py list --online |version|" msgstr "$> py list --online |version|" -#: ../../using/windows.rst:257 +#: ../../using/windows.rst:258 msgid "" "For compatibility with the old launcher, the ``--list``, ``--list-paths``, " "``-0`` and ``-0p`` commands (for example, ``py -0p``) are retained. They do " @@ -575,11 +577,11 @@ msgstr "" "erlauben keine zusätzlichen Optionen und erzeugen eine Ausgabe im alten " "Format." -#: ../../using/windows.rst:263 +#: ../../using/windows.rst:264 msgid "Installing runtimes" msgstr "Runtimes installieren" -#: ../../using/windows.rst:265 +#: ../../using/windows.rst:266 msgid "" "$> py install [-s=|--source=] [-f|--force] [-u|--update] [--dry-run] " "[...]" @@ -587,7 +589,7 @@ msgstr "" "$> py install [-s=|--source=] [-f|--force] [-u|--update] [--dry-run] " "[...]" -#: ../../using/windows.rst:269 +#: ../../using/windows.rst:270 msgid "" "New runtime versions may be added using ``py install``. One or more tags may " "be specified, and the special tag ``default`` may be used to select the " @@ -598,7 +600,7 @@ msgstr "" "``default`` lässt sich die Standardversion auswählen. Bereiche werden bei " "der Installation nicht unterstützt." -#: ../../using/windows.rst:273 +#: ../../using/windows.rst:274 msgid "" "CPython publishes multiple runtime variants. For most users, ``PythonCore`` " "is recommended and provides the standard CPython runtime. Tags without any " @@ -608,7 +610,7 @@ msgstr "" "wird ``PythonCore`` empfohlen, das die übliche CPython-Runtime bereitstellt. " "Tags ohne Präfix werden als ``PythonCore\\`` behandelt." -#: ../../using/windows.rst:277 +#: ../../using/windows.rst:278 msgid "" "``PythonTest`` includes the standard runtime together with the test suite " "and debugging symbols. It is intended for contributors or users who need " @@ -618,7 +620,7 @@ msgstr "" "Symbolen. Es ist für Mitwirkende oder Benutzer gedacht, die diese " "zusätzlichen Dateien zum Testen oder Debuggen von Python brauchen." -#: ../../using/windows.rst:281 +#: ../../using/windows.rst:282 msgid "" "``PythonEmbed`` provides a minimal embeddable distribution for applications " "that bundle Python rather than for interactive use. It would normally be " @@ -629,15 +631,15 @@ msgstr "" "Verwendung. Normalerweise wird sie mit der weiter unten beschriebenen Option " "``--target`` verwendet." -#: ../../using/windows.rst:285 +#: ../../using/windows.rst:286 msgid "To see the available runtime variants, run::" msgstr "Um die verfügbaren Runtime-Varianten zu sehen, führe aus::" -#: ../../using/windows.rst:287 +#: ../../using/windows.rst:288 msgid "py list --online" msgstr "py list --online" -#: ../../using/windows.rst:289 +#: ../../using/windows.rst:290 msgid "" "To install a specific variant, include it in the tag passed to ``py " "install``:" @@ -645,11 +647,11 @@ msgstr "" "Um eine bestimmte Variante zu installieren, nimm sie in das Tag auf, das du " "``py install`` übergibst:" -#: ../../using/windows.rst:294 +#: ../../using/windows.rst:295 msgid "py install PythonTest\\\\\\ |version|" msgstr "py install PythonTest\\\\\\ |version|" -#: ../../using/windows.rst:296 +#: ../../using/windows.rst:297 msgid "" "The ``--source=`` option allows overriding the online index that is " "used to obtain runtimes. This may be used with an offline index, as shown " @@ -659,7 +661,7 @@ msgstr "" "aus dem die Runtimes bezogen werden. Das kann mit einem Offline-Index " "verwendet werden, wie unter :ref:`pymanager-offline` gezeigt." -#: ../../using/windows.rst:300 +#: ../../using/windows.rst:301 msgid "" "Passing ``--force`` will ignore any cached files and remove any existing " "install to replace it with the specified one." @@ -667,7 +669,7 @@ msgstr "" "Mit ``--force`` werden zwischengespeicherte Dateien ignoriert und eine " "vorhandene Installation entfernt, um sie durch die angegebene zu ersetzen." -#: ../../using/windows.rst:303 +#: ../../using/windows.rst:304 msgid "" "Passing ``--update`` will replace existing installs if the new version is " "newer. Otherwise, they will be left. If no tags are provided with ``--" @@ -685,7 +687,7 @@ msgstr "" "installierte Pakete, lassen aber die Verzeichnisse ``site-packages`` und " "``Scripts`` unverändert. Virtuelle Umgebungen sind ebenfalls nicht betroffen." -#: ../../using/windows.rst:310 +#: ../../using/windows.rst:311 msgid "" "Passing ``--dry-run`` will generate output and logs, but will not modify any " "installs." @@ -693,7 +695,7 @@ msgstr "" "Mit ``--dry-run`` werden Ausgaben und Protokolle erzeugt, aber keine " "Installationen verändert." -#: ../../using/windows.rst:313 +#: ../../using/windows.rst:314 msgid "" "Passing ``--refresh`` will update all registrations for installed runtimes. " "This will recreate Start menu shortcuts, registry keys, and global aliases " @@ -708,7 +710,7 @@ msgstr "" "geschieht das automatisch, nach dem Installieren von Paketen kann es aber " "nötig sein, es von Hand anzustoßen." -#: ../../using/windows.rst:319 +#: ../../using/windows.rst:320 msgid "" "In addition to the above options, the ``--target`` option will extract the " "runtime to the specified directory instead of doing a normal install. This " @@ -726,11 +728,11 @@ msgstr "" "Um die Runtime zu starten, führe die Hauptdatei (üblicherweise " "``python.exe``) im Zielverzeichnis direkt aus." -#: ../../using/windows.rst:327 +#: ../../using/windows.rst:328 msgid "$> py install ... [-t=|--target=] " msgstr "$> py install ... [-t=|--target=] " -#: ../../using/windows.rst:331 +#: ../../using/windows.rst:332 msgid "" "The ``py exec`` command will install the requested runtime if it is not " "already present. This is controlled by the ``automatic_install`` " @@ -750,11 +752,11 @@ msgstr "" "sondern den Befehl ``py exec`` oder ausdrückliche Installationsbefehle " "verwenden." -#: ../../using/windows.rst:343 +#: ../../using/windows.rst:344 msgid "Offline installs" msgstr "Offline-Installationen" -#: ../../using/windows.rst:345 +#: ../../using/windows.rst:346 msgid "" "To perform offline installs of Python, you will need to first create an " "offline index on a machine that has network access." @@ -762,11 +764,11 @@ msgstr "" "Um Python offline zu installieren, musst du zunächst auf einem Rechner mit " "Netzzugang einen Offline-Index anlegen." -#: ../../using/windows.rst:348 +#: ../../using/windows.rst:349 msgid "$> py install --download= ... ..." msgstr "$> py install --download= ... ..." -#: ../../using/windows.rst:352 +#: ../../using/windows.rst:353 msgid "" "The ``--download=`` option will download the packages for the listed " "tags and create a directory containing them and an ``index.json`` file " @@ -779,11 +781,11 @@ msgstr "" "Verzeichnis lässt sich auf den Rechner ohne Netzzugang übertragen und dort " "verwenden, um eine oder mehrere der mitgelieferten Runtimes zu installieren:" -#: ../../using/windows.rst:357 +#: ../../using/windows.rst:358 msgid "$> py install --source=\"\\index.json\" ..." msgstr "$> py install --source=\"\\index.json\" ..." -#: ../../using/windows.rst:361 +#: ../../using/windows.rst:362 msgid "" "The Python install manager can be installed by downloading its installer and " "moving it to another machine before installing." @@ -792,7 +794,7 @@ msgstr "" "Installationsprogramm herunterlädst und vor der Installation auf einen " "anderen Rechner überträgst." -#: ../../using/windows.rst:364 +#: ../../using/windows.rst:365 msgid "" "Alternatively, the ZIP files in an offline index directory can simply be " "transferred to another machine and extracted. This will not register the " @@ -808,7 +810,7 @@ msgstr "" "dieses Vorgehen aber vorzuziehen, etwa wenn sich der Python Install Manager " "nicht installieren lässt oder das unpraktisch ist." -#: ../../using/windows.rst:370 +#: ../../using/windows.rst:371 msgid "" "In this way, Python runtimes can be installed and managed on a machine " "without access to the internet." @@ -816,15 +818,15 @@ msgstr "" "So lassen sich Python-Runtimes auf einem Rechner ohne Internetzugang " "installieren und verwalten." -#: ../../using/windows.rst:375 +#: ../../using/windows.rst:376 msgid "Uninstalling runtimes" msgstr "Runtimes deinstallieren" -#: ../../using/windows.rst:377 +#: ../../using/windows.rst:378 msgid "$> py uninstall [-y|--yes] ..." msgstr "$> py uninstall [-y|--yes] ..." -#: ../../using/windows.rst:381 +#: ../../using/windows.rst:382 msgid "" "Runtimes may be removed using the ``py uninstall`` command. One or more tags " "must be specified. Ranges are not supported here." @@ -833,13 +835,13 @@ msgstr "" "ein oder mehrere Tags angegeben werden. Bereiche werden hier nicht " "unterstützt." -#: ../../using/windows.rst:384 +#: ../../using/windows.rst:385 msgid "" "The ``--yes`` option bypasses the confirmation prompt before uninstalling." msgstr "" "Die Option ``--yes`` übergeht die Bestätigungsabfrage vor dem Deinstallieren." -#: ../../using/windows.rst:386 +#: ../../using/windows.rst:387 msgid "" "Instead of passing tags individually, the ``--purge`` option may be " "specified. This will remove all runtimes managed by the Python install " @@ -853,11 +855,11 @@ msgstr "" "auf. Runtimes, die nicht vom Python Install Manager installiert wurden, " "bleiben unberührt, ebenso von Hand angelegte Konfigurationsdateien." -#: ../../using/windows.rst:392 +#: ../../using/windows.rst:393 msgid "$> py uninstall [-y|--yes] --purge" msgstr "$> py uninstall [-y|--yes] --purge" -#: ../../using/windows.rst:396 +#: ../../using/windows.rst:397 msgid "" "The Python install manager can be uninstalled through the Windows " "\"Installed apps\" settings page. This does not remove any runtimes, and " @@ -874,11 +876,11 @@ msgstr "" "Runtimes vollständig aufzuräumen, rufe vor dem Deinstallieren des Python " "Install Managers ``--purge`` auf." -#: ../../using/windows.rst:406 +#: ../../using/windows.rst:407 msgid "Configuration" msgstr "Konfiguration" -#: ../../using/windows.rst:408 +#: ../../using/windows.rst:409 msgid "" "Python install manager is configured with a hierarchy of configuration " "files, environment variables, command-line options, and registry settings. " @@ -896,7 +898,7 @@ msgstr "" "Befehlszeilenoptionen überschreiben alle anderen Einstellungen, es ist aber " "nicht jede Option verfügbar." -#: ../../using/windows.rst:415 +#: ../../using/windows.rst:416 msgid "" "This section will describe the defaults, but be aware that modified or " "overridden installs may resolve settings differently." @@ -904,7 +906,7 @@ msgstr "" "Dieser Abschnitt beschreibt die Vorgabewerte. Bedenke aber, dass veränderte " "oder überschriebene Installationen Einstellungen anders auflösen können." -#: ../../using/windows.rst:418 +#: ../../using/windows.rst:419 msgid "" "A global configuration file may be configured by an :ref:`administrator " "` and would be read first. The user configuration " @@ -926,7 +928,7 @@ msgstr "" "lassen sich über die weiter unten aufgeführten administrativen " "Anpassungsoptionen verändern." -#: ../../using/windows.rst:429 +#: ../../using/windows.rst:430 msgid "" "The following settings are those that are considered likely to be modified " "in normal use. Later sections list those that are intended for " @@ -936,29 +938,29 @@ msgstr "" "wahrscheinlich verändert werden. Spätere Abschnitte führen jene auf, die für " "administrative Anpassungen gedacht sind." -#: ../../using/windows.rst:437 +#: ../../using/windows.rst:438 msgid "Standard configuration options" msgstr "Übliche Konfigurationsoptionen" -#: ../../using/windows.rst:441 ../../using/windows.rst:778 +#: ../../using/windows.rst:442 ../../using/windows.rst:779 msgid "Config Key" msgstr "Konfigurationsschlüssel" -#: ../../using/windows.rst:442 +#: ../../using/windows.rst:443 msgid "Environment Variable" msgstr "Umgebungsvariable" -#: ../../using/windows.rst:443 ../../using/windows.rst:779 -#: ../../using/windows.rst:1653 ../../using/windows.rst:1673 -#: ../../using/windows.rst:2263 +#: ../../using/windows.rst:444 ../../using/windows.rst:780 +#: ../../using/windows.rst:1793 ../../using/windows.rst:1813 +#: ../../using/windows.rst:2403 msgid "Description" msgstr "Beschreibung" -#: ../../using/windows.rst:445 +#: ../../using/windows.rst:446 msgid "``default_tag``" msgstr "``default_tag``" -#: ../../using/windows.rst:447 +#: ../../using/windows.rst:448 msgid "" "The preferred default version to launch or install. By default, this is " "interpreted as the most recent non-prerelease version from the CPython team." @@ -967,15 +969,15 @@ msgstr "" "wird darunter die neueste Version des CPython-Teams verstanden, die keine " "Vorabversion ist." -#: ../../using/windows.rst:451 +#: ../../using/windows.rst:452 msgid "``default_platform``" msgstr "``default_platform``" -#: ../../using/windows.rst:452 +#: ../../using/windows.rst:453 msgid "``PYTHON_MANAGER_DEFAULT_PLATFORM``" msgstr "``PYTHON_MANAGER_DEFAULT_PLATFORM``" -#: ../../using/windows.rst:453 +#: ../../using/windows.rst:454 msgid "" "The preferred default platform to launch or install. This is treated as a " "suffix to the specified tag, such that |py_v_x_dot_y_literal| would prefer " @@ -988,25 +990,25 @@ msgstr "" "ist (und ``default_platform`` den Wert ``-64`` hat), aber |x_dot_y_literal| " "verwendet, wenn es keine so gekennzeichnete Installation gibt." -#: ../../using/windows.rst:459 +#: ../../using/windows.rst:460 msgid "``logs_dir``" msgstr "``logs_dir``" -#: ../../using/windows.rst:460 +#: ../../using/windows.rst:461 msgid "``PYTHON_MANAGER_LOGS``" msgstr "``PYTHON_MANAGER_LOGS``" -#: ../../using/windows.rst:461 +#: ../../using/windows.rst:462 msgid "The location where log files are written. By default, :file:`%TEMP%`." msgstr "" "Der Ort, an den Protokolldateien geschrieben werden. " "Standardmäßig :file:`%TEMP%`." -#: ../../using/windows.rst:464 +#: ../../using/windows.rst:465 msgid "``automatic_install``" msgstr "``automatic_install``" -#: ../../using/windows.rst:466 +#: ../../using/windows.rst:467 msgid "" "True to allow automatic installs when using ``py exec`` to launch (or ``py`` " "when no runtimes are installed yet). Other commands will not automatically " @@ -1017,15 +1019,15 @@ msgstr "" "Andere Befehle installieren unabhängig von dieser Einstellung nicht " "automatisch. Standardmäßig true." -#: ../../using/windows.rst:472 +#: ../../using/windows.rst:473 msgid "``include_unmanaged``" msgstr "``include_unmanaged``" -#: ../../using/windows.rst:473 +#: ../../using/windows.rst:474 msgid "``PYTHON_MANAGER_INCLUDE_UNMANAGED``" msgstr "``PYTHON_MANAGER_INCLUDE_UNMANAGED``" -#: ../../using/windows.rst:474 +#: ../../using/windows.rst:475 msgid "" "True to allow listing and launching runtimes that were not installed by the " "Python install manager, or false to exclude them. By default, true." @@ -1034,15 +1036,15 @@ msgstr "" "Manager installiert wurden, oder false, um sie auszuschließen. Standardmäßig " "true." -#: ../../using/windows.rst:478 +#: ../../using/windows.rst:479 msgid "``shebang_can_run_anything``" msgstr "``shebang_can_run_anything``" -#: ../../using/windows.rst:479 +#: ../../using/windows.rst:480 msgid "``PYTHON_MANAGER_SHEBANG_CAN_RUN_ANYTHING``" msgstr "``PYTHON_MANAGER_SHEBANG_CAN_RUN_ANYTHING``" -#: ../../using/windows.rst:480 +#: ../../using/windows.rst:481 msgid "" "True to allow shebangs in ``.py`` files to launch applications other than " "Python runtimes, or false to prevent it. By default, true." @@ -1051,17 +1053,17 @@ msgstr "" "Runtimes starten zu lassen, oder false, um das zu verhindern. Standardmäßig " "true." -#: ../../using/windows.rst:484 +#: ../../using/windows.rst:485 msgid "``shebang_templates``" msgstr "``shebang_templates``" -#: ../../using/windows.rst:485 ../../using/windows.rst:509 -#: ../../using/windows.rst:522 ../../using/windows.rst:528 -#: ../../using/windows.rst:535 +#: ../../using/windows.rst:486 ../../using/windows.rst:510 +#: ../../using/windows.rst:523 ../../using/windows.rst:529 +#: ../../using/windows.rst:536 msgid "(none)" msgstr "(keine)" -#: ../../using/windows.rst:486 +#: ../../using/windows.rst:487 msgid "" "Mapping from shebang line template to alternative command, such as ``py -V:" "`` or a substitute string. See :ref:`pymanager-shebang` for more " @@ -1071,15 +1073,15 @@ msgstr "" "``py -V:``, oder zu einer Ersetzungszeichenkette. Mehr dazu " "unter :ref:`pymanager-shebang`." -#: ../../using/windows.rst:490 +#: ../../using/windows.rst:491 msgid "``log_level``" msgstr "``log_level``" -#: ../../using/windows.rst:491 +#: ../../using/windows.rst:492 msgid "``PYMANAGER_VERBOSE``, ``PYMANAGER_DEBUG``" msgstr "``PYMANAGER_VERBOSE``, ``PYMANAGER_DEBUG``" -#: ../../using/windows.rst:492 +#: ../../using/windows.rst:493 msgid "" "Set the default level of output (0-50). By default, 20. Lower values produce " "more output. The environment variables are boolean, and may produce " @@ -1091,15 +1093,15 @@ msgstr "" "während des Starts zusätzliche Ausgaben erzeugen, die später von anderen " "Konfigurationen unterdrückt werden." -#: ../../using/windows.rst:498 +#: ../../using/windows.rst:499 msgid "``confirm``" msgstr "``confirm``" -#: ../../using/windows.rst:499 +#: ../../using/windows.rst:500 msgid "``PYTHON_MANAGER_CONFIRM``" msgstr "``PYTHON_MANAGER_CONFIRM``" -#: ../../using/windows.rst:500 +#: ../../using/windows.rst:501 msgid "" "True to confirm certain actions before taking them (such as uninstall), or " "false to skip the confirmation. By default, true." @@ -1108,24 +1110,24 @@ msgstr "" "bestätigen, oder false, um die Bestätigung zu überspringen. Standardmäßig " "true." -#: ../../using/windows.rst:504 +#: ../../using/windows.rst:505 msgid "``install.source``" msgstr "``install.source``" -#: ../../using/windows.rst:505 +#: ../../using/windows.rst:506 msgid "``PYTHON_MANAGER_SOURCE_URL``" msgstr "``PYTHON_MANAGER_SOURCE_URL``" -#: ../../using/windows.rst:506 +#: ../../using/windows.rst:507 msgid "Override the index feed to obtain new installs from." msgstr "" "Überschreibt den Index-Feed, von dem neue Installationen bezogen werden." -#: ../../using/windows.rst:508 +#: ../../using/windows.rst:509 msgid "``install.enable_entrypoints``" msgstr "``install.enable_entrypoints``" -#: ../../using/windows.rst:510 +#: ../../using/windows.rst:511 msgid "" "True to generate global commands for installed packages (such as " "``pip.exe``). These are defined by the packages themselves. If set to false, " @@ -1138,15 +1140,15 @@ msgstr "" "angelegt. Standardmäßig true. Nach einer Änderung dieser Einstellung " "solltest du ``py install --refresh`` ausführen." -#: ../../using/windows.rst:516 +#: ../../using/windows.rst:517 msgid "``list.format``" msgstr "``list.format``" -#: ../../using/windows.rst:517 +#: ../../using/windows.rst:518 msgid "``PYTHON_MANAGER_LIST_FORMAT``" msgstr "``PYTHON_MANAGER_LIST_FORMAT``" -#: ../../using/windows.rst:518 +#: ../../using/windows.rst:519 msgid "" "Specify the default format used by the ``py list`` command. By default, " "``table``." @@ -1154,11 +1156,11 @@ msgstr "" "Legt das Standardformat des Befehls ``py list`` fest. Standardmäßig " "``table``." -#: ../../using/windows.rst:521 +#: ../../using/windows.rst:522 msgid "``install_dir``" msgstr "``install_dir``" -#: ../../using/windows.rst:523 +#: ../../using/windows.rst:524 msgid "" "Specify the root directory that runtimes will be installed into. If you " "change this setting, previously installed runtimes will not be usable unless " @@ -1168,11 +1170,11 @@ msgstr "" "diese Einstellung änderst, sind zuvor installierte Runtimes nicht mehr " "verwendbar, sofern du sie nicht an den neuen Ort verschiebst." -#: ../../using/windows.rst:527 +#: ../../using/windows.rst:528 msgid "``global_dir``" msgstr "``global_dir``" -#: ../../using/windows.rst:529 +#: ../../using/windows.rst:530 msgid "" "Specify the directory where global commands (such as |" "python_x_dot_y_exe_literal| and ``pip.exe``) are stored. This directory " @@ -1184,11 +1186,11 @@ msgstr "" "Verzeichnis sollte zu deinem :envvar:`PATH` hinzugefügt werden, damit die " "Befehle im Terminal verfügbar sind." -#: ../../using/windows.rst:534 +#: ../../using/windows.rst:535 msgid "``download_dir``" msgstr "``download_dir``" -#: ../../using/windows.rst:536 +#: ../../using/windows.rst:537 msgid "" "Specify the directory where downloaded files are stored. This directory is a " "temporary cache, and can be cleaned up from time to time." @@ -1197,7 +1199,7 @@ msgstr "" "Dieses Verzeichnis ist ein vorübergehender Zwischenspeicher und kann von " "Zeit zu Zeit aufgeräumt werden." -#: ../../using/windows.rst:541 +#: ../../using/windows.rst:542 msgid "" "Dotted names should be nested inside JSON objects, for example, " "``list.format`` would be specified as ``{\"list\": {\"format\": \"table\"}}" @@ -1206,11 +1208,11 @@ msgstr "" "Namen mit Punkten gehören verschachtelt in JSON-Objekte, ``list.format`` " "wird also als ``{\"list\": {\"format\": \"table\"}}`` angegeben." -#: ../../using/windows.rst:547 ../../using/windows.rst:2019 +#: ../../using/windows.rst:548 ../../using/windows.rst:2159 msgid "Shebang lines" msgstr "Shebang-Zeilen" -#: ../../using/windows.rst:549 +#: ../../using/windows.rst:550 msgid "" "If the first line of a script file starts with ``#!``, it is known as a " "\"shebang\" line. Linux and other Unix-like operating systems have native " @@ -1224,7 +1226,7 @@ msgstr "" "anzugeben, wie ein Skript ausgeführt werden soll. Die Befehle ``python`` und " "``py`` erlauben dasselbe für Python-Skripte unter Windows." -#: ../../using/windows.rst:555 +#: ../../using/windows.rst:556 msgid "" "To allow shebang lines in Python scripts to be portable between Unix and " "Windows, a number of 'virtual' commands are supported to specify which " @@ -1235,35 +1237,35 @@ msgstr "" "denen sich der zu verwendende Interpreter angeben lässt. Die unterstützten " "virtuellen Befehle sind:" -#: ../../using/windows.rst:559 +#: ../../using/windows.rst:560 msgid "``/usr/bin/env ``" msgstr "``/usr/bin/env ``" -#: ../../using/windows.rst:560 +#: ../../using/windows.rst:561 msgid "``/usr/bin/env -S ``" msgstr "``/usr/bin/env -S ``" -#: ../../using/windows.rst:561 +#: ../../using/windows.rst:562 msgid "``/usr/bin/``" msgstr "``/usr/bin/``" -#: ../../using/windows.rst:562 +#: ../../using/windows.rst:563 msgid "``/usr/local/bin/``" msgstr "``/usr/local/bin/``" -#: ../../using/windows.rst:563 +#: ../../using/windows.rst:564 msgid "````" msgstr "````" -#: ../../using/windows.rst:565 ../../using/windows.rst:2037 +#: ../../using/windows.rst:566 ../../using/windows.rst:2177 msgid "For example, if the first line of your script starts with" msgstr "Beginnt die erste Zeile deines Skripts zum Beispiel mit" -#: ../../using/windows.rst:567 ../../using/windows.rst:2039 +#: ../../using/windows.rst:568 ../../using/windows.rst:2179 msgid "#! /usr/bin/python" msgstr "#! /usr/bin/python" -#: ../../using/windows.rst:571 ../../using/windows.rst:2043 +#: ../../using/windows.rst:572 ../../using/windows.rst:2183 msgid "" "The default Python or an active virtual environment will be located and " "used. As many Python scripts written to work on Unix will already have this " @@ -1279,7 +1281,7 @@ msgstr "" "Skript schreibst, das auch unter Unix nützlich sein soll, solltest du eine " "der Shebang-Zeilen verwenden, die mit ``/usr`` beginnen." -#: ../../using/windows.rst:577 +#: ../../using/windows.rst:578 msgid "" "Any of the above virtual commands can have ```` replaced by an alias " "from an installed runtime. That is, any command generated in the global " @@ -1296,7 +1298,7 @@ msgstr "" "deinem :envvar:`PATH` liegt. So lassen sich Shebangs wie ``/usr/bin/" "python3.12`` verwenden, um eine bestimmte Runtime auszuwählen." -#: ../../using/windows.rst:583 +#: ../../using/windows.rst:584 msgid "" "If no runtimes are installed, or if automatic installation is enabled, the " "requested runtime will be installed if necessary. See :ref:`pymanager-" @@ -1306,7 +1308,7 @@ msgstr "" "eingeschaltet, wird die verlangte Runtime bei Bedarf installiert. " "Unter :ref:`pymanager-config` steht mehr zu den Konfigurationseinstellungen." -#: ../../using/windows.rst:587 +#: ../../using/windows.rst:588 msgid "" "The ``/usr/bin/env`` form of shebang line will also search " "the :envvar:`PATH` environment variable for unrecognized commands. This " @@ -1322,7 +1324,7 @@ msgstr "" "Warnung erscheinen. Diese Suche lässt sich über die Konfigurationsoption " "``shebang_can_run_anything`` abschalten." -#: ../../using/windows.rst:594 +#: ../../using/windows.rst:595 msgid "" "Shebang lines that do not match any of the patterns are treated as *Windows* " "executable paths that are absolute or relative to the directory containing " @@ -1343,7 +1345,7 @@ msgstr "" "lässt sich über die Konfigurationsoption ``shebang_can_run_anything`` " "abschalten." -#: ../../using/windows.rst:603 +#: ../../using/windows.rst:604 msgid "" "Since version 26.3 of the Python install manager, custom shebang templates " "may be added to your configuration file. Add the ``shebang_templates`` " @@ -1362,7 +1364,7 @@ msgstr "" "`` ist erlaubt, ebenso ein einfaches ``py``, um die Standardversion " "zu starten. Andere Argumente werden nicht unterstützt." -#: ../../using/windows.rst:611 +#: ../../using/windows.rst:612 msgid "" "{\n" " \"shebang_templates\": {\n" @@ -1378,7 +1380,7 @@ msgstr "" " }\n" "}" -#: ../../using/windows.rst:620 +#: ../../using/windows.rst:621 msgid "" "If the substitute command is not ``py`` or ``pyw``, it will be written back " "into the shebang and regular handling continues. If launching arbitrary " @@ -1394,7 +1396,7 @@ msgstr "" "entweder auf die ganze Zeile passen (ohne führende und abschließende " "Leerzeichen) oder bis zum ersten Leerzeichen in der Shebang-Zeile." -#: ../../using/windows.rst:629 +#: ../../using/windows.rst:630 msgid "" "The behaviour of shebangs in the Python install manager is subtly different " "from the previous ``py.exe`` launcher, and the old configuration options no " @@ -1411,11 +1413,11 @@ msgstr "" "überschreibt standardmäßig den des PyManagers, und du wirst zum Installieren " "und Deinstallieren die Befehle von ``pymanager`` verwenden müssen." -#: ../../using/windows.rst:647 +#: ../../using/windows.rst:648 msgid "Advanced installation" msgstr "Fortgeschrittene Installation" -#: ../../using/windows.rst:649 +#: ../../using/windows.rst:650 msgid "" "For situations where an MSIX cannot be installed, such as some older " "administrative distribution platforms, there is an MSI available from the " @@ -1432,7 +1434,7 @@ msgstr "" "vornehmen. Es versucht, die System-Umgebungsvariable :envvar:`PATH` um " "diesen Installationsort zu ergänzen. Prüfe das aber in deiner Umgebung nach." -#: ../../using/windows.rst:658 +#: ../../using/windows.rst:659 msgid "" "Windows Server 2019 is the only version of Windows that CPython supports " "that does not support MSIX. For Windows Server 2019, you should use the MSI." @@ -1441,7 +1443,7 @@ msgstr "" "Version, die MSIX nicht unterstützt. Für Windows Server 2019 solltest du das " "MSI verwenden." -#: ../../using/windows.rst:661 +#: ../../using/windows.rst:662 msgid "" "Be aware that the MSI package does not bundle any runtimes, and so is not " "suitable for installs into offline environments without also creating an " @@ -1454,7 +1456,7 @@ msgstr "" "offline` und :ref:`pymanager-admin-config` steht, wie du mit diesen Fällen " "umgehst." -#: ../../using/windows.rst:666 +#: ../../using/windows.rst:667 msgid "" "Runtimes installed by the MSI are shared with those installed by the MSIX, " "and are all per-user only. The Python install manager does not support " @@ -1470,7 +1472,7 @@ msgstr "" "install --target=`` verwenden und eigene systemweite " "Änderungen an :envvar:`PATH`, der Registrierung oder dem Startmenü vornehmen." -#: ../../using/windows.rst:672 +#: ../../using/windows.rst:673 msgid "" "When the MSIX is installed, but commands are not available in " "the :envvar:`PATH` environment variable, they can be found " @@ -1492,7 +1494,7 @@ msgstr "" "ausführbare Datei direkt aus „Programme“ zu starten, ist nicht " "empfehlenswert." -#: ../../using/windows.rst:681 +#: ../../using/windows.rst:682 msgid "" "To programmatically install the Python install manager, it is easiest to use " "WinGet, which is included with all supported versions of Windows:" @@ -1500,7 +1502,7 @@ msgstr "" "Um den Python Install Manager programmgesteuert zu installieren, ist WinGet " "am einfachsten. Es ist in allen unterstützten Windows-Versionen enthalten:" -#: ../../using/windows.rst:684 +#: ../../using/windows.rst:685 msgid "" "$> winget install 9NQ7512CXL7T -e --accept-package-agreements --disable-" "interactivity\n" @@ -1514,7 +1516,7 @@ msgstr "" "# Optional die Konfigurationsprüfung ausführen und alle Änderungen annehmen\n" "$> py install --configure -y" -#: ../../using/windows.rst:691 +#: ../../using/windows.rst:692 msgid "" "To download the Python install manager and install on another machine, the " "following WinGet command will download the required files from the Store to " @@ -1530,7 +1532,7 @@ msgstr "" "nicht benötigt wird, denn das heruntergeladene MSIX lässt sich durch Starten " "oder mit den folgenden Befehlen installieren." -#: ../../using/windows.rst:697 +#: ../../using/windows.rst:698 msgid "" "$> winget download 9NQ7512CXL7T -e --skip-license --accept-package-" "agreements --accept-source-agreements" @@ -1538,7 +1540,7 @@ msgstr "" "$> winget download 9NQ7512CXL7T -e --skip-license --accept-package-" "agreements --accept-source-agreements" -#: ../../using/windows.rst:701 +#: ../../using/windows.rst:702 msgid "" "To programmatically install or uninstall an MSIX using only PowerShell, the " "`Add-AppxPackage`_ and `Remove-AppxPackage`_ PowerShell cmdlets are " @@ -1548,7 +1550,7 @@ msgstr "" "deinstallieren, empfehlen sich die PowerShell-Cmdlets `Add-AppxPackage`_ und " "`Remove-AppxPackage`_:" -#: ../../using/windows.rst:704 +#: ../../using/windows.rst:705 msgid "" "$> Add-AppxPackage C:\\Downloads\\python-manager-25.0.msix\n" "...\n" @@ -1560,7 +1562,7 @@ msgstr "" "$> Get-AppxPackage PythonSoftwareFoundation.PythonManager | Remove-" "AppxPackage" -#: ../../using/windows.rst:710 +#: ../../using/windows.rst:711 msgid "" "The latest release can be downloaded and installed by Windows by passing the " "AppInstaller file to the Add-AppxPackage command. This installs using the " @@ -1573,7 +1575,7 @@ msgstr "" "Fälle empfehlenswert, in denen eine Installation über den Store (von Hand " "oder mit WinGet) nicht möglich ist." -#: ../../using/windows.rst:715 +#: ../../using/windows.rst:716 msgid "" "$> Add-AppxPackage -AppInstallerFile https://www.python.org/ftp/python/" "pymanager/pymanager.appinstaller" @@ -1581,7 +1583,7 @@ msgstr "" "$> Add-AppxPackage -AppInstallerFile https://www.python.org/ftp/python/" "pymanager/pymanager.appinstaller" -#: ../../using/windows.rst:719 +#: ../../using/windows.rst:720 msgid "" "Other tools and APIs may also be used to provision an MSIX package for all " "users on a machine, but Python does not consider this a supported scenario. " @@ -1596,7 +1598,7 @@ msgstr "" "Klasse `PackageManager`_ oder die Dokumentation und Unterstützung deines " "Bereitstellungswerkzeugs zu werfen." -#: ../../using/windows.rst:725 +#: ../../using/windows.rst:726 msgid "" "Regardless of the install method, users will still need to install their own " "copies of Python itself, as there is no way to trigger those installs " @@ -1609,7 +1611,7 @@ msgstr "" "neueste Python-Version allen Benutzern ohne Netzzugang zur Installation " "bereit." -#: ../../using/windows.rst:730 +#: ../../using/windows.rst:731 msgid "" "Note that the MSIX downloadable from the Store and from the Python website " "are subtly different and cannot be installed at the same time. Wherever " @@ -1625,11 +1627,11 @@ msgstr "" "verringern. Es gibt beim Python Install Manager keine Lizenzeinschränkungen, " "die einer solchen Verwendung des Store-Pakets entgegenstünden." -#: ../../using/windows.rst:741 +#: ../../using/windows.rst:742 msgid "Administrative configuration" msgstr "Administrative Konfiguration" -#: ../../using/windows.rst:743 +#: ../../using/windows.rst:744 msgid "" "There are a number of options that may be useful for administrators to " "override configuration of the Python install manager. These can be used to " @@ -1643,7 +1645,7 @@ msgstr "" "Arten von Verknüpfungen abschalten und mitgelieferte Inhalte überschreiben. " "Alle obigen Konfigurationsoptionen lassen sich setzen, ebenso die folgenden." -#: ../../using/windows.rst:748 +#: ../../using/windows.rst:749 msgid "" "Configuration options may be overridden in the registry by setting values " "under :file:`HKEY_LOCAL_MACHINE\\\\Software\\\\Policies\\\\Python\\" @@ -1667,7 +1669,7 @@ msgstr "" "eingestellte Einstellung, während ``base_config`` es Benutzern erlaubt, " "Einstellungen weiter nach Bedarf anzupassen." -#: ../../using/windows.rst:758 +#: ../../using/windows.rst:759 msgid "" "Note that most settings with environment variables support those variables " "because their default setting specifies the variable. If you override them, " @@ -1687,7 +1689,7 @@ msgstr "" "Umgebungsvariable nicht mehr verwendet. Überschreibst du ihn mit " "``%CONFIRM%``, wird stattdessen jene Umgebungsvariable verwendet." -#: ../../using/windows.rst:767 +#: ../../using/windows.rst:768 msgid "" "Configuration settings that are paths are interpreted as relative to the " "directory containing the configuration file that specified them." @@ -1696,15 +1698,15 @@ msgstr "" "Verzeichnis gelesen, in dem die Konfigurationsdatei liegt, die sie angegeben " "hat." -#: ../../using/windows.rst:774 +#: ../../using/windows.rst:775 msgid "Administrative configuration options" msgstr "Administrative Konfigurationsoptionen" -#: ../../using/windows.rst:781 +#: ../../using/windows.rst:782 msgid "``base_config``" msgstr "``base_config``" -#: ../../using/windows.rst:782 +#: ../../using/windows.rst:783 msgid "" "The highest priority configuration file to read. Note that only the built-in " "configuration file and the registry can modify this setting." @@ -1713,27 +1715,27 @@ msgstr "" "integrierte Konfigurationsdatei und die Registrierung diese Einstellung " "ändern können." -#: ../../using/windows.rst:786 +#: ../../using/windows.rst:787 msgid "``user_config``" msgstr "``user_config``" -#: ../../using/windows.rst:787 +#: ../../using/windows.rst:788 msgid "The second configuration file to read." msgstr "Die zweite zu lesende Konfigurationsdatei." -#: ../../using/windows.rst:789 +#: ../../using/windows.rst:790 msgid "``additional_config``" msgstr "``additional_config``" -#: ../../using/windows.rst:790 +#: ../../using/windows.rst:791 msgid "The third configuration file to read." msgstr "Die dritte zu lesende Konfigurationsdatei." -#: ../../using/windows.rst:792 +#: ../../using/windows.rst:793 msgid "``registry_override_key``" msgstr "``registry_override_key``" -#: ../../using/windows.rst:793 +#: ../../using/windows.rst:794 msgid "" "Registry location to check for overrides. Note that only the built-in " "configuration file can modify this setting." @@ -1741,30 +1743,30 @@ msgstr "" "Ort in der Registrierung, der auf Überschreibungen geprüft wird. Beachte, " "dass nur die integrierte Konfigurationsdatei diese Einstellung ändern kann." -#: ../../using/windows.rst:796 +#: ../../using/windows.rst:797 msgid "``bundled_dir``" msgstr "``bundled_dir``" -#: ../../using/windows.rst:797 +#: ../../using/windows.rst:798 msgid "Read-only directory containing locally cached files." msgstr "Nur lesbares Verzeichnis mit lokal zwischengespeicherten Dateien." -#: ../../using/windows.rst:799 +#: ../../using/windows.rst:800 msgid "``install.fallback_source``" msgstr "``install.fallback_source``" -#: ../../using/windows.rst:800 +#: ../../using/windows.rst:801 msgid "" "Path or URL to an index to consult when the main index cannot be accessed." msgstr "" "Pfad oder URL zu einem Index, der herangezogen wird, wenn der Hauptindex " "nicht erreichbar ist." -#: ../../using/windows.rst:802 +#: ../../using/windows.rst:803 msgid "``install.enable_shortcut_kinds``" msgstr "``install.enable_shortcut_kinds``" -#: ../../using/windows.rst:803 +#: ../../using/windows.rst:804 msgid "" "Comma-separated list of shortcut kinds to allow (for example, " "``\"pep514,start\"``). Enabled shortcuts may still be disabled by " @@ -1774,11 +1776,11 @@ msgstr "" "``\"pep514,start\"``). Erlaubte Verknüpfungen können durch " "``disable_shortcut_kinds`` dennoch abgeschaltet werden." -#: ../../using/windows.rst:807 +#: ../../using/windows.rst:808 msgid "``install.disable_shortcut_kinds``" msgstr "``install.disable_shortcut_kinds``" -#: ../../using/windows.rst:808 +#: ../../using/windows.rst:809 msgid "" "Comma-separated list of shortcut kinds to exclude (for example, " "``\"pep514,start\"``). Disabled shortcuts are not reactivated by " @@ -1788,11 +1790,11 @@ msgstr "" "``\"pep514,start\"``). Abgeschaltete Verknüpfungen werden durch " "``enable_shortcut_kinds`` nicht wieder aktiviert." -#: ../../using/windows.rst:812 +#: ../../using/windows.rst:813 msgid "``install.hard_link_entrypoints``" msgstr "``install.hard_link_entrypoints``" -#: ../../using/windows.rst:813 +#: ../../using/windows.rst:814 msgid "" "True to use hard links for global shortcuts to save disk space. If false, " "each shortcut executable is copied instead. After changing this setting, you " @@ -1807,11 +1809,11 @@ msgstr "" "aktualisieren. Standardmäßig true. Das Abschalten kann zur Fehlersuche nötig " "sein oder auf Systemen, die mit Dateiverknüpfungen Schwierigkeiten haben." -#: ../../using/windows.rst:820 +#: ../../using/windows.rst:821 msgid "``pep514_root``" msgstr "``pep514_root``" -#: ../../using/windows.rst:821 +#: ../../using/windows.rst:822 msgid "" "Registry location to read and write PEP 514 entries into. By " "default, :file:`HKEY_CURRENT_USER\\\\Software\\\\Python`." @@ -1820,11 +1822,11 @@ msgstr "" "geschrieben werden. Standardmäßig :file:`HKEY_CURRENT_USER\\\\Software\\" "\\Python`." -#: ../../using/windows.rst:824 +#: ../../using/windows.rst:825 msgid "``start_folder``" msgstr "``start_folder``" -#: ../../using/windows.rst:825 +#: ../../using/windows.rst:826 msgid "" "Start menu folder to write shortcuts into. By default, ``Python``. This path " "is relative to the user's Programs folder." @@ -1832,11 +1834,11 @@ msgstr "" "Startmenü-Ordner, in den Verknüpfungen geschrieben werden. Standardmäßig " "``Python``. Dieser Pfad ist relativ zum Programme-Ordner des Benutzers." -#: ../../using/windows.rst:829 +#: ../../using/windows.rst:830 msgid "``virtual_env``" msgstr "``virtual_env``" -#: ../../using/windows.rst:830 +#: ../../using/windows.rst:831 msgid "" "Path to the active virtual environment. By default, this is " "``%VIRTUAL_ENV%``, but may be set empty to disable venv detection." @@ -1845,11 +1847,11 @@ msgstr "" "aber leer gesetzt werden, um die Erkennung virtueller Umgebungen " "abzuschalten." -#: ../../using/windows.rst:834 +#: ../../using/windows.rst:835 msgid "``shebang_can_run_anything_silently``" msgstr "``shebang_can_run_anything_silently``" -#: ../../using/windows.rst:835 +#: ../../using/windows.rst:836 msgid "" "True to suppress visible warnings when a shebang launches an application " "other than a Python runtime." @@ -1857,11 +1859,11 @@ msgstr "" "True, um sichtbare Warnungen zu unterdrücken, wenn ein Shebang eine andere " "Anwendung als eine Python-Runtime startet." -#: ../../using/windows.rst:838 +#: ../../using/windows.rst:839 msgid "``source_settings``" msgstr "``source_settings``" -#: ../../using/windows.rst:839 +#: ../../using/windows.rst:840 msgid "" "A mapping from source URL to settings specific to that index. When multiple " "configuration files include this section, URL settings are added or " @@ -1874,11 +1876,11 @@ msgstr "" "zusammengeführt. Diese Einstellungen dienen derzeit ausschließlich " "den :ref:`Index-Signaturen `." -#: ../../using/windows.rst:849 ../../using/windows.rst:1832 +#: ../../using/windows.rst:850 ../../using/windows.rst:1972 msgid "Installing free-threaded binaries" msgstr "Free-Threading-Binärdateien installieren" -#: ../../using/windows.rst:853 +#: ../../using/windows.rst:854 msgid "" "Pre-built distributions of the free-threaded build are available by " "installing tags with the ``t`` suffix." @@ -1886,7 +1888,7 @@ msgstr "" "Vorgefertigte Distributionen des Free-Threading-Builds lassen sich " "installieren, indem Tags mit dem Suffix ``t`` angegeben werden." -#: ../../using/windows.rst:858 +#: ../../using/windows.rst:859 msgid "" "$> py install |version|\\ t\n" "$> py install |version|\\ t-arm64\n" @@ -1896,7 +1898,7 @@ msgstr "" "$> py install |version|\\ t-arm64\n" "$> py install |version|\\ t-32" -#: ../../using/windows.rst:862 +#: ../../using/windows.rst:863 msgid "" "This will install and register as normal. If you have no other runtimes " "installed, then ``python`` will launch this one. Otherwise, you will need to " @@ -1910,11 +1912,11 @@ msgstr "" "Aliasnamen zu deiner Umgebungsvariablen :envvar:`PATH` hinzugefügt hast, die " "Befehle |python_x_dot_y_t_exe_literal|." -#: ../../using/windows.rst:871 +#: ../../using/windows.rst:872 msgid "Index signatures" msgstr "Index-Signaturen" -#: ../../using/windows.rst:875 +#: ../../using/windows.rst:876 msgid "" "Index files may be signed to detect tampering. A signature is a catalog file " "at the same URL as the index with ``.cat`` added to the filename. The " @@ -1933,7 +1935,7 @@ msgstr "" "werden, solange das Betriebssystem des Clients dessen Zertifizierungsstelle " "(Wurzel-CA) bereits vertraut." -#: ../../using/windows.rst:882 +#: ../../using/windows.rst:883 msgid "" "Index signatures are only downloaded and checked when the local " "configuration's ``source_settings`` section includes the index URL and " @@ -1948,7 +1950,7 @@ msgstr "" "lokalen Konfiguration — selbst auf false —, werden die Einstellungen im " "Index ignoriert." -#: ../../using/windows.rst:888 +#: ../../using/windows.rst:889 msgid "" "As well as requiring a valid signature, the ``required_root_subject`` and " "``required_publisher_subject`` settings can further restrict acceptable " @@ -1966,7 +1968,7 @@ msgstr "" "ignoriert). Übliche Attribute sind ``CN=`` für den Common Name, ``O=`` für " "die Organisation und ``C=`` für das Land des Herausgebers." -#: ../../using/windows.rst:896 +#: ../../using/windows.rst:897 msgid "" "Finally, the ``required_publisher_eku`` setting allows requiring that a " "specific Enhanced Key Usage (EKU) has been assigned to the publisher " @@ -1983,7 +1985,7 @@ msgstr "" "Authentifizierung). In Verbindung mit einer bestimmten Wurzel-CA ergibt das " "eine weitere Möglichkeit, eine rechtmäßige Signatur zu überprüfen." -#: ../../using/windows.rst:903 +#: ../../using/windows.rst:904 msgid "" "This is an example ``source_settings`` section from a configuration file. In " "this case, the publisher of the feed is uniquely identified by the " @@ -1998,7 +2000,7 @@ msgstr "" "Fall unter ``https://www.python.org/ftp/python/index-windows.json.cat`` zu " "finden." -#: ../../using/windows.rst:909 +#: ../../using/windows.rst:910 msgid "" "{\n" " \"source_settings\": {\n" @@ -2026,7 +2028,7 @@ msgstr "" " }\n" "}" -#: ../../using/windows.rst:922 +#: ../../using/windows.rst:923 msgid "" "The same settings could be specified in the ``index.json`` file instead. In " "this case, the root and EKU are omitted, meaning that the signature must be " @@ -2038,7 +2040,7 @@ msgstr "" "gültig sein und einen bestimmten Common Name im Zertifikat des Herausgebers " "tragen, weitere Prüfungen finden aber nicht statt." -#: ../../using/windows.rst:927 +#: ../../using/windows.rst:928 msgid "" "{\n" " \"requires_signature\": true,\n" @@ -2056,7 +2058,7 @@ msgstr "" " ]\n" "}" -#: ../../using/windows.rst:937 +#: ../../using/windows.rst:938 msgid "" "When settings from inside a feed are used, the user is notified and the " "settings are shown in the log file or verbose output. It is recommended to " @@ -2070,7 +2072,7 @@ msgstr "" "Einstellungen in eine lokale Konfigurationsdatei zu übernehmen, damit " "unbefugte Änderungen am Feed die Überprüfung nicht abschalten können." -#: ../../using/windows.rst:942 +#: ../../using/windows.rst:943 msgid "" "It is not possible to override the location of the signature file in the " "feed or through a configuration file. Administrators can provide their own " @@ -2082,7 +2084,7 @@ msgstr "" "``source_settings`` in einer verbindlichen Konfigurationsdatei bereitstellen " "(siehe :ref:`pymanager-admin-config`)." -#: ../../using/windows.rst:947 +#: ../../using/windows.rst:948 msgid "" "If signature validation fails, you will be notified and prompted to " "continue. When interactive confirmation is not allowed (for example, because " @@ -2097,7 +2099,7 @@ msgstr "" "Konfigurationsdatei bereitstellen, die die Signaturprüfung für diesen Feed " "abschaltet." -#: ../../using/windows.rst:953 +#: ../../using/windows.rst:954 msgid "" "\"source_settings\": {\n" " \"https://www.example.com/feed-with-invalid-signature.json\": {\n" @@ -2111,11 +2113,11 @@ msgstr "" " }\n" "}" -#: ../../using/windows.rst:963 +#: ../../using/windows.rst:964 msgid "Proxy settings" msgstr "Proxy-Einstellungen" -#: ../../using/windows.rst:967 +#: ../../using/windows.rst:968 msgid "" "By default, the Python install manager will use your system-wide proxy " "settings, including automatic authentication. For most users, this behaves " @@ -2126,7 +2128,7 @@ msgstr "" "Benutzer verhält er sich damit genauso wie der Browser und andere " "Anwendungen." -#: ../../using/windows.rst:971 +#: ../../using/windows.rst:972 msgid "" "To override the settings, use the ``NO_PROXY``, ``HTTP_PROXY`` and " "``HTTPS_PROXY`` environment variables. These should be set in the terminal " @@ -2140,7 +2142,7 @@ msgstr "" "verwendest. Auch andere Anwendungen können diese Variablen verwenden, sei " "also vorsichtig, bevor du sie global für den ganzen Rechner setzt." -#: ../../using/windows.rst:977 +#: ../../using/windows.rst:978 msgid "" "Setting ``NO_PROXY`` to any non-empty value will disable the use of any " "proxy. Use this to bypass your system's default proxy setting and attempt to " @@ -2150,7 +2152,7 @@ msgstr "" "Proxy verwendet. Damit umgehst du die Standard-Proxy-Einstellung deines " "Systems und versuchst, den Index-Server direkt zu erreichen." -#: ../../using/windows.rst:981 +#: ../../using/windows.rst:982 msgid "" "Setting ``HTTPS_PROXY`` to a string like ``example.com:8080`` will connect " "to that proxy server for all HTTPS connections. For the default index, all " @@ -2162,7 +2164,7 @@ msgstr "" "Standardindex laufen alle Verbindungen über HTTPS, deshalb ist das die " "übliche Einstellung zum Überschreiben." -#: ../../using/windows.rst:985 +#: ../../using/windows.rst:986 msgid "" "The ``HTTP_PROXY`` variable may be needed if you are using a private index " "server that does not use encrypted connections, but does require the default " @@ -2173,7 +2175,7 @@ msgstr "" "aber der Standard-Proxy-Server überschrieben werden muss. Sie hat dasselbe " "Format wie ``HTTPS_PROXY``." -#: ../../using/windows.rst:989 +#: ../../using/windows.rst:990 msgid "" "Credentials may be embedded in either setting, however, when ``HTTPS_PROXY`` " "has credentials embedded they will be used in preference to other " @@ -2185,11 +2187,234 @@ msgstr "" "Anmeldedaten vorgezogen. Für beide Proxy-Arten wird nur ein Satz " "Anmeldedaten verwendet." -#: ../../using/windows.rst:996 ../../using/windows.rst:1008 +#: ../../using/windows.rst:997 +msgid "Tags and tag matching" +msgstr "" + +#: ../../using/windows.rst:999 +msgid "" +"Previously the behavior was very similar to what is described here, but had " +"many more inconsistencies. We have streamlined it and ensured the behavior " +"is well-defined, which may result in some small differences from previous " +"versions." +msgstr "" + +#: ../../using/windows.rst:1005 +msgid "" +"Tags identify Python runtimes that may be installed, modified, or launched " +"by the Python install manager. They are based on :pep:`514`, with matching " +"and ordering rules specific to the install manager. These rules do not " +"change PEP 514's specification." +msgstr "" + +#: ../../using/windows.rst:1010 +msgid "" +"A tag has three components: Company, Tag, and Platform. Each part is case-" +"insensitive, but the exact comparison semantics vary." +msgstr "" + +#: ../../using/windows.rst:1013 +msgid "[/][-]" +msgstr "" + +#: ../../using/windows.rst:1017 +msgid "" +"The Company is optional and defaults to ``PythonCore``. It may contain " +"slashes, while the rest may not, and so the last forward slash or backslash " +"separates it from the Tag. When omitting Company, also omit any slash. In " +"general, Company is matched as a prefix." +msgstr "" + +#: ../../using/windows.rst:1022 +msgid "" +"The optional Platform suffix is one of the known platform suffixes, " +"currently ``-32``, ``-64``, or ``-arm64``. Broadly speaking, the Platform " +"suffix behaves as part of the Tag, but it may be implied from the current " +"configuration or system in a way that is different from the rest of the tag. " +"It also does not parse or compare as a number." +msgstr "" + +#: ../../using/windows.rst:1028 +msgid "" +"Runtimes are defined as having a primary tag, and offer several more tags " +"for installation (``install-for``) and launching (``run-for``). Whether the " +"install tags or the launch tags are considered depends on context, but both " +"sets are used to filter to matching runtimes, from which the best option is " +"selected using more complex logic. If a runtime doesn't have specific tags, " +"its primary tag may be used for installation and uninstallation (but not " +"launch - it will be unlaunchable without any ``run-for`` tags)." +msgstr "" + +#: ../../using/windows.rst:1036 +msgid "" +"You can observe this behaviour using ``py list`` with and without the ``--" +"one`` option (to show the \"best\" or all candidates) and with and without " +"the ``--online``/``--source`` options (to show install matches or launch " +"matches)." +msgstr "" + +#: ../../using/windows.rst:1040 +msgid "" +"Tags are not version numbers, though numeric sequences are treated as " +"version numbers. Hyphens divide the Tag into segments, where each segment is " +"either text or a version number with a text suffix. The version number part " +"includes those ending in ``a``, ``b``, or ``rc`` followed by a serial " +"number, but any other text is considered a separate suffix. Without a serial " +"number, an ``a``, ``b`` or ``rc`` suffix is also treated as text." +msgstr "" + +#: ../../using/windows.rst:1047 +msgid "" +"Broadly, numbers are compared as numerical versions, so ``3.10`` is greater " +"than ``3.1``, ``3.14`` is greater than ``3.14a1``, and ``3`` is equal to " +"both ``3.0`` and ``3.0.0``. Text is compared case-insensitively, and must " +"match, so ``2024b`` is not equivalent to ``2024.0`` because ``'b' != ''``." +msgstr "" + +#: ../../using/windows.rst:1054 +msgid "" +"Do not interpret the depth of detail of the following few paragraphs about " +"constraints as representing their importance. Constraints are a necessary " +"evil, and we would prefer nobody rely on them instead of specific tags, " +"which are much simpler to reason about for publishers and end users. " +"Unfortunately, we are obliged to explain how our implementation handles " +"constraints, and this is the place for that explanation." +msgstr "" + +#: ../../using/windows.rst:1061 +msgid "" +"Constraints can select multiple tags. A matching tag will start with the " +"same segments as the constraining tag, where text segments are equal and " +"numeric segments are above, below, or equal, according to the constraint. " +"The first non-equal segment determines the result: non-equal text results in " +"failure, while a non-equal version either succeeds or fails based on the " +"constraint. Remaining segments in the matching tag are ignored." +msgstr "" + +#: ../../using/windows.rst:1068 +msgid "" +"When applying a constraint check to a version segment that was shorter than " +"the constraint (e.g. ``3`` has one field and so is shorter than ``==3.14``), " +"it is interpreted as representing any possible version. This will result in " +"many failed constraint checks that will usually be overridden by a more " +"specific one. For example ``3`` could represent ``3.99`` and so it is not " +"equal to ``3.14``, but if the install is offering tags ``['3', '3.14']`` " +"then the later tag will result in the constraint matching." +msgstr "" + +#: ../../using/windows.rst:1076 +msgid "" +"Here are some example cases showing the different applications of " +"constraints:" +msgstr "" + +#: ../../using/windows.rst:1078 +msgid "``>=3.13`` matches ``3.13.4`` and ``3.14``" +msgstr "" + +#: ../../using/windows.rst:1079 +msgid "``>3.13`` matches ``3.14``, but not ``3.13.4``" +msgstr "" + +#: ../../using/windows.rst:1080 +msgid "``>=3.13t`` matches ``3.14t``, while ``>=3.13`` does not" +msgstr "" + +#: ../../using/windows.rst:1081 +msgid "``>=3.13`` matches ``3.14-abc`` but not ``3.14abc``" +msgstr "" + +#: ../../using/windows.rst:1082 +msgid "" +"``>3.13-abc-123`` matches ``3.14`` (number is higher) and ``3.13-abc-124`` " +"(number ``124`` is higher) but not ``3.13-def-123`` (text mismatch), " +"``3.14def`` (text ``def`` is not in the constraint), ``3.13-abc-123`` " +"(number is not higher) or ``3.13-abc`` (not enough segments)" +msgstr "" + +#: ../../using/windows.rst:1087 +msgid "``>=3.0`` matches ``3``, but ``>3.0`` does not" +msgstr "" + +#: ../../using/windows.rst:1088 +msgid "``<4`` matches ``3``, but ``<3.12`` and ``<=3.12`` do not" +msgstr "" + +#: ../../using/windows.rst:1089 +msgid "" +"``==3.0`` does not match ``3``, while ``==3.10`` still matches ``3.10.1``" +msgstr "" + +#: ../../using/windows.rst:1090 +msgid "" +"``!=3.13`` rejects ``3`` (because it could be ``3.13``), but ``!=3.13t`` " +"accepts ``3`` (different suffix)" +msgstr "" + +#: ../../using/windows.rst:1093 +msgid "" +"The difference between hyphen-separated segments and adjacent text and " +"numbers is subtle, but should not be relevant to most users. Publishers will " +"choose and advertise the tags for their packages, and so should take care to " +"choose between adjacent text or separated text. For example, the core " +"python\\.org releases use ``3.14t`` for free-threaded builds, which should " +"not be confused with original builds and so ``3.14t`` should not match " +"``3.14``. However, ``3.14`` should be allowed to match with ``3.14-64`` " +"(recalling that known platform tags are treated at text), and so the " +"hyphenated convention is chosen instead. End users get intuitive behavior " +"because the publisher considered the impact of their choices." +msgstr "" + +#: ../../using/windows.rst:1104 +msgid "" +"Note that constraints are not complementary, that is, the ``>=`` constraint " +"does not necessarily include every tag rejected by the ``<`` constraint. For " +"example, ``3.14t`` satisfies neither ``>=3.14`` nor ``<3.14``." +msgstr "" + +#: ../../using/windows.rst:1108 +msgid "" +"Publishers should provide tags for each way they want users to select a " +"runtime, commonly from most specific to least specific. For example, a free-" +"threaded runtime might offer ``3.14.4t``, ``3.14t``, and ``3t``. Include a " +"generic tag such as ``3.14`` only if that runtime should be eligible for " +"generic requests. Exact matches of user requested tags are preferred over " +"partial matches, so include the tags you expect your users to use." +msgstr "" + +#: ../../using/windows.rst:1115 +msgid "" +"The primary tag should be orderable against other runtimes from the same " +"publisher, but should not change with in-place updates. Also be aware that " +"operations reading an online feed assume that the feed is already ordered, " +"and will select the first runtime that matches requested tags." +msgstr "" + +#: ../../using/windows.rst:1120 +msgid "" +"After filtering, runtimes are ordered by their primary tag and then the best " +"is selected. \"Best\" is very context sensitive, and may be influenced by " +"user configuration (such as the default tag), active virtual environments, " +"prerelease marks on a runtime's sortable version, and whether a windowless " +"interpreter is desired (such as launching through ``pyw.exe`` instead of " +"``py.exe``)." +msgstr "" + +#: ../../using/windows.rst:1126 +msgid "" +"Most notably, a request containing the text field ``dev``, such as ``3-" +"dev``, causes prereleases to be considered on equal footing with stable " +"releases. Typically stable releases are preferred unless filtering excludes " +"all viable options. However, this behavior only takes place after filtering, " +"and so a runtime that does not offer a tag containing ``dev`` will not be " +"selected as a candidate." +msgstr "" + +#: ../../using/windows.rst:1136 ../../using/windows.rst:1148 msgid "Troubleshooting" msgstr "Fehlersuche" -#: ../../using/windows.rst:998 +#: ../../using/windows.rst:1138 msgid "" "If your Python install manager does not seem to be working correctly, work " "through these tests and fixes to see if it helps. If not, report an issue at " @@ -2203,15 +2428,15 @@ msgstr "" "Protokolldateien bei (sie werden standardmäßig in dein " "Verzeichnis :file:`%TEMP%` geschrieben)." -#: ../../using/windows.rst:1012 +#: ../../using/windows.rst:1152 msgid "Symptom" msgstr "Symptom" -#: ../../using/windows.rst:1013 +#: ../../using/windows.rst:1153 msgid "Things to try" msgstr "Das kannst du versuchen" -#: ../../using/windows.rst:1015 +#: ../../using/windows.rst:1155 msgid "" "``python`` gives me a \"command not found\" error or opens the Store app " "when I type it in my terminal." @@ -2219,11 +2444,11 @@ msgstr "" "``python`` meldet „command not found“ oder öffnet die Store-App, wenn ich es " "im Terminal eingebe." -#: ../../using/windows.rst:1017 ../../using/windows.rst:1036 +#: ../../using/windows.rst:1157 ../../using/windows.rst:1176 msgid "Did you :ref:`install the Python install manager `?" msgstr "Hast du :ref:`den Python Install Manager installiert `?" -#: ../../using/windows.rst:1020 ../../using/windows.rst:1039 +#: ../../using/windows.rst:1160 ../../using/windows.rst:1179 msgid "" "Click Start, open \"Manage app execution aliases\", and check that the " "aliases for \"Python (default)\" are enabled. If they already are, try " @@ -2236,11 +2461,11 @@ msgstr "" "Befehle „Python (default windowed)“ und „Python install manager“ müssen " "möglicherweise erneuert werden." -#: ../../using/windows.rst:1027 +#: ../../using/windows.rst:1167 msgid "Check that the ``py`` and ``pymanager`` commands work." msgstr "Prüfe, ob die Befehle ``py`` und ``pymanager`` funktionieren." -#: ../../using/windows.rst:1030 ../../using/windows.rst:1046 +#: ../../using/windows.rst:1170 ../../using/windows.rst:1186 msgid "" "Ensure your :envvar:`PATH` variable contains the entry for ``%UserProfile%" "\\AppData\\Local\\Microsoft\\WindowsApps``. The operating system includes " @@ -2252,18 +2477,18 @@ msgstr "" "bringt diesen Eintrag standardmäßig einmal mit, hinter den anderen " "Benutzerpfaden. Wurde er entfernt, werden die Verknüpfungen nicht gefunden." -#: ../../using/windows.rst:1035 +#: ../../using/windows.rst:1175 msgid "" "``py`` gives me a \"command not found\" error when I type it in my terminal." msgstr "``py`` meldet „command not found“, wenn ich es im Terminal eingebe." -#: ../../using/windows.rst:1051 +#: ../../using/windows.rst:1191 msgid "" "``py`` gives me a \"can't open file\" error when I type commands in my " "terminal." msgstr "``py`` meldet „can't open file“, wenn ich Befehle im Terminal eingebe." -#: ../../using/windows.rst:1053 +#: ../../using/windows.rst:1193 msgid "" "This usually means you have the legacy launcher installed and it has " "priority over the Python install manager. To remove, click Start, open " @@ -2273,11 +2498,11 @@ msgstr "" "dem Python Install Manager hat. Zum Entfernen klicke auf Start, öffne " "„Installierte Apps“, suche nach „Python launcher“ und deinstalliere ihn." -#: ../../using/windows.rst:1058 +#: ../../using/windows.rst:1198 msgid "``python`` doesn't launch the same runtime as ``py``" msgstr "``python`` startet nicht dieselbe Runtime wie ``py``" -#: ../../using/windows.rst:1059 +#: ../../using/windows.rst:1199 msgid "" "Click Start, open \"Installed apps\", look for any existing Python runtimes, " "and either remove them or Modify and disable the :envvar:`PATH` options." @@ -2286,7 +2511,7 @@ msgstr "" "Runtimes und entferne sie entweder oder wähle „Ändern“ und schalte " "die :envvar:`PATH`-Optionen ab." -#: ../../using/windows.rst:1063 +#: ../../using/windows.rst:1203 msgid "" "Click Start, open \"Manage app execution aliases\", and check that your " "``python.exe`` alias is set to \"Python (default)\"" @@ -2294,11 +2519,11 @@ msgstr "" "Klicke auf Start, öffne „App-Ausführungsaliase verwalten“ und prüfe, ob dein " "Alias ``python.exe`` auf „Python (default)“ gesetzt ist." -#: ../../using/windows.rst:1066 +#: ../../using/windows.rst:1206 msgid "``python`` and ``py`` don't launch the runtime I expect" msgstr "``python`` und ``py`` starten nicht die Runtime, die ich erwarte" -#: ../../using/windows.rst:1067 +#: ../../using/windows.rst:1207 msgid "" "Check your :envvar:`PYTHON_MANAGER_DEFAULT` environment variable or " "``default_tag`` configuration. The ``py list`` command will show your " @@ -2308,7 +2533,7 @@ msgstr "" "Konfiguration ``default_tag``. Der Befehl ``py list`` zeigt deine " "Standardversion auf Grundlage dieser Einstellungen an." -#: ../../using/windows.rst:1072 +#: ../../using/windows.rst:1212 msgid "" "Installs that are managed by the Python install manager will be chosen ahead " "of unmanaged installs. Use ``py install`` to install the runtime you expect, " @@ -2318,7 +2543,7 @@ msgstr "" "verwalteten Installationen vorgezogen. Verwende ``py install``, um die " "erwartete Runtime zu installieren, oder stelle dein Standard-Tag ein." -#: ../../using/windows.rst:1078 +#: ../../using/windows.rst:1218 msgid "" "Prerelease and experimental installs that are not managed by the Python " "install manager may be chosen ahead of stable releases. Configure your " @@ -2330,14 +2555,14 @@ msgstr "" "Stelle dein Standard-Tag ein oder deinstalliere die Vorabversion und " "installiere sie mit ``py install`` erneut." -#: ../../using/windows.rst:1083 +#: ../../using/windows.rst:1223 msgid "" "``pythonw`` or ``pyw`` don't launch the same runtime as ``python`` or ``py``" msgstr "" "``pythonw`` oder ``pyw`` starten nicht dieselbe Runtime wie ``python`` oder " "``py``" -#: ../../using/windows.rst:1084 +#: ../../using/windows.rst:1224 msgid "" "Click Start, open \"Manage app execution aliases\", and check that your " "``pythonw.exe`` and ``pyw.exe`` aliases are consistent with your others." @@ -2345,12 +2570,12 @@ msgstr "" "Klicke auf Start, öffne „App-Ausführungsaliase verwalten“ und prüfe, ob " "deine Aliase ``pythonw.exe`` und ``pyw.exe`` zu den übrigen passen." -#: ../../using/windows.rst:1087 +#: ../../using/windows.rst:1227 msgid "" "``pip`` gives me a \"command not found\" error when I type it in my terminal." msgstr "``pip`` meldet „command not found“, wenn ich es im Terminal eingebe." -#: ../../using/windows.rst:1088 ../../using/windows.rst:1100 +#: ../../using/windows.rst:1228 ../../using/windows.rst:1240 msgid "" "Have you activated a virtual environment? Run the " "``.venv\\Scripts\\activate`` script in your terminal to activate." @@ -2358,7 +2583,7 @@ msgstr "" "Hast du eine virtuelle Umgebung aktiviert? Führe dazu das Skript " "``.venv\\Scripts\\activate`` im Terminal aus." -#: ../../using/windows.rst:1092 +#: ../../using/windows.rst:1232 msgid "" "The package may be available but missing the generated executable. We " "recommend using the ``python -m pip`` command instead. Running ``py install " @@ -2374,13 +2599,13 @@ msgstr "" "es in der Ausgabe des Befehls genannt), sollten Befehle wie ``pip`` und die " "anderer installierter Pakete verfügbar sein." -#: ../../using/windows.rst:1099 +#: ../../using/windows.rst:1239 msgid "I installed a package with ``pip`` but its command is not found." msgstr "" "Ich habe ein Paket mit ``pip`` installiert, aber sein Befehl wird nicht " "gefunden." -#: ../../using/windows.rst:1104 +#: ../../using/windows.rst:1244 msgid "" "New packages do not automatically have global shortcuts created by the " "Python install manager. Similarly, uninstalled packages do not have their " @@ -2392,12 +2617,12 @@ msgstr "" "nicht entfernt. Führe ``py install --refresh`` aus, um die globalen " "Verknüpfungen für neu installierte Pakete zu aktualisieren." -#: ../../using/windows.rst:1110 +#: ../../using/windows.rst:1250 msgid "Typing ``script-name.py`` in the terminal opens in a new window." msgstr "" "Die Eingabe von ``script-name.py`` im Terminal öffnet ein neues Fenster." -#: ../../using/windows.rst:1111 +#: ../../using/windows.rst:1251 msgid "" "This is a known limitation of the operating system. Either specify ``py`` " "before the script name, create a batch file containing ``@py \"%~dpn0.py\" " @@ -2409,11 +2634,11 @@ msgstr "" "Skript an, die ``@py \"%~dpn0.py\" %*`` enthält, oder installiere den " "`legacy launcher`_ und wähle ihn als Verknüpfung für Skripte." -#: ../../using/windows.rst:1116 +#: ../../using/windows.rst:1256 msgid "Drag-dropping files onto a script doesn't work" msgstr "Dateien auf ein Skript zu ziehen funktioniert nicht" -#: ../../using/windows.rst:1117 +#: ../../using/windows.rst:1257 msgid "" "This is a known limitation of the operating system. It is supported with the " "`legacy launcher`_, or with the Python install manager when installed from " @@ -2423,11 +2648,11 @@ msgstr "" "vom `legacy launcher`_ oder vom Python Install Manager, wenn er aus dem MSI " "installiert wurde." -#: ../../using/windows.rst:1121 +#: ../../using/windows.rst:1261 msgid "I have installed the Python install manager multiple times." msgstr "Ich habe den Python Install Manager mehrfach installiert." -#: ../../using/windows.rst:1122 +#: ../../using/windows.rst:1262 msgid "" "It is possible to install from the Store or WinGet, from the MSIX on the " "Python website, and from the MSI, all at once. They are all compatible and " @@ -2437,7 +2662,7 @@ msgstr "" "auf der Python-Webseite und aus dem MSI zu installieren. Alle sind " "miteinander verträglich und teilen Konfiguration und Runtimes." -#: ../../using/windows.rst:1127 +#: ../../using/windows.rst:1267 msgid "" "See the earlier :ref:`pymanager-advancedinstall` section for ways to " "uninstall the install manager other than the typical Installed Apps (Add and " @@ -2447,11 +2672,11 @@ msgstr "" "Install Manager anders zu deinstallieren als über die übliche " "Einstellungsseite „Installierte Apps“ (Programme hinzufügen oder entfernen)." -#: ../../using/windows.rst:1131 +#: ../../using/windows.rst:1271 msgid "My old ``py.ini`` settings no longer work." msgstr "Meine alten ``py.ini``-Einstellungen funktionieren nicht mehr." -#: ../../using/windows.rst:1132 +#: ../../using/windows.rst:1272 msgid "" "The new Python install manager no longer supports this configuration file or " "its settings, and so it will be ignored. See :ref:`pymanager-config` for " @@ -2461,11 +2686,11 @@ msgstr "" "ihre Einstellungen nicht mehr, sie wird daher ignoriert. " "Unter :ref:`pymanager-config` steht mehr zu den Konfigurationseinstellungen." -#: ../../using/windows.rst:1139 +#: ../../using/windows.rst:1279 msgid "The embeddable package" msgstr "Das einbettbare Paket" -#: ../../using/windows.rst:1143 +#: ../../using/windows.rst:1283 msgid "" "The embedded distribution is a ZIP file containing a minimal Python " "environment. It is intended for acting as part of another application, " @@ -2475,7 +2700,7 @@ msgstr "" "Umgebung. Sie ist dafür gedacht, Teil einer anderen Anwendung zu sein, und " "nicht dafür, von Endbenutzern direkt verwendet zu werden." -#: ../../using/windows.rst:1147 +#: ../../using/windows.rst:1287 msgid "" "To install an embedded distribution, we recommend using ``py install`` with " "the ``--target`` option:" @@ -2483,11 +2708,11 @@ msgstr "" "Um eine einbettbare Distribution zu installieren, empfehlen wir ``py " "install`` mit der Option ``--target``:" -#: ../../using/windows.rst:1152 +#: ../../using/windows.rst:1292 msgid "$> py install |version|-embed --target=" msgstr "$> py install |version|-embed --target=" -#: ../../using/windows.rst:1154 +#: ../../using/windows.rst:1294 msgid "" "When extracted, the embedded distribution is (almost) fully isolated from " "the user's system, including environment variables, system registry " @@ -2506,7 +2731,7 @@ msgstr "" "allem, was darauf aufbaut, etwa IDLE), pip und die Python-Dokumentation sind " "nicht enthalten." -#: ../../using/windows.rst:1161 +#: ../../using/windows.rst:1301 msgid "" "A default ``._pth`` file is included, which further restricts the default " "search paths (as described below in :ref:`windows_finding_modules`). This " @@ -2517,7 +2742,7 @@ msgstr "" "Diese Datei ist dafür gedacht, von Einbettenden nach Bedarf angepasst zu " "werden." -#: ../../using/windows.rst:1165 +#: ../../using/windows.rst:1305 msgid "" "Third-party packages should be installed by the application installer " "alongside the embedded distribution. Using pip to manage dependencies as for " @@ -2537,18 +2762,18 @@ msgstr "" "Versionen sicherstellen kann, bevor sie Aktualisierungen an die Benutzer " "ausliefert." -#: ../../using/windows.rst:1173 +#: ../../using/windows.rst:1313 msgid "" "The two recommended use cases for this distribution are described below." msgstr "" "Die beiden empfohlenen Anwendungsfälle dieser Distribution sind unten " "beschrieben." -#: ../../using/windows.rst:1176 +#: ../../using/windows.rst:1316 msgid "Python application" msgstr "Python-Anwendung" -#: ../../using/windows.rst:1178 +#: ../../using/windows.rst:1318 msgid "" "An application written in Python does not necessarily require users to be " "aware of that fact. The embedded distribution may be used in this case to " @@ -2562,7 +2787,7 @@ msgstr "" "aufzunehmen. Je nachdem, wie unauffällig das sein soll (oder umgekehrt, wie " "professionell es wirken soll), gibt es zwei Möglichkeiten." -#: ../../using/windows.rst:1184 +#: ../../using/windows.rst:1324 msgid "" "Using a specialized executable as a launcher requires some coding, but " "provides the most transparent experience for users. With a customized " @@ -2580,7 +2805,7 @@ msgstr "" "richtig. In den meisten Fällen sollte ein eigener Starter einfach " "``Py_Main`` mit einer festgelegten Befehlszeile aufrufen können." -#: ../../using/windows.rst:1191 +#: ../../using/windows.rst:1331 msgid "" "The simpler approach is to provide a batch file or generated shortcut that " "directly calls the ``python.exe`` or ``pythonw.exe`` with the required " @@ -2595,7 +2820,7 @@ msgstr "" "könnten Schwierigkeiten haben, sie von anderen laufenden Python-Prozessen " "oder Dateiverknüpfungen zu unterscheiden." -#: ../../using/windows.rst:1197 +#: ../../using/windows.rst:1337 msgid "" "With the latter approach, packages should be installed as directories " "alongside the Python executable to ensure they are available on the path. " @@ -2608,11 +2833,11 @@ msgstr "" "besonderen Starter können Pakete auch an anderen Orten liegen, weil sich der " "Suchpfad vor dem Starten der Anwendung festlegen lässt." -#: ../../using/windows.rst:1203 +#: ../../using/windows.rst:1343 msgid "Embedding Python" msgstr "Python einbetten" -#: ../../using/windows.rst:1205 +#: ../../using/windows.rst:1345 msgid "" "Applications written in native code often require some form of scripting " "language, and the embedded Python distribution can be used for this purpose. " @@ -2630,7 +2855,7 @@ msgstr "" "Unterverzeichnis der Anwendungsinstallation zu entpacken, um einen ladbaren " "Python-Interpreter bereitzustellen." -#: ../../using/windows.rst:1212 +#: ../../using/windows.rst:1352 msgid "" "As with the application use, packages can be installed to any location as " "there is an opportunity to specify search paths before initializing the " @@ -2642,11 +2867,11 @@ msgstr "" "festlegen lassen. Davon abgesehen gibt es keine grundlegenden Unterschiede " "zwischen der einbettbaren Distribution und einer gewöhnlichen Installation." -#: ../../using/windows.rst:1221 +#: ../../using/windows.rst:1361 msgid "The nuget.org packages" msgstr "Die Pakete von nuget.org" -#: ../../using/windows.rst:1225 +#: ../../using/windows.rst:1365 msgid "" "The nuget.org package is a reduced size Python environment intended for use " "on continuous integration and build systems that do not have a system-wide " @@ -2659,7 +2884,7 @@ msgstr "" "Paketmanager für .NET“, funktioniert aber auch für Pakete mit Werkzeugen für " "die Bauzeit einwandfrei." -#: ../../using/windows.rst:1230 +#: ../../using/windows.rst:1370 msgid "" "Visit `nuget.org `_ for the most up-to-date " "information on using nuget. What follows is a summary that is sufficient for " @@ -2669,7 +2894,7 @@ msgstr "" "`_. Es folgt eine Zusammenfassung, die Python-" "Entwicklern genügt." -#: ../../using/windows.rst:1234 +#: ../../using/windows.rst:1374 msgid "" "The ``nuget.exe`` command line tool may be downloaded directly from " "``https://dist.nuget.org/win-x86-commandline/latest/nuget.exe``, for " @@ -2681,7 +2906,7 @@ msgstr "" "Beispiel mit curl oder PowerShell. Mit dem Werkzeug wird die neueste Python-" "Version für 64-Bit- oder 32-Bit-Rechner so installiert::" -#: ../../using/windows.rst:1239 +#: ../../using/windows.rst:1379 msgid "" "nuget.exe install python -ExcludeVersion -OutputDirectory .\n" "nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory ." @@ -2689,7 +2914,7 @@ msgstr "" "nuget.exe install python -ExcludeVersion -OutputDirectory .\n" "nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory ." -#: ../../using/windows.rst:1242 +#: ../../using/windows.rst:1382 msgid "" "To select a particular version, add a ``-Version 3.x.y``. The output " "directory may be changed from ``.``, and the package will be installed into " @@ -2705,7 +2930,7 @@ msgstr "" "enthält dieser Name die installierte Version. In dem Unterverzeichnis liegt " "ein Verzeichnis ``tools`` mit der Python-Installation:" -#: ../../using/windows.rst:1249 +#: ../../using/windows.rst:1389 msgid "" "# Without -ExcludeVersion\n" "> .\\python.3.5.2\\tools\\python.exe -V\n" @@ -2723,7 +2948,7 @@ msgstr "" "> .\\python\\tools\\python.exe -V\n" "Python 3.5.2" -#: ../../using/windows.rst:1259 +#: ../../using/windows.rst:1399 msgid "" "In general, nuget packages are not upgradeable, and newer versions should be " "installed side-by-side and referenced using the full path. Alternatively, " @@ -2736,7 +2961,7 @@ msgstr "" "löschen und es erneut installieren. Viele CI-Systeme tun das automatisch, " "wenn sie Dateien zwischen Builds nicht aufbewahren." -#: ../../using/windows.rst:1264 +#: ../../using/windows.rst:1404 msgid "" "Alongside the ``tools`` directory is a ``build\\native`` directory. This " "contains an MSBuild properties file ``python.props`` that can be used in a C+" @@ -2749,7 +2974,7 @@ msgstr "" "Werden die Einstellungen eingebunden, verwendet dein Build automatisch die " "Headerdateien und Importbibliotheken." -#: ../../using/windows.rst:1269 +#: ../../using/windows.rst:1409 msgid "" "The package information pages on nuget.org are `www.nuget.org/packages/" "python `_ for the 64-bit version, " @@ -2763,11 +2988,11 @@ msgstr "" "pythonx86>`_ für die 32-Bit-Version und `www.nuget.org/packages/pythonarm64 " "`_ für die ARM64-Version." -#: ../../using/windows.rst:1277 +#: ../../using/windows.rst:1417 msgid "Free-threaded packages" msgstr "Free-Threading-Pakete" -#: ../../using/windows.rst:1281 +#: ../../using/windows.rst:1421 msgid "" "Packages containing free-threaded binaries are named `python-freethreaded " "`_ for the 64-bit " @@ -2786,11 +3011,11 @@ msgstr "" "python_x_dot_y_t_exe_literal| als auch ``python.exe``, die beide im Free-" "Threading-Betrieb laufen." -#: ../../using/windows.rst:1292 +#: ../../using/windows.rst:1432 msgid "Alternative bundles" msgstr "Alternative Distributionen" -#: ../../using/windows.rst:1294 +#: ../../using/windows.rst:1434 msgid "" "Besides the standard CPython distribution, there are modified packages " "including additional functionality. The following is a list of popular " @@ -2800,21 +3025,21 @@ msgstr "" "zusätzlichen Funktionen. Es folgt eine Liste verbreiteter Varianten und " "ihrer wichtigsten Eigenschaften:" -#: ../../using/windows.rst:1298 +#: ../../using/windows.rst:1438 msgid "`ActivePython `_" msgstr "`ActivePython `_" -#: ../../using/windows.rst:1299 +#: ../../using/windows.rst:1439 msgid "Installer with multi-platform compatibility, documentation, PyWin32" msgstr "" "Installationsprogramm mit plattformübergreifender Verträglichkeit, " "Dokumentation, PyWin32" -#: ../../using/windows.rst:1301 +#: ../../using/windows.rst:1441 msgid "`Anaconda `_" msgstr "`Anaconda `_" -#: ../../using/windows.rst:1302 +#: ../../using/windows.rst:1442 msgid "" "Popular scientific modules (such as numpy, scipy and pandas) and the " "``conda`` package manager." @@ -2822,17 +3047,17 @@ msgstr "" "Verbreitete wissenschaftliche Module (etwa numpy, scipy und pandas) und der " "Paketmanager ``conda``." -#: ../../using/windows.rst:1305 +#: ../../using/windows.rst:1445 msgid "" "`Enthought Deployment Manager `_" msgstr "" "`Enthought Deployment Manager `_" -#: ../../using/windows.rst:1306 +#: ../../using/windows.rst:1446 msgid "\"The Next Generation Python Environment and Package Manager\"." msgstr "„The Next Generation Python Environment and Package Manager“." -#: ../../using/windows.rst:1308 +#: ../../using/windows.rst:1448 msgid "" "Previously Enthought provided Canopy, but it `reached end of life in 2016 " "`_." -#: ../../using/windows.rst:1311 +#: ../../using/windows.rst:1451 msgid "`WinPython `_" msgstr "`WinPython `_" -#: ../../using/windows.rst:1312 +#: ../../using/windows.rst:1452 msgid "" "Windows-specific distribution with prebuilt scientific packages and tools " "for building packages." @@ -2856,7 +3081,7 @@ msgstr "" "Windows-spezifische Distribution mit vorgefertigten wissenschaftlichen " "Paketen und Werkzeugen zum Bauen von Paketen." -#: ../../using/windows.rst:1315 +#: ../../using/windows.rst:1455 msgid "" "Note that these packages may not include the latest versions of Python or " "other libraries, and are not maintained or supported by the core Python team." @@ -2865,11 +3090,11 @@ msgstr "" "anderen Bibliotheken enthalten müssen und nicht vom Kern-Team von Python " "gepflegt oder unterstützt werden." -#: ../../using/windows.rst:1320 +#: ../../using/windows.rst:1460 msgid "Supported Windows versions" msgstr "Unterstützte Windows-Versionen" -#: ../../using/windows.rst:1322 +#: ../../using/windows.rst:1462 msgid "" "As specified in :pep:`11`, a Python release only supports a Windows platform " "while Microsoft considers the platform under extended support. This means " @@ -2883,11 +3108,11 @@ msgstr "" "Unterstützung für Windows 7 brauchst, installiere bitte Python 3.8. Brauchst " "du Unterstützung für Windows 8.1, installiere bitte Python 3.12." -#: ../../using/windows.rst:1332 ../../using/windows.rst:1619 +#: ../../using/windows.rst:1472 ../../using/windows.rst:1759 msgid "Removing the MAX_PATH limitation" msgstr "Die Beschränkung durch MAX_PATH aufheben" -#: ../../using/windows.rst:1334 ../../using/windows.rst:1621 +#: ../../using/windows.rst:1474 ../../using/windows.rst:1761 msgid "" "Windows historically has limited path lengths to 260 characters. This meant " "that paths longer than this would not resolve and errors would result." @@ -2896,7 +3121,7 @@ msgstr "" "beschränkt. Längere Pfade ließen sich dadurch nicht auflösen, und es kam zu " "Fehlern." -#: ../../using/windows.rst:1337 +#: ../../using/windows.rst:1477 msgid "" "In the latest versions of Windows, this limitation can be expanded to over " "32,000 characters. Your administrator will need to activate the \"Enable " @@ -2911,7 +3136,7 @@ msgstr "" "``HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`` auf " "``1`` setzen." -#: ../../using/windows.rst:1342 ../../using/windows.rst:1630 +#: ../../using/windows.rst:1482 ../../using/windows.rst:1770 msgid "" "This allows the :func:`open` function, the :mod:`os` module and most other " "path functionality to accept and return paths longer than 260 characters." @@ -2920,7 +3145,7 @@ msgstr "" "anderen Pfadfunktionen Pfade mit mehr als 260 Zeichen annehmen und " "zurückgeben." -#: ../../using/windows.rst:1345 +#: ../../using/windows.rst:1485 msgid "" "After changing the above option and rebooting, no further configuration is " "required." @@ -2928,17 +3153,17 @@ msgstr "" "Nach dem Ändern der obigen Option und einem Neustart ist keine weitere " "Einrichtung nötig." -#: ../../using/windows.rst:1352 +#: ../../using/windows.rst:1492 msgid "UTF-8 mode" msgstr "UTF-8-Modus" -#: ../../using/windows.rst:1357 +#: ../../using/windows.rst:1497 msgid "Python UTF-8 mode is now enabled by default (:pep:`686`)." msgstr "" "Der UTF-8-Modus von Python ist jetzt standardmäßig eingeschaltet " "(:pep:`686`)." -#: ../../using/windows.rst:1359 +#: ../../using/windows.rst:1499 msgid "" "Windows still uses legacy encodings for the system encoding (the ANSI Code " "Page). When the :ref:`Python UTF-8 Mode ` is disabled, Python " @@ -2950,7 +3175,7 @@ msgstr "" "abgeschaltet, verwendet Python die ANSI-Codepage als Standardkodierung für " "Textdateien, wie :func:`locale.getencoding` sie zurückgibt." -#: ../../using/windows.rst:1364 +#: ../../using/windows.rst:1504 msgid "" "This may cause issues because UTF-8 is widely used on the internet and most " "Unix systems, including WSL (Windows Subsystem for Linux)." @@ -2958,7 +3183,7 @@ msgstr "" "Das kann Schwierigkeiten machen, weil UTF-8 im Internet und auf den meisten " "Unix-Systemen weit verbreitet ist, auch im WSL (Windows-Subsystem für Linux)." -#: ../../using/windows.rst:1367 +#: ../../using/windows.rst:1507 msgid "" "The :ref:`Python UTF-8 Mode `, enabled by default, ignores the " "system encoding and uses UTF-8 as the default text encoding. When " @@ -2971,7 +3196,7 @@ msgstr "" "Systemkodierung (die ANSI-Codepage) weiterhin über den Codec „mbcs“ " "verwenden." -#: ../../using/windows.rst:1372 +#: ../../using/windows.rst:1512 msgid "" "You can disable the :ref:`Python UTF-8 Mode ` via the ``-X " "utf8=0`` command line option, or the ``PYTHONUTF8=0`` environment variable. " @@ -2984,7 +3209,7 @@ msgstr "" "siehe :envvar:`PYTHONUTF8`, und unter :ref:`setting-envvars` steht, wie du " "Umgebungsvariablen änderst." -#: ../../using/windows.rst:1378 +#: ../../using/windows.rst:1518 msgid "" "Adding ``PYTHONUTF8={0,1}`` to the default environment variables will affect " "all Python 3.7+ applications on your system. If you have any Python 3.7+ " @@ -2999,7 +3224,7 @@ msgstr "" "nur vorübergehend zu setzen oder die Befehlszeilenoption ``-X utf8`` zu " "verwenden." -#: ../../using/windows.rst:1385 +#: ../../using/windows.rst:1525 msgid "" "Even when UTF-8 mode is disabled, Python uses UTF-8 by default on Windows " "for:" @@ -3007,13 +3232,13 @@ msgstr "" "Auch bei abgeschaltetem UTF-8-Modus verwendet Python unter Windows " "standardmäßig UTF-8 für:" -#: ../../using/windows.rst:1388 +#: ../../using/windows.rst:1528 msgid "Console I/O including standard I/O (see :pep:`528` for details)." msgstr "" "Ein- und Ausgabe der Konsole einschließlich der Standard-Ein- und -Ausgabe " "(Einzelheiten in :pep:`528`)." -#: ../../using/windows.rst:1389 +#: ../../using/windows.rst:1529 msgid "" "The :term:`filesystem encoding ` " "(see :pep:`529` for details)." @@ -3021,11 +3246,11 @@ msgstr "" "Die :term:`Dateisystemkodierung ` " "(Einzelheiten in :pep:`529`)." -#: ../../using/windows.rst:1396 +#: ../../using/windows.rst:1536 msgid "Finding modules" msgstr "Module finden" -#: ../../using/windows.rst:1398 +#: ../../using/windows.rst:1538 msgid "" "These notes supplement the description at :ref:`sys-path-init` with detailed " "Windows notes." @@ -3033,7 +3258,7 @@ msgstr "" "Diese Hinweise ergänzen die Beschreibung unter :ref:`sys-path-init` um " "Einzelheiten zu Windows." -#: ../../using/windows.rst:1401 +#: ../../using/windows.rst:1541 msgid "" "When no ``._pth`` file is found, this is how :data:`sys.path` is populated " "on Windows:" @@ -3041,7 +3266,7 @@ msgstr "" "Wird keine Datei ``._pth`` gefunden, wird :data:`sys.path` unter Windows so " "gefüllt:" -#: ../../using/windows.rst:1404 +#: ../../using/windows.rst:1544 msgid "" "An empty entry is added at the start, which corresponds to the current " "directory." @@ -3049,7 +3274,7 @@ msgstr "" "Am Anfang wird ein leerer Eintrag hinzugefügt, der dem aktuellen Verzeichnis " "entspricht." -#: ../../using/windows.rst:1407 +#: ../../using/windows.rst:1547 msgid "" "If the environment variable :envvar:`PYTHONPATH` exists, as described " "in :ref:`using-on-envvars`, its entries are added next. Note that on " @@ -3062,7 +3287,7 @@ msgstr "" "getrennt sein müssen, um sie vom Doppelpunkt in Laufwerksbezeichnungen (``C:" "\\`` und so weiter) zu unterscheiden." -#: ../../using/windows.rst:1412 +#: ../../using/windows.rst:1552 msgid "" "Additional \"application paths\" can be added in the registry as subkeys " "of :samp:`\\\\SOFTWARE\\\\Python\\\\PythonCore\\\\{version}\\\\PythonPath` " @@ -3079,7 +3304,7 @@ msgstr "" "zu :data:`sys.path` hinzugefügt wird. (Beachte, dass alle bekannten " "Installationsprogramme nur HKLM verwenden, HKCU ist daher meist leer.)" -#: ../../using/windows.rst:1419 +#: ../../using/windows.rst:1559 msgid "" "If the environment variable :envvar:`PYTHONHOME` is set, it is assumed as " "\"Python Home\". Otherwise, the path of the main Python executable is used " @@ -3098,7 +3323,7 @@ msgstr "" "Andernfalls wird der Kernpfad von Python aus dem in der Registrierung " "gespeicherten PythonPath gebildet." -#: ../../using/windows.rst:1427 +#: ../../using/windows.rst:1567 msgid "" "If the Python Home cannot be located, no :envvar:`PYTHONPATH` is specified " "in the environment, and no registry entries can be found, a default path " @@ -3109,7 +3334,7 @@ msgstr "" "finden, wird ein Standardpfad mit relativen Einträgen verwendet (etwa ``." "\\Lib;.\\plat-win`` und so weiter)." -#: ../../using/windows.rst:1431 +#: ../../using/windows.rst:1571 msgid "" "If a ``pyvenv.cfg`` file is found alongside the main executable or in the " "directory one level above the executable, the following variations apply:" @@ -3117,7 +3342,7 @@ msgstr "" "Wird neben der ausführbaren Hauptdatei oder im Verzeichnis eine Ebene " "darüber eine Datei ``pyvenv.cfg`` gefunden, gilt Folgendes abweichend:" -#: ../../using/windows.rst:1434 +#: ../../using/windows.rst:1574 msgid "" "If ``home`` is an absolute path and :envvar:`PYTHONHOME` is not set, this " "path is used instead of the path to the main executable when deducing the " @@ -3127,11 +3352,11 @@ msgstr "" "beim Erschließen der Heimat dieser Pfad anstelle des Pfads zur ausführbaren " "Hauptdatei verwendet." -#: ../../using/windows.rst:1438 +#: ../../using/windows.rst:1578 msgid "The end result of all this is:" msgstr "Unterm Strich ergibt sich daraus:" -#: ../../using/windows.rst:1440 +#: ../../using/windows.rst:1580 msgid "" "When running :file:`python.exe`, or any other .exe in the main Python " "directory (either an installed version, or directly from the PCbuild " @@ -3144,7 +3369,7 @@ msgstr "" "Registrierung werden ignoriert. Andere „Anwendungspfade“ in der " "Registrierung werden immer gelesen." -#: ../../using/windows.rst:1445 +#: ../../using/windows.rst:1585 msgid "" "When Python is hosted in another .exe (for example, in a different directory " "or embedded via COM), the \"Python Home\" will not be deduced, so the core " @@ -3156,7 +3381,7 @@ msgstr "" "wird daher der Kernpfad aus der Registrierung verwendet. Andere " "„Anwendungspfade“ in der Registrierung werden immer gelesen." -#: ../../using/windows.rst:1449 +#: ../../using/windows.rst:1589 msgid "" "If Python can't find its home and there are no registry values (frozen .exe, " "some very strange installation setup) you get a path with some default, but " @@ -3166,7 +3391,7 @@ msgstr "" "(eingefrorene .exe, sehr eigenartige Installationsaufbauten), erhältst du " "einen Pfad mit einigen vorgegebenen, aber relativen Pfaden." -#: ../../using/windows.rst:1453 +#: ../../using/windows.rst:1593 msgid "" "For those who want to bundle Python into their application or distribution, " "the following advice will prevent conflicts with other installations:" @@ -3174,7 +3399,7 @@ msgstr "" "Wer Python in seine Anwendung oder Distribution einpacken möchte, vermeidet " "mit den folgenden Ratschlägen Konflikte mit anderen Installationen:" -#: ../../using/windows.rst:1456 +#: ../../using/windows.rst:1596 msgid "" "Include a ``._pth`` file alongside your executable containing the " "directories to include. This will ignore paths listed in the registry and " @@ -3186,7 +3411,7 @@ msgstr "" "und in Umgebungsvariablen aufgeführte Pfade ignoriert, ebenso :mod:`site`, " "sofern dort nicht ``import site`` steht." -#: ../../using/windows.rst:1461 +#: ../../using/windows.rst:1601 msgid "" "If you are loading :file:`python3.dll` or |python_xy_dll_literal| in your " "own executable, explicitly set :c:member:`PyConfig.module_search_paths` " @@ -3196,7 +3421,7 @@ msgstr "" "ausführbaren Datei lädst, setze :c:member:`PyConfig.module_search_paths` " "ausdrücklich vor :c:func:`Py_InitializeFromConfig`." -#: ../../using/windows.rst:1465 +#: ../../using/windows.rst:1605 msgid "" "Clear and/or overwrite :envvar:`PYTHONPATH` and set :envvar:`PYTHONHOME` " "before launching :file:`python.exe` from your application." @@ -3205,7 +3430,7 @@ msgstr "" "setze :envvar:`PYTHONHOME`, bevor du :file:`python.exe` aus deiner Anwendung " "startest." -#: ../../using/windows.rst:1468 +#: ../../using/windows.rst:1608 msgid "" "If you cannot use the previous suggestions (for example, you are a " "distribution that allows people to run :file:`python.exe` directly), ensure " @@ -3219,7 +3444,7 @@ msgstr "" "Installationsverzeichnis vorhanden ist. (Beachte, dass sie innerhalb einer " "ZIP-Datei nicht erkannt wird, eine richtig benannte ZIP-Datei dagegen schon.)" -#: ../../using/windows.rst:1474 +#: ../../using/windows.rst:1614 msgid "" "These will ensure that the files in a system-wide installation will not take " "precedence over the copy of the standard library bundled with your " @@ -3235,7 +3460,7 @@ msgstr "" "die anderen weiterhin für ungewöhnliche Pfade in der Registrierung und für " "site-packages des Benutzers anfällig sein können." -#: ../../using/windows.rst:1482 +#: ../../using/windows.rst:1622 msgid "" "Add ``._pth`` file support and remove ``applocal`` option from " "``pyvenv.cfg``." @@ -3243,7 +3468,7 @@ msgstr "" "Unterstützung für die Datei ``._pth`` hinzugefügt und die Option " "``applocal`` aus ``pyvenv.cfg`` entfernt." -#: ../../using/windows.rst:1487 +#: ../../using/windows.rst:1627 msgid "" "Add :file:`python{XX}.zip` as a potential landmark when directly adjacent to " "the executable." @@ -3251,7 +3476,7 @@ msgstr "" ":file:`python{XX}.zip` als mögliche Wegmarke hinzugefügt, wenn sie direkt " "neben der ausführbaren Datei liegt." -#: ../../using/windows.rst:1492 +#: ../../using/windows.rst:1632 msgid "" "Modules specified in the registry under ``Modules`` (not ``PythonPath``) may " "be imported by :class:`importlib.machinery.WindowsRegistryFinder`. This " @@ -3265,11 +3490,11 @@ msgstr "" "künftig aber möglicherweise ausdrücklich zu :data:`sys.meta_path` " "hinzugefügt werden." -#: ../../using/windows.rst:1498 +#: ../../using/windows.rst:1638 msgid "Additional modules" msgstr "Zusätzliche Module" -#: ../../using/windows.rst:1500 +#: ../../using/windows.rst:1640 msgid "" "Even though Python aims to be portable among all platforms, there are " "features that are unique to Windows. A couple of modules, both in the " @@ -3280,7 +3505,7 @@ msgstr "" "der Standardbibliothek und außerhalb — sowie Codeschnipsel, um diese " "Funktionen zu nutzen." -#: ../../using/windows.rst:1504 +#: ../../using/windows.rst:1644 msgid "" "The Windows-specific standard modules are documented in :ref:`mswin-specific-" "services`." @@ -3288,11 +3513,11 @@ msgstr "" "Die Windows-spezifischen Standardmodule sind unter :ref:`mswin-specific-" "services` beschrieben." -#: ../../using/windows.rst:1508 +#: ../../using/windows.rst:1648 msgid "PyWin32" msgstr "PyWin32" -#: ../../using/windows.rst:1510 +#: ../../using/windows.rst:1650 msgid "" "The :pypi:`PyWin32` module by Mark Hammond is a collection of modules for " "advanced Windows-specific support. This includes utilities for:" @@ -3301,7 +3526,7 @@ msgstr "" "fortgeschrittene Windows-spezifische Unterstützung. Dazu gehören Hilfsmittel " "für:" -#: ../../using/windows.rst:1514 +#: ../../using/windows.rst:1654 msgid "" "`Component Object Model `_ (COM)" @@ -3309,19 +3534,19 @@ msgstr "" "`Component Object Model `_ (COM)" -#: ../../using/windows.rst:1517 +#: ../../using/windows.rst:1657 msgid "Win32 API calls" msgstr "Win32-API-Aufrufe" -#: ../../using/windows.rst:1518 +#: ../../using/windows.rst:1658 msgid "Registry" msgstr "Registrierung" -#: ../../using/windows.rst:1519 +#: ../../using/windows.rst:1659 msgid "Event log" msgstr "Ereignisprotokoll" -#: ../../using/windows.rst:1520 +#: ../../using/windows.rst:1660 msgid "" "`Microsoft Foundation Classes `_ (MFC) user interfaces" @@ -3329,7 +3554,7 @@ msgstr "" "Benutzeroberflächen mit `Microsoft Foundation Classes `_ (MFC)" -#: ../../using/windows.rst:1524 +#: ../../using/windows.rst:1664 msgid "" "`PythonWin `_ is a sample MFC application shipped " @@ -3340,29 +3565,29 @@ msgstr "" "mit PyWin32 ausgeliefert wird. Es ist eine einbettbare Entwicklungsumgebung " "mit integriertem Debugger." -#: ../../using/windows.rst:1530 +#: ../../using/windows.rst:1670 msgid "" "`Win32 How Do I...? `_" msgstr "" "`Win32 How Do I...? `_" -#: ../../using/windows.rst:1531 +#: ../../using/windows.rst:1671 msgid "by Tim Golden" msgstr "von Tim Golden" -#: ../../using/windows.rst:1533 +#: ../../using/windows.rst:1673 msgid "`Python and COM `_" msgstr "`Python and COM `_" -#: ../../using/windows.rst:1534 +#: ../../using/windows.rst:1674 msgid "by David and Paul Boddie" msgstr "von David und Paul Boddie" -#: ../../using/windows.rst:1538 +#: ../../using/windows.rst:1678 msgid "cx_Freeze" msgstr "cx_Freeze" -#: ../../using/windows.rst:1540 +#: ../../using/windows.rst:1680 msgid "" "`cx_Freeze `_ wraps Python " "scripts into executable Windows programs (:file:`{*}.exe` files). When you " @@ -3374,11 +3599,11 @@ msgstr "" "kannst du deine Anwendung weitergeben, ohne dass deine Benutzer Python " "installieren müssen." -#: ../../using/windows.rst:1547 +#: ../../using/windows.rst:1687 msgid "Compiling Python on Windows" msgstr "Python unter Windows kompilieren" -#: ../../using/windows.rst:1549 +#: ../../using/windows.rst:1689 msgid "" "If you want to compile CPython yourself, first thing you should do is get " "the `source `_. You can download " @@ -3391,7 +3616,7 @@ msgstr "" "frischen `Checkout `_ holen." -#: ../../using/windows.rst:1554 +#: ../../using/windows.rst:1694 msgid "" "The source tree contains a build solution and project files for Microsoft " "Visual Studio, which is the compiler used to build the official Python " @@ -3402,22 +3627,22 @@ msgstr "" "Veröffentlichungen gebaut werden. Diese Dateien liegen im " "Verzeichnis :file:`PCbuild`." -#: ../../using/windows.rst:1558 +#: ../../using/windows.rst:1698 msgid "" "Check :file:`PCbuild/readme.txt` for general information on the build " "process." msgstr "" "Allgemeine Hinweise zum Bauvorgang stehen in :file:`PCbuild/readme.txt`." -#: ../../using/windows.rst:1560 +#: ../../using/windows.rst:1700 msgid "For extension modules, consult :ref:`building-on-windows`." msgstr "Für Erweiterungsmodule siehe :ref:`building-on-windows`." -#: ../../using/windows.rst:1567 +#: ../../using/windows.rst:1707 msgid "The full installer (deprecated)" msgstr "Das vollständige Installationsprogramm (veraltet)" -#: ../../using/windows.rst:1571 +#: ../../using/windows.rst:1711 msgid "" "This installer is deprecated since 3.14 and will not be produced for Python " "3.16 or later. See :ref:`pymanager` for the modern installer." @@ -3426,11 +3651,11 @@ msgstr "" "und neuer nicht mehr erstellt. Das aktuelle Installationsprogramm findest du " "unter :ref:`pymanager`." -#: ../../using/windows.rst:1576 +#: ../../using/windows.rst:1716 msgid "Installation steps" msgstr "Installationsschritte" -#: ../../using/windows.rst:1578 +#: ../../using/windows.rst:1718 msgid "" "Four Python |version| installers are available for download - two each for " "the 32-bit and 64-bit versions of the interpreter. The *web installer* is a " @@ -3449,17 +3674,17 @@ msgstr "" "Funktionen eine Internetverbindung. Unter :ref:`install-layout-option` " "stehen weitere Wege, das Herunterladen während der Installation zu vermeiden." -#: ../../using/windows.rst:1586 +#: ../../using/windows.rst:1726 msgid "After starting the installer, one of two options may be selected:" msgstr "" "Nach dem Starten den Installers kann eine der beiden Optionen ausgewählt " "werden:" -#: ../../using/windows.rst:1590 +#: ../../using/windows.rst:1730 msgid "If you select \"Install Now\":" msgstr "Wenn du „Jetzt installieren“ wählst:" -#: ../../using/windows.rst:1592 +#: ../../using/windows.rst:1732 msgid "" "You will *not* need to be an administrator (unless a system update for the C " "Runtime Library is required or you install the :ref:`launcher` for all users)" @@ -3468,11 +3693,11 @@ msgstr "" "Systemaktualisierung der C-Laufzeitbibliothek ist nötig oder du installierst " "den :ref:`launcher` für alle Benutzer)" -#: ../../using/windows.rst:1595 +#: ../../using/windows.rst:1735 msgid "Python will be installed into your user directory" msgstr "Python wird in dein Benutzerverzeichnis installiert" -#: ../../using/windows.rst:1596 +#: ../../using/windows.rst:1736 msgid "" "The :ref:`launcher` will be installed according to the option at the bottom " "of the first page" @@ -3480,23 +3705,23 @@ msgstr "" "Der :ref:`launcher` wird gemäß der Option am unteren Rand der ersten Seite " "installiert" -#: ../../using/windows.rst:1598 +#: ../../using/windows.rst:1738 msgid "The standard library, test suite, launcher and pip will be installed" msgstr "" "Die Standardbibliothek, die Testsammlung, der Starter und pip werden " "installiert" -#: ../../using/windows.rst:1599 +#: ../../using/windows.rst:1739 msgid "If selected, the install directory will be added to your :envvar:`PATH`" msgstr "" "Wenn ausgewählt, wird das Installationsverzeichnis zu deinem :envvar:`PATH` " "hinzugefügt" -#: ../../using/windows.rst:1600 +#: ../../using/windows.rst:1740 msgid "Shortcuts will only be visible for the current user" msgstr "Verknüpfungen sind nur für den aktuellen Benutzer sichtbar" -#: ../../using/windows.rst:1602 +#: ../../using/windows.rst:1742 msgid "" "Selecting \"Customize installation\" will allow you to select the features " "to install, the installation location and other options or post-install " @@ -3508,7 +3733,7 @@ msgstr "" "Installation auswählen. Um Debugsymbole oder Debug-Binärdateien zu " "installieren, brauchst du diese Option." -#: ../../using/windows.rst:1606 +#: ../../using/windows.rst:1746 msgid "" "To perform an all-users installation, you should select \"Customize " "installation\". In this case:" @@ -3516,40 +3741,40 @@ msgstr "" "Für eine Installation für alle Benutzer solltest du „Customize installation“ " "wählen. In diesem Fall:" -#: ../../using/windows.rst:1609 +#: ../../using/windows.rst:1749 msgid "You may be required to provide administrative credentials or approval" msgstr "" "Möglicherweise musst du administrative Anmeldedaten oder eine Freigabe " "bereitstellen" -#: ../../using/windows.rst:1610 +#: ../../using/windows.rst:1750 msgid "Python will be installed into the Program Files directory" msgstr "Python wird in das Verzeichnis „Programme“ installiert" -#: ../../using/windows.rst:1611 +#: ../../using/windows.rst:1751 msgid "The :ref:`launcher` will be installed into the Windows directory" msgstr "Der :ref:`launcher` wird in das Windows-Verzeichnis installiert" -#: ../../using/windows.rst:1612 +#: ../../using/windows.rst:1752 msgid "Optional features may be selected during installation" msgstr "Optionale Funktionen lassen sich während der Installation auswählen" -#: ../../using/windows.rst:1613 +#: ../../using/windows.rst:1753 msgid "The standard library can be pre-compiled to bytecode" msgstr "Die Standardbibliothek kann vorab zu Bytecode kompiliert werden" -#: ../../using/windows.rst:1614 +#: ../../using/windows.rst:1754 msgid "" "If selected, the install directory will be added to the system :envvar:`PATH`" msgstr "" "Wenn ausgewählt, wird das Installationsverzeichnis zum System-:envvar:`PATH` " "hinzugefügt" -#: ../../using/windows.rst:1615 +#: ../../using/windows.rst:1755 msgid "Shortcuts are available for all users" msgstr "Verknüpfungen stehen allen Benutzern zur Verfügung" -#: ../../using/windows.rst:1624 +#: ../../using/windows.rst:1764 msgid "" "In the latest versions of Windows, this limitation can be expanded to " "approximately 32,000 characters. Your administrator will need to activate " @@ -3564,19 +3789,19 @@ msgstr "" "``HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`` auf " "``1`` setzen." -#: ../../using/windows.rst:1633 +#: ../../using/windows.rst:1773 msgid "After changing the above option, no further configuration is required." msgstr "Nach dem Ändern der obigen Option ist keine weitere Einrichtung nötig." -#: ../../using/windows.rst:1637 +#: ../../using/windows.rst:1777 msgid "Support for long paths was enabled in Python." msgstr "Die Unterstützung langer Pfade wurde in Python eingeschaltet." -#: ../../using/windows.rst:1642 +#: ../../using/windows.rst:1782 msgid "Installing without UI" msgstr "Ohne Oberfläche installieren" -#: ../../using/windows.rst:1644 +#: ../../using/windows.rst:1784 msgid "" "All of the options available in the installer UI can also be specified from " "the command line, allowing scripted installers to replicate an installation " @@ -3589,7 +3814,7 @@ msgstr "" "Rechnern nachbilden können. Diese Optionen lassen sich auch setzen, ohne die " "Oberfläche zu unterdrücken, um einige der Vorgaben zu ändern." -#: ../../using/windows.rst:1649 +#: ../../using/windows.rst:1789 msgid "" "The following options (found by executing the installer with ``/?``) can be " "passed into the installer:" @@ -3597,61 +3822,61 @@ msgstr "" "Die folgenden Optionen (zu finden, indem das Installationsprogramm mit ``/?" "`` aufgerufen wird) lassen sich an das Installationsprogramm übergeben:" -#: ../../using/windows.rst:1653 ../../using/windows.rst:1673 -#: ../../using/windows.rst:2263 +#: ../../using/windows.rst:1793 ../../using/windows.rst:1813 +#: ../../using/windows.rst:2403 msgid "Name" msgstr "Name" -#: ../../using/windows.rst:1655 +#: ../../using/windows.rst:1795 msgid "/passive" msgstr "/passive" -#: ../../using/windows.rst:1655 +#: ../../using/windows.rst:1795 msgid "to display progress without requiring user interaction" msgstr "zeigt den Fortschritt an, ohne Zutun des Benutzers zu verlangen" -#: ../../using/windows.rst:1657 +#: ../../using/windows.rst:1797 msgid "/quiet" msgstr "/quiet" -#: ../../using/windows.rst:1657 +#: ../../using/windows.rst:1797 msgid "to install/uninstall without displaying any UI" msgstr "" "installiert beziehungsweise deinstalliert, ohne eine Oberfläche anzuzeigen" -#: ../../using/windows.rst:1659 +#: ../../using/windows.rst:1799 msgid "/simple" msgstr "/simple" -#: ../../using/windows.rst:1659 +#: ../../using/windows.rst:1799 msgid "to prevent user customization" msgstr "verhindert Anpassungen durch den Benutzer" -#: ../../using/windows.rst:1661 +#: ../../using/windows.rst:1801 msgid "/uninstall" msgstr "/uninstall" -#: ../../using/windows.rst:1661 +#: ../../using/windows.rst:1801 msgid "to remove Python (without confirmation)" msgstr "entfernt Python (ohne Bestätigung)" -#: ../../using/windows.rst:1663 +#: ../../using/windows.rst:1803 msgid "/layout [directory]" msgstr "/layout [directory]" -#: ../../using/windows.rst:1663 +#: ../../using/windows.rst:1803 msgid "to pre-download all components" msgstr "lädt alle Bestandteile vorab herunter" -#: ../../using/windows.rst:1665 +#: ../../using/windows.rst:1805 msgid "/log [filename]" msgstr "/log [filename]" -#: ../../using/windows.rst:1665 +#: ../../using/windows.rst:1805 msgid "to specify log files location" msgstr "gibt den Ort der Protokolldateien an" -#: ../../using/windows.rst:1668 +#: ../../using/windows.rst:1808 msgid "" "All other options are passed as ``name=value``, where the value is usually " "``0`` to disable a feature, ``1`` to enable a feature, or a path. The full " @@ -3662,47 +3887,47 @@ msgstr "" "Funktion oder ein Pfad ist. Die vollständige Liste der verfügbaren Optionen " "steht unten." -#: ../../using/windows.rst:1673 +#: ../../using/windows.rst:1813 msgid "Default" msgstr "Standard" -#: ../../using/windows.rst:1675 +#: ../../using/windows.rst:1815 msgid "InstallAllUsers" msgstr "InstallAllUsers" -#: ../../using/windows.rst:1675 +#: ../../using/windows.rst:1815 msgid "Perform a system-wide installation." msgstr "Nimmt eine systemweite Installation vor." -#: ../../using/windows.rst:1675 ../../using/windows.rst:1701 -#: ../../using/windows.rst:1704 ../../using/windows.rst:1708 -#: ../../using/windows.rst:1717 ../../using/windows.rst:1739 -#: ../../using/windows.rst:1747 ../../using/windows.rst:1750 +#: ../../using/windows.rst:1815 ../../using/windows.rst:1841 +#: ../../using/windows.rst:1844 ../../using/windows.rst:1848 +#: ../../using/windows.rst:1857 ../../using/windows.rst:1879 +#: ../../using/windows.rst:1887 ../../using/windows.rst:1890 msgid "0" msgstr "0" -#: ../../using/windows.rst:1677 +#: ../../using/windows.rst:1817 msgid "TargetDir" msgstr "TargetDir" -#: ../../using/windows.rst:1677 +#: ../../using/windows.rst:1817 msgid "The installation directory" msgstr "Das Installations-Verzeichnis" -#: ../../using/windows.rst:1677 +#: ../../using/windows.rst:1817 msgid "Selected based on InstallAllUsers" msgstr "Wird anhand von InstallAllUsers gewählt" -#: ../../using/windows.rst:1680 +#: ../../using/windows.rst:1820 msgid "DefaultAllUsersTargetDir" msgstr "DefaultAllUsersTargetDir" -#: ../../using/windows.rst:1680 +#: ../../using/windows.rst:1820 msgid "The default installation directory for all-user installs" msgstr "" "Das Standardinstallationsverzeichnis für Installationen für alle Benutzer" -#: ../../using/windows.rst:1680 +#: ../../using/windows.rst:1820 msgid "" ":file:`%ProgramFiles%\\\\ Python X.Y` or :file:` %ProgramFiles(x86)%\\\\ " "Python X.Y`" @@ -3710,15 +3935,15 @@ msgstr "" ":file:`%ProgramFiles%\\\\ Python X.Y` or :file:` %ProgramFiles(x86)%\\\\ " "Python X.Y`" -#: ../../using/windows.rst:1685 +#: ../../using/windows.rst:1825 msgid "DefaultJustForMeTargetDir" msgstr "DefaultJustForMeTargetDir" -#: ../../using/windows.rst:1685 +#: ../../using/windows.rst:1825 msgid "The default install directory for just-for-me installs" msgstr "Das Standardinstallationsverzeichnis für Installationen nur für mich" -#: ../../using/windows.rst:1685 +#: ../../using/windows.rst:1825 msgid "" ":file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY` " "or :file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-32` " @@ -3728,50 +3953,50 @@ msgstr "" "or :file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-32` " "or :file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-64`" -#: ../../using/windows.rst:1695 +#: ../../using/windows.rst:1835 msgid "DefaultCustomTargetDir" msgstr "DefaultCustomTargetDir" -#: ../../using/windows.rst:1695 +#: ../../using/windows.rst:1835 msgid "The default custom install directory displayed in the UI" msgstr "" "Das in der Oberfläche angezeigte Standardverzeichnis für eine eigene " "Installation" -#: ../../using/windows.rst:1695 ../../using/windows.rst:1752 +#: ../../using/windows.rst:1835 ../../using/windows.rst:1892 msgid "(empty)" msgstr "(leer)" -#: ../../using/windows.rst:1698 +#: ../../using/windows.rst:1838 msgid "AssociateFiles" msgstr "AssociateFiles" -#: ../../using/windows.rst:1698 +#: ../../using/windows.rst:1838 msgid "Create file associations if the launcher is also installed." msgstr "Legt Dateiverknüpfungen an, wenn auch der Starter installiert ist." -#: ../../using/windows.rst:1698 ../../using/windows.rst:1712 -#: ../../using/windows.rst:1715 ../../using/windows.rst:1719 -#: ../../using/windows.rst:1723 ../../using/windows.rst:1727 -#: ../../using/windows.rst:1729 ../../using/windows.rst:1733 -#: ../../using/windows.rst:1737 ../../using/windows.rst:1741 -#: ../../using/windows.rst:1743 ../../using/windows.rst:1745 +#: ../../using/windows.rst:1838 ../../using/windows.rst:1852 +#: ../../using/windows.rst:1855 ../../using/windows.rst:1859 +#: ../../using/windows.rst:1863 ../../using/windows.rst:1867 +#: ../../using/windows.rst:1869 ../../using/windows.rst:1873 +#: ../../using/windows.rst:1877 ../../using/windows.rst:1881 +#: ../../using/windows.rst:1883 ../../using/windows.rst:1885 msgid "1" msgstr "1" -#: ../../using/windows.rst:1701 +#: ../../using/windows.rst:1841 msgid "CompileAll" msgstr "CompileAll" -#: ../../using/windows.rst:1701 +#: ../../using/windows.rst:1841 msgid "Compile all ``.py`` files to ``.pyc``." msgstr "Kompiliert alle ``.py``-Dateien zu ``.pyc``." -#: ../../using/windows.rst:1704 +#: ../../using/windows.rst:1844 msgid "PrependPath" msgstr "PrependPath" -#: ../../using/windows.rst:1704 +#: ../../using/windows.rst:1844 msgid "" "Prepend install and Scripts directories to :envvar:`PATH` and add ``.PY`` " "to :envvar:`PATHEXT`" @@ -3779,11 +4004,11 @@ msgstr "" "Stellt die Installations- und Scripts-Verzeichnisse an den Anfang " "von :envvar:`PATH` und fügt ``.PY`` zu :envvar:`PATHEXT` hinzu" -#: ../../using/windows.rst:1708 +#: ../../using/windows.rst:1848 msgid "AppendPath" msgstr "AppendPath" -#: ../../using/windows.rst:1708 +#: ../../using/windows.rst:1848 msgid "" "Append install and Scripts directories to :envvar:`PATH` and add ``.PY`` " "to :envvar:`PATHEXT`" @@ -3791,38 +4016,38 @@ msgstr "" "Hängt die Installations- und Scripts-Verzeichnisse an :envvar:`PATH` an und " "fügt ``.PY`` zu :envvar:`PATHEXT` hinzu" -#: ../../using/windows.rst:1712 +#: ../../using/windows.rst:1852 msgid "Shortcuts" msgstr "Shortcuts" -#: ../../using/windows.rst:1712 +#: ../../using/windows.rst:1852 msgid "" "Create shortcuts for the interpreter, documentation and IDLE if installed." msgstr "" "Legt Verknüpfungen für den Interpreter, die Dokumentation und IDLE an, " "sofern installiert." -#: ../../using/windows.rst:1715 +#: ../../using/windows.rst:1855 msgid "Include_doc" msgstr "Include_doc" -#: ../../using/windows.rst:1715 +#: ../../using/windows.rst:1855 msgid "Install Python manual" msgstr "Installiert das Python-Handbuch" -#: ../../using/windows.rst:1717 +#: ../../using/windows.rst:1857 msgid "Include_debug" msgstr "Include_debug" -#: ../../using/windows.rst:1717 +#: ../../using/windows.rst:1857 msgid "Install debug binaries" msgstr "Installiert die Debug-Binärdateien" -#: ../../using/windows.rst:1719 +#: ../../using/windows.rst:1859 msgid "Include_dev" msgstr "Include_dev" -#: ../../using/windows.rst:1719 +#: ../../using/windows.rst:1859 msgid "" "Install developer headers and libraries. Omitting this may lead to an " "unusable installation." @@ -3830,11 +4055,11 @@ msgstr "" "Installiert Headerdateien und Bibliotheken für die Entwicklung. Wird das " "weggelassen, kann die Installation unbrauchbar sein." -#: ../../using/windows.rst:1723 +#: ../../using/windows.rst:1863 msgid "Include_exe" msgstr "Include_exe" -#: ../../using/windows.rst:1723 +#: ../../using/windows.rst:1863 msgid "" "Install :file:`python.exe` and related files. Omitting this may lead to an " "unusable installation." @@ -3842,19 +4067,19 @@ msgstr "" "Installiert :file:`python.exe` und zugehörige Dateien. Wird das weggelassen, " "kann die Installation unbrauchbar sein." -#: ../../using/windows.rst:1727 +#: ../../using/windows.rst:1867 msgid "Include_launcher" msgstr "Include_launcher" -#: ../../using/windows.rst:1727 +#: ../../using/windows.rst:1867 msgid "Install :ref:`launcher`." msgstr "Installiert den :ref:`launcher`." -#: ../../using/windows.rst:1729 +#: ../../using/windows.rst:1869 msgid "InstallLauncherAllUsers" msgstr "InstallLauncherAllUsers" -#: ../../using/windows.rst:1729 +#: ../../using/windows.rst:1869 msgid "" "Installs the launcher for all users. Also requires ``Include_launcher`` to " "be set to 1" @@ -3862,11 +4087,11 @@ msgstr "" "Installiert den Starter für alle Benutzer. Erfordert außerdem, dass " "``Include_launcher`` auf 1 gesetzt ist" -#: ../../using/windows.rst:1733 +#: ../../using/windows.rst:1873 msgid "Include_lib" msgstr "Include_lib" -#: ../../using/windows.rst:1733 +#: ../../using/windows.rst:1873 msgid "" "Install standard library and extension modules. Omitting this may lead to an " "unusable installation." @@ -3874,74 +4099,74 @@ msgstr "" "Installiert die Standardbibliothek und die Erweiterungsmodule. Wird das " "weggelassen, kann die Installation unbrauchbar sein." -#: ../../using/windows.rst:1737 +#: ../../using/windows.rst:1877 msgid "Include_pip" msgstr "Include_pip" -#: ../../using/windows.rst:1737 +#: ../../using/windows.rst:1877 msgid "Install bundled pip and setuptools" msgstr "Installiert die beiliegenden pip und setuptools" -#: ../../using/windows.rst:1739 +#: ../../using/windows.rst:1879 msgid "Include_symbols" msgstr "Include_symbols" -#: ../../using/windows.rst:1739 +#: ../../using/windows.rst:1879 msgid "Install debugging symbols (``*.pdb``)" msgstr "Installiert Debugsymbole (``*.pdb``)" -#: ../../using/windows.rst:1741 +#: ../../using/windows.rst:1881 msgid "Include_tcltk" msgstr "Include_tcltk" -#: ../../using/windows.rst:1741 +#: ../../using/windows.rst:1881 msgid "Install Tcl/Tk support and IDLE" msgstr "Installiert die Unterstützung für Tcl/Tk und IDLE" -#: ../../using/windows.rst:1743 +#: ../../using/windows.rst:1883 msgid "Include_test" msgstr "Include_test" -#: ../../using/windows.rst:1743 +#: ../../using/windows.rst:1883 msgid "Install standard library test suite" msgstr "Installiert die Testsammlung der Standardbibliothek" -#: ../../using/windows.rst:1745 +#: ../../using/windows.rst:1885 msgid "Include_tools" msgstr "Include_tools" -#: ../../using/windows.rst:1745 +#: ../../using/windows.rst:1885 msgid "Install utility scripts" msgstr "Installiert Hilfsskripte" -#: ../../using/windows.rst:1747 +#: ../../using/windows.rst:1887 msgid "LauncherOnly" msgstr "LauncherOnly" -#: ../../using/windows.rst:1747 +#: ../../using/windows.rst:1887 msgid "Only installs the launcher. This will override most other options." msgstr "" "Installiert nur den Starter. Das überschreibt die meisten anderen Optionen." -#: ../../using/windows.rst:1750 +#: ../../using/windows.rst:1890 msgid "SimpleInstall" msgstr "SimpleInstall" -#: ../../using/windows.rst:1750 +#: ../../using/windows.rst:1890 msgid "Disable most install UI" msgstr "Schaltet den größten Teil der Installationsoberfläche ab" -#: ../../using/windows.rst:1752 +#: ../../using/windows.rst:1892 msgid "SimpleInstallDescription" msgstr "SimpleInstallDescription" -#: ../../using/windows.rst:1752 +#: ../../using/windows.rst:1892 msgid "A custom message to display when the simplified install UI is used." msgstr "" "Eine eigene Meldung, die bei der vereinfachten Installationsoberfläche " "angezeigt wird." -#: ../../using/windows.rst:1756 +#: ../../using/windows.rst:1896 msgid "" "For example, to silently install a default, system-wide Python installation, " "you could use the following command (from an elevated command prompt)::" @@ -3950,11 +4175,11 @@ msgstr "" "Python vorzunehmen, kannst du den folgenden Befehl verwenden (an einer " "Eingabeaufforderung mit erhöhten Rechten)::" -#: ../../using/windows.rst:1759 +#: ../../using/windows.rst:1899 msgid "python-3.9.0.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0" msgstr "python-3.9.0.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0" -#: ../../using/windows.rst:1761 +#: ../../using/windows.rst:1901 msgid "" "To allow users to easily install a personal copy of Python without the test " "suite, you could provide a shortcut with the following command. This will " @@ -3965,7 +4190,7 @@ msgstr "" "bereitstellen. Dabei wird eine vereinfachte erste Seite angezeigt und eine " "Anpassung verhindert::" -#: ../../using/windows.rst:1765 +#: ../../using/windows.rst:1905 msgid "" "python-3.9.0.exe InstallAllUsers=0 Include_launcher=0 Include_test=0\n" " SimpleInstall=1 SimpleInstallDescription=\"Just for me, no test suite.\"" @@ -3973,7 +4198,7 @@ msgstr "" "python-3.9.0.exe InstallAllUsers=0 Include_launcher=0 Include_test=0\n" " SimpleInstall=1 SimpleInstallDescription=\"Just for me, no test suite.\"" -#: ../../using/windows.rst:1768 +#: ../../using/windows.rst:1908 msgid "" "(Note that omitting the launcher also omits file associations, and is only " "recommended for per-user installs when there is also a system-wide " @@ -3983,7 +4208,7 @@ msgstr "" "ist nur für Installationen je Benutzer empfehlenswert, wenn es zusätzlich " "eine systemweite Installation gibt, die den Starter enthielt.)" -#: ../../using/windows.rst:1772 +#: ../../using/windows.rst:1912 msgid "" "The options listed above can also be provided in a file named " "``unattend.xml`` alongside the executable. This file specifies a list of " @@ -3999,7 +4224,7 @@ msgstr "" "Werte bleiben immer Zeichenketten. Diese Beispieldatei setzt dieselben " "Optionen wie das vorige Beispiel:" -#: ../../using/windows.rst:1778 +#: ../../using/windows.rst:1918 msgid "" "\n" " " -#: ../../using/windows.rst:1791 +#: ../../using/windows.rst:1931 msgid "Installing without downloading" msgstr "Ohne Herunterladen installieren" -#: ../../using/windows.rst:1793 +#: ../../using/windows.rst:1933 msgid "" "As some features of Python are not included in the initial installer " "download, selecting those features may require an internet connection. To " @@ -4042,7 +4267,7 @@ msgstr "" "kann als nötig. Wenn aber viele Installationen vorgenommen werden sollen, " "ist eine lokal zwischengespeicherte Kopie sehr nützlich." -#: ../../using/windows.rst:1801 +#: ../../using/windows.rst:1941 msgid "" "Execute the following command from Command Prompt to download all possible " "required files. Remember to substitute ``python-3.9.0.exe`` for the actual " @@ -4055,22 +4280,22 @@ msgstr "" "Installationsprogramms zu ersetzen und Layouts in eigenen Verzeichnissen " "anzulegen, damit Dateien gleichen Namens nicht zusammenstoßen." -#: ../../using/windows.rst:1808 +#: ../../using/windows.rst:1948 msgid "python-3.9.0.exe /layout [optional target directory]" msgstr "python-3.9.0.exe /layout [optional target directory]" -#: ../../using/windows.rst:1810 +#: ../../using/windows.rst:1950 msgid "" "You may also specify the ``/quiet`` option to hide the progress display." msgstr "" "Mit der Option ``/quiet`` lässt sich außerdem die Fortschrittsanzeige " "verbergen." -#: ../../using/windows.rst:1813 +#: ../../using/windows.rst:1953 msgid "Modifying an install" msgstr "Eine Installation ändern" -#: ../../using/windows.rst:1815 +#: ../../using/windows.rst:1955 msgid "" "Once Python has been installed, you can add or remove features through the " "Programs and Features tool that is part of Windows. Select the Python entry " @@ -4081,7 +4306,7 @@ msgstr "" "den Python-Eintrag und dann „Deinstallieren/Ändern“, um das " "Installationsprogramm im Wartungsmodus zu öffnen." -#: ../../using/windows.rst:1819 +#: ../../using/windows.rst:1959 msgid "" "\"Modify\" allows you to add or remove features by modifying the checkboxes " "- unchanged checkboxes will not install or remove anything. Some options " @@ -4094,7 +4319,7 @@ msgstr "" "Installationsverzeichnis. Dafür musst du Python vollständig entfernen und " "neu installieren." -#: ../../using/windows.rst:1824 +#: ../../using/windows.rst:1964 msgid "" "\"Repair\" will verify all the files that should be installed using the " "current settings and replace any that have been removed or modified." @@ -4103,7 +4328,7 @@ msgstr "" "Einstellungen installiert sein sollten, und alle ersetzt, die entfernt oder " "verändert wurden." -#: ../../using/windows.rst:1827 +#: ../../using/windows.rst:1967 msgid "" "\"Uninstall\" will remove Python entirely, with the exception of " "the :ref:`launcher`, which has its own entry in Programs and Features." @@ -4112,7 +4337,7 @@ msgstr "" "des :ref:`launcher`, der seinen eigenen Eintrag in „Programme und Features“ " "hat." -#: ../../using/windows.rst:1836 +#: ../../using/windows.rst:1976 msgid "" "To install pre-built binaries with free-threading enabled (see :pep:`703`), " "you should select \"Customize installation\". The second page of options " @@ -4123,7 +4348,7 @@ msgstr "" "wählen. Auf der zweiten Optionsseite findet sich das Kontrollkästchen " "„Download free-threaded binaries“." -#: ../../using/windows.rst:1842 +#: ../../using/windows.rst:1982 msgid "" "Selecting this option will download and install additional binaries to the " "same location as the main Python install. The main executable is called " @@ -4138,7 +4363,7 @@ msgstr "" "Quelldateien und beiliegende Abhängigkeiten von Dritten werden mit der " "Hauptinstallation gemeinsam genutzt." -#: ../../using/windows.rst:1848 +#: ../../using/windows.rst:1988 msgid "" "The free-threaded version is registered as a regular Python install with the " "tag ``3.13t`` (with a ``-32`` or ``-arm64`` suffix as normal for those " @@ -4159,7 +4384,7 @@ msgstr "" "Form der Option verwendest, ziehst du es vielleicht vor, die Free-Threading-" "Binärdateien zunächst nicht zu installieren." -#: ../../using/windows.rst:1857 +#: ../../using/windows.rst:1997 msgid "" "To specify the install option at the command line, use " "``Include_freethreaded=1``. See :ref:`install-layout-option` for " @@ -4173,7 +4398,7 @@ msgstr "" "herunterlädst. Die Optionen zum Einbeziehen von Debugsymbolen und " "-binärdateien gelten auch für die Free-Threading-Builds." -#: ../../using/windows.rst:1863 +#: ../../using/windows.rst:2003 msgid "" "Free-threaded binaries are also available :ref:`on nuget.org `." @@ -4181,11 +4406,11 @@ msgstr "" "Free-Threading-Binärdateien gibt es auch :ref:`auf nuget.org `." -#: ../../using/windows.rst:1867 +#: ../../using/windows.rst:2007 msgid "Python launcher for Windows (deprecated)" msgstr "Python-Starter für Windows (veraltet)" -#: ../../using/windows.rst:1871 +#: ../../using/windows.rst:2011 msgid "" "The launcher and this documentation have been superseded by the Python " "Install Manager described above. This is preserved temporarily for " @@ -4195,7 +4420,7 @@ msgstr "" "Python Install Manager ersetzt. Beides bleibt vorübergehend aus historischem " "Interesse erhalten." -#: ../../using/windows.rst:1877 +#: ../../using/windows.rst:2017 msgid "" "The Python launcher for Windows is a utility which aids in locating and " "executing of different Python versions. It allows scripts (or the command-" @@ -4207,7 +4432,7 @@ msgstr "" "der Befehlszeile), eine bestimmte Python-Version zu bevorzugen, und findet " "und führt diese Version aus." -#: ../../using/windows.rst:1882 +#: ../../using/windows.rst:2022 msgid "" "Unlike the :envvar:`PATH` variable, the launcher will correctly select the " "most appropriate version of Python. It will prefer per-user installations " @@ -4219,19 +4444,19 @@ msgstr "" "systemweiten vor und ordnet nach Sprachversion, statt die zuletzt " "installierte Version zu nehmen." -#: ../../using/windows.rst:1887 +#: ../../using/windows.rst:2027 msgid "The launcher was originally specified in :pep:`397`." msgstr "Der Starter wurde ursprünglich in :pep:`397` festgelegt." -#: ../../using/windows.rst:1890 +#: ../../using/windows.rst:2030 msgid "Getting started" msgstr "Los geht's" -#: ../../using/windows.rst:1893 +#: ../../using/windows.rst:2033 msgid "From the command-line" msgstr "Von der Befehlszeile" -#: ../../using/windows.rst:1897 +#: ../../using/windows.rst:2037 msgid "" "System-wide installations of Python 3.3 and later will put the launcher on " "your :envvar:`PATH`. The launcher is compatible with all available versions " @@ -4244,11 +4469,11 @@ msgstr "" "ist. Um zu prüfen, ob der Starter verfügbar ist, führe den folgenden Befehl " "an der Eingabeaufforderung aus::" -#: ../../using/windows.rst:1902 +#: ../../using/windows.rst:2042 msgid "py" msgstr "py" -#: ../../using/windows.rst:1904 +#: ../../using/windows.rst:2044 msgid "" "You should find that the latest version of Python you have installed is " "started - it can be exited as normal, and any additional command-line " @@ -4258,7 +4483,7 @@ msgstr "" "startet — sie lässt sich wie üblich verlassen, und alle zusätzlich " "angegebenen Befehlszeilenargumente werden direkt an Python weitergegeben." -#: ../../using/windows.rst:1908 +#: ../../using/windows.rst:2048 msgid "" "If you have multiple versions of Python installed (e.g., 3.7 and |version|) " "you will have noticed that Python |version| was started - to launch Python " @@ -4268,11 +4493,11 @@ msgstr "" "dir aufgefallen, dass Python |version| gestartet wurde — um Python 3.7 zu " "starten, versuche den Befehl::" -#: ../../using/windows.rst:1912 +#: ../../using/windows.rst:2052 msgid "py -3.7" msgstr "py -3.7" -#: ../../using/windows.rst:1914 +#: ../../using/windows.rst:2054 msgid "" "If you want the latest version of Python 2 you have installed, try the " "command::" @@ -4280,17 +4505,17 @@ msgstr "" "Wenn du die neueste installierte Version von Python 2 möchtest, versuche den " "Befehl::" -#: ../../using/windows.rst:1917 +#: ../../using/windows.rst:2057 msgid "py -2" msgstr "py -2" -#: ../../using/windows.rst:1919 +#: ../../using/windows.rst:2059 msgid "" "If you see the following error, you do not have the launcher installed::" msgstr "" "Wenn du den folgenden Fehler siehst, ist der Starter nicht installiert::" -#: ../../using/windows.rst:1921 +#: ../../using/windows.rst:2061 msgid "" "'py' is not recognized as an internal or external command,\n" "operable program or batch file." @@ -4298,21 +4523,21 @@ msgstr "" "'py' is not recognized as an internal or external command,\n" "operable program or batch file." -#: ../../using/windows.rst:1924 +#: ../../using/windows.rst:2064 msgid "The command::" msgstr "Der Befehl::" -#: ../../using/windows.rst:1926 +#: ../../using/windows.rst:2066 msgid "py --list" msgstr "py --list" -#: ../../using/windows.rst:1928 +#: ../../using/windows.rst:2068 msgid "displays the currently installed version(s) of Python." msgstr "" "zeigt die derzeit installierte Python-Version beziehungsweise die " "installierten Versionen an." -#: ../../using/windows.rst:1930 +#: ../../using/windows.rst:2070 msgid "" "The ``-x.y`` argument is the short form of the ``-V:Company/Tag`` argument, " "which allows selecting a specific Python runtime, including those that may " @@ -4326,7 +4551,7 @@ msgstr "" "auffindbar. Der Befehl ``--list`` führt alle verfügbaren Runtimes im Format " "``-V:`` auf." -#: ../../using/windows.rst:1936 +#: ../../using/windows.rst:2076 msgid "" "When using the ``-V:`` argument, specifying the Company will limit selection " "to runtimes from that provider, while specifying only the Tag will select " @@ -4337,7 +4562,7 @@ msgstr "" "Anbietern auswählt. Beachte, dass ein fehlender Schrägstrich ein Tag " "bedeutet::" -#: ../../using/windows.rst:1940 +#: ../../using/windows.rst:2080 msgid "" "# Select any '3.*' tagged runtime\n" "py -V:3\n" @@ -4357,7 +4582,7 @@ msgstr "" "# Die neueste Python-3-Runtime von PythonCore auswählen\n" "py -V:PythonCore/3" -#: ../../using/windows.rst:1949 +#: ../../using/windows.rst:2089 msgid "" "The short form of the argument (``-3``) only ever selects from core Python " "releases, and not other distributions. However, the longer form (``-V:3``) " @@ -4367,7 +4592,7 @@ msgstr "" "Veröffentlichungen von Python und nicht aus anderen Distributionen. Die " "längere Form (``-V:3``) wählt dagegen aus allen." -#: ../../using/windows.rst:1953 +#: ../../using/windows.rst:2093 msgid "" "The Company is matched on the full string, case-insensitive. The Tag is " "matched on either the full string, or a prefix, provided the next character " @@ -4382,11 +4607,11 @@ msgstr "" "``3.10``. Tags werden numerisch sortiert (``3.10`` ist neuer als ``3.1``), " "aber als Text verglichen (``-V:3.01`` passt nicht auf ``3.1``)." -#: ../../using/windows.rst:1961 +#: ../../using/windows.rst:2101 msgid "Virtual environments" msgstr "Virtuelle Umgebungen" -#: ../../using/windows.rst:1965 +#: ../../using/windows.rst:2105 msgid "" "If the launcher is run with no explicit Python version specification, and a " "virtual environment (created with the standard library :mod:`venv` module or " @@ -4402,11 +4627,11 @@ msgstr "" "Um den globalen Interpreter auszuführen, deaktiviere entweder die virtuelle " "Umgebung oder gib die globale Python-Version ausdrücklich an." -#: ../../using/windows.rst:1973 +#: ../../using/windows.rst:2113 msgid "From a script" msgstr "Aus einem Skript" -#: ../../using/windows.rst:1975 +#: ../../using/windows.rst:2115 msgid "" "Let's create a test Python script - create a file called ``hello.py`` with " "the following contents" @@ -4414,7 +4639,7 @@ msgstr "" "Legen wir ein Python-Testskript an — erstelle eine Datei namens ``hello.py`` " "mit folgendem Inhalt" -#: ../../using/windows.rst:1978 +#: ../../using/windows.rst:2118 msgid "" "#! python\n" "import sys\n" @@ -4424,16 +4649,16 @@ msgstr "" "import sys\n" "sys.stdout.write(\"hello from Python %s\\n\" % (sys.version,))" -#: ../../using/windows.rst:1984 +#: ../../using/windows.rst:2124 msgid "From the directory in which hello.py lives, execute the command::" msgstr "" "Führe aus dem Verzeichnis, in dem hello.py liegt, den folgenden Befehl aus::" -#: ../../using/windows.rst:1986 +#: ../../using/windows.rst:2126 msgid "py hello.py" msgstr "py hello.py" -#: ../../using/windows.rst:1988 +#: ../../using/windows.rst:2128 msgid "" "You should notice the version number of your latest Python 2.x installation " "is printed. Now try changing the first line to be:" @@ -4441,11 +4666,11 @@ msgstr "" "Du solltest sehen, dass die Versionsnummer deiner neuesten Installation von " "Python 2.x ausgegeben wird. Versuche jetzt, die erste Zeile zu ändern in:" -#: ../../using/windows.rst:1991 +#: ../../using/windows.rst:2131 msgid "#! python3" msgstr "#! python3" -#: ../../using/windows.rst:1995 +#: ../../using/windows.rst:2135 msgid "" "Re-executing the command should now print the latest Python 3.x information. " "As with the above command-line examples, you can specify a more explicit " @@ -4459,7 +4684,7 @@ msgstr "" "versuche, die erste Zeile in ``#! python3.7`` zu ändern, dann sollten die " "Versionsangaben von 3.7 ausgegeben werden." -#: ../../using/windows.rst:2001 +#: ../../using/windows.rst:2141 msgid "" "Note that unlike interactive use, a bare \"python\" will use the latest " "version of Python 2.x that you have installed. This is for backward " @@ -4471,11 +4696,11 @@ msgstr "" "Abwärtsverträglichkeit und der Verträglichkeit mit Unix, wo der Befehl " "``python`` üblicherweise Python 2 meint." -#: ../../using/windows.rst:2007 +#: ../../using/windows.rst:2147 msgid "From file associations" msgstr "Über Dateiverknüpfungen" -#: ../../using/windows.rst:2009 +#: ../../using/windows.rst:2149 msgid "" "The launcher should have been associated with Python files (i.e. ``.py``, " "``.pyw``, ``.pyc`` files) when it was installed. This means that when you " @@ -4489,7 +4714,7 @@ msgstr "" "Starter verwendet, und du kannst daher dieselben oben beschriebenen Mittel " "nutzen, um im Skript die zu verwendende Version anzugeben." -#: ../../using/windows.rst:2015 +#: ../../using/windows.rst:2155 msgid "" "The key benefit of this is that a single launcher can support multiple " "Python versions at the same time depending on the contents of the first line." @@ -4497,7 +4722,7 @@ msgstr "" "Der wesentliche Vorteil dabei ist, dass ein einziger Starter je nach Inhalt " "der ersten Zeile gleichzeitig mehrere Python-Versionen unterstützen kann." -#: ../../using/windows.rst:2021 +#: ../../using/windows.rst:2161 msgid "" "If the first line of a script file starts with ``#!``, it is known as a " "\"shebang\" line. Linux and other Unix like operating systems have native " @@ -4513,7 +4738,7 @@ msgstr "" "dasselbe für Python-Skripte unter Windows, und die obigen Beispiele zeigen " "die Verwendung." -#: ../../using/windows.rst:2028 +#: ../../using/windows.rst:2168 msgid "" "To allow shebang lines in Python scripts to be portable between Unix and " "Windows, this launcher supports a number of 'virtual' commands to specify " @@ -4524,23 +4749,23 @@ msgstr "" "mit denen sich der zu verwendende Interpreter angeben lässt. Die " "unterstützten virtuellen Befehle sind:" -#: ../../using/windows.rst:2032 +#: ../../using/windows.rst:2172 msgid "``/usr/bin/env``" msgstr "``/usr/bin/env``" -#: ../../using/windows.rst:2033 +#: ../../using/windows.rst:2173 msgid "``/usr/bin/python``" msgstr "``/usr/bin/python``" -#: ../../using/windows.rst:2034 +#: ../../using/windows.rst:2174 msgid "``/usr/local/bin/python``" msgstr "``/usr/local/bin/python``" -#: ../../using/windows.rst:2035 +#: ../../using/windows.rst:2175 msgid "``python``" msgstr "``python``" -#: ../../using/windows.rst:2049 +#: ../../using/windows.rst:2189 msgid "" "Any of the above virtual commands can be suffixed with an explicit version " "(either just the major version, or the major and minor version). Furthermore " @@ -4556,7 +4781,7 @@ msgstr "" "fordert die Verwendung des 32-Bit-Python 3.7 an. Ist eine virtuelle Umgebung " "aktiv, wird die Version ignoriert und die Umgebung verwendet." -#: ../../using/windows.rst:2058 +#: ../../using/windows.rst:2198 msgid "" "Beginning with python launcher 3.7 it is possible to request 64-bit version " "by the \"-64\" suffix. Furthermore it is possible to specify a major and " @@ -4566,7 +4791,7 @@ msgstr "" "anfordern. Außerdem lassen sich Hauptversion und Architektur ohne " "Nebenversion angeben (also ``/usr/bin/python3-64``)." -#: ../../using/windows.rst:2064 +#: ../../using/windows.rst:2204 msgid "" "The \"-64\" suffix is deprecated, and now implies \"any architecture that is " "not provably i386/32-bit\". To request a specific environment, use the " @@ -4576,7 +4801,7 @@ msgstr "" "nicht nachweislich i386/32-Bit ist“. Um eine bestimmte Umgebung anzufordern, " "verwende das neue Argument :samp:`-V:{TAG}` mit dem vollständigen Tag." -#: ../../using/windows.rst:2070 +#: ../../using/windows.rst:2210 msgid "" "Virtual commands referencing ``python`` now prefer an active virtual " "environment rather than searching :envvar:`PATH`. This handles cases where " @@ -4588,7 +4813,7 @@ msgstr "" "abgedeckt, in denen der Shebang ``/usr/bin/env python3`` " "angibt, :file:`python3.exe` in der aktiven Umgebung aber nicht vorhanden ist." -#: ../../using/windows.rst:2075 +#: ../../using/windows.rst:2215 msgid "" "The ``/usr/bin/env`` form of shebang line has one further special property. " "Before looking for installed Python interpreters, this form will search the " @@ -4612,7 +4837,7 @@ msgstr "" "Umgebungsvariable :envvar:`!PYLAUNCHER_NO_SEARCH_PATH` lässt sich (auf einen " "beliebigen Wert) setzen, um diese Suche in :envvar:`PATH` zu überspringen." -#: ../../using/windows.rst:2086 +#: ../../using/windows.rst:2226 msgid "" "Shebang lines that do not match any of these patterns are looked up in the " "``[commands]`` section of the launcher's :ref:`.INI file `. " @@ -4631,7 +4856,7 @@ msgstr "" "der .INI angegebene zusätzliche Argumente werden als Teil des Dateinamens in " "Anführungszeichen gesetzt)." -#: ../../using/windows.rst:2094 +#: ../../using/windows.rst:2234 msgid "" "[commands]\n" "/bin/xpython=C:\\Program Files\\XPython\\python.exe" @@ -4639,7 +4864,7 @@ msgstr "" "[commands]\n" "/bin/xpython=C:\\Program Files\\XPython\\python.exe" -#: ../../using/windows.rst:2099 +#: ../../using/windows.rst:2239 msgid "" "Any commands not found in the .INI file are treated as **Windows** " "executable paths that are absolute or relative to the directory containing " @@ -4658,11 +4883,11 @@ msgstr "" "mehrere Argumente enthalten. Danach werden der Pfad zum Skript und etwaige " "weitere Argumente angehängt." -#: ../../using/windows.rst:2108 +#: ../../using/windows.rst:2248 msgid "Arguments in shebang lines" msgstr "Argumente in Shebang-Zeilen" -#: ../../using/windows.rst:2110 +#: ../../using/windows.rst:2250 msgid "" "The shebang lines can also specify additional options to be passed to the " "Python interpreter. For example, if you have a shebang line:" @@ -4671,23 +4896,23 @@ msgstr "" "Python-Interpreter weitergegeben werden. Wenn du zum Beispiel diese Shebang-" "Zeile hast:" -#: ../../using/windows.rst:2113 +#: ../../using/windows.rst:2253 msgid "#! /usr/bin/python -v" msgstr "#! /usr/bin/python -v" -#: ../../using/windows.rst:2117 +#: ../../using/windows.rst:2257 msgid "Then Python will be started with the ``-v`` option" msgstr "dann wird Python mit der Option ``-v`` gestartet" -#: ../../using/windows.rst:2120 +#: ../../using/windows.rst:2260 msgid "Customization" msgstr "Anpassung" -#: ../../using/windows.rst:2125 +#: ../../using/windows.rst:2265 msgid "Customization via INI files" msgstr "Anpassung über INI-Dateien" -#: ../../using/windows.rst:2127 +#: ../../using/windows.rst:2267 msgid "" "Two .ini files will be searched by the launcher - ``py.ini`` in the current " "user's application data directory (``%LOCALAPPDATA%`` or " @@ -4701,7 +4926,7 @@ msgstr "" "Dieselben .ini-Dateien werden sowohl für die „Konsolen“-Fassung des Starters " "(also py.exe) als auch für die „Windows“-Fassung (also pyw.exe) verwendet." -#: ../../using/windows.rst:2133 +#: ../../using/windows.rst:2273 msgid "" "Customization specified in the \"application directory\" will have " "precedence over the one next to the executable, so a user, who may not have " @@ -4713,11 +4938,11 @@ msgstr "" "Schreibzugriff auf die .ini-Datei neben dem Starter hat, Befehle in dieser " "globalen .ini-Datei überschreiben kann." -#: ../../using/windows.rst:2138 +#: ../../using/windows.rst:2278 msgid "Customizing default Python versions" msgstr "Standard-Python-Versionen anpassen" -#: ../../using/windows.rst:2140 +#: ../../using/windows.rst:2280 msgid "" "In some cases, a version qualifier can be included in a command to dictate " "which version of Python will be used by the command. A version qualifier " @@ -4733,7 +4958,7 @@ msgstr "" "durch Anfügen von „-32“ oder „-64“ angeben, ob eine 32- oder 64-Bit-" "Umsetzung angefordert wird." -#: ../../using/windows.rst:2146 +#: ../../using/windows.rst:2286 msgid "" "For example, a shebang line of ``#!python`` has no version qualifier, while " "``#!python3`` has a version qualifier which specifies only a major version." @@ -4742,7 +4967,7 @@ msgstr "" "während ``#!python3`` einen Versionszusatz hat, der nur eine Hauptversion " "angibt." -#: ../../using/windows.rst:2149 +#: ../../using/windows.rst:2289 msgid "" "If no version qualifiers are found in a command, the environment " "variable :envvar:`!PY_PYTHON` can be set to specify the default version " @@ -4758,7 +4983,7 @@ msgstr "" "kann, etwa „3“, „3.7“, „3.7-32“ oder „3.7-64“. (Beachte, dass die Option " "„-64“ nur beim Starter ab Python 3.7 verfügbar ist.)" -#: ../../using/windows.rst:2156 +#: ../../using/windows.rst:2296 msgid "" "If no minor version qualifiers are found, the environment variable " "``PY_PYTHON{major}`` (where ``{major}`` is the current major version " @@ -4776,7 +5001,7 @@ msgstr "" "Hauptversion. Das ist wahrscheinlich, aber nicht garantiert die zuletzt " "installierte Version dieser Familie." -#: ../../using/windows.rst:2164 +#: ../../using/windows.rst:2304 msgid "" "On 64-bit Windows with both 32-bit and 64-bit implementations of the same " "(major.minor) Python version installed, the 64-bit version will always be " @@ -4800,11 +5025,11 @@ msgstr "" "Starter installiert wurde). Wie oben erwähnt, lässt sich dieses Verhalten " "mit einem optionalen Suffix „-32“ oder „-64“ an der Versionsangabe ändern." -#: ../../using/windows.rst:2175 +#: ../../using/windows.rst:2315 msgid "Examples:" msgstr "Beispiele:" -#: ../../using/windows.rst:2177 +#: ../../using/windows.rst:2317 msgid "" "If no relevant options are set, the commands ``python`` and ``python2`` will " "use the latest Python 2.x version installed and the command ``python3`` will " @@ -4814,7 +5039,7 @@ msgstr "" "und ``python2`` die neueste installierte Version von Python 2.x, und der " "Befehl ``python3`` verwendet das neueste installierte Python 3.x." -#: ../../using/windows.rst:2181 +#: ../../using/windows.rst:2321 msgid "" "The command ``python3.7`` will not consult any options at all as the " "versions are fully specified." @@ -4822,7 +5047,7 @@ msgstr "" "Der Befehl ``python3.7`` zieht überhaupt keine Optionen heran, da die " "Versionen vollständig angegeben sind." -#: ../../using/windows.rst:2184 +#: ../../using/windows.rst:2324 msgid "" "If ``PY_PYTHON=3``, the commands ``python`` and ``python3`` will both use " "the latest installed Python 3 version." @@ -4830,7 +5055,7 @@ msgstr "" "Bei ``PY_PYTHON=3`` verwenden die Befehle ``python`` und ``python3`` beide " "die neueste installierte Python-3-Version." -#: ../../using/windows.rst:2187 +#: ../../using/windows.rst:2327 msgid "" "If ``PY_PYTHON=3.7-32``, the command ``python`` will use the 32-bit " "implementation of 3.7 whereas the command ``python3`` will use the latest " @@ -4842,7 +5067,7 @@ msgstr "" "Python verwendet (PY_PYTHON wurde überhaupt nicht herangezogen, da eine " "Hauptversion angegeben war)." -#: ../../using/windows.rst:2192 +#: ../../using/windows.rst:2332 msgid "" "If ``PY_PYTHON=3`` and ``PY_PYTHON3=3.7``, the commands ``python`` and " "``python3`` will both use specifically 3.7" @@ -4850,7 +5075,7 @@ msgstr "" "Bei ``PY_PYTHON=3`` und ``PY_PYTHON3=3.7`` verwenden die Befehle ``python`` " "und ``python3`` beide ausdrücklich 3.7" -#: ../../using/windows.rst:2195 +#: ../../using/windows.rst:2335 msgid "" "In addition to environment variables, the same settings can be configured in " "the .INI file used by the launcher. The section in the INI file is called " @@ -4867,16 +5092,16 @@ msgstr "" "gelesen werden). Der Inhalt einer Umgebungsvariablen überschreibt die " "Angaben in der INI-Datei." -#: ../../using/windows.rst:2202 +#: ../../using/windows.rst:2342 msgid "For example:" msgstr "Zum Beispiel:" -#: ../../using/windows.rst:2204 +#: ../../using/windows.rst:2344 msgid "Setting ``PY_PYTHON=3.7`` is equivalent to the INI file containing:" msgstr "" "``PY_PYTHON=3.7`` zu setzen entspricht einer INI-Datei mit folgendem Inhalt:" -#: ../../using/windows.rst:2206 +#: ../../using/windows.rst:2346 msgid "" "[defaults]\n" "python=3.7" @@ -4884,7 +5109,7 @@ msgstr "" "[defaults]\n" "python=3.7" -#: ../../using/windows.rst:2211 +#: ../../using/windows.rst:2351 msgid "" "Setting ``PY_PYTHON=3`` and ``PY_PYTHON3=3.7`` is equivalent to the INI file " "containing:" @@ -4892,7 +5117,7 @@ msgstr "" "``PY_PYTHON=3`` und ``PY_PYTHON3=3.7`` zu setzen entspricht einer INI-Datei " "mit folgendem Inhalt:" -#: ../../using/windows.rst:2214 +#: ../../using/windows.rst:2354 msgid "" "[defaults]\n" "python=3\n" @@ -4902,11 +5127,11 @@ msgstr "" "python=3\n" "python3=3.7" -#: ../../using/windows.rst:2221 +#: ../../using/windows.rst:2361 msgid "Diagnostics" msgstr "Diagnose" -#: ../../using/windows.rst:2223 +#: ../../using/windows.rst:2363 msgid "" "If an environment variable :envvar:`!PYLAUNCHER_DEBUG` is set (to any " "value), the launcher will print diagnostic information to stderr (i.e. to " @@ -4924,11 +5149,11 @@ msgstr "" "genau ausgeführt wurde. Sie sind vor allem zum Testen und zur Fehlersuche " "gedacht." -#: ../../using/windows.rst:2231 +#: ../../using/windows.rst:2371 msgid "Dry run" msgstr "Trockenlauf" -#: ../../using/windows.rst:2233 +#: ../../using/windows.rst:2373 msgid "" "If an environment variable :envvar:`!PYLAUNCHER_DRYRUN` is set (to any " "value), the launcher will output the command it would have run, but will not " @@ -4945,11 +5170,11 @@ msgstr "" "UTF-8 kodiert ist und in der Konsole möglicherweise nicht richtig " "dargestellt wird." -#: ../../using/windows.rst:2241 +#: ../../using/windows.rst:2381 msgid "Install on demand" msgstr "Installation bei Bedarf" -#: ../../using/windows.rst:2243 +#: ../../using/windows.rst:2383 msgid "" "If an environment variable :envvar:`!PYLAUNCHER_ALLOW_INSTALL` is set (to " "any value), and the requested Python version is not installed but is " @@ -4963,7 +5188,7 @@ msgstr "" "installieren. Dafür kann ein Eingreifen des Benutzers nötig sein, und du " "musst den Befehl möglicherweise erneut ausführen." -#: ../../using/windows.rst:2248 +#: ../../using/windows.rst:2388 msgid "" "An additional :envvar:`!PYLAUNCHER_ALWAYS_INSTALL` variable causes the " "launcher to always try to install Python, even if it is detected. This is " @@ -4975,11 +5200,11 @@ msgstr "" "wird. Das ist vor allem zum Testen gedacht (und sollte mit :envvar:`!" "PYLAUNCHER_DRYRUN` verwendet werden)." -#: ../../using/windows.rst:2253 +#: ../../using/windows.rst:2393 msgid "Return codes" msgstr "Rückgabewerte" -#: ../../using/windows.rst:2255 +#: ../../using/windows.rst:2395 msgid "" "The following exit codes may be returned by the Python launcher. " "Unfortunately, there is no way to distinguish these from the exit code of " @@ -4988,7 +5213,7 @@ msgstr "" "Der Python-Starter kann die folgenden Beendigungswerte zurückgeben. Leider " "lassen sie sich nicht vom Beendigungswert von Python selbst unterscheiden." -#: ../../using/windows.rst:2258 +#: ../../using/windows.rst:2398 msgid "" "The names of codes are as used in the sources, and are only for reference. " "There is no way to access or resolve them apart from reading this page. " @@ -4999,43 +5224,43 @@ msgstr "" "außer diese Seite zu lesen. Die Einträge stehen in alphabetischer " "Reihenfolge der Namen." -#: ../../using/windows.rst:2263 +#: ../../using/windows.rst:2403 msgid "Value" msgstr "Wert" -#: ../../using/windows.rst:2265 +#: ../../using/windows.rst:2405 msgid "RC_BAD_VENV_CFG" msgstr "RC_BAD_VENV_CFG" -#: ../../using/windows.rst:2265 +#: ../../using/windows.rst:2405 msgid "107" msgstr "107" -#: ../../using/windows.rst:2265 +#: ../../using/windows.rst:2405 msgid "A :file:`pyvenv.cfg` was found but is corrupt." msgstr "Eine :file:`pyvenv.cfg` wurde gefunden, ist aber beschädigt." -#: ../../using/windows.rst:2267 +#: ../../using/windows.rst:2407 msgid "RC_CREATE_PROCESS" msgstr "RC_CREATE_PROCESS" -#: ../../using/windows.rst:2267 +#: ../../using/windows.rst:2407 msgid "101" msgstr "101" -#: ../../using/windows.rst:2267 +#: ../../using/windows.rst:2407 msgid "Failed to launch Python." msgstr "Python konnte nicht gestartet werden." -#: ../../using/windows.rst:2269 +#: ../../using/windows.rst:2409 msgid "RC_INSTALLING" msgstr "RC_INSTALLING" -#: ../../using/windows.rst:2269 +#: ../../using/windows.rst:2409 msgid "111" msgstr "111" -#: ../../using/windows.rst:2269 +#: ../../using/windows.rst:2409 msgid "" "An install was started, but the command will need to be re-run after it " "completes." @@ -5043,50 +5268,50 @@ msgstr "" "Eine Installation wurde angestoßen, der Befehl muss aber nach deren " "Abschluss erneut ausgeführt werden." -#: ../../using/windows.rst:2272 +#: ../../using/windows.rst:2412 msgid "RC_INTERNAL_ERROR" msgstr "RC_INTERNAL_ERROR" -#: ../../using/windows.rst:2272 +#: ../../using/windows.rst:2412 msgid "109" msgstr "109" -#: ../../using/windows.rst:2272 +#: ../../using/windows.rst:2412 msgid "Unexpected error. Please report a bug." msgstr "Unerwarteter Fehler. Bitte melde einen Fehlerbericht." -#: ../../using/windows.rst:2274 +#: ../../using/windows.rst:2414 msgid "RC_NO_COMMANDLINE" msgstr "RC_NO_COMMANDLINE" -#: ../../using/windows.rst:2274 +#: ../../using/windows.rst:2414 msgid "108" msgstr "108" -#: ../../using/windows.rst:2274 +#: ../../using/windows.rst:2414 msgid "Unable to obtain command line from the operating system." msgstr "Die Befehlszeile konnte nicht vom Betriebssystem bezogen werden." -#: ../../using/windows.rst:2277 +#: ../../using/windows.rst:2417 msgid "RC_NO_PYTHON" msgstr "RC_NO_PYTHON" -#: ../../using/windows.rst:2277 +#: ../../using/windows.rst:2417 msgid "103" msgstr "103" -#: ../../using/windows.rst:2277 +#: ../../using/windows.rst:2417 msgid "Unable to locate the requested version." msgstr "Die verlangte Version konnte nicht gefunden werden." -#: ../../using/windows.rst:2279 +#: ../../using/windows.rst:2419 msgid "RC_NO_VENV_CFG" msgstr "RC_NO_VENV_CFG" -#: ../../using/windows.rst:2279 +#: ../../using/windows.rst:2419 msgid "106" msgstr "106" -#: ../../using/windows.rst:2279 +#: ../../using/windows.rst:2419 msgid "A :file:`pyvenv.cfg` was required but not found." msgstr "Eine :file:`pyvenv.cfg` war erforderlich, wurde aber nicht gefunden." diff --git a/whatsnew/3.15.po b/whatsnew/3.15.po index 84f45ffe..d6e92094 100644 --- a/whatsnew/3.15.po +++ b/whatsnew/3.15.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-11-01 16:00+0100\n" "Last-Translator: Swen Bachmann\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -282,7 +282,7 @@ msgstr "" "Die offiziellen macOS-Binärpakete installieren jetzt standardmäßig die " "Unterstützung für freie Threads" -#: ../../whatsnew/3.15.rst:152 ../../whatsnew/3.15.rst:2502 +#: ../../whatsnew/3.15.rst:152 ../../whatsnew/3.15.rst:2504 msgid "New features" msgstr "Neue Features" @@ -401,14 +401,17 @@ msgstr "" "diagnostizieren und debuggen lässt." #: ../../whatsnew/3.15.rst:206 +#, fuzzy msgid "" "For cases where you want to enable lazy loading globally without modifying " "source code, Python provides the :option:`-X lazy_imports <-X>` command-line " "option and the :envvar:`PYTHON_LAZY_IMPORTS` environment variable. Both " -"accept two values: ``all`` makes all imports lazy by default, and ``normal`` " -"(the default) respects the ``lazy`` keyword in source code. " -"The :func:`sys.set_lazy_imports` and :func:`sys.get_lazy_imports` functions " -"allow changing and querying this mode at runtime." +"accept two values: ``all`` makes eligible module-scope imports lazy by " +"default, and ``normal`` (the default) respects :keyword:`lazy` " +"and :attr:`module.__lazy_modules__`. The :ref:`lazy import restrictions " +"` apply in both modes. The :func:`sys.set_lazy_imports` " +"and :func:`sys.get_lazy_imports` functions allow changing and querying this " +"mode at runtime." msgstr "" "Wenn du Lazy Loading global aktivieren möchtest, ohne den Quellcode zu " "ändern, bietet Python die Kommandozeilenoption :option:`-X lazy_imports <-" @@ -419,7 +422,7 @@ msgstr "" "und :func:`sys.get_lazy_imports` lässt sich dieser Modus zur Laufzeit ändern " "und abfragen." -#: ../../whatsnew/3.15.rst:214 +#: ../../whatsnew/3.15.rst:216 msgid "" "For more selective control, :func:`sys.set_lazy_imports_filter` accepts a " "callable that determines whether a specific module should be loaded lazily. " @@ -440,7 +443,7 @@ msgstr "" "eigenen Anwendung lazy sind, während Abhängigkeiten von Drittanbietern " "sofort geladen werden:" -#: ../../whatsnew/3.15.rst:223 +#: ../../whatsnew/3.15.rst:225 msgid "" "import sys\n" "\n" @@ -462,7 +465,7 @@ msgstr "" "import myapp.slow_module # lazy (matches filter)\n" "import json # eager (does not match filter)" -#: ../../whatsnew/3.15.rst:235 +#: ../../whatsnew/3.15.rst:237 msgid "" "The proxy type itself is available as :class:`types.LazyImportType` for code " "that needs to detect lazy imports programmatically." @@ -470,7 +473,7 @@ msgstr "" "Der Proxy-Typ selbst steht als :class:`types.LazyImportType` für Code zur " "Verfügung, der Lazy Imports programmatisch erkennen muss." -#: ../../whatsnew/3.15.rst:238 +#: ../../whatsnew/3.15.rst:240 msgid "" "There are some restrictions on where the ``lazy`` keyword can be used. Lazy " "imports are only permitted at module scope; using ``lazy`` inside a " @@ -487,7 +490,7 @@ msgstr "" "import *`` und ``lazy from __future__ import ...`` lösen beide " "einen :exc:`SyntaxError` aus)." -#: ../../whatsnew/3.15.rst:245 +#: ../../whatsnew/3.15.rst:247 msgid "" "For code that cannot use the ``lazy`` keyword directly (for example, when " "supporting Python versions older than 3.15 while still using lazy imports on " @@ -504,7 +507,7 @@ msgstr "" "``import`` für diese Module werden dann als lazy behandelt, mit derselben " "Semantik wie beim Schlüsselwort ``lazy``::" -#: ../../whatsnew/3.15.rst:252 +#: ../../whatsnew/3.15.rst:254 msgid "" "__lazy_modules__ = [\"json\", \"pathlib\"]\n" "\n" @@ -516,21 +519,21 @@ msgstr "" "import json # lazy\n" "import os # still eager" -#: ../../whatsnew/3.15.rst:257 +#: ../../whatsnew/3.15.rst:259 msgid "" "(Contributed by Pablo Galindo Salgado and Dino Viehland in :gh:`142349`.)" msgstr "" "(Beigetragen von Pablo Galindo Salgado und Dino Viehland in :gh:`142349`.)" -#: ../../whatsnew/3.15.rst:259 +#: ../../whatsnew/3.15.rst:261 msgid ":pep:`810` for the full specification and rationale." msgstr ":pep:`810` enthält die vollständige Spezifikation und Begründung." -#: ../../whatsnew/3.15.rst:265 +#: ../../whatsnew/3.15.rst:267 msgid ":pep:`814`: Add frozendict built-in type" msgstr ":pep:`814`: Neuer integrierter Typ frozendict" -#: ../../whatsnew/3.15.rst:267 +#: ../../whatsnew/3.15.rst:269 msgid "" "A new :term:`immutable` type, :class:`frozendict`, is added to " "the :mod:`builtins` module. It does not allow modification after creation. " @@ -547,11 +550,11 @@ msgstr "" "hashbar sind. Ein :class:`!frozendict` behält die Einfügereihenfolge bei, " "beim Vergleich wird die Reihenfolge jedoch nicht berücksichtigt." -#: ../../whatsnew/3.15.rst:273 +#: ../../whatsnew/3.15.rst:275 msgid "For example::" msgstr "Zum Beispiel::" -#: ../../whatsnew/3.15.rst:275 +#: ../../whatsnew/3.15.rst:277 msgid "" ">>> a = frozendict(x=1, y=2)\n" ">>> a\n" @@ -583,7 +586,7 @@ msgstr "" ">>> a == b\n" "True" -#: ../../whatsnew/3.15.rst:290 +#: ../../whatsnew/3.15.rst:292 msgid "" "The following standard library modules have been updated to accept :class:`!" "frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`, :mod:`plistlib` " @@ -596,7 +599,7 @@ msgstr "" "(nur für die Serialisierung), :mod:`pickle`, :mod:`pprint` " "und :mod:`xml.etree.ElementTree`." -#: ../../whatsnew/3.15.rst:295 +#: ../../whatsnew/3.15.rst:297 msgid "" ":func:`eval` and :func:`exec` accept :class:`!frozendict` for *globals*, " "and :func:`type` and :meth:`str.maketrans` accept :class:`!frozendict` for " @@ -606,7 +609,7 @@ msgstr "" "*globals*, und :func:`type` sowie :meth:`str.maketrans` akzeptieren :class:`!" "frozendict` für *dict*." -#: ../../whatsnew/3.15.rst:298 +#: ../../whatsnew/3.15.rst:300 msgid "" "Code checking for :class:`dict` type using ``isinstance(arg, dict)`` can be " "updated to ``isinstance(arg, (dict, frozendict))`` to accept also " @@ -620,19 +623,19 @@ msgstr "" "collections.abc.Mapping)``, um auch andere Mapping-Typen " "wie :class:`~types.MappingProxyType` zu akzeptieren." -#: ../../whatsnew/3.15.rst:303 +#: ../../whatsnew/3.15.rst:305 msgid "(Contributed by Victor Stinner and Donghee Na in :gh:`141510`.)" msgstr "(Beigetragen von Victor Stinner und Donghee Na in :gh:`141510`.)" -#: ../../whatsnew/3.15.rst:305 +#: ../../whatsnew/3.15.rst:307 msgid ":pep:`814` for the full specification and rationale." msgstr ":pep:`814` enthält die vollständige Spezifikation und Begründung." -#: ../../whatsnew/3.15.rst:311 +#: ../../whatsnew/3.15.rst:313 msgid ":pep:`661`: Add sentinel built-in type" msgstr ":pep:`661`: Neuer integrierter Typ sentinel" -#: ../../whatsnew/3.15.rst:313 +#: ../../whatsnew/3.15.rst:315 msgid "" "A new :class:`sentinel` type is added to the :mod:`builtins` module for " "creating unique sentinel values with a concise representation. Sentinel " @@ -647,7 +650,7 @@ msgstr "" "sich mit pickle serialisieren, wenn sie über Modul und Namen importierbar " "sind." -#: ../../whatsnew/3.15.rst:319 +#: ../../whatsnew/3.15.rst:321 msgid "" "(Contributed by Jelle Zijlstra in :gh:`148829`; PEP 661 written by Tal " "Einat.)" @@ -655,15 +658,15 @@ msgstr "" "(Beigetragen von Jelle Zijlstra in :gh:`148829`; PEP 661 verfasst von Tal " "Einat.)" -#: ../../whatsnew/3.15.rst:321 +#: ../../whatsnew/3.15.rst:323 msgid ":pep:`661` for further details." msgstr ":pep:`661` enthält weitere Details." -#: ../../whatsnew/3.15.rst:327 +#: ../../whatsnew/3.15.rst:329 msgid ":pep:`799`: A dedicated profiling package" msgstr ":pep:`799`: Ein eigenes Profiling-Paket" -#: ../../whatsnew/3.15.rst:329 +#: ../../whatsnew/3.15.rst:331 msgid "" "A new :mod:`profiling` module has been added to organize Python's built-in " "profiling tools under a single, coherent namespace. This module contains:" @@ -672,7 +675,7 @@ msgstr "" "Profiling-Werkzeuge von Python unter einem einzigen, kohärenten Namensraum " "zusammenzufassen. Dieses Modul enthält:" -#: ../../whatsnew/3.15.rst:332 +#: ../../whatsnew/3.15.rst:334 msgid "" ":mod:`profiling.tracing`: deterministic function-call tracing (relocated " "from ``cProfile``)." @@ -680,7 +683,7 @@ msgstr "" ":mod:`profiling.tracing`: deterministisches Tracing von Funktionsaufrufen " "(verschoben aus ``cProfile``)." -#: ../../whatsnew/3.15.rst:334 +#: ../../whatsnew/3.15.rst:336 msgid "" ":mod:`profiling.sampling`: a new statistical sampling profiler (named " "Tachyon)." @@ -688,7 +691,7 @@ msgstr "" ":mod:`profiling.sampling`: ein neuer statistischer Sampling-Profiler (namens " "Tachyon)." -#: ../../whatsnew/3.15.rst:336 +#: ../../whatsnew/3.15.rst:338 msgid "" "The ``cProfile`` module remains as an alias for backwards compatibility. " "The :mod:`profile` module is deprecated and will be removed in Python 3.17." @@ -697,24 +700,24 @@ msgstr "" "Alias erhalten. Das Modul :mod:`profile` ist veraltet und wird in Python " "3.17 entfernt." -#: ../../whatsnew/3.15.rst:339 +#: ../../whatsnew/3.15.rst:341 msgid "(Contributed by Pablo Galindo and László Kiss Kollár in :gh:`138122`.)" msgstr "" "(Beigetragen von Pablo Galindo und László Kiss Kollár in :gh:`138122`.)" -#: ../../whatsnew/3.15.rst:341 +#: ../../whatsnew/3.15.rst:343 msgid ":pep:`799` for further details." msgstr ":pep:`799` enthält weitere Details." -#: ../../whatsnew/3.15.rst:347 +#: ../../whatsnew/3.15.rst:349 msgid "Tachyon: High-frequency statistical sampling profiler" msgstr "Tachyon: Hochfrequenter statistischer Sampling-Profiler" -#: ../../whatsnew/3.15.rst:349 +#: ../../whatsnew/3.15.rst:351 msgid "Tachyon profiler logo" msgstr "Logo des Tachyon-Profilers" -#: ../../whatsnew/3.15.rst:355 +#: ../../whatsnew/3.15.rst:357 msgid "" "A new statistical sampling profiler (Tachyon) has been added " "as :mod:`profiling.sampling`. This profiler enables low-overhead performance " @@ -726,7 +729,7 @@ msgstr "" "Performance-Analyse laufender Python-Prozesse mit geringem Overhead, ohne " "dass Code geändert oder der Prozess neu gestartet werden muss." -#: ../../whatsnew/3.15.rst:359 +#: ../../whatsnew/3.15.rst:361 msgid "" "Tachyon follows earlier work on external sampling profilers such as `Austin " "`__, `py-spy `__ und `rbspy `__. Wir danken ihren " "Autoren und der gesamten Profiling-Community für ihre Arbeit und ihre Ideen." -#: ../../whatsnew/3.15.rst:366 +#: ../../whatsnew/3.15.rst:368 msgid "" "Unlike deterministic profilers (such as :mod:`profiling.tracing`) that " "instrument every function call, the sampling profiler periodically captures " @@ -763,11 +766,11 @@ msgstr "" "Produktivsystemen, in denen herkömmliche Profiling-Ansätze zu stark " "eingreifen würden." -#: ../../whatsnew/3.15.rst:375 +#: ../../whatsnew/3.15.rst:377 msgid "Key features include:" msgstr "Zu den wichtigsten Features gehören:" -#: ../../whatsnew/3.15.rst:377 +#: ../../whatsnew/3.15.rst:379 msgid "" "**Zero-overhead profiling**: Attach to any running Python process without " "affecting its performance. Ideal for production debugging where you can't " @@ -778,7 +781,7 @@ msgstr "" "Produktion, wenn du es dir nicht leisten kannst, deine Anwendung neu zu " "starten oder zu verlangsamen." -#: ../../whatsnew/3.15.rst:381 +#: ../../whatsnew/3.15.rst:383 msgid "" "**No code modification required**: Profile existing applications without " "restart. Simply point the profiler at a running process by PID and start " @@ -788,11 +791,11 @@ msgstr "" "Neustart. Richte den Profiler einfach über die PID auf einen laufenden " "Prozess und beginne mit dem Sammeln von Daten." -#: ../../whatsnew/3.15.rst:384 +#: ../../whatsnew/3.15.rst:386 msgid "**Flexible target modes**:" msgstr "**Flexible Zielmodi**:" -#: ../../whatsnew/3.15.rst:386 +#: ../../whatsnew/3.15.rst:388 msgid "" "Profile running processes by PID (``attach``) - attach to already-running " "applications" @@ -800,7 +803,7 @@ msgstr "" "Laufende Prozesse über die PID profilen (``attach``) - an bereits laufende " "Anwendungen anhängen" -#: ../../whatsnew/3.15.rst:387 +#: ../../whatsnew/3.15.rst:389 msgid "" "Run and profile scripts directly (``run``) - profile from the very start of " "execution" @@ -808,7 +811,7 @@ msgstr "" "Skripte direkt ausführen und profilen (``run``) - Profiling ab dem " "allerersten Moment der Ausführung" -#: ../../whatsnew/3.15.rst:388 +#: ../../whatsnew/3.15.rst:390 msgid "" "Execute and profile modules (``run -m``) - profile packages run as ``python " "-m module``" @@ -816,7 +819,7 @@ msgstr "" "Module ausführen und profilen (``run -m``) - Pakete profilen, die als " "``python -m module`` ausgeführt werden" -#: ../../whatsnew/3.15.rst:389 +#: ../../whatsnew/3.15.rst:391 msgid "" "Capture a one-shot snapshot of a running process (``dump``) - print a " "traceback-style stack of every thread (or all asyncio tasks with ``--async-" @@ -827,7 +830,7 @@ msgstr "" "asyncio-Tasks mit ``--async-aware``). Nützlich, um hängende Prozesse zu " "untersuchen." -#: ../../whatsnew/3.15.rst:393 +#: ../../whatsnew/3.15.rst:395 msgid "" "**Multiple profiling modes**: Choose what to measure based on your " "performance investigation:" @@ -835,7 +838,7 @@ msgstr "" "**Mehrere Profiling-Modi**: Wähle je nach Performance-Untersuchung aus, was " "gemessen werden soll:" -#: ../../whatsnew/3.15.rst:395 +#: ../../whatsnew/3.15.rst:397 msgid "" "**Wall-clock time** (``--mode wall``, default): Measures real elapsed time " "including I/O, network waits, and blocking operations. Use this to " @@ -847,7 +850,7 @@ msgstr "" "blockierender Operationen. Verwende diesen Modus, um zu verstehen, wo dein " "Programm reale Zeit verbringt, auch beim Warten auf externe Ressourcen." -#: ../../whatsnew/3.15.rst:398 +#: ../../whatsnew/3.15.rst:400 msgid "" "**CPU time** (``--mode cpu``): Measures only active CPU execution time, " "excluding I/O waits and blocking. Use this to identify CPU-bound bottlenecks " @@ -857,7 +860,7 @@ msgstr "" "ohne I/O-Wartezeiten und Blockierungen. Verwende diesen Modus, um CPU-" "gebundene Engpässe zu finden und Rechenarbeit zu optimieren." -#: ../../whatsnew/3.15.rst:400 +#: ../../whatsnew/3.15.rst:402 msgid "" "**GIL-holding time** (``--mode gil``): Measures time spent holding Python's " "Global Interpreter Lock. Use this to identify which threads dominate GIL " @@ -867,7 +870,7 @@ msgstr "" "Interpreter Lock gehalten wird. Verwende diesen Modus, um herauszufinden, " "welche Threads die GIL-Nutzung in Multithread-Anwendungen dominieren." -#: ../../whatsnew/3.15.rst:402 +#: ../../whatsnew/3.15.rst:404 msgid "" "**Exception handling time** (``--mode exception``): Captures samples only " "from threads with an active exception. Use this to analyze exception " @@ -877,7 +880,7 @@ msgstr "" "von Threads mit einer aktiven Ausnahme. Verwende diesen Modus, um den " "Overhead der Ausnahmebehandlung zu analysieren." -#: ../../whatsnew/3.15.rst:405 +#: ../../whatsnew/3.15.rst:407 msgid "" "**Thread-aware profiling**: Option to profile all threads (``-a``) or just " "the main thread, essential for understanding multi-threaded application " @@ -887,7 +890,7 @@ msgstr "" "Haupt-Thread zu profilen – unverzichtbar, um das Verhalten von Multithread-" "Anwendungen zu verstehen." -#: ../../whatsnew/3.15.rst:408 +#: ../../whatsnew/3.15.rst:410 msgid "" "**Multiple output formats**: Choose the visualization that best fits your " "workflow:" @@ -895,7 +898,7 @@ msgstr "" "**Mehrere Ausgabeformate**: Wähle die Visualisierung, die am besten zu " "deinem Workflow passt:" -#: ../../whatsnew/3.15.rst:410 +#: ../../whatsnew/3.15.rst:412 msgid "" "``--pstats``: Detailed tabular statistics compatible with :mod:`pstats`. " "Shows function-level timing with direct and cumulative samples. Best for " @@ -906,7 +909,7 @@ msgstr "" "kumulativen Samples. Am besten geeignet für detaillierte Analysen und die " "Integration mit bestehenden Python-Profiling-Werkzeugen." -#: ../../whatsnew/3.15.rst:413 +#: ../../whatsnew/3.15.rst:415 msgid "" "``--collapsed``: Generates collapsed stack traces (one line per stack). This " "format is specifically designed for creating flame graphs with external " @@ -917,7 +920,7 @@ msgstr "" "Werkzeugen wie den FlameGraph-Skripten von Brendan Gregg oder speedscope zu " "erstellen." -#: ../../whatsnew/3.15.rst:416 +#: ../../whatsnew/3.15.rst:418 msgid "" "``--flamegraph``: Generates a self-contained interactive HTML flame graph " "using D3.js. Opens directly in your browser for immediate visual analysis. " @@ -930,7 +933,7 @@ msgstr "" "die verbrauchte Zeit darstellt. So lassen sich Engpässe auf einen Blick " "erkennen." -#: ../../whatsnew/3.15.rst:419 +#: ../../whatsnew/3.15.rst:421 msgid "" "``--gecko``: Generates Gecko Profiler format compatible with `Firefox " "Profiler `__. Upload the output to Firefox " @@ -942,7 +945,7 @@ msgstr "" "Profiler hoch, um erweiterte zeitleistenbasierte Analysen mit Features wie " "Stack-Charts, Markern und Netzwerkaktivität durchzuführen." -#: ../../whatsnew/3.15.rst:422 +#: ../../whatsnew/3.15.rst:424 msgid "" "``--heatmap``: Generates an interactive HTML heatmap visualization with line-" "level sample counts. Creates a directory with per-file heatmaps showing " @@ -952,7 +955,7 @@ msgstr "" "Zeile. Legt ein Verzeichnis mit Heatmaps pro Datei an, die genau zeigen, wo " "auf Quellcodeebene Zeit verbraucht wird." -#: ../../whatsnew/3.15.rst:426 +#: ../../whatsnew/3.15.rst:428 msgid "" "**Live interactive mode**: Real-time TUI profiler with a top-like interface " "(``--live``). Monitor performance as your application runs with interactive " @@ -962,7 +965,7 @@ msgstr "" "ähnlich wie top (``--live``). Beobachte die Performance, während deine " "Anwendung läuft, mit interaktivem Sortieren und Filtern." -#: ../../whatsnew/3.15.rst:429 +#: ../../whatsnew/3.15.rst:431 msgid "" "**Async-aware profiling**: Profile async/await code with task-based stack " "reconstruction (``--async-aware``). See which coroutines are consuming time, " @@ -973,7 +976,7 @@ msgstr "" "Koroutinen Zeit verbrauchen, mit Optionen, nur laufende Tasks oder alle " "Tasks einschließlich wartender anzuzeigen." -#: ../../whatsnew/3.15.rst:433 +#: ../../whatsnew/3.15.rst:435 msgid "" "**Opcode-level profiling**: Gather bytecode opcode information for " "instruction-level profiling (``--opcodes``). Shows which bytecode " @@ -985,7 +988,7 @@ msgstr "" "Instruktionen ausgeführt werden, einschließlich der Spezialisierungen des " "adaptiven Interpreters." -#: ../../whatsnew/3.15.rst:437 +#: ../../whatsnew/3.15.rst:439 msgid "" "See :mod:`profiling.sampling` for the complete documentation, including all " "available output formats, profiling modes, and configuration options." @@ -994,7 +997,7 @@ msgstr "" "Profiling-Modi und Konfigurationsoptionen findest du " "unter :mod:`profiling.sampling`." -#: ../../whatsnew/3.15.rst:440 +#: ../../whatsnew/3.15.rst:442 msgid "" "(Contributed by Pablo Galindo and László Kiss Kollár in :gh:`135953` " "and :gh:`138122`.)" @@ -1002,11 +1005,11 @@ msgstr "" "(Beigetragen von Pablo Galindo und László Kiss Kollár in :gh:`135953` " "und :gh:`138122`.)" -#: ../../whatsnew/3.15.rst:446 +#: ../../whatsnew/3.15.rst:448 msgid ":pep:`831`: Frame pointers enabled by default" msgstr ":pep:`831`: Frame-Pointer standardmäßig aktiviert" -#: ../../whatsnew/3.15.rst:448 +#: ../../whatsnew/3.15.rst:450 msgid "" "CPython is now built with frame pointers by default on platforms that " "support them. This uses the compiler flags ``-fno-omit-frame-pointer`` and " @@ -1020,7 +1023,7 @@ msgstr "" "Stack-Unwinding für System-Profiler, Debugger, Werkzeuge zur Absturzanalyse " "und eBPF-basierte Observability-Werkzeuge schneller und zuverlässiger wird." -#: ../../whatsnew/3.15.rst:454 +#: ../../whatsnew/3.15.rst:456 msgid "" "The flags are exposed through :mod:`sysconfig`, so extension modules built " "by tools that consume Python's build configuration inherit frame pointers by " @@ -1035,7 +1038,7 @@ msgstr "" "benötigt eine lückenlose Kette von Frame-Pointern durch den Interpreter, " "Erweiterungsmodule, einbettende Anwendungen und native Bibliotheken." -#: ../../whatsnew/3.15.rst:462 +#: ../../whatsnew/3.15.rst:464 msgid "" "Third-party build backends and native build systems should preserve these " "flags when they consume Python's :mod:`sysconfig` values. Build systems " @@ -1052,7 +1055,7 @@ msgstr "" "Komponente, die ohne Frame-Pointer gebaut wurde, kann das Stack-Unwinding " "für den gesamten Python-Prozess unterbrechen." -#: ../../whatsnew/3.15.rst:469 +#: ../../whatsnew/3.15.rst:471 msgid "" "(Contributed by Pablo Galindo Salgado and Savannah Ostrowski " "in :gh:`149201`; PEP 831 written by Pablo Galindo Salgado, Ken Jin, Savannah " @@ -1062,15 +1065,15 @@ msgstr "" "in :gh:`149201`; PEP 831 verfasst von Pablo Galindo Salgado, Ken Jin, " "Savannah Ostrowski und Diego Russo.)" -#: ../../whatsnew/3.15.rst:473 +#: ../../whatsnew/3.15.rst:475 msgid ":pep:`831` for further details." msgstr ":pep:`831` enthält weitere Details." -#: ../../whatsnew/3.15.rst:479 +#: ../../whatsnew/3.15.rst:481 msgid ":pep:`798`: Unpacking in comprehensions" msgstr ":pep:`798`: Entpacken in Comprehensions" -#: ../../whatsnew/3.15.rst:481 +#: ../../whatsnew/3.15.rst:483 msgid "" "List, set, and dictionary comprehensions, as well as generator expressions, " "now support unpacking with ``*`` and ``**``. This extends the unpacking " @@ -1089,7 +1092,7 @@ msgstr "" "Comprehensions, :func:`itertools.chain` " "und :meth:`itertools.chain.from_iterable`. Zum Beispiel::" -#: ../../whatsnew/3.15.rst:489 +#: ../../whatsnew/3.15.rst:491 msgid "" ">>> lists = [[1, 2], [3, 4], [5]]\n" ">>> [*L for L in lists] # equivalent to [x for L in lists for x in L]\n" @@ -1117,7 +1120,7 @@ msgstr "" "d.items()}\n" "{'a': 3, 'b': 2}" -#: ../../whatsnew/3.15.rst:501 +#: ../../whatsnew/3.15.rst:503 msgid "" "Generator expressions can similarly use unpacking to yield values from " "multiple iterables::" @@ -1125,7 +1128,7 @@ msgstr "" "Generator-Ausdrücke können das Entpacken auf ähnliche Weise nutzen, um Werte " "aus mehreren iterierbaren Objekten zu liefern::" -#: ../../whatsnew/3.15.rst:504 +#: ../../whatsnew/3.15.rst:506 msgid "" ">>> gen = (*L for L in lists) # equivalent to (x for L in lists for x in " "L)\n" @@ -1137,7 +1140,7 @@ msgstr "" ">>> list(gen)\n" "[1, 2, 3, 4, 5]" -#: ../../whatsnew/3.15.rst:508 +#: ../../whatsnew/3.15.rst:510 msgid "" "This change also extends to asynchronous generator expressions, such that, " "for example, ``(*a async for a in agen())`` is equivalent to ``(x async for " @@ -1147,19 +1150,19 @@ msgstr "" "Beispiel ``(*a async for a in agen())`` gleichwertig zu ``(x async for a in " "agen() for x in a)``." -#: ../../whatsnew/3.15.rst:512 +#: ../../whatsnew/3.15.rst:514 msgid "(Contributed by Adam Hartz in :gh:`143055`.)" msgstr "(Beigetragen von Adam Hartz in :gh:`143055`.)" -#: ../../whatsnew/3.15.rst:514 +#: ../../whatsnew/3.15.rst:516 msgid ":pep:`798` for further details." msgstr ":pep:`798` enthält weitere Details." -#: ../../whatsnew/3.15.rst:520 +#: ../../whatsnew/3.15.rst:522 msgid ":pep:`829`: Package startup configuration files" msgstr ":pep:`829`: Startkonfigurationsdateien für Pakete" -#: ../../whatsnew/3.15.rst:522 +#: ../../whatsnew/3.15.rst:524 msgid "" "Loaded by the :mod:`site` module when ``-S`` is not given, :ref:`.pth files " "` can contain lines that both extend :data:`sys.path` and " @@ -1174,7 +1177,7 @@ msgstr "" "Tabulator). Letztere Funktionalität kann problematisch sein, da schwer " "nachzuvollziehen ist, was genau beim Start von Python ausgeführt wird." -#: ../../whatsnew/3.15.rst:528 +#: ../../whatsnew/3.15.rst:530 msgid "" "As a step towards improving the ability to audit pre-start executable code, " "Python 3.15 introduces :ref:`.start files ` which contain " @@ -1189,7 +1192,7 @@ msgstr "" "aufrufbaren Objekt ist. Beim Start von Python wird das aufrufbare Objekt " "gesucht und ohne Argumente aufgerufen." -#: ../../whatsnew/3.15.rst:534 +#: ../../whatsnew/3.15.rst:536 msgid "" "``import`` lines in :file:`.pth` files are silently deprecated. When a " "matching :file:`.start` file is found, ``import`` lines in :file:`.pth` " @@ -1202,7 +1205,7 @@ msgstr "" "die :data:`sys.path` erweitern, ändert sich in Dateien vom Typ :file:`.pth` " "nichts." -#: ../../whatsnew/3.15.rst:539 +#: ../../whatsnew/3.15.rst:541 msgid "" "The :mod:`site` module also provides :class:`site.StartupState` to batch " "startup processing for multiple site directories, ensuring all static path " @@ -1227,15 +1230,15 @@ msgstr "" "und :meth:`~site.StartupState.addsitepackages` steuern und am Ende " "einmal :meth:`~site.StartupState.process` aufrufen." -#: ../../whatsnew/3.15.rst:550 +#: ../../whatsnew/3.15.rst:552 msgid "(Contributed by Barry Warsaw in :gh:`148641` and :gh:`150228`.)" msgstr "(Beigetragen von Barry Warsaw in :gh:`148641` und :gh:`150228`.)" -#: ../../whatsnew/3.15.rst:556 +#: ../../whatsnew/3.15.rst:558 msgid ":pep:`803`: Stable ABI for free-threaded builds" msgstr ":pep:`803`: Stabile ABI für Builds mit freien Threads" -#: ../../whatsnew/3.15.rst:558 +#: ../../whatsnew/3.15.rst:560 msgid "" "C extensions that target the :ref:`Stable ABI ` can now be " "compiled for the new *Stable ABI for Free-Threaded Builds* (also known as " @@ -1250,7 +1253,7 @@ msgstr "" "erfordert in der Regel einige nicht triviale Änderungen am Quellcode, und " "zwar:" -#: ../../whatsnew/3.15.rst:565 +#: ../../whatsnew/3.15.rst:567 msgid "" "Switching to API introduced in :pep:`697` (Python 3.12), such as " "negative :c:member:`~PyType_Spec.basicsize` " @@ -1262,7 +1265,7 @@ msgstr "" "und :c:func:`PyObject_GetTypeData`, statt :c:type:`PyObject` zum Teil der " "Instanz-Struktur zu machen, und" -#: ../../whatsnew/3.15.rst:569 +#: ../../whatsnew/3.15.rst:571 msgid "" "Switching from a ``PyInit_`` function to a new export " "hook, :c:func:`PyModExport_* `, introduced for this " @@ -1274,7 +1277,7 @@ msgstr "" "in :pep:`793` eingeführt wurde, mit einer neuen Struktur :c:type:`PySlot`, " "die in :pep:`820` eingeführt wurde." -#: ../../whatsnew/3.15.rst:574 +#: ../../whatsnew/3.15.rst:576 msgid "" "Note that Stable ABI does not offer all the functionality that CPython has " "to offer. Extensions that cannot switch to ``abi3t`` should continue to " @@ -1286,7 +1289,7 @@ msgstr "" "können, sollten weiterhin getrennt für die bestehende stabile ABI (``abi3``) " "und die versionsspezifische ABI für freie Threads (``cp315t``) gebaut werden." -#: ../../whatsnew/3.15.rst:580 +#: ../../whatsnew/3.15.rst:582 msgid "" "Stable ABI for Free-Threaded Builds should typically be selected in a build " "tool. Tools with ``abi3t`` support include meson-python, scikit-build-core, " @@ -1306,7 +1309,7 @@ msgstr "" "auswählen, indem du das Makro :c:macro:`!Py_TARGET_ABI3T` setzt, wie " "unter :ref:`abi3-compiling` beschrieben." -#: ../../whatsnew/3.15.rst:589 +#: ../../whatsnew/3.15.rst:591 msgid "" "A practical :ref:`migration guide ` for switching to " "``abi3t`` is available. The community-maintained `Python Free-Threading " @@ -1318,15 +1321,15 @@ msgstr "" "Threading Guide `__ enthält " "Beispiele zum Bauen und Testen von ``abi3t``-Wheels." -#: ../../whatsnew/3.15.rst:595 +#: ../../whatsnew/3.15.rst:597 msgid ":pep:`803` for further details." msgstr ":pep:`803` enthält weitere Details." -#: ../../whatsnew/3.15.rst:601 +#: ../../whatsnew/3.15.rst:603 msgid ":pep:`788`: Protecting the C API from interpreter finalization" msgstr ":pep:`788`: Schutz der C-API vor der Finalisierung des Interpreters" -#: ../../whatsnew/3.15.rst:603 +#: ../../whatsnew/3.15.rst:605 msgid "" "In the C API, :term:`interpreter finalization ` can be " "problematic for many extensions, because :term:`attaching `, which prevent an interpreter " "from finalizing." @@ -1357,7 +1360,7 @@ msgstr "" ":ref:`Interpreter-Guards `, die verhindern, dass ein " "Interpreter finalisiert wird." -#: ../../whatsnew/3.15.rst:615 +#: ../../whatsnew/3.15.rst:617 msgid "" ":ref:`Interpreter views `, which allow thread-safe access " "to an interpreter that may be concurrently finalizing or deleted." @@ -1366,7 +1369,7 @@ msgstr "" "Zugriff auf einen Interpreter ermöglichen, der möglicherweise gleichzeitig " "finalisiert oder gelöscht wird." -#: ../../whatsnew/3.15.rst:617 +#: ../../whatsnew/3.15.rst:619 msgid "" ":ref:`New APIs ` to automatically attach and detach " "thread states that come with built-in protection against finalization." @@ -1375,7 +1378,7 @@ msgstr "" "von Thread-Zuständen, die einen integrierten Schutz vor der Finalisierung " "mitbringen." -#: ../../whatsnew/3.15.rst:620 +#: ../../whatsnew/3.15.rst:622 msgid "" "In addition, APIs in the ``PyGILState`` family (most " "notably :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release`) have " @@ -1390,19 +1393,19 @@ msgstr "" "in künftigen Python-Versionen wird es keine neuen APIs der Familie " "``PyGILState`` mehr geben." -#: ../../whatsnew/3.15.rst:626 +#: ../../whatsnew/3.15.rst:628 msgid "(Contributed by Peter Bierma in :gh:`149101`.)" msgstr "(Beigetragen von Peter Bierma in :gh:`149101`.)" -#: ../../whatsnew/3.15.rst:628 +#: ../../whatsnew/3.15.rst:630 msgid ":pep:`788` for further details." msgstr ":pep:`788` enthält weitere Details." -#: ../../whatsnew/3.15.rst:634 +#: ../../whatsnew/3.15.rst:636 msgid "Improved error messages" msgstr "Verbesserte Fehlermeldungen" -#: ../../whatsnew/3.15.rst:636 +#: ../../whatsnew/3.15.rst:638 msgid "" "The interpreter now provides more helpful suggestions " "in :exc:`AttributeError` exceptions when accessing an attribute on an object " @@ -1414,7 +1417,7 @@ msgstr "" "Objekts zugegriffen wird, ein ähnliches Attribut aber über eines seiner " "Member verfügbar ist." -#: ../../whatsnew/3.15.rst:640 +#: ../../whatsnew/3.15.rst:642 msgid "" "For example, if the object has an attribute that itself exposes the " "requested name, the error message will suggest accessing it via that inner " @@ -1424,7 +1427,7 @@ msgstr "" "Namen bereitstellt, schlägt die Fehlermeldung vor, über dieses innere " "Attribut darauf zuzugreifen:" -#: ../../whatsnew/3.15.rst:643 +#: ../../whatsnew/3.15.rst:645 msgid "" "from dataclasses import dataclass\n" "from math import pi\n" @@ -1464,12 +1467,12 @@ msgstr "" "container = Container(circle)\n" "print(container.area)" -#: ../../whatsnew/3.15.rst:664 +#: ../../whatsnew/3.15.rst:666 msgid "Running this code now produces a clearer suggestion:" msgstr "" "Wenn du diesen Code ausführst, erhältst du jetzt einen klareren Vorschlag:" -#: ../../whatsnew/3.15.rst:666 +#: ../../whatsnew/3.15.rst:668 msgid "" "Traceback (most recent call last):\n" " File \"example.py\", line 18, in \n" @@ -1485,7 +1488,7 @@ msgstr "" "AttributeError: 'Container' object has no attribute 'area'. Did you mean " "'.inner.area' instead of '.area'?" -#: ../../whatsnew/3.15.rst:674 +#: ../../whatsnew/3.15.rst:676 msgid "" "When an :exc:`AttributeError` on a builtin type has no close match via " "Levenshtein distance, the error message now checks a static table of common " @@ -1497,7 +1500,7 @@ msgstr "" "jetzt eine statische Tabelle gängiger Methodennamen aus anderen Sprachen " "(JavaScript, Java, Ruby, C#) und schlägt die Python-Entsprechung vor:" -#: ../../whatsnew/3.15.rst:679 +#: ../../whatsnew/3.15.rst:681 msgid "" ">>> [1, 2, 3].push(4)\n" "Traceback (most recent call last):\n" @@ -1523,7 +1526,7 @@ msgstr "" "AttributeError: 'str' object has no attribute 'toUpperCase'. Did you mean " "'.upper'?" -#: ../../whatsnew/3.15.rst:691 +#: ../../whatsnew/3.15.rst:693 msgid "" "When the Python equivalent is a language construct rather than a method, the " "hint describes the construct directly:" @@ -1531,7 +1534,7 @@ msgstr "" "Wenn die Python-Entsprechung ein Sprachkonstrukt statt einer Methode ist, " "beschreibt der Hinweis das Konstrukt direkt:" -#: ../../whatsnew/3.15.rst:694 +#: ../../whatsnew/3.15.rst:696 msgid "" ">>> {}.put(\"a\", 1)\n" "Traceback (most recent call last):\n" @@ -1543,7 +1546,7 @@ msgstr "" "...\n" "AttributeError: 'dict' object has no attribute 'put'. Use d[k] = v." -#: ../../whatsnew/3.15.rst:701 +#: ../../whatsnew/3.15.rst:703 msgid "" "When a mutable method is called on an immutable type, the hint suggests the " "mutable counterpart:" @@ -1551,7 +1554,7 @@ msgstr "" "Wenn auf einem unveränderlichen Typ eine verändernde Methode aufgerufen " "wird, schlägt der Hinweis das veränderliche Gegenstück vor:" -#: ../../whatsnew/3.15.rst:704 +#: ../../whatsnew/3.15.rst:706 msgid "" ">>> (1, 2, 3).append(4)\n" "Traceback (most recent call last):\n" @@ -1565,15 +1568,15 @@ msgstr "" "AttributeError: 'tuple' object has no attribute 'append'. Did you mean to " "use a 'list' object?" -#: ../../whatsnew/3.15.rst:711 +#: ../../whatsnew/3.15.rst:713 msgid "These hints also work for subclasses of builtin types." msgstr "Diese Hinweise funktionieren auch für Unterklassen integrierter Typen." -#: ../../whatsnew/3.15.rst:713 +#: ../../whatsnew/3.15.rst:715 msgid "(Contributed by Matt Van Horn in :gh:`146406`.)" msgstr "(Beigetragen von Matt Van Horn in :gh:`146406`.)" -#: ../../whatsnew/3.15.rst:715 +#: ../../whatsnew/3.15.rst:717 msgid "" "The interpreter now tries to provide a suggestion when :func:`delattr` fails " "due to a missing attribute. When an attribute name that closely resembles an " @@ -1586,7 +1589,7 @@ msgstr "" "schlägt der Interpreter in der Fehlermeldung den korrekten Attributnamen " "vor. Zum Beispiel:" -#: ../../whatsnew/3.15.rst:721 +#: ../../whatsnew/3.15.rst:723 msgid "" ">>> class A:\n" "... pass\n" @@ -1606,12 +1609,12 @@ msgstr "" "...\n" "AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?" -#: ../../whatsnew/3.15.rst:732 +#: ../../whatsnew/3.15.rst:734 msgid "(Contributed by Nikita Sobolev and Pranjal Prajapati in :gh:`136588`.)" msgstr "" "(Beigetragen von Nikita Sobolev und Pranjal Prajapati in :gh:`136588`.)" -#: ../../whatsnew/3.15.rst:734 +#: ../../whatsnew/3.15.rst:736 msgid "" "Several error messages incorrectly using the term \"argument\" have been " "corrected. (Contributed by Stan Ulbrych in :gh:`133382`.)" @@ -1619,11 +1622,11 @@ msgstr "" "Mehrere Fehlermeldungen, die den Begriff „argument“ falsch verwendeten, " "wurden korrigiert. (Beigetragen von Stan Ulbrych in :gh:`133382`.)" -#: ../../whatsnew/3.15.rst:739 +#: ../../whatsnew/3.15.rst:741 msgid "Other language changes" msgstr "Weitere Sprachänderungen" -#: ../../whatsnew/3.15.rst:743 +#: ../../whatsnew/3.15.rst:745 msgid "" "Python now uses UTF-8_ as the default encoding, independent of the system's " "environment. This means that I/O operations without an explicit encoding, " @@ -1640,7 +1643,7 @@ msgstr "" "nahezu jeder Webseite im Internet, in vielen gängigen Dateiformaten, " "Programmiersprachen und mehr." -#: ../../whatsnew/3.15.rst:750 +#: ../../whatsnew/3.15.rst:752 msgid "" "This only applies when no ``encoding`` argument is given. For best " "compatibility between versions of Python, ensure that an explicit " @@ -1657,7 +1660,7 @@ msgstr "" "verwendet die Kodierung des aktuellen Gebietsschemas und wird seit Python " "3.10 unterstützt." -#: ../../whatsnew/3.15.rst:757 +#: ../../whatsnew/3.15.rst:759 msgid "" "To retain the previous behaviour, Python's UTF-8 mode may be disabled with " "the :envvar:`PYTHONUTF8=0 ` environment variable or " @@ -1667,18 +1670,18 @@ msgstr "" "mit der Umgebungsvariable :envvar:`PYTHONUTF8=0 ` oder der " "Kommandozeilenoption :option:`-X utf8=0 <-X>` deaktiviert werden." -#: ../../whatsnew/3.15.rst:761 +#: ../../whatsnew/3.15.rst:763 msgid "" "(Contributed by Adam Turner in :gh:`133711`; PEP 686 written by Inada Naoki.)" msgstr "" "(Beigetragen von Adam Turner in :gh:`133711`; PEP 686 verfasst von Inada " "Naoki.)" -#: ../../whatsnew/3.15.rst:763 +#: ../../whatsnew/3.15.rst:765 msgid ":pep:`686` for further details." msgstr ":pep:`686` enthält weitere Details." -#: ../../whatsnew/3.15.rst:770 +#: ../../whatsnew/3.15.rst:772 msgid "" "The interpreter help (such as ``python --help``) is now in color. This can " "be controlled by :ref:`environment variables `. " @@ -1688,7 +1691,7 @@ msgstr "" "lässt sich über :ref:`Umgebungsvariablen ` " "steuern. (Beigetragen von Hugo van Kemenade in :gh:`148766`.)" -#: ../../whatsnew/3.15.rst:777 +#: ../../whatsnew/3.15.rst:779 msgid "" "Unraisable exceptions are now highlighted with color by default. This can be " "controlled by :ref:`environment variables `. " @@ -1699,7 +1702,7 @@ msgstr "" "über :ref:`Umgebungsvariablen ` steuern. " "(Beigetragen von Peter Bierma in :gh:`134170`.)" -#: ../../whatsnew/3.15.rst:783 +#: ../../whatsnew/3.15.rst:785 msgid "" "More color in :ref:`argparse `, :ref:`ast " "`, :ref:`calendar ` to take " "bytes out of a :class:`bytearray` without copying. This enables optimizing " @@ -1800,29 +1803,29 @@ msgstr "" "Dekodieren und Komprimieren. Gängige Codemuster, die sich " "mit :func:`~bytearray.take_bytes` optimieren lassen, sind unten aufgeführt." -#: ../../whatsnew/3.15.rst:831 +#: ../../whatsnew/3.15.rst:833 msgid "Suggested optimizing refactors" msgstr "Vorgeschlagene Refactorings zur Optimierung" -#: ../../whatsnew/3.15.rst:834 +#: ../../whatsnew/3.15.rst:836 msgid "Description" msgstr "Beschreibung" -#: ../../whatsnew/3.15.rst:835 +#: ../../whatsnew/3.15.rst:837 msgid "Old" msgstr "Alt" -#: ../../whatsnew/3.15.rst:836 +#: ../../whatsnew/3.15.rst:838 msgid "New" msgstr "Neu" -#: ../../whatsnew/3.15.rst:838 +#: ../../whatsnew/3.15.rst:840 msgid "Return :class:`bytes` after working with :class:`bytearray`" msgstr "" ":class:`bytes` zurückgeben, nachdem mit einem :class:`bytearray` gearbeitet " "wurde" -#: ../../whatsnew/3.15.rst:839 +#: ../../whatsnew/3.15.rst:841 msgid "" "def read() -> bytes:\n" " buffer = bytearray(1024)\n" @@ -1834,7 +1837,7 @@ msgstr "" " ...\n" " return bytes(buffer)" -#: ../../whatsnew/3.15.rst:846 +#: ../../whatsnew/3.15.rst:848 msgid "" "def read() -> bytes:\n" " buffer = bytearray(1024)\n" @@ -1846,11 +1849,11 @@ msgstr "" " ...\n" " return buffer.take_bytes()" -#: ../../whatsnew/3.15.rst:853 +#: ../../whatsnew/3.15.rst:855 msgid "Empty a buffer getting the bytes" msgstr "Einen Puffer leeren und dabei die Bytes erhalten" -#: ../../whatsnew/3.15.rst:854 +#: ../../whatsnew/3.15.rst:856 msgid "" "buffer = bytearray(1024)\n" "...\n" @@ -1862,7 +1865,7 @@ msgstr "" "data = bytes(buffer)\n" "buffer.clear()" -#: ../../whatsnew/3.15.rst:861 +#: ../../whatsnew/3.15.rst:863 msgid "" "buffer = bytearray(1024)\n" "...\n" @@ -1872,11 +1875,11 @@ msgstr "" "...\n" "data = buffer.take_bytes()" -#: ../../whatsnew/3.15.rst:867 +#: ../../whatsnew/3.15.rst:869 msgid "Split a buffer at a specific separator" msgstr "Einen Puffer an einem bestimmten Trennzeichen aufteilen" -#: ../../whatsnew/3.15.rst:868 +#: ../../whatsnew/3.15.rst:870 msgid "" "buffer = bytearray(b'abc\\ndef')\n" "n = buffer.find(b'\\n')\n" @@ -1892,7 +1895,7 @@ msgstr "" "assert data == b'abc\\n'\n" "assert buffer == bytearray(b'def')" -#: ../../whatsnew/3.15.rst:877 +#: ../../whatsnew/3.15.rst:879 msgid "" "buffer = bytearray(b'abc\\ndef')\n" "n = buffer.find(b'\\n')\n" @@ -1902,13 +1905,13 @@ msgstr "" "n = buffer.find(b'\\n')\n" "data = buffer.take_bytes(n + 1)" -#: ../../whatsnew/3.15.rst:883 +#: ../../whatsnew/3.15.rst:885 msgid "Split a buffer at a specific separator; discard after the separator" msgstr "" "Einen Puffer an einem bestimmten Trennzeichen aufteilen, den Rest nach dem " "Trennzeichen verwerfen" -#: ../../whatsnew/3.15.rst:884 +#: ../../whatsnew/3.15.rst:886 msgid "" "buffer = bytearray(b'abc\\ndef')\n" "n = buffer.find(b'\\n')\n" @@ -1924,7 +1927,7 @@ msgstr "" "assert data == b'abc'\n" "assert len(buffer) == 0" -#: ../../whatsnew/3.15.rst:893 +#: ../../whatsnew/3.15.rst:895 msgid "" "buffer = bytearray(b'abc\\ndef')\n" "n = buffer.find(b'\\n')\n" @@ -1936,11 +1939,11 @@ msgstr "" "buffer.resize(n)\n" "data = buffer.take_bytes()" -#: ../../whatsnew/3.15.rst:900 +#: ../../whatsnew/3.15.rst:902 msgid "(Contributed by Cody Maloney in :gh:`139871`.)" msgstr "(Beigetragen von Cody Maloney in :gh:`139871`.)" -#: ../../whatsnew/3.15.rst:902 +#: ../../whatsnew/3.15.rst:904 msgid "" "Many functions related to compiling or parsing Python code, such " "as :func:`compile`, :func:`ast.parse`, :func:`symtable.symtable`, " @@ -1956,7 +1959,7 @@ msgstr "" "nach Modulnamen zu :ref:`filtern `. (Beigetragen von Serhiy " "Storchaka in :gh:`135801`.)" -#: ../../whatsnew/3.15.rst:909 +#: ../../whatsnew/3.15.rst:911 msgid "" "Allowed defining the *__dict__* and *__weakref__* :ref:`__slots__ ` " "for any class. (Contributed by Serhiy Storchaka in :gh:`41779`.)" @@ -1965,7 +1968,7 @@ msgstr "" "als :ref:`__slots__ ` definiert werden. (Beigetragen von Serhiy " "Storchaka in :gh:`41779`.)" -#: ../../whatsnew/3.15.rst:913 +#: ../../whatsnew/3.15.rst:915 msgid "" "Allowed defining any :ref:`__slots__ ` for a class derived " "from :class:`tuple` (including classes created " @@ -1977,7 +1980,7 @@ msgstr "" "mit :func:`collections.namedtuple` erzeugten Klassen). (Beigetragen von " "Serhiy Storchaka in :gh:`41779`.)" -#: ../../whatsnew/3.15.rst:917 +#: ../../whatsnew/3.15.rst:919 msgid "" "The :class:`slice` type now supports subscription, making it " "a :term:`generic type`. (Contributed by James Hilton-Balfe in :gh:`128335`.)" @@ -1986,7 +1989,7 @@ msgstr "" "ein :term:`generischer Typ `. (Beigetragen von James Hilton-" "Balfe in :gh:`128335`.)" -#: ../../whatsnew/3.15.rst:921 +#: ../../whatsnew/3.15.rst:923 msgid "" "The class :class:`memoryview` now supports the :c:expr:`float complex` " "and :c:expr:`double complex` C types: formatting characters ``'Zf'`` and " @@ -1998,7 +2001,7 @@ msgstr "" "beziehungsweise ``'Zd'``. (Beigetragen von Victor Stinner in :gh:`146151` " "und :gh:`148675`.)" -#: ../../whatsnew/3.15.rst:926 +#: ../../whatsnew/3.15.rst:928 msgid "" "Allow the *count* argument of :meth:`bytes.replace` to be a keyword. " "(Contributed by Stan Ulbrych in :gh:`147856`.)" @@ -2007,7 +2010,7 @@ msgstr "" "Schlüsselwortargument übergeben werden. (Beigetragen von Stan Ulbrych " "in :gh:`147856`.)" -#: ../../whatsnew/3.15.rst:929 +#: ../../whatsnew/3.15.rst:931 msgid "" "Unary plus is now accepted in :keyword:`match` literal patterns, mirroring " "the existing support for unary minus. (Contributed by Bartosz Sławecki " @@ -2017,7 +2020,7 @@ msgstr "" "analog zur bestehenden Unterstützung für das unäre Minus. (Beigetragen von " "Bartosz Sławecki in :gh:`145239`.)" -#: ../../whatsnew/3.15.rst:933 +#: ../../whatsnew/3.15.rst:935 msgid "" "The import system now acquires per-module locks in hierarchical order " "(parent packages before their submodules). This fixes a long-standing " @@ -2033,7 +2036,7 @@ msgstr "" "``pkg.sub.mod`` importiert. (Beigetragen von Gregory P. Smith " "in :gh:`83065`.)" -#: ../../whatsnew/3.15.rst:940 +#: ../../whatsnew/3.15.rst:942 msgid "" "File names of Stable ABI extensions that use the ``.so`` suffix may now " "include a multiarch tuple, for example, ``foo.abi3-x86-64-linux-gnu.so``. " @@ -2050,7 +2053,7 @@ msgstr "" "Erweiterungen bereits möglich ist. (Beigetragen von Stefano Rivera " "in :gh:`122931`.)" -#: ../../whatsnew/3.15.rst:947 +#: ../../whatsnew/3.15.rst:949 msgid "" "The ``__cached__`` attribute on modules, which was deprecated since version " "3.13, is no longer set or taken into consideration by the import system or " @@ -2064,7 +2067,7 @@ msgstr "" "`. (Beigetragen von Brett Cannon " "in :gh:`97879`.)" -#: ../../whatsnew/3.15.rst:953 +#: ../../whatsnew/3.15.rst:955 msgid "" "Note that the :attr:`~module.__loader__` and :attr:`~module.__package__` " "attributes are also deprecated and scheduled for removal." @@ -2073,11 +2076,11 @@ msgstr "" "und :attr:`~module.__package__` ebenfalls veraltet sind und entfernt werden " "sollen." -#: ../../whatsnew/3.15.rst:958 +#: ../../whatsnew/3.15.rst:960 msgid "Default interactive shell" msgstr "Interaktive Standard-Shell" -#: ../../whatsnew/3.15.rst:962 +#: ../../whatsnew/3.15.rst:964 msgid "" "Tab completions are now colored by object kind, based " "on :pypi:`fancycompleter`. Set :envvar:`PYTHON_BASIC_COMPLETER` to fall back " @@ -2092,7 +2095,7 @@ msgstr "" "` steuern. (Beigetragen von Antonio Cuni und " "Pablo Galindo in :gh:`130472`.)" -#: ../../whatsnew/3.15.rst:969 +#: ../../whatsnew/3.15.rst:971 msgid "" "Tab completion now suggests module attributes in ``from ... import`` " "statements. Attributes can only be suggested once the module is imported, " @@ -2107,15 +2110,15 @@ msgstr "" "anbietet, sie zu importieren, wenn :kbd:`Tab` ein zweites Mal gedrückt wird. " "(Beigetragen von Loïc Simon und Pablo Galindo in :gh:`140870`.)" -#: ../../whatsnew/3.15.rst:978 +#: ../../whatsnew/3.15.rst:980 msgid "New modules" msgstr "Neue Module" -#: ../../whatsnew/3.15.rst:981 +#: ../../whatsnew/3.15.rst:983 msgid "math.integer" msgstr "math.integer" -#: ../../whatsnew/3.15.rst:983 +#: ../../whatsnew/3.15.rst:985 msgid "" "This module provides access to the mathematical functions for integer " "arguments (:pep:`791`). (Contributed by Serhiy Storchaka in :gh:`81313`.)" @@ -2124,15 +2127,15 @@ msgstr "" "ganzzahlige Argumente (:pep:`791`). (Beigetragen von Serhiy Storchaka " "in :gh:`81313`.)" -#: ../../whatsnew/3.15.rst:989 +#: ../../whatsnew/3.15.rst:991 msgid "Improved modules" msgstr "Verbesserte Module" -#: ../../whatsnew/3.15.rst:992 +#: ../../whatsnew/3.15.rst:994 msgid "argparse" msgstr "argparse" -#: ../../whatsnew/3.15.rst:994 +#: ../../whatsnew/3.15.rst:996 msgid "" "The :class:`~argparse.BooleanOptionalAction` action now supports single-dash " "long options and alternate prefix characters. (Contributed by Serhiy " @@ -2142,7 +2145,7 @@ msgstr "" "Optionen mit einfachem Bindestrich und alternative Präfixzeichen. " "(Beigetragen von Serhiy Storchaka in :gh:`138525`.)" -#: ../../whatsnew/3.15.rst:998 +#: ../../whatsnew/3.15.rst:1000 msgid "" "Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` " "to default to ``True``. This enables suggestions for mistyped arguments by " @@ -2153,7 +2156,7 @@ msgstr "" "standardmäßig Vorschläge für falsch geschriebene Argumente angezeigt. " "(Beigetragen von Jakob Schluse in :gh:`140450`.)" -#: ../../whatsnew/3.15.rst:1004 +#: ../../whatsnew/3.15.rst:1006 msgid "" "Added backtick markup support in :class:`~argparse.ArgumentParser` " "description and epilog text to highlight inline code when color output is " @@ -2164,7 +2167,7 @@ msgstr "" "hervorzuheben, wenn die farbige Ausgabe aktiviert ist. (Beigetragen von " "Savannah Ostrowski in :gh:`142390`.)" -#: ../../whatsnew/3.15.rst:1008 +#: ../../whatsnew/3.15.rst:1010 msgid "" "Extended backtick markup to argument ``help`` text and added support for " "double backticks (RST inline-literal style). (Contributed by Hugo van " @@ -2174,11 +2177,11 @@ msgstr "" "erweitert, und doppelte Backticks (im Stil von RST-Inline-Literalen) werden " "jetzt unterstützt. (Beigetragen von Hugo van Kemenade in :gh:`149375`.)" -#: ../../whatsnew/3.15.rst:1014 +#: ../../whatsnew/3.15.rst:1016 msgid "array" msgstr "array" -#: ../../whatsnew/3.15.rst:1016 +#: ../../whatsnew/3.15.rst:1018 msgid "" "Support the :c:expr:`float complex` and :c:expr:`double complex` C types: " "formatting characters ``'Zf'`` and ``'Zd'`` respectively. (Contributed by " @@ -2188,7 +2191,7 @@ msgstr "" "complex` mit den Formatzeichen ``'Zf'`` beziehungsweise ``'Zd'``. " "(Beigetragen von Victor Stinner in :gh:`146151` und :gh:`148675`.)" -#: ../../whatsnew/3.15.rst:1020 +#: ../../whatsnew/3.15.rst:1022 msgid "" "Support half-floats (16-bit IEEE 754 binary interchange format): formatting " "character ``'e'``. (Contributed by Sergey B Kirpichev in :gh:`146238`.)" @@ -2197,7 +2200,7 @@ msgstr "" "Austauschformat nach IEEE 754) mit dem Formatzeichen ``'e'``. (Beigetragen " "von Sergey B Kirpichev in :gh:`146238`.)" -#: ../../whatsnew/3.15.rst:1024 +#: ../../whatsnew/3.15.rst:1026 msgid "" "The :data:`array.typecodes` type changed from :class:`str` to :class:`tuple` " "to support type codes longer than 1 character (``Zf`` and ``Zd``). " @@ -2207,11 +2210,11 @@ msgstr "" "geändert, um Typcodes zu unterstützen, die länger als ein Zeichen sind " "(``Zf`` und ``Zd``). (Beigetragen von Victor Stinner in :gh:`148675`.)" -#: ../../whatsnew/3.15.rst:1030 ../../whatsnew/3.15.rst:2137 +#: ../../whatsnew/3.15.rst:1032 ../../whatsnew/3.15.rst:2139 msgid "ast" msgstr "ast" -#: ../../whatsnew/3.15.rst:1034 +#: ../../whatsnew/3.15.rst:1036 msgid "" "Add *color* parameter to :func:`~ast.dump`. If ``True``, the returned string " "is syntax highlighted using ANSI escape sequences. If ``False`` (the " @@ -2223,7 +2226,7 @@ msgstr "" "hervorgehoben. Bei ``False`` (Standard) ist die farbige Ausgabe immer " "deaktiviert. (Beigetragen von Stan Ulbrych in :gh:`148981`.)" -#: ../../whatsnew/3.15.rst:1040 +#: ../../whatsnew/3.15.rst:1042 msgid "" "The :ref:`command-line ` output is now syntax highlighted by " "default. This can be :ref:`controlled using environment variables `. (Beigetragen von Stan Ulbrych " "in :gh:`148981`.)" -#: ../../whatsnew/3.15.rst:1046 +#: ../../whatsnew/3.15.rst:1048 msgid "asyncio" msgstr "asyncio" -#: ../../whatsnew/3.15.rst:1048 +#: ../../whatsnew/3.15.rst:1050 msgid "" "Added :meth:`TaskGroup.cancel ` to allow early " "termination of a task group, for instance, when the goal of the tasks has " @@ -2254,11 +2257,11 @@ msgstr "" "eigene Ausnahme auslöst, die dann beim Verlassen der Task-Gruppe unterdrückt " "wird. (Beigetragen von John Belmonte in :gh:`127214`.)" -#: ../../whatsnew/3.15.rst:1057 +#: ../../whatsnew/3.15.rst:1059 msgid "base64" msgstr "base64" -#: ../../whatsnew/3.15.rst:1059 +#: ../../whatsnew/3.15.rst:1061 msgid "" "Added the *pad* parameter in :func:`~base64.z85encode`. (Contributed by " "Hauke Dämpfling in :gh:`143103`.)" @@ -2266,7 +2269,7 @@ msgstr "" "Parameter *pad* in :func:`~base64.z85encode` hinzugefügt. (Beigetragen von " "Hauke Dämpfling in :gh:`143103`.)" -#: ../../whatsnew/3.15.rst:1062 +#: ../../whatsnew/3.15.rst:1064 msgid "" "Added the *padded* parameter " "in :func:`~base64.b32encode`, :func:`~base64.b32decode`, :func:`~base64.b32hexencode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64encode`, :func:`~base64.b64decode`, :func:`~base64.urlsafe_b64encode`, " @@ -2278,7 +2281,7 @@ msgstr "" "und :func:`~base64.urlsafe_b64decode` hinzugefügt. (Beigetragen von Serhiy " "Storchaka in :gh:`73613`.)" -#: ../../whatsnew/3.15.rst:1069 +#: ../../whatsnew/3.15.rst:1071 msgid "" "Added the *wrapcol* parameter " "in :func:`~base64.b16encode`, :func:`~base64.b32encode`, :func:`~base64.b32hexencode`, :func:`~base64.b64encode`, :func:`~base64.b85encode`, " @@ -2290,7 +2293,7 @@ msgstr "" "und :func:`~base64.z85encode` hinzugefügt. (Beigetragen von Serhiy Storchaka " "in :gh:`143214` und :gh:`146431`.)" -#: ../../whatsnew/3.15.rst:1075 +#: ../../whatsnew/3.15.rst:1077 msgid "" "Added the *ignorechars* parameter " "in :func:`~base64.b16decode`, :func:`~base64.b32decode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64decode`, :func:`~base64.b85decode`, " @@ -2302,7 +2305,7 @@ msgstr "" "und :func:`~base64.z85decode` hinzugefügt. (Beigetragen von Serhiy Storchaka " "in :gh:`144001` und :gh:`146431`.)" -#: ../../whatsnew/3.15.rst:1081 +#: ../../whatsnew/3.15.rst:1083 msgid "" "Added the *canonical* parameter " "in :func:`~base64.b32decode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64decode`, :func:`~base64.a85decode`, :func:`~base64.b85decode`, " @@ -2316,39 +2319,39 @@ msgstr "" "verschiedenen Füllbits oder anderen nicht kanonischen Formen abzulehnen. " "(Beigetragen von Gregory P. Smith in :gh:`146311`.)" -#: ../../whatsnew/3.15.rst:1092 +#: ../../whatsnew/3.15.rst:1094 msgid "binascii" msgstr "binascii" -#: ../../whatsnew/3.15.rst:1094 +#: ../../whatsnew/3.15.rst:1096 msgid "Added functions for Base32 encoding:" msgstr "Funktionen für die Base32-Kodierung hinzugefügt:" -#: ../../whatsnew/3.15.rst:1096 +#: ../../whatsnew/3.15.rst:1098 msgid ":func:`~binascii.b2a_base32` and :func:`~binascii.a2b_base32`" msgstr ":func:`~binascii.b2a_base32` und :func:`~binascii.a2b_base32`" -#: ../../whatsnew/3.15.rst:1098 +#: ../../whatsnew/3.15.rst:1100 msgid "(Contributed by James Seo in :gh:`146192`.)" msgstr "(Beigetragen von James Seo in :gh:`146192`.)" -#: ../../whatsnew/3.15.rst:1100 +#: ../../whatsnew/3.15.rst:1102 msgid "Added functions for Ascii85, Base85, and Z85 encoding:" msgstr "Funktionen für die Kodierungen Ascii85, Base85 und Z85 hinzugefügt:" -#: ../../whatsnew/3.15.rst:1102 +#: ../../whatsnew/3.15.rst:1104 msgid ":func:`~binascii.b2a_ascii85` and :func:`~binascii.a2b_ascii85`" msgstr ":func:`~binascii.b2a_ascii85` und :func:`~binascii.a2b_ascii85`" -#: ../../whatsnew/3.15.rst:1103 +#: ../../whatsnew/3.15.rst:1105 msgid ":func:`~binascii.b2a_base85` and :func:`~binascii.a2b_base85`" msgstr ":func:`~binascii.b2a_base85` und :func:`~binascii.a2b_base85`" -#: ../../whatsnew/3.15.rst:1105 +#: ../../whatsnew/3.15.rst:1107 msgid "(Contributed by James Seo and Serhiy Storchaka in :gh:`101178`.)" msgstr "(Beigetragen von James Seo und Serhiy Storchaka in :gh:`101178`.)" -#: ../../whatsnew/3.15.rst:1107 +#: ../../whatsnew/3.15.rst:1109 msgid "" "Added the *padded* parameter " "in :func:`~binascii.b2a_base32`, :func:`~binascii.a2b_base32`, :func:`~binascii.b2a_base64`, " @@ -2360,7 +2363,7 @@ msgstr "" "und :func:`~binascii.a2b_base64` hinzugefügt. (Beigetragen von Serhiy " "Storchaka in :gh:`73613`.)" -#: ../../whatsnew/3.15.rst:1112 +#: ../../whatsnew/3.15.rst:1114 msgid "" "Added the *wrapcol* parameter in :func:`~binascii.b2a_base64`. (Contributed " "by Serhiy Storchaka in :gh:`143214`.)" @@ -2368,7 +2371,7 @@ msgstr "" "Parameter *wrapcol* in :func:`~binascii.b2a_base64` hinzugefügt. " "(Beigetragen von Serhiy Storchaka in :gh:`143214`.)" -#: ../../whatsnew/3.15.rst:1115 +#: ../../whatsnew/3.15.rst:1117 msgid "" "Added the *alphabet* parameter in :func:`~binascii.b2a_base64` " "and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka " @@ -2378,7 +2381,7 @@ msgstr "" "und :func:`~binascii.a2b_base64` hinzugefügt. (Beigetragen von Serhiy " "Storchaka in :gh:`145980`.)" -#: ../../whatsnew/3.15.rst:1119 +#: ../../whatsnew/3.15.rst:1121 msgid "" "Added the *ignorechars* parameter " "in :func:`~binascii.a2b_hex`, :func:`~binascii.unhexlify`, " @@ -2390,7 +2393,7 @@ msgstr "" "und :func:`~binascii.a2b_base64` hinzugefügt. (Beigetragen von Serhiy " "Storchaka in :gh:`144001` und :gh:`146431`.)" -#: ../../whatsnew/3.15.rst:1123 +#: ../../whatsnew/3.15.rst:1125 msgid "" "Added the *canonical* parameter in :func:`~binascii.a2b_base64`, to reject " "encodings with non-zero padding bits. (Contributed by Gregory P. Smith " @@ -2400,11 +2403,11 @@ msgstr "" "Kodierungen mit von null verschiedenen Füllbits abzulehnen. (Beigetragen von " "Gregory P. Smith in :gh:`146311`.)" -#: ../../whatsnew/3.15.rst:1129 +#: ../../whatsnew/3.15.rst:1131 msgid "calendar" msgstr "calendar" -#: ../../whatsnew/3.15.rst:1133 +#: ../../whatsnew/3.15.rst:1135 msgid "" ":mod:`calendar`'s :ref:`command-line ` text output has more " "color. This can be controlled with :ref:`environment variables ` steuern. (Beigetragen von Hugo van Kemenade " "in :gh:`148352`.)" -#: ../../whatsnew/3.15.rst:1138 +#: ../../whatsnew/3.15.rst:1140 msgid "" "The :mod:`calendar`'s :ref:`command-line ` HTML output now " "accepts the year-month option: ``python -m calendar -t html 2009 06``. " @@ -2425,7 +2428,7 @@ msgstr "" "cli>` akzeptiert jetzt die Angabe von Jahr und Monat: ``python -m calendar " "-t html 2009 06``. (Beigetragen von Pål Grønås Drange in :gh:`140212`.)" -#: ../../whatsnew/3.15.rst:1142 +#: ../../whatsnew/3.15.rst:1144 msgid "" "Calendar pages generated by the :class:`calendar.HTMLCalendar` class now " "support dark mode and have been migrated to the HTML5 standard for improved " @@ -2437,11 +2440,11 @@ msgstr "" "Barrierefreiheit auf den HTML5-Standard umgestellt. (Beigetragen von Jiahao " "Li und Hugo van Kemenade in :gh:`137634`.)" -#: ../../whatsnew/3.15.rst:1148 +#: ../../whatsnew/3.15.rst:1150 msgid "collections" msgstr "collections" -#: ../../whatsnew/3.15.rst:1150 +#: ../../whatsnew/3.15.rst:1152 msgid "" "Added :meth:`!collections.Counter.__xor__` and :meth:`!" "collections.Counter.__ixor__` to compute the symmetric difference " @@ -2453,11 +2456,11 @@ msgstr "" "Differenz zwischen Objekten vom Typ :class:`~collections.Counter` zu " "berechnen. (Beigetragen von Raymond Hettinger in :gh:`138682`.)" -#: ../../whatsnew/3.15.rst:1157 +#: ../../whatsnew/3.15.rst:1159 msgid "concurrent.futures" msgstr "concurrent.futures" -#: ../../whatsnew/3.15.rst:1159 +#: ../../whatsnew/3.15.rst:1161 msgid "" "Improved error reporting when a child process in " "a :class:`concurrent.futures.ProcessPoolExecutor` terminates abruptly. The " @@ -2469,11 +2472,11 @@ msgstr "" "Der resultierende Traceback nennt jetzt die PID und den Exit-Code des " "beendeten Prozesses. (Beigetragen von Jonathan Berg in :gh:`139486`.)" -#: ../../whatsnew/3.15.rst:1167 +#: ../../whatsnew/3.15.rst:1169 msgid "contextlib" msgstr "contextlib" -#: ../../whatsnew/3.15.rst:1169 +#: ../../whatsnew/3.15.rst:1171 msgid "" "Added support for arbitrary descriptors :meth:`!__enter__`, :meth:`!" "__exit__`, :meth:`!__aenter__`, and :meth:`!__aexit__` " @@ -2488,7 +2491,7 @@ msgstr "" "und :keyword:`async with`. (Beigetragen von Serhiy Storchaka " "in :gh:`144386`.)" -#: ../../whatsnew/3.15.rst:1175 +#: ../../whatsnew/3.15.rst:1177 msgid "" ":class:`~contextlib.ContextDecorator` " "and :class:`~contextlib.AsyncContextDecorator` (and " @@ -2510,11 +2513,11 @@ msgstr "" "verlassen, sobald das Generator- oder Koroutinenobjekt erzeugt wurde. " "(Beigetragen von Alex Grönholm und Gregory P. Smith in :gh:`125862`.)" -#: ../../whatsnew/3.15.rst:1186 ../../whatsnew/3.15.rst:2156 +#: ../../whatsnew/3.15.rst:1188 ../../whatsnew/3.15.rst:2158 msgid "ctypes" msgstr "ctypes" -#: ../../whatsnew/3.15.rst:1188 +#: ../../whatsnew/3.15.rst:1190 msgid "" "Change the :py:attr:`~ctypes._SimpleCData._type_` " "of :class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` " @@ -2528,11 +2531,11 @@ msgstr "" "NumPy von ``F``, ``D`` und ``G`` zu ``Zf``, ``Zd`` und ``Zg`` geändert. " "(Beigetragen von Victor Stinner in :gh:`148675`.)" -#: ../../whatsnew/3.15.rst:1196 +#: ../../whatsnew/3.15.rst:1198 msgid "dataclasses" msgstr "dataclasses" -#: ../../whatsnew/3.15.rst:1198 +#: ../../whatsnew/3.15.rst:1200 msgid "" "Annotations for generated ``__init__`` methods no longer include internal " "type names. (Contributed by David Ellis in :gh:`137530`.)" @@ -2540,11 +2543,11 @@ msgstr "" "Annotationen für generierte Methoden ``__init__`` enthalten keine internen " "Typnamen mehr. (Beigetragen von David Ellis in :gh:`137530`.)" -#: ../../whatsnew/3.15.rst:1204 +#: ../../whatsnew/3.15.rst:1206 msgid "dbm" msgstr "dbm" -#: ../../whatsnew/3.15.rst:1206 +#: ../../whatsnew/3.15.rst:1208 msgid "" "Added new :meth:`!reorganize` methods to :mod:`dbm.dumb` " "and :mod:`dbm.sqlite3` to recover unused free space previously occupied by " @@ -2555,11 +2558,11 @@ msgstr "" "von gelöschten Einträgen belegt war. (Beigetragen von Andrea Oliveri " "in :gh:`134004`.)" -#: ../../whatsnew/3.15.rst:1212 +#: ../../whatsnew/3.15.rst:1214 msgid "difflib" msgstr "difflib" -#: ../../whatsnew/3.15.rst:1216 +#: ../../whatsnew/3.15.rst:1218 msgid "" "Introduced the optional *color* parameter to :func:`difflib.unified_diff`, " "enabling color output similar to :program:`git diff`. This can be controlled " @@ -2571,7 +2574,7 @@ msgstr "" "Dies lässt sich über :ref:`Umgebungsvariablen ` " "steuern. (Beigetragen von Douglas Thor in :gh:`133725`.)" -#: ../../whatsnew/3.15.rst:1222 +#: ../../whatsnew/3.15.rst:1224 msgid "" "Improved the styling of HTML diff pages generated by " "the :class:`difflib.HtmlDiff` class, and migrated the output to the HTML5 " @@ -2581,11 +2584,11 @@ msgstr "" "Seiten wurde verbessert und die Ausgabe auf den HTML5-Standard umgestellt. " "(Beigetragen von Jiahao Li in :gh:`134580`.)" -#: ../../whatsnew/3.15.rst:1228 +#: ../../whatsnew/3.15.rst:1230 msgid "email" msgstr "email" -#: ../../whatsnew/3.15.rst:1230 +#: ../../whatsnew/3.15.rst:1232 msgid "" "Email generators now raise an error when an :class:`.EmailMessage` cannot be " "accurately flattened due to a non-ASCII email address (mailbox) in an " @@ -2601,11 +2604,11 @@ msgstr "" "beschrieben. (Beigetragen von R David Murray und Mike Edmunds " "in :gh:`122540`.)" -#: ../../whatsnew/3.15.rst:1238 +#: ../../whatsnew/3.15.rst:1240 msgid "faulthandler" msgstr "faulthandler" -#: ../../whatsnew/3.15.rst:1240 +#: ../../whatsnew/3.15.rst:1242 msgid "" "Added the *max_threads* parameter " "in :func:`faulthandler.enable`, :func:`faulthandler.dump_traceback`, :func:`faulthandler.dump_traceback_later`, " @@ -2617,11 +2620,11 @@ msgstr "" "und :func:`faulthandler.register` hinzugefügt. (Beigetragen von Eric " "Froemling in :gh:`149085`.)" -#: ../../whatsnew/3.15.rst:1247 +#: ../../whatsnew/3.15.rst:1249 msgid "functools" msgstr "functools" -#: ../../whatsnew/3.15.rst:1249 +#: ../../whatsnew/3.15.rst:1251 msgid "" ":func:`~functools.singledispatchmethod` now supports non-:term:`descriptor` " "callables. (Contributed by Serhiy Storchaka in :gh:`140873`.)" @@ -2630,7 +2633,7 @@ msgstr "" "Objekte, die keine :term:`Deskriptoren ` sind. (Beigetragen von " "Serhiy Storchaka in :gh:`140873`.)" -#: ../../whatsnew/3.15.rst:1253 +#: ../../whatsnew/3.15.rst:1255 msgid "" ":func:`~functools.singledispatchmethod` now dispatches on the second " "argument if it wraps a regular method and is called as a class attribute. " @@ -2641,11 +2644,11 @@ msgstr "" "als Klassenattribut aufgerufen wird. (Beigetragen von Bartosz Sławecki " "in :gh:`143535`.)" -#: ../../whatsnew/3.15.rst:1259 +#: ../../whatsnew/3.15.rst:1261 msgid "gc" msgstr "gc" -#: ../../whatsnew/3.15.rst:1261 +#: ../../whatsnew/3.15.rst:1263 msgid "" "Python 3.14.0-3.14.4 shipped with a new incremental garbage collector. " "However, due to a number of `reports `, is colored by default. " @@ -2717,7 +2720,7 @@ msgstr "" "on-controlling-color>` steuern. (Beigetragen von Hugo van Kemenade " "in :gh:`146292`.)" -#: ../../whatsnew/3.15.rst:1303 +#: ../../whatsnew/3.15.rst:1305 msgid "" "Added :attr:`~http.server.SimpleHTTPRequestHandler.default_content_type` and " "the :option:`--content-type ` command-line " @@ -2731,7 +2734,7 @@ msgstr "" "unbekannter Endung anpassen zu können. (Beigetragen von John Comeau und Hugo " "van Kemenade in :gh:`113471`.)" -#: ../../whatsnew/3.15.rst:1309 +#: ../../whatsnew/3.15.rst:1311 msgid "" "Add a new ``extra_response_headers`` keyword argument " "to :class:`~http.server.SimpleHTTPRequestHandler` to support custom headers " @@ -2741,7 +2744,7 @@ msgstr "" "für :class:`~http.server.SimpleHTTPRequestHandler`, um eigene Header in HTTP-" "Antworten zu unterstützen. (Beigetragen von Anton I. Sipos in :gh:`135057`.)" -#: ../../whatsnew/3.15.rst:1314 +#: ../../whatsnew/3.15.rst:1316 msgid "" "Add a :option:`-H/--header ` option to " "the :program:`python -m http.server` command-line interface to support " @@ -2753,11 +2756,11 @@ msgstr "" "Header in HTTP-Antworten zu unterstützen. (Beigetragen von Anton I. Sipos " "in :gh:`135057`.)" -#: ../../whatsnew/3.15.rst:1320 +#: ../../whatsnew/3.15.rst:1322 msgid "importlib.metadata" msgstr "importlib.metadata" -#: ../../whatsnew/3.15.rst:1322 +#: ../../whatsnew/3.15.rst:1324 msgid "" "Previously, when accessing a distribution metadata directory not containing " "a metadata file, ``metadata()`` and ``Distribution.metadata`` would return " @@ -2775,11 +2778,11 @@ msgstr "" "github.com/python/importlib_metadata/issues/493>`_, die Begründung zu den " "Kompatibilitätsbedenken in :gh:`143387`. (Beigetragen von Jason R. Coombs.)" -#: ../../whatsnew/3.15.rst:1333 +#: ../../whatsnew/3.15.rst:1335 msgid "inspect" msgstr "inspect" -#: ../../whatsnew/3.15.rst:1335 +#: ../../whatsnew/3.15.rst:1337 msgid "" "Add parameters *inherit_class_doc* and *fallback_to_class_doc* " "for :func:`~inspect.getdoc`. (Contributed by Serhiy Storchaka " @@ -2789,11 +2792,11 @@ msgstr "" "für :func:`~inspect.getdoc` hinzugefügt. (Beigetragen von Serhiy Storchaka " "in :gh:`132686`.)" -#: ../../whatsnew/3.15.rst:1341 +#: ../../whatsnew/3.15.rst:1343 msgid "json" msgstr "json" -#: ../../whatsnew/3.15.rst:1343 +#: ../../whatsnew/3.15.rst:1345 msgid "" "Add the *array_hook* parameter to :func:`~json.load` and :func:`~json.loads` " "functions: allow a callback for JSON literal array types to customize Python " @@ -2810,11 +2813,11 @@ msgstr "" "verschachtelte, unveränderliche Python-Struktur, die die JSON-Daten " "darstellt. (Beigetragen von Joao S. O. Bueno in :gh:`146440`.)" -#: ../../whatsnew/3.15.rst:1353 +#: ../../whatsnew/3.15.rst:1355 msgid "locale" msgstr "locale" -#: ../../whatsnew/3.15.rst:1355 +#: ../../whatsnew/3.15.rst:1357 msgid "" ":func:`~locale.setlocale` now supports language codes with ``@``-modifiers. " "``@``-modifiers are no longer silently removed in :func:`~locale.getlocale`, " @@ -2827,7 +2830,7 @@ msgstr "" "den Sprachcode aufgenommen. (Beigetragen von Serhiy Storchaka " "in :gh:`137729`.)" -#: ../../whatsnew/3.15.rst:1360 +#: ../../whatsnew/3.15.rst:1362 msgid "" "Undeprecate the :func:`locale.getdefaultlocale` function. (Contributed by " "Victor Stinner in :gh:`130796`.)" @@ -2835,11 +2838,11 @@ msgstr "" "Die Funktion :func:`locale.getdefaultlocale` ist nicht mehr veraltet. " "(Beigetragen von Victor Stinner in :gh:`130796`.)" -#: ../../whatsnew/3.15.rst:1365 +#: ../../whatsnew/3.15.rst:1367 msgid "math" msgstr "math" -#: ../../whatsnew/3.15.rst:1367 +#: ../../whatsnew/3.15.rst:1369 msgid "" "Add :func:`math.isnormal` and :func:`math.issubnormal` functions. " "(Contributed by Sergey B Kirpichev in :gh:`132908`.)" @@ -2847,7 +2850,7 @@ msgstr "" "Funktionen :func:`math.isnormal` und :func:`math.issubnormal` hinzugefügt. " "(Beigetragen von Sergey B Kirpichev in :gh:`132908`.)" -#: ../../whatsnew/3.15.rst:1370 +#: ../../whatsnew/3.15.rst:1372 msgid "" "Add :func:`math.fmax`, :func:`math.fmin` and :func:`math.signbit` functions. " "(Contributed by Bénédikt Tran in :gh:`135853`.)" @@ -2855,11 +2858,11 @@ msgstr "" "Funktionen :func:`math.fmax`, :func:`math.fmin` und :func:`math.signbit` " "hinzugefügt. (Beigetragen von Bénédikt Tran in :gh:`135853`.)" -#: ../../whatsnew/3.15.rst:1375 +#: ../../whatsnew/3.15.rst:1377 msgid "mimetypes" msgstr "mimetypes" -#: ../../whatsnew/3.15.rst:1377 +#: ../../whatsnew/3.15.rst:1379 msgid "" "Add more MIME types. (Contributed by Benedikt Johannes, Charlie Lin, " "Foolbar, Gil Forcada and John Franey " @@ -2871,7 +2874,7 @@ msgstr "" "in :gh:`144217`, :gh:`145720`, :gh:`140937`, :gh:`139959`, :gh:`145698`, :gh:`145718`, :gh:`145918` " "und :gh:`144213`.)" -#: ../../whatsnew/3.15.rst:1383 +#: ../../whatsnew/3.15.rst:1385 msgid "" "Rename ``application/x-texinfo`` to ``application/texinfo``. (Contributed by " "Charlie Lin in :gh:`140165`.)" @@ -2879,7 +2882,7 @@ msgstr "" "``application/x-texinfo`` in ``application/texinfo`` umbenannt. (Beigetragen " "von Charlie Lin in :gh:`140165`.)" -#: ../../whatsnew/3.15.rst:1386 +#: ../../whatsnew/3.15.rst:1388 msgid "" "Changed the MIME type for ``.ai`` files to ``application/pdf``. (Contributed " "by Stan Ulbrych in :gh:`141239`.)" @@ -2887,11 +2890,11 @@ msgstr "" "Der MIME-Typ für Dateien mit der Endung ``.ai`` wurde zu ``application/pdf`` " "geändert. (Beigetragen von Stan Ulbrych in :gh:`141239`.)" -#: ../../whatsnew/3.15.rst:1391 +#: ../../whatsnew/3.15.rst:1393 msgid "mmap" msgstr "mmap" -#: ../../whatsnew/3.15.rst:1393 +#: ../../whatsnew/3.15.rst:1395 msgid "" ":class:`mmap.mmap` now has a *trackfd* parameter on Windows; if it is " "``False``, the file handle corresponding to *fileno* will not be duplicated. " @@ -2901,7 +2904,7 @@ msgstr "" "``False``, wird das zu *fileno* gehörende Datei-Handle nicht dupliziert. " "(Beigetragen von Serhiy Storchaka in :gh:`78502`.)" -#: ../../whatsnew/3.15.rst:1398 +#: ../../whatsnew/3.15.rst:1400 msgid "" "Added the :meth:`mmap.mmap.set_name` method to annotate an anonymous memory " "mapping if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME " @@ -2913,11 +2916,11 @@ msgstr "" "Kernel :manpage:`PR_SET_VMA_ANON_NAME ` unterstützt " "(Linux 5.17 oder neuer). (Beigetragen von Donghee Na in :gh:`142419`.)" -#: ../../whatsnew/3.15.rst:1405 +#: ../../whatsnew/3.15.rst:1407 msgid "os" msgstr "os" -#: ../../whatsnew/3.15.rst:1407 +#: ../../whatsnew/3.15.rst:1409 msgid "" "Add :func:`os.statx` on Linux kernel versions 4.11 and later with glibc " "versions 2.28 and later. (Contributed by Jeffrey Bosboom and Victor Stinner " @@ -2927,7 +2930,7 @@ msgstr "" "hinzugefügt. (Beigetragen von Jeffrey Bosboom und Victor Stinner " "in :gh:`83714`.)" -#: ../../whatsnew/3.15.rst:1411 +#: ../../whatsnew/3.15.rst:1413 msgid "" ":func:`os.makedirs` function now has a *parent_mode* parameter that allows " "specifying the mode for intermediate directories. This can be used to match " @@ -2940,11 +2943,11 @@ msgstr "" "3.6 und früher nachbilden. (Beigetragen von Zackery Spytz und Gregory P. " "Smith in :gh:`86533`.)" -#: ../../whatsnew/3.15.rst:1417 +#: ../../whatsnew/3.15.rst:1419 msgid "os.path" msgstr "os.path" -#: ../../whatsnew/3.15.rst:1419 +#: ../../whatsnew/3.15.rst:1421 msgid "" "Add support of the all-but-last mode in :func:`~os.path.realpath`. " "(Contributed by Serhiy Storchaka in :gh:`71189`.)" @@ -2953,7 +2956,7 @@ msgstr "" "in :func:`~os.path.realpath` hinzugefügt. (Beigetragen von Serhiy Storchaka " "in :gh:`71189`.)" -#: ../../whatsnew/3.15.rst:1422 +#: ../../whatsnew/3.15.rst:1424 msgid "" "The *strict* parameter to :func:`os.path.realpath` accepts a new " "value, :data:`os.path.ALLOW_MISSING`. If used, errors other " @@ -2967,11 +2970,11 @@ msgstr "" "fehlen, enthält aber keine symbolischen Links. (Beigetragen von Petr " "Viktorin für :cve:`2025-4517`.)" -#: ../../whatsnew/3.15.rst:1430 ../../whatsnew/3.15.rst:2210 +#: ../../whatsnew/3.15.rst:1432 ../../whatsnew/3.15.rst:2212 msgid "pathlib" msgstr "pathlib" -#: ../../whatsnew/3.15.rst:1432 +#: ../../whatsnew/3.15.rst:1434 msgid "" ":meth:`pathlib.Path.mkdir` now has a *parent_mode* parameter that allows " "specifying the mode for intermediate directories when ``parents=True``. " @@ -2981,11 +2984,11 @@ msgstr "" "sich bei ``parents=True`` der Modus für Zwischenverzeichnisse festlegen " "lässt. (Beigetragen von Gregory P. Smith in :gh:`86533`.)" -#: ../../whatsnew/3.15.rst:1438 +#: ../../whatsnew/3.15.rst:1440 msgid "pdb" msgstr "pdb" -#: ../../whatsnew/3.15.rst:1440 +#: ../../whatsnew/3.15.rst:1442 msgid "" "Use the new interactive shell as the default input shell for :mod:`pdb`. " "(Contributed by Tian Gao in :gh:`145379`.)" @@ -2993,11 +2996,11 @@ msgstr "" "Die neue interaktive Shell wird jetzt als Standard-Eingabeshell " "für :mod:`pdb` verwendet. (Beigetragen von Tian Gao in :gh:`145379`.)" -#: ../../whatsnew/3.15.rst:1445 +#: ../../whatsnew/3.15.rst:1447 msgid "pickle" msgstr "pickle" -#: ../../whatsnew/3.15.rst:1447 +#: ../../whatsnew/3.15.rst:1449 msgid "" "Add support for pickling private methods and nested classes. (Contributed by " "Zackery Spytz and Serhiy Storchaka in :gh:`77188`.)" @@ -3006,11 +3009,11 @@ msgstr "" "hinzugefügt. (Beigetragen von Zackery Spytz und Serhiy Storchaka " "in :gh:`77188`.)" -#: ../../whatsnew/3.15.rst:1452 +#: ../../whatsnew/3.15.rst:1454 msgid "pickletools" msgstr "pickletools" -#: ../../whatsnew/3.15.rst:1456 +#: ../../whatsnew/3.15.rst:1458 msgid "" "The output of the :mod:`pickletools` command-line interface is colored by " "default. This can be controlled with :ref:`environment variables ` steuern. (Beigetragen von Hugo van Kemenade " "in :gh:`149026`.)" -#: ../../whatsnew/3.15.rst:1463 +#: ../../whatsnew/3.15.rst:1465 msgid "pprint" msgstr "pprint" -#: ../../whatsnew/3.15.rst:1465 +#: ../../whatsnew/3.15.rst:1467 msgid "" "Add an *expand* keyword argument " "for :func:`pprint.pprint`, :func:`pprint.pformat`, :func:`pprint.pp`. If " @@ -3039,7 +3042,7 @@ msgstr "" "bei :func:`json.dumps` mit angegebenem *indent* formatiert. (Beigetragen von " "Stefan Todoran, Semyon Moroz und Hugo van Kemenade in :gh:`112632`.)" -#: ../../whatsnew/3.15.rst:1472 +#: ../../whatsnew/3.15.rst:1474 msgid "" "Add t-string support to :mod:`pprint`. (Contributed by Loïc Simon and Hugo " "van Kemenade in :gh:`134551`.)" @@ -3047,11 +3050,11 @@ msgstr "" "Unterstützung für T-Strings in :mod:`pprint` hinzugefügt. (Beigetragen von " "Loïc Simon und Hugo van Kemenade in :gh:`134551`.)" -#: ../../whatsnew/3.15.rst:1477 +#: ../../whatsnew/3.15.rst:1479 msgid "re" msgstr "re" -#: ../../whatsnew/3.15.rst:1479 +#: ../../whatsnew/3.15.rst:1481 msgid "" ":func:`re.prefixmatch` and a corresponding :meth:`re.Pattern.prefixmatch` " "have been added as alternate, more explicit names for the existing and " @@ -3072,11 +3075,11 @@ msgstr "" "*match* für das, was in Python schon immer *search* heißt. (Beigetragen von " "Gregory P. Smith in :gh:`86519`.)" -#: ../../whatsnew/3.15.rst:1491 +#: ../../whatsnew/3.15.rst:1493 msgid "resource" msgstr "resource" -#: ../../whatsnew/3.15.rst:1493 +#: ../../whatsnew/3.15.rst:1495 msgid "" "Add new " "constants: :data:`~resource.RLIMIT_NTHR`, :data:`~resource.RLIMIT_UMTXP`, :data:`~resource.RLIMIT_THREADS`, :data:`~resource.RLIM_SAVED_CUR`, " @@ -3088,11 +3091,11 @@ msgstr "" "und :data:`~resource.RLIM_SAVED_MAX`. (Beigetragen von Serhiy Storchaka " "in :gh:`137512`.)" -#: ../../whatsnew/3.15.rst:1500 +#: ../../whatsnew/3.15.rst:1502 msgid "shelve" msgstr "shelve" -#: ../../whatsnew/3.15.rst:1502 +#: ../../whatsnew/3.15.rst:1504 msgid "" "Added new :meth:`!reorganize` method to :mod:`shelve` used to recover unused " "free space previously occupied by deleted entries. (Contributed by Andrea " @@ -3102,7 +3105,7 @@ msgstr "" "ungenutzten freien Speicherplatz zurückzugewinnen, der zuvor von gelöschten " "Einträgen belegt war. (Beigetragen von Andrea Oliveri in :gh:`134004`.)" -#: ../../whatsnew/3.15.rst:1506 +#: ../../whatsnew/3.15.rst:1508 msgid "" "Add support for custom serialization and deserialization functions in " "the :mod:`shelve` module. (Contributed by Furkan Onder in :gh:`99631`.)" @@ -3111,11 +3114,11 @@ msgstr "" "Modul :mod:`shelve` hinzugefügt. (Beigetragen von Furkan Onder " "in :gh:`99631`.)" -#: ../../whatsnew/3.15.rst:1512 +#: ../../whatsnew/3.15.rst:1514 msgid "socket" msgstr "socket" -#: ../../whatsnew/3.15.rst:1514 +#: ../../whatsnew/3.15.rst:1516 msgid "" "Add constants for the ISO-TP CAN protocol. (Contributed by Patrick Menschel " "and Stefan Tatschner in :gh:`86819`.)" @@ -3123,18 +3126,18 @@ msgstr "" "Konstanten für das CAN-Protokoll ISO-TP hinzugefügt. (Beigetragen von " "Patrick Menschel und Stefan Tatschner in :gh:`86819`.)" -#: ../../whatsnew/3.15.rst:1519 +#: ../../whatsnew/3.15.rst:1521 msgid "sqlite3" msgstr "sqlite3" -#: ../../whatsnew/3.15.rst:1521 +#: ../../whatsnew/3.15.rst:1523 msgid "" "The :ref:`command-line interface ` has several new features:" msgstr "" "Die :ref:`Kommandozeilenschnittstelle ` hat mehrere neue " "Features:" -#: ../../whatsnew/3.15.rst:1523 +#: ../../whatsnew/3.15.rst:1525 msgid "" "SQL keyword completion on :kbd:`Tab`. (Contributed by Long Tan " "in :gh:`133393`.)" @@ -3142,7 +3145,7 @@ msgstr "" "Vervollständigung von SQL-Schlüsselwörtern mit :kbd:`Tab`. (Beigetragen von " "Long Tan in :gh:`133393`.)" -#: ../../whatsnew/3.15.rst:1528 +#: ../../whatsnew/3.15.rst:1530 msgid "" "Prompts, error messages, and help text are now colored. This is enabled by " "default, see :ref:`using-on-controlling-color` for details. (Contributed by " @@ -3153,7 +3156,7 @@ msgstr "" "controlling-color`. (Beigetragen von Stan Ulbrych und Łukasz Langa " "in :gh:`133461`.)" -#: ../../whatsnew/3.15.rst:1533 +#: ../../whatsnew/3.15.rst:1535 msgid "" "Table, index, trigger, view, column, function, and schema completion " "on :kbd:`Tab`. (Contributed by Long Tan in :gh:`136101`.)" @@ -3162,11 +3165,11 @@ msgstr "" "Funktionen und Schemas mit :kbd:`Tab`. (Beigetragen von Long Tan " "in :gh:`136101`.)" -#: ../../whatsnew/3.15.rst:1538 ../../whatsnew/3.15.rst:2946 +#: ../../whatsnew/3.15.rst:1540 ../../whatsnew/3.15.rst:2948 msgid "ssl" msgstr "ssl" -#: ../../whatsnew/3.15.rst:1540 +#: ../../whatsnew/3.15.rst:1542 msgid "" "Indicate through :data:`ssl.HAS_PSK_TLS13` whether the :mod:`ssl` module " "supports \"External PSKs\" in TLSv1.3, as described in :rfc:`9258`. " @@ -3176,13 +3179,13 @@ msgstr "" "„External PSKs“ in TLSv1.3 unterstützt, wie in :rfc:`9258` beschrieben. " "(Beigetragen von Will Childs-Klein in :gh:`133624`.)" -#: ../../whatsnew/3.15.rst:1544 +#: ../../whatsnew/3.15.rst:1546 msgid "Added new methods for managing groups used for SSL key agreement:" msgstr "" "Neue Methoden zur Verwaltung der Gruppen für die SSL-Schlüsselvereinbarung " "hinzugefügt:" -#: ../../whatsnew/3.15.rst:1546 +#: ../../whatsnew/3.15.rst:1548 msgid "" ":meth:`ssl.SSLContext.set_groups` sets the groups allowed for doing key " "agreement, extending the previous :meth:`ssl.SSLContext.set_ecdh_curve` " @@ -3198,7 +3201,7 @@ msgstr "" "Field- und Post-Quanten-Gruppen. Mit dieser Methode lässt sich außerdem " "steuern, welche Key Shares im TLS-Handshake gesendet werden." -#: ../../whatsnew/3.15.rst:1553 +#: ../../whatsnew/3.15.rst:1555 msgid "" ":meth:`ssl.SSLSocket.group` returns the group selected for doing key " "agreement on the current connection after the TLS handshake completes. This " @@ -3208,7 +3211,7 @@ msgstr "" "TLS-Handshakes für die Schlüsselvereinbarung auf der aktuellen Verbindung " "ausgewählt wurde. Dieser Aufruf erfordert OpenSSL 3.2 oder neuer." -#: ../../whatsnew/3.15.rst:1556 +#: ../../whatsnew/3.15.rst:1558 msgid "" ":meth:`ssl.SSLContext.get_groups` returns a list of all available key " "agreement groups compatible with the minimum and maximum TLS versions " @@ -3219,11 +3222,11 @@ msgstr "" "eingestellten minimalen und maximalen TLS-Version kompatibel sind. Dieser " "Aufruf erfordert OpenSSL 3.5 oder neuer." -#: ../../whatsnew/3.15.rst:1560 +#: ../../whatsnew/3.15.rst:1562 msgid "(Contributed by Ron Frederick in :gh:`136306`.)" msgstr "(Beigetragen von Ron Frederick in :gh:`136306`.)" -#: ../../whatsnew/3.15.rst:1562 +#: ../../whatsnew/3.15.rst:1564 msgid "" "Added a new method :meth:`ssl.SSLContext.set_ciphersuites` for setting TLS " "1.3 ciphers. For TLS 1.2 or earlier, :meth:`ssl.SSLContext.set_ciphers` " @@ -3238,11 +3241,11 @@ msgstr "" "hängt von der TLS-Version ab, die beim Verbindungsaufbau ausgehandelt wird. " "(Beigetragen von Ron Frederick in :gh:`137197`.)" -#: ../../whatsnew/3.15.rst:1569 +#: ../../whatsnew/3.15.rst:1571 msgid "Added new methods for managing signature algorithms:" msgstr "Neue Methoden zur Verwaltung von Signaturalgorithmen hinzugefügt:" -#: ../../whatsnew/3.15.rst:1571 +#: ../../whatsnew/3.15.rst:1573 msgid "" ":func:`ssl.get_sigalgs` returns a list of all available TLS signature " "algorithms. This call requires OpenSSL 3.4 or later." @@ -3250,7 +3253,7 @@ msgstr "" ":func:`ssl.get_sigalgs` gibt eine Liste aller verfügbaren TLS-" "Signaturalgorithmen zurück. Dieser Aufruf erfordert OpenSSL 3.4 oder neuer." -#: ../../whatsnew/3.15.rst:1573 +#: ../../whatsnew/3.15.rst:1575 msgid "" ":meth:`ssl.SSLContext.set_client_sigalgs` sets the signature algorithms " "allowed for certificate-based client authentication." @@ -3258,7 +3261,7 @@ msgstr "" ":meth:`ssl.SSLContext.set_client_sigalgs` legt die Signaturalgorithmen fest, " "die für die zertifikatsbasierte Client-Authentifizierung zulässig sind." -#: ../../whatsnew/3.15.rst:1575 +#: ../../whatsnew/3.15.rst:1577 msgid "" ":meth:`ssl.SSLContext.set_server_sigalgs` sets the signature algorithms " "allowed for the server to complete the TLS handshake." @@ -3266,7 +3269,7 @@ msgstr "" ":meth:`ssl.SSLContext.set_server_sigalgs` legt die Signaturalgorithmen fest, " "die der Server zum Abschluss des TLS-Handshakes verwenden darf." -#: ../../whatsnew/3.15.rst:1577 +#: ../../whatsnew/3.15.rst:1579 msgid "" ":meth:`ssl.SSLSocket.client_sigalg` returns the signature algorithm selected " "for client authentication on the current connection. This call requires " @@ -3276,7 +3279,7 @@ msgstr "" "für die Client-Authentifizierung auf der aktuellen Verbindung ausgewählt " "wurde. Dieser Aufruf erfordert OpenSSL 3.5 oder neuer." -#: ../../whatsnew/3.15.rst:1580 +#: ../../whatsnew/3.15.rst:1582 msgid "" ":meth:`ssl.SSLSocket.server_sigalg` returns the signature algorithm selected " "for the server to complete the TLS handshake on the current connection. This " @@ -3286,15 +3289,15 @@ msgstr "" "für den Server zum Abschluss des TLS-Handshakes auf der aktuellen Verbindung " "ausgewählt wurde. Dieser Aufruf erfordert OpenSSL 3.5 oder neuer." -#: ../../whatsnew/3.15.rst:1584 +#: ../../whatsnew/3.15.rst:1586 msgid "(Contributed by Ron Frederick in :gh:`138252`.)" msgstr "(Beigetragen von Ron Frederick in :gh:`138252`.)" -#: ../../whatsnew/3.15.rst:1588 +#: ../../whatsnew/3.15.rst:1590 msgid "subprocess" msgstr "subprocess" -#: ../../whatsnew/3.15.rst:1590 +#: ../../whatsnew/3.15.rst:1592 msgid "" ":meth:`subprocess.Popen.wait`: when ``timeout`` is not ``None`` and the " "platform supports it, an efficient event-driven mechanism is used to wait " @@ -3304,11 +3307,11 @@ msgstr "" "Plattform es unterstützt, wird ein effizienter ereignisgesteuerter " "Mechanismus verwendet, um auf das Prozessende zu warten:" -#: ../../whatsnew/3.15.rst:1594 +#: ../../whatsnew/3.15.rst:1596 msgid "Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`." msgstr "Linux >= 5.3 verwendet :func:`os.pidfd_open` + :func:`select.poll`." -#: ../../whatsnew/3.15.rst:1595 +#: ../../whatsnew/3.15.rst:1597 msgid "" "macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` " "+ ``KQ_NOTE_EXIT``." @@ -3316,11 +3319,11 @@ msgstr "" "macOS und andere BSD-Varianten verwenden :func:`select.kqueue` + " "``KQ_FILTER_PROC`` + ``KQ_NOTE_EXIT``." -#: ../../whatsnew/3.15.rst:1596 +#: ../../whatsnew/3.15.rst:1598 msgid "Windows keeps using ``WaitForSingleObject`` (unchanged)." msgstr "Windows verwendet weiterhin ``WaitForSingleObject`` (unverändert)." -#: ../../whatsnew/3.15.rst:1598 +#: ../../whatsnew/3.15.rst:1600 msgid "" "If none of these mechanisms are available, the function falls back to the " "traditional busy loop (non-blocking call and short sleeps). (Contributed by " @@ -3330,11 +3333,11 @@ msgstr "" "herkömmliche Busy-Loop zurück (nicht blockierender Aufruf und kurze Pausen). " "(Beigetragen von Giampaolo Rodola in :gh:`83069`.)" -#: ../../whatsnew/3.15.rst:1604 +#: ../../whatsnew/3.15.rst:1606 msgid "symtable" msgstr "symtable" -#: ../../whatsnew/3.15.rst:1606 +#: ../../whatsnew/3.15.rst:1608 msgid "" "Add :meth:`symtable.Function.get_cells` and :meth:`symtable.Symbol.is_cell` " "methods. (Contributed by Yashp002 in :gh:`143504`.)" @@ -3343,11 +3346,11 @@ msgstr "" "und :meth:`symtable.Symbol.is_cell` hinzugefügt. (Beigetragen von Yashp002 " "in :gh:`143504`.)" -#: ../../whatsnew/3.15.rst:1611 +#: ../../whatsnew/3.15.rst:1613 msgid "sys" msgstr "sys" -#: ../../whatsnew/3.15.rst:1613 +#: ../../whatsnew/3.15.rst:1615 msgid "" "Add :data:`sys.abi_info` namespace to improve access to ABI information. " "(Contributed by Klaus Zimmermann in :gh:`137476`.)" @@ -3356,11 +3359,11 @@ msgstr "" "Informationen zu verbessern. (Beigetragen von Klaus Zimmermann " "in :gh:`137476`.)" -#: ../../whatsnew/3.15.rst:1618 +#: ../../whatsnew/3.15.rst:1620 msgid "sys.monitoring" msgstr "sys.monitoring" -#: ../../whatsnew/3.15.rst:1620 +#: ../../whatsnew/3.15.rst:1622 msgid "" "The :ref:`other events ` (:monitoring-" "event:`PY_THROW`, :monitoring-event:`PY_UNWIND`, :monitoring-" @@ -3381,11 +3384,11 @@ msgstr "" "früheren Versionen einen :exc:`ValueError` auszulösen. (Beigetragen von " "Gabriele N. Tornetta in :gh:`146182`.)" -#: ../../whatsnew/3.15.rst:1631 +#: ../../whatsnew/3.15.rst:1633 msgid "tarfile" msgstr "tarfile" -#: ../../whatsnew/3.15.rst:1633 +#: ../../whatsnew/3.15.rst:1635 msgid "" ":func:`~tarfile.data_filter` now normalizes symbolic link targets in order " "to avoid path traversal attacks. (Contributed by Petr Viktorin " @@ -3395,7 +3398,7 @@ msgstr "" "Links, um Path-Traversal-Angriffe zu verhindern. (Beigetragen von Petr " "Viktorin in :gh:`127987` und :cve:`2025-4138`.)" -#: ../../whatsnew/3.15.rst:1637 +#: ../../whatsnew/3.15.rst:1639 msgid "" ":func:`~tarfile.TarFile.extractall` now skips fixing up directory attributes " "when a directory was removed or replaced by another kind of file. " @@ -3406,7 +3409,7 @@ msgstr "" "Dateiart ersetzt wurde. (Beigetragen von Petr Viktorin in :gh:`127987` " "und :cve:`2024-12718`.)" -#: ../../whatsnew/3.15.rst:1641 +#: ../../whatsnew/3.15.rst:1643 msgid "" ":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` now " "(re-)apply the extraction filter when substituting a link (hard or symbolic) " @@ -3422,7 +3425,7 @@ msgstr "" "Ausnahme :exc:`~tarfile.LinkFallbackError` ausgelöst. (Beigetragen von Petr " "Viktorin für :cve:`2025-4330` und :cve:`2024-12718`.)" -#: ../../whatsnew/3.15.rst:1648 +#: ../../whatsnew/3.15.rst:1650 msgid "" ":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` no " "longer extract rejected members when :func:`~tarfile.TarFile.errorlevel` is " @@ -3434,7 +3437,7 @@ msgstr "" "wenn :func:`~tarfile.TarFile.errorlevel` null ist. (Beigetragen von Matt " "Prodani und Petr Viktorin in :gh:`112887` und :cve:`2025-4435`.)" -#: ../../whatsnew/3.15.rst:1654 +#: ../../whatsnew/3.15.rst:1656 msgid "" ":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` now " "replace slashes with backslashes in symlink targets on Windows to prevent " @@ -3446,7 +3449,7 @@ msgstr "" "symbolischer Links, um das Erzeugen beschädigter Links zu verhindern. " "(Beigetragen von Christoph Walcher in :gh:`57911`.)" -#: ../../whatsnew/3.15.rst:1659 +#: ../../whatsnew/3.15.rst:1661 msgid "" ":func:`~tarfile.TarFile.gettarinfo` now replaces backslashes with slashes in " "symlink targets on Windows to conform to the tar format standard. " @@ -3457,11 +3460,11 @@ msgstr "" "tar-Formats zu entsprechen. (Beigetragen von Daniele Nicolodi " "in :gh:`151669`.)" -#: ../../whatsnew/3.15.rst:1665 ../../whatsnew/3.15.rst:2240 +#: ../../whatsnew/3.15.rst:1667 ../../whatsnew/3.15.rst:2242 msgid "threading" msgstr "threading" -#: ../../whatsnew/3.15.rst:1667 +#: ../../whatsnew/3.15.rst:1669 msgid "" "Added :class:`~threading.serialize_iterator`, :func:`~threading.synchronized_iterator`, " "and :func:`~threading.concurrent_tee` to support concurrent access to " @@ -3472,11 +3475,11 @@ msgstr "" "nebenläufigen Zugriff auf Generatoren und Iteratoren zu unterstützen. " "(Beigetragen von Raymond Hettinger in :gh:`124397`.)" -#: ../../whatsnew/3.15.rst:1675 +#: ../../whatsnew/3.15.rst:1677 msgid "timeit" msgstr "timeit" -#: ../../whatsnew/3.15.rst:1679 +#: ../../whatsnew/3.15.rst:1681 msgid "" "The output of the :mod:`timeit` command-line interface is colored by " "default. This can be controlled with :ref:`environment variables ` steuern. (Beigetragen von Hugo van Kemenade " "in :gh:`146609`.)" -#: ../../whatsnew/3.15.rst:1684 +#: ../../whatsnew/3.15.rst:1686 msgid "" "The command-line interface now colorizes error tracebacks by default. This " "can be controlled with :ref:`environment variables ` steuern. (Beigetragen von Yi Hong in :gh:`139374`.)" -#: ../../whatsnew/3.15.rst:1689 +#: ../../whatsnew/3.15.rst:1691 msgid "" "Make the target time of :meth:`timeit.Timer.autorange` configurable and add " "``--target-time`` option to the command-line interface. (Contributed by " @@ -3507,11 +3510,11 @@ msgstr "" "und die Kommandozeilenschnittstelle hat eine neue Option ``--target-time``. " "(Beigetragen von Alessandro Cucci und Miikka Koskinen in :gh:`80642`.)" -#: ../../whatsnew/3.15.rst:1695 +#: ../../whatsnew/3.15.rst:1697 msgid "tkinter" msgstr "tkinter" -#: ../../whatsnew/3.15.rst:1697 +#: ../../whatsnew/3.15.rst:1699 msgid "" "The :meth:`!tkinter.Text.search` method now supports two additional " "arguments: *nolinestop* which allows the search to continue across line " @@ -3524,7 +3527,7 @@ msgstr "" "angegebenen Bereich beschränkt. (Beigetragen von Rihaan Meher " "in :gh:`130848`.)" -#: ../../whatsnew/3.15.rst:1703 +#: ../../whatsnew/3.15.rst:1705 msgid "" "A new method :meth:`!tkinter.Text.search_all` has been introduced. This " "method allows for searching for all matches of a pattern using Tcl's ``-" @@ -3535,7 +3538,7 @@ msgstr "" "lassen sich über die Tcl-Optionen ``-all`` und ``-overlap`` alle Treffer " "eines Musters suchen. (Beigetragen von Rihaan Meher in :gh:`130848`.)" -#: ../../whatsnew/3.15.rst:1708 +#: ../../whatsnew/3.15.rst:1710 msgid "" "Added new methods :meth:`!pack_content`, :meth:`!place_content` and :meth:`!" "grid_content` which use Tk commands with new names (introduced in Tk 8.6) " @@ -3548,7 +3551,7 @@ msgstr "" "veralteten Namen verwenden. (Beigetragen von Serhiy Storchaka " "in :gh:`143754`.)" -#: ../../whatsnew/3.15.rst:1714 +#: ../../whatsnew/3.15.rst:1716 msgid "" "Added :class:`!Event` attributes :attr:`!user_data` for Tk virtual events " "and :attr:`!detail` for ``Enter``, ``Leave``, ``FocusIn``, ``FocusOut``, and " @@ -3560,11 +3563,11 @@ msgstr "" "``FocusIn``, ``FocusOut`` und ``ConfigureRequest``. (Beigetragen von " "Matthias Kievernagel und Serhiy Storchaka in :gh:`47655`.)" -#: ../../whatsnew/3.15.rst:1721 +#: ../../whatsnew/3.15.rst:1723 msgid "tokenize" msgstr "tokenize" -#: ../../whatsnew/3.15.rst:1725 +#: ../../whatsnew/3.15.rst:1727 msgid "" "The output of the :mod:`tokenize` :ref:`command-line interface ` is colored by default. This can be controlled with :ref:`environment " @@ -3576,11 +3579,11 @@ msgstr "" "über :ref:`Umgebungsvariablen ` steuern. " "(Beigetragen von Hugo van Kemenade in :gh:`148991`.)" -#: ../../whatsnew/3.15.rst:1734 +#: ../../whatsnew/3.15.rst:1736 msgid "tomllib" msgstr "tomllib" -#: ../../whatsnew/3.15.rst:1736 +#: ../../whatsnew/3.15.rst:1738 msgid "" "The :mod:`tomllib` module now supports TOML 1.1.0. This is a backwards " "compatible update, meaning that all valid TOML 1.0.0 documents are parsed " @@ -3590,16 +3593,16 @@ msgstr "" "abwärtskompatible Aktualisierung, das heißt, alle gültigen TOML-1.0.0-" "Dokumente werden auf dieselbe Weise geparst." -#: ../../whatsnew/3.15.rst:1740 +#: ../../whatsnew/3.15.rst:1742 msgid "The changes, according to the `official TOML changelog`_, are:" msgstr "Laut dem `official TOML changelog`_ gibt es folgende Änderungen:" -#: ../../whatsnew/3.15.rst:1742 +#: ../../whatsnew/3.15.rst:1744 msgid "Allow newlines and trailing commas in inline tables." msgstr "" "Zeilenumbrüche und nachgestellte Kommas in Inline-Tabellen sind erlaubt." -#: ../../whatsnew/3.15.rst:1744 +#: ../../whatsnew/3.15.rst:1746 msgid "" "Previously an inline table had to be on a single line and couldn't end with " "a trailing comma. This is now relaxed so that the following is valid:" @@ -3608,7 +3611,7 @@ msgstr "" "nicht mit einem nachgestellten Komma enden. Diese Einschränkung wurde " "gelockert, sodass Folgendes gültig ist:" -#: ../../whatsnew/3.15.rst:1747 +#: ../../whatsnew/3.15.rst:1749 msgid "" "tbl = {\n" " key = \"a string\",\n" @@ -3624,7 +3627,7 @@ msgstr "" " },\n" "}" -#: ../../whatsnew/3.15.rst:1756 +#: ../../whatsnew/3.15.rst:1758 msgid "" "Add ``\\xHH`` notation to basic strings for codepoints under 255, and the " "``\\e`` escape for the escape character:" @@ -3632,7 +3635,7 @@ msgstr "" "Die Notation ``\\xHH`` für einfache Zeichenketten für Codepoints unter 255 " "und das Escape ``\\e`` für das Escape-Zeichen wurden hinzugefügt:" -#: ../../whatsnew/3.15.rst:1759 +#: ../../whatsnew/3.15.rst:1761 msgid "" "null = \"null byte: \\x00; letter a: \\x61\"\n" "csi = \"\\e[\"" @@ -3640,7 +3643,7 @@ msgstr "" "null = \"null byte: \\x00; letter a: \\x61\"\n" "csi = \"\\e[\"" -#: ../../whatsnew/3.15.rst:1764 +#: ../../whatsnew/3.15.rst:1766 msgid "" "Seconds in datetime and time values are now optional. The following are now " "valid:" @@ -3648,7 +3651,7 @@ msgstr "" "Sekunden in Datums-/Zeit- und Zeitwerten sind jetzt optional. Folgendes ist " "jetzt gültig:" -#: ../../whatsnew/3.15.rst:1767 +#: ../../whatsnew/3.15.rst:1769 msgid "" "dt = 2010-02-03 14:15\n" "t = 14:15" @@ -3656,15 +3659,15 @@ msgstr "" "dt = 2010-02-03 14:15\n" "t = 14:15" -#: ../../whatsnew/3.15.rst:1772 +#: ../../whatsnew/3.15.rst:1774 msgid "(Contributed by Taneli Hukkinen in :gh:`142956`.)" msgstr "(Beigetragen von Taneli Hukkinen in :gh:`142956`.)" -#: ../../whatsnew/3.15.rst:1778 ../../whatsnew/3.15.rst:2249 +#: ../../whatsnew/3.15.rst:1780 ../../whatsnew/3.15.rst:2251 msgid "types" msgstr "types" -#: ../../whatsnew/3.15.rst:1780 +#: ../../whatsnew/3.15.rst:1782 msgid "" "Expose the write-through :func:`locals` proxy type " "as :class:`types.FrameLocalsProxyType`. This represents the type of " @@ -3676,11 +3679,11 @@ msgstr "" "des Attributs :attr:`frame.f_locals` dar, wie in :pep:`667` beschrieben. " "(Beigetragen von Peter Bierma in :gh:`136492`.)" -#: ../../whatsnew/3.15.rst:1788 ../../whatsnew/3.15.rst:2257 +#: ../../whatsnew/3.15.rst:1790 ../../whatsnew/3.15.rst:2259 msgid "typing" msgstr "typing" -#: ../../whatsnew/3.15.rst:1792 +#: ../../whatsnew/3.15.rst:1794 msgid "" ":pep:`747`: Add :data:`~typing.TypeForm`, a new special form for annotating " "values that are themselves type expressions. ``TypeForm[T]`` means \"a type " @@ -3695,7 +3698,7 @@ msgstr "" "``x`` zurück, was eine explizite Annotation von Typform-Werten ermöglicht, " "ohne das Verhalten zu ändern." -#: ../../whatsnew/3.15.rst:1799 +#: ../../whatsnew/3.15.rst:1801 msgid "" "This helps libraries that accept user-provided type expressions (for example " "``int``, ``str | None``, :class:`~typing.TypedDict` classes, or " @@ -3706,7 +3709,7 @@ msgstr "" "Typ :class:`~typing.TypedDict` oder ``list[int]``), präzise Signaturen " "bereitzustellen:" -#: ../../whatsnew/3.15.rst:1803 +#: ../../whatsnew/3.15.rst:1805 msgid "" "from typing import Any, TypeForm\n" "\n" @@ -3716,11 +3719,11 @@ msgstr "" "\n" "def cast[T](typ: TypeForm[T], value: Any) -> T: ..." -#: ../../whatsnew/3.15.rst:1809 +#: ../../whatsnew/3.15.rst:1811 msgid "(Contributed by Jelle Zijlstra in :gh:`145033`.)" msgstr "(Beigetragen von Jelle Zijlstra in :gh:`145033`.)" -#: ../../whatsnew/3.15.rst:1813 +#: ../../whatsnew/3.15.rst:1815 msgid "" ":pep:`728`: Add support in :class:`~typing.TypedDict` for the *closed* and " "*extra_items* class arguments. A closed :class:`~typing.TypedDict` does not " @@ -3737,7 +3740,7 @@ msgstr "" "Einträge erlaubt, deren Werte vom angegebenen Typ sind. (Beigetragen von " "Angela Liss in :gh:`137840`.)" -#: ../../whatsnew/3.15.rst:1820 +#: ../../whatsnew/3.15.rst:1822 msgid "" "Code like ``class ExtraTypeVars(P1[S], Protocol[T, T2]): ...`` now raises " "a :exc:`TypeError`, because ``S`` is not listed in ``Protocol`` parameters. " @@ -3748,7 +3751,7 @@ msgstr "" "``Protocol`` aufgeführt ist. (Beigetragen von Nikita Sobolev " "in :gh:`137191`.)" -#: ../../whatsnew/3.15.rst:1824 +#: ../../whatsnew/3.15.rst:1826 msgid "" "Code like ``class B2(A[T2], Protocol[T1, T2]): ...`` now correctly handles " "type parameters order: it is ``(T1, T2)``, not ``(T2, T1)`` as it was " @@ -3760,7 +3763,7 @@ msgstr "" "nicht ``(T2, T1)``, wie sie zuvor zur Laufzeit fälschlicherweise abgeleitet " "wurde. (Beigetragen von Nikita Sobolev in :gh:`137191`.)" -#: ../../whatsnew/3.15.rst:1831 +#: ../../whatsnew/3.15.rst:1833 msgid "" ":pep:`800`: Add :deco:`typing.disjoint_base`, a new decorator marking a " "class as a disjoint base. This is an advanced feature primarily intended to " @@ -3779,7 +3782,7 @@ msgstr "" "disjunkten Basen erben, die weder Eltern- noch Kindklassen von ``C`` sind. " "(Beigetragen von Jelle Zijlstra in :gh:`148639`.)" -#: ../../whatsnew/3.15.rst:1838 +#: ../../whatsnew/3.15.rst:1840 msgid "" ":class:`~typing.TypeVarTuple` now accepts ``bound``, ``covariant``, " "``contravariant``, and ``infer_variance`` keyword arguments, matching the " @@ -3792,11 +3795,11 @@ msgstr "" "und :class:`~typing.ParamSpec`. Die Semantik von ``bound`` bleibt in der " "Spezifikation undefiniert." -#: ../../whatsnew/3.15.rst:1845 +#: ../../whatsnew/3.15.rst:1847 msgid "unicodedata" msgstr "unicodedata" -#: ../../whatsnew/3.15.rst:1847 +#: ../../whatsnew/3.15.rst:1849 msgid "" "The Unicode database has been updated to Unicode 17.0.0. (Contributed by " "Benjamin Peterson in :gh:`138706`.)" @@ -3804,7 +3807,7 @@ msgstr "" "Die Unicode-Datenbank wurde auf Unicode 17.0.0 aktualisiert. (Beigetragen " "von Benjamin Peterson in :gh:`138706`.)" -#: ../../whatsnew/3.15.rst:1850 +#: ../../whatsnew/3.15.rst:1852 msgid "" "Add :func:`unicodedata.isxidstart` and :func:`unicodedata.isxidcontinue` " "functions to check whether a character can start or continue a `Unicode " @@ -3817,7 +3820,7 @@ msgstr "" "www.unicode.org/reports/tr31/>`_ beginnen oder fortsetzen kann. (Beigetragen " "von Stan Ulbrych in :gh:`129117`.)" -#: ../../whatsnew/3.15.rst:1855 +#: ../../whatsnew/3.15.rst:1857 msgid "" "Add the :func:`~unicodedata.iter_graphemes` function to iterate over " "grapheme clusters according to rules defined in `Unicode Standard Annex #29, " @@ -3836,7 +3839,7 @@ msgstr "" "abzufragen. (Beigetragen von Serhiy Storchaka und Guillaume Sanchez " "in :gh:`74902`.)" -#: ../../whatsnew/3.15.rst:1865 +#: ../../whatsnew/3.15.rst:1867 msgid "" "Add :func:`~unicodedata.block` function to return the `Unicode block " "`_ zurückgibt. (Beigetragen von Stan Ulbrych " "in :gh:`66802`.)" -#: ../../whatsnew/3.15.rst:1872 +#: ../../whatsnew/3.15.rst:1874 msgid "unittest" msgstr "unittest" -#: ../../whatsnew/3.15.rst:1874 +#: ../../whatsnew/3.15.rst:1876 msgid "" ":meth:`unittest.TestCase.assertLogs` will now accept a formatter to control " "how messages are formatted. (Contributed by Garry Cairns in :gh:`134567`.)" @@ -3861,7 +3864,7 @@ msgstr "" "dem sich die Formatierung der Meldungen steuern lässt. (Beigetragen von " "Garry Cairns in :gh:`134567`.)" -#: ../../whatsnew/3.15.rst:1878 +#: ../../whatsnew/3.15.rst:1880 msgid "" ":meth:`unittest.TestCase.assertWarns` " "and :meth:`unittest.TestCase.assertWarnsRegex` no longer swallow warnings " @@ -3874,11 +3877,11 @@ msgstr "" "Ausdruck passen. Verschachtelte Kontextmanager werden jetzt unterstützt. " "(Beigetragen von Serhiy Storchaka in :gh:`143231`.)" -#: ../../whatsnew/3.15.rst:1886 +#: ../../whatsnew/3.15.rst:1888 msgid "urllib.parse" msgstr "urllib.parse" -#: ../../whatsnew/3.15.rst:1888 +#: ../../whatsnew/3.15.rst:1890 msgid "" "Add the *missing_as_none* parameter " "to :func:`~urllib.parse.urlsplit`, :func:`~urllib.parse.urlparse` " @@ -3897,11 +3900,11 @@ msgstr "" "Komponenten bleiben erhalten. (Beigetragen von Serhiy Storchaka " "in :gh:`67041`.)" -#: ../../whatsnew/3.15.rst:1898 +#: ../../whatsnew/3.15.rst:1900 msgid "venv" msgstr "venv" -#: ../../whatsnew/3.15.rst:1900 +#: ../../whatsnew/3.15.rst:1902 msgid "" "On POSIX platforms, platlib directories will be created if needed when " "creating virtual environments, instead of using a ``lib64 -> lib`` symlink. " @@ -3916,11 +3919,11 @@ msgstr "" "``lib`` ist, nicht mehr dasselbe Verzeichnis ``lib`` teilen. (Beigetragen " "von Rui Xi in :gh:`133951`.)" -#: ../../whatsnew/3.15.rst:1909 +#: ../../whatsnew/3.15.rst:1911 msgid "warnings" msgstr "warnings" -#: ../../whatsnew/3.15.rst:1911 +#: ../../whatsnew/3.15.rst:1913 msgid "" "Improve filtering by module in :func:`warnings.warn_explicit` if no *module* " "argument is passed. It now tests the module regular expression in the " @@ -3937,11 +3940,11 @@ msgstr "" "__init__.py``, ``.py`` und unter Windows ``.pyw``). (Beigetragen von Serhiy " "Storchaka in :gh:`135801`.)" -#: ../../whatsnew/3.15.rst:1921 ../../whatsnew/3.15.rst:2281 +#: ../../whatsnew/3.15.rst:1923 ../../whatsnew/3.15.rst:2283 msgid "wave" msgstr "wave" -#: ../../whatsnew/3.15.rst:1923 +#: ../../whatsnew/3.15.rst:1925 msgid "" "Added support for IEEE floating-point WAVE audio " "(``WAVE_FORMAT_IEEE_FLOAT``) in :mod:`wave`." @@ -3949,7 +3952,7 @@ msgstr "" "Unterstützung für WAVE-Audio im IEEE-Gleitkommaformat " "(``WAVE_FORMAT_IEEE_FLOAT``) in :mod:`wave` hinzugefügt." -#: ../../whatsnew/3.15.rst:1926 +#: ../../whatsnew/3.15.rst:1928 msgid "" "Added :meth:`wave.Wave_read.getformat`, :meth:`wave.Wave_write.getformat`, " "and :meth:`wave.Wave_write.setformat` for explicit frame format handling." @@ -3958,7 +3961,7 @@ msgstr "" "und :meth:`wave.Wave_write.setformat` für die explizite Behandlung des Frame-" "Formats hinzugefügt." -#: ../../whatsnew/3.15.rst:1929 +#: ../../whatsnew/3.15.rst:1931 msgid "" ":meth:`wave.Wave_write.setparams` accepts both 7-item tuples including " "``format`` and 6-item tuples for backwards compatibility (defaulting to " @@ -3968,7 +3971,7 @@ msgstr "" "einschließlich ``format`` als auch aus Gründen der Abwärtskompatibilität 6-" "elementige Tupel (mit ``WAVE_FORMAT_PCM`` als Standard)." -#: ../../whatsnew/3.15.rst:1933 +#: ../../whatsnew/3.15.rst:1935 msgid "" "``WAVE_FORMAT_IEEE_FLOAT`` output now includes a ``fact`` chunk, as required " "for non-PCM WAVE formats." @@ -3976,15 +3979,15 @@ msgstr "" "Die Ausgabe mit ``WAVE_FORMAT_IEEE_FLOAT`` enthält jetzt einen Chunk " "``fact``, wie er für WAVE-Formate außer PCM erforderlich ist." -#: ../../whatsnew/3.15.rst:1936 +#: ../../whatsnew/3.15.rst:1938 msgid "(Contributed by Lionel Koenig and Michiel W. Beijen in :gh:`60729`.)" msgstr "(Beigetragen von Lionel Koenig und Michiel W. Beijen in :gh:`60729`.)" -#: ../../whatsnew/3.15.rst:1940 +#: ../../whatsnew/3.15.rst:1942 msgid "webbrowser" msgstr "webbrowser" -#: ../../whatsnew/3.15.rst:1942 +#: ../../whatsnew/3.15.rst:1944 msgid "" "On macOS, the new :class:`!webbrowser.MacOS` class opens URLs via :program:`/" "usr/bin/open` instead of constructing and executing AppleScript " @@ -4005,11 +4008,11 @@ msgstr "" "Betriebssystems zu leiten. Das verhindert Angriffe durch Einschleusen von " "Dateien. (Beigetragen von Jeff Lyon in :gh:`137586`.)" -#: ../../whatsnew/3.15.rst:1954 +#: ../../whatsnew/3.15.rst:1956 msgid "xml" msgstr "xml" -#: ../../whatsnew/3.15.rst:1956 +#: ../../whatsnew/3.15.rst:1958 msgid "" "Add the :func:`xml.is_valid_name` function to check whether a string can be " "used as an element or attribute name in XML. (Contributed by Serhiy " @@ -4019,7 +4022,7 @@ msgstr "" "Zeichenkette als Element- oder Attributname in XML verwendet werden kann. " "(Beigetragen von Serhiy Storchaka in :gh:`139489`.)" -#: ../../whatsnew/3.15.rst:1960 +#: ../../whatsnew/3.15.rst:1962 msgid "" "Add the :func:`xml.is_valid_text` function to check whether a string can be " "used in an XML document. (Contributed by Serhiy Storchaka in :gh:`139489`.)" @@ -4028,11 +4031,11 @@ msgstr "" "Zeichenkette in einem XML-Dokument verwendet werden kann. (Beigetragen von " "Serhiy Storchaka in :gh:`139489`.)" -#: ../../whatsnew/3.15.rst:1966 +#: ../../whatsnew/3.15.rst:1968 msgid "xml.parsers.expat" msgstr "xml.parsers.expat" -#: ../../whatsnew/3.15.rst:1968 +#: ../../whatsnew/3.15.rst:1970 msgid "" "Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` " "and :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification` " @@ -4047,7 +4050,7 @@ msgstr "" "Speicherverbrauch innerhalb eines Expat-Parsers einzustellen. (Beigetragen " "von Bénédikt Tran in :gh:`90949`.)" -#: ../../whatsnew/3.15.rst:1974 +#: ../../whatsnew/3.15.rst:1976 msgid "" "Add :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` " "and :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionMaximumAmplification` " @@ -4060,11 +4063,11 @@ msgstr "" "hinzugefügt, um den Schutz vor Angriffen vom Typ `billion laughs`_ " "einzustellen. (Beigetragen von Bénédikt Tran in :gh:`90949`.)" -#: ../../whatsnew/3.15.rst:1984 +#: ../../whatsnew/3.15.rst:1986 msgid "zlib" msgstr "zlib" -#: ../../whatsnew/3.15.rst:1986 +#: ../../whatsnew/3.15.rst:1988 msgid "" "Allow combining two Adler-32 checksums via :func:`~zlib.adler32_combine`. " "(Contributed by Callum Attryde and Bénédikt Tran in :gh:`134635`.)" @@ -4073,7 +4076,7 @@ msgstr "" "kombinieren. (Beigetragen von Callum Attryde und Bénédikt Tran " "in :gh:`134635`.)" -#: ../../whatsnew/3.15.rst:1989 +#: ../../whatsnew/3.15.rst:1991 msgid "" "Allow combining two CRC-32 checksums via :func:`~zlib.crc32_combine`. " "(Contributed by Bénédikt Tran in :gh:`134635`.)" @@ -4081,11 +4084,11 @@ msgstr "" "Zwei CRC-32-Prüfsummen lassen sich jetzt mit :func:`~zlib.crc32_combine` " "kombinieren. (Beigetragen von Bénédikt Tran in :gh:`134635`.)" -#: ../../whatsnew/3.15.rst:1996 +#: ../../whatsnew/3.15.rst:1998 msgid "Optimizations" msgstr "Optimierungen" -#: ../../whatsnew/3.15.rst:1998 +#: ../../whatsnew/3.15.rst:2000 msgid "" "``mimalloc`` is now used as the default allocator for raw memory allocations " "such as via :c:func:`PyMem_RawMalloc` for better performance on :term:`free-" @@ -4097,11 +4100,11 @@ msgstr "" "Performance in :term:`Builds mit freien Threads ` zu " "verbessern. (Beigetragen von Kumar Aditya in :gh:`144914`.)" -#: ../../whatsnew/3.15.rst:2005 +#: ../../whatsnew/3.15.rst:2007 msgid "base64 & binascii" msgstr "base64 & binascii" -#: ../../whatsnew/3.15.rst:2007 +#: ../../whatsnew/3.15.rst:2009 msgid "" "CPython's underlying base64 implementation now encodes 2x faster and decodes " "3x faster thanks to simple CPU pipelining optimizations. (Contributed by " @@ -4112,7 +4115,7 @@ msgstr "" "dekodiert dreimal so schnell. (Beigetragen von Gregory P. Smith und Serhiy " "Storchaka in :gh:`143262`.)" -#: ../../whatsnew/3.15.rst:2011 +#: ../../whatsnew/3.15.rst:2013 msgid "" "Implementation for Ascii85, Base85, and Z85 encoding has been rewritten in " "C. Encoding and decoding is now two orders of magnitude faster and consumes " @@ -4124,7 +4127,7 @@ msgstr "" "schneller und verbrauchen zwei Größenordnungen weniger Speicher. " "(Beigetragen von James Seo und Serhiy Storchaka in :gh:`101178`.)" -#: ../../whatsnew/3.15.rst:2016 +#: ../../whatsnew/3.15.rst:2018 msgid "" "Implementation for Base32 has been rewritten in C. Encoding and decoding is " "now two orders of magnitude faster. (Contributed by James Seo " @@ -4134,11 +4137,11 @@ msgstr "" "Dekodieren sind jetzt um zwei Größenordnungen schneller. (Beigetragen von " "James Seo in :gh:`146192`.)" -#: ../../whatsnew/3.15.rst:2022 +#: ../../whatsnew/3.15.rst:2024 msgid "csv" msgstr "csv" -#: ../../whatsnew/3.15.rst:2024 +#: ../../whatsnew/3.15.rst:2026 msgid "" ":meth:`csv.Sniffer.sniff` delimiter detection is now up to 1.6x faster. " "(Contributed by Maurycy Pawłowski-Wieroński in :gh:`137628`.)" @@ -4147,11 +4150,11 @@ msgstr "" "zu 1,6-mal schneller. (Beigetragen von Maurycy Pawłowski-Wieroński " "in :gh:`137628`.)" -#: ../../whatsnew/3.15.rst:2031 +#: ../../whatsnew/3.15.rst:2033 msgid "Upgraded experimental JIT compiler" msgstr "Verbesserter experimenteller JIT-Compiler" -#: ../../whatsnew/3.15.rst:2033 +#: ../../whatsnew/3.15.rst:2035 msgid "" "Results from the `pyperformance `__ " "benchmark suite report a `7-8% `__. " "(Beigetragen von Savannah Ostrowski in :gh:`140973`.)" -#: ../../whatsnew/3.15.rst:2066 +#: ../../whatsnew/3.15.rst:2068 msgid "A new tracing frontend" msgstr "Ein neues Tracing-Frontend" -#: ../../whatsnew/3.15.rst:2067 +#: ../../whatsnew/3.15.rst:2069 msgid "" "The JIT compiler now supports significantly more bytecode operations and " "control flow than in Python 3.14, enabling speedups on a wider variety of " @@ -4246,7 +4249,7 @@ msgstr "" "Implementierung zu schätzen. (Beigetragen von Ken Jin in :gh:`139109`. " "Unterstützung für Windows hinzugefügt von Mark Shannon in :gh:`141703`.)" -#: ../../whatsnew/3.15.rst:2079 +#: ../../whatsnew/3.15.rst:2081 msgid "" "A basic form of register allocation has been added to the JIT compiler's " "optimizer. This allows the JIT compiler to avoid certain stack operations " @@ -4260,7 +4263,7 @@ msgstr "" "der JIT effizientere Traces erzeugen, weil Lese- und Schreibzugriffe auf den " "Speicher entfallen. (Beigetragen von Mark Shannon in :gh:`135379`.)" -#: ../../whatsnew/3.15.rst:2087 +#: ../../whatsnew/3.15.rst:2089 msgid "" "More `constant-propagation `__ is now performed. This means when the JIT compiler " @@ -4274,7 +4277,7 @@ msgstr "" "vereinfachen. (Beigetragen von Ken Jin und Savannah Ostrowski " "in :gh:`132732`.)" -#: ../../whatsnew/3.15.rst:2092 +#: ../../whatsnew/3.15.rst:2094 msgid "" ":term:`Reference counts ` are avoided whenever it is safe " "to do so. This generally reduces the cost of most operations in Python. " @@ -4288,7 +4291,7 @@ msgstr "" "Zhu, Savannah Ostrowski, Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan " "Rodrigues und Sacul in :gh:`134584`.)" -#: ../../whatsnew/3.15.rst:2097 +#: ../../whatsnew/3.15.rst:2099 msgid "" "By tracking unique references to objects, the JIT optimizer can now " "eliminate reference count updates and perform in-place operations on ints " @@ -4300,7 +4303,7 @@ msgstr "" "Operationen auf Ganzzahlen und Gleitkommazahlen durchführen. (Beigetragen " "von Reiden Ong und Pieter Eendebak in :gh:`143414` und :gh:`146306`.)" -#: ../../whatsnew/3.15.rst:2101 +#: ../../whatsnew/3.15.rst:2103 msgid "" "The JIT optimizer now supports significantly more operations than in 3.14. " "(Contributed by Kumar Aditya, Ken Jin, Jiahao Li, and Sacul in :gh:`131798`.)" @@ -4308,7 +4311,7 @@ msgstr "" "Der JIT-Optimierer unterstützt jetzt deutlich mehr Operationen als in 3.14. " "(Beigetragen von Kumar Aditya, Ken Jin, Jiahao Li und Sacul in :gh:`131798`.)" -#: ../../whatsnew/3.15.rst:2106 +#: ../../whatsnew/3.15.rst:2108 msgid "" "The JIT compiler now publishes unwind information for generated machine code " "to the GDB interface on supported Linux ELF platforms. When libgcc frame " @@ -4327,7 +4330,7 @@ msgstr "" "abwickeln, statt am generierten Code anzuhalten. (Beigetragen von Diego " "Russo und Pablo Galindo Salgado in :gh:`146071` und :gh:`149104`.)" -#: ../../whatsnew/3.15.rst:2117 +#: ../../whatsnew/3.15.rst:2119 msgid "" "The JIT compiler's machine code generator now produces better machine code " "for x86-64 and AArch64 macOS and Linux targets. In general, users should " @@ -4346,11 +4349,11 @@ msgstr "" "Zusätzliche Optimierungen für AArch64 beigetragen von Mark Shannon und Diego " "Russo in :gh:`140683` und :gh:`142305`.)" -#: ../../whatsnew/3.15.rst:2127 +#: ../../whatsnew/3.15.rst:2129 msgid "Maintainability" msgstr "Wartbarkeit" -#: ../../whatsnew/3.15.rst:2128 +#: ../../whatsnew/3.15.rst:2130 msgid "" "The JIT optimizer's operations have been simplified. This was made possible " "by a refactoring of JIT data structures. (Contributed by Zhongtian Zheng " @@ -4360,11 +4363,11 @@ msgstr "" "durch ein Refactoring der Datenstrukturen des JIT. (Beigetragen von " "Zhongtian Zheng in :gh:`148211` und Hai Zhu in :gh:`143421`.)" -#: ../../whatsnew/3.15.rst:2134 +#: ../../whatsnew/3.15.rst:2136 msgid "Removed" msgstr "Entfernt" -#: ../../whatsnew/3.15.rst:2139 +#: ../../whatsnew/3.15.rst:2141 msgid "" "The constructors of :ref:`AST nodes ` now raise " "a :exc:`TypeError` when a required argument is omitted or when a keyword " @@ -4380,11 +4383,11 @@ msgstr "" "eine :exc:`DeprecationWarning` ausgelöst. (Beigetragen von Brian Schubert " "und Jelle Zijlstra in :gh:`137600` und :gh:`105858`.)" -#: ../../whatsnew/3.15.rst:2147 +#: ../../whatsnew/3.15.rst:2149 msgid "collections.abc" msgstr "collections.abc" -#: ../../whatsnew/3.15.rst:2149 +#: ../../whatsnew/3.15.rst:2151 msgid "" ":class:`collections.abc.ByteString` has been removed from " "``collections.abc.__all__``. :class:`!collections.abc.ByteString` has been " @@ -4396,7 +4399,7 @@ msgstr "" "und soll in Python 3.17 entfernt werden. (Beigetragen von Alex Waygood " "in :gh:`118803`.)" -#: ../../whatsnew/3.15.rst:2158 +#: ../../whatsnew/3.15.rst:2160 msgid "" "Removed the undocumented function :func:`!ctypes.SetPointerType`, which has " "been deprecated since Python 3.13. (Contributed by Bénédikt Tran " @@ -4406,11 +4409,11 @@ msgstr "" "3.13 veraltet war, wurde entfernt. (Beigetragen von Bénédikt Tran " "in :gh:`133866`.)" -#: ../../whatsnew/3.15.rst:2164 +#: ../../whatsnew/3.15.rst:2166 msgid "datetime" msgstr "datetime" -#: ../../whatsnew/3.15.rst:2166 +#: ../../whatsnew/3.15.rst:2168 msgid "" ":meth:`~datetime.datetime.strptime` now raises :exc:`ValueError` when the " "format string contains ``%d`` (day of month) without a year directive. This " @@ -4422,11 +4425,11 @@ msgstr "" "enthält. Dies war seit Python 3.13 veraltet. (Beigetragen von Stan Ulbrych " "und Gregory P. Smith in :gh:`70647`.)" -#: ../../whatsnew/3.15.rst:2173 +#: ../../whatsnew/3.15.rst:2175 msgid "glob" msgstr "glob" -#: ../../whatsnew/3.15.rst:2175 +#: ../../whatsnew/3.15.rst:2177 msgid "" "Removed the undocumented :func:`!glob.glob0` and :func:`!glob.glob1` " "functions, which have been deprecated since Python 3.13. " @@ -4438,7 +4441,7 @@ msgstr "" "stattdessen :func:`glob.glob` und übergib ein Verzeichnis an dessen Argument " "*root_dir*. (Beigetragen von Barney Gale in :gh:`137466`.)" -#: ../../whatsnew/3.15.rst:2184 +#: ../../whatsnew/3.15.rst:2186 msgid "" "Removed the :class:`!CGIHTTPRequestHandler` class and the ``--cgi`` flag " "from the :program:`python -m http.server` command-line interface. They were " @@ -4449,11 +4452,11 @@ msgstr "" "entfernt. Sie waren seit Python 3.13 veraltet. (Beigetragen von Bénédikt " "Tran in :gh:`133810`.)" -#: ../../whatsnew/3.15.rst:2191 ../../whatsnew/3.15.rst:2934 +#: ../../whatsnew/3.15.rst:2193 ../../whatsnew/3.15.rst:2936 msgid "importlib" msgstr "importlib" -#: ../../whatsnew/3.15.rst:2193 +#: ../../whatsnew/3.15.rst:2195 msgid "" "The ``load_module()`` methods of :class:`~importlib.abc.Loader` and its " "subclasses is removed. The import system will no longer call it when defined " @@ -4467,11 +4470,11 @@ msgstr "" "zugunsten von :meth:`~importlib.abc.Loader.exec_module` veraltet. " "(Beigetragen von Brett Cannon in :gh:`97850`.)" -#: ../../whatsnew/3.15.rst:2202 +#: ../../whatsnew/3.15.rst:2204 msgid "importlib.resources" msgstr "importlib.resources" -#: ../../whatsnew/3.15.rst:2204 +#: ../../whatsnew/3.15.rst:2206 msgid "" "Removed deprecated ``package`` parameter " "from :func:`importlib.resources.files` function. (Contributed by Semyon " @@ -4481,7 +4484,7 @@ msgstr "" "Funktion :func:`importlib.resources.files` entfernt. (Beigetragen von Semyon " "Moroz in :gh:`138044`.)" -#: ../../whatsnew/3.15.rst:2212 +#: ../../whatsnew/3.15.rst:2214 msgid "" "Removed deprecated :meth:`!pathlib.PurePath.is_reserved`. " "Use :func:`os.path.isreserved` to detect reserved paths on Windows. " @@ -4491,11 +4494,11 @@ msgstr "" "Verwende :func:`os.path.isreserved`, um reservierte Pfade unter Windows zu " "erkennen. (Beigetragen von Nikita Sobolev in :gh:`133875`.)" -#: ../../whatsnew/3.15.rst:2218 +#: ../../whatsnew/3.15.rst:2220 msgid "platform" msgstr "platform" -#: ../../whatsnew/3.15.rst:2220 +#: ../../whatsnew/3.15.rst:2222 msgid "" "Removed the :func:`!platform.java_ver` function, which was deprecated since " "Python 3.13. (Contributed by Alexey Makridenko in :gh:`133604`.)" @@ -4503,11 +4506,11 @@ msgstr "" "Die Funktion :func:`!platform.java_ver`, die seit Python 3.13 veraltet war, " "wurde entfernt. (Beigetragen von Alexey Makridenko in :gh:`133604`.)" -#: ../../whatsnew/3.15.rst:2226 +#: ../../whatsnew/3.15.rst:2228 msgid "sre_*" msgstr "sre_*" -#: ../../whatsnew/3.15.rst:2228 +#: ../../whatsnew/3.15.rst:2230 msgid "" "Removed :mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!sre_parse` " "modules. (Contributed by Stan Ulbrych in :gh:`135994`.)" @@ -4515,11 +4518,11 @@ msgstr "" "Die Module :mod:`!sre_compile`, :mod:`!sre_constants` und :mod:`!sre_parse` " "wurden entfernt. (Beigetragen von Stan Ulbrych in :gh:`135994`.)" -#: ../../whatsnew/3.15.rst:2233 +#: ../../whatsnew/3.15.rst:2235 msgid "sysconfig" msgstr "sysconfig" -#: ../../whatsnew/3.15.rst:2235 +#: ../../whatsnew/3.15.rst:2237 msgid "" "Removed the *check_home* parameter of :func:`sysconfig.is_python_build`. " "(Contributed by Filipe Laíns in :gh:`92897`.)" @@ -4527,7 +4530,7 @@ msgstr "" "Den Parameter *check_home* von :func:`sysconfig.is_python_build` entfernt. " "(Beigetragen von Filipe Laíns in :gh:`92897`.)" -#: ../../whatsnew/3.15.rst:2242 +#: ../../whatsnew/3.15.rst:2244 msgid "" "Remove support for arbitrary positional or keyword arguments in the C " "implementation of :class:`~threading.RLock` objects. This was deprecated in " @@ -4538,7 +4541,7 @@ msgstr "" "entfernt. Dies war seit Python 3.14 veraltet. (Beigetragen von Bénédikt Tran " "in :gh:`134087`.)" -#: ../../whatsnew/3.15.rst:2251 +#: ../../whatsnew/3.15.rst:2253 msgid "" "Removed :attr:`!codeobject.co_lnotab` from :class:`types.CodeType`, " "deprecated since Python 3.12 by :pep:`626`. (Contributed by Nikita Sobolev " @@ -4548,7 +4551,7 @@ msgstr "" "war seit Python 3.12 durch :pep:`626` veraltet. (Beigetragen von Nikita " "Sobolev in :gh:`134690`.)" -#: ../../whatsnew/3.15.rst:2259 +#: ../../whatsnew/3.15.rst:2261 msgid "" ":class:`typing.ByteString` has been removed from " "``typing.__all__``. :class:`!typing.ByteString` has been deprecated since " @@ -4559,7 +4562,7 @@ msgstr "" "typing.ByteString` ist seit Python 3.9 veraltet und soll in Python 3.17 " "entfernt werden. (Beigetragen von Alex Waygood in :gh:`118803`.)" -#: ../../whatsnew/3.15.rst:2264 +#: ../../whatsnew/3.15.rst:2266 msgid "" "The undocumented keyword argument syntax for " "creating :class:`~typing.NamedTuple` classes (for example, ``Point = " @@ -4573,7 +4576,7 @@ msgstr "" "stattdessen die klassenbasierte oder die funktionale Syntax. (Beigetragen " "von Bénédikt Tran in :gh:`133817`.)" -#: ../../whatsnew/3.15.rst:2270 +#: ../../whatsnew/3.15.rst:2272 msgid "" "Using ``TD = TypedDict(\"TD\")`` or ``TD = TypedDict(\"TD\", None)`` to " "construct a :class:`~typing.TypedDict` type with zero fields is no longer " @@ -4586,7 +4589,7 @@ msgstr "" "oder ``TD = TypedDict(\"TD\", {})``. (Beigetragen von Bénédikt Tran " "in :gh:`133823`.)" -#: ../../whatsnew/3.15.rst:2276 +#: ../../whatsnew/3.15.rst:2278 msgid "" "Deprecated :deco:`!typing.no_type_check_decorator` has been removed. " "(Contributed by Nikita Sobolev in :gh:`133601`.)" @@ -4594,7 +4597,7 @@ msgstr "" "Der veraltete Dekorator :deco:`!typing.no_type_check_decorator` wurde " "entfernt. (Beigetragen von Nikita Sobolev in :gh:`133601`.)" -#: ../../whatsnew/3.15.rst:2283 +#: ../../whatsnew/3.15.rst:2285 msgid "" "Removed the ``getmark()``, ``setmark()`` and ``getmarkers()`` methods of " "the :class:`~wave.Wave_read` and :class:`~wave.Wave_write` classes, which " @@ -4606,11 +4609,11 @@ msgstr "" "Python 3.13 veraltet waren, wurden entfernt. (Beigetragen von Bénédikt Tran " "in :gh:`133873`.)" -#: ../../whatsnew/3.15.rst:2290 +#: ../../whatsnew/3.15.rst:2292 msgid "zipimport" msgstr "zipimport" -#: ../../whatsnew/3.15.rst:2292 +#: ../../whatsnew/3.15.rst:2294 msgid "" "Remove deprecated :meth:`!zipimport.zipimporter.load_module`. " "Use :meth:`zipimport.zipimporter.exec_module` instead. (Contributed by " @@ -4620,20 +4623,20 @@ msgstr "" "stattdessen :meth:`zipimport.zipimporter.exec_module`. (Beigetragen von " "Jiahao Li in :gh:`133656`.)" -#: ../../whatsnew/3.15.rst:2298 +#: ../../whatsnew/3.15.rst:2300 msgid "Deprecated" msgstr "Als veraltet markiert" -#: ../../whatsnew/3.15.rst:2301 +#: ../../whatsnew/3.15.rst:2303 msgid "New deprecations" msgstr "Neu als veraltet markiert" -#: ../../whatsnew/3.15.rst:2303 +#: ../../whatsnew/3.15.rst:2305 #: ../../deprecations/pending-removal-in-3.20.rst:52 msgid ":mod:`ast`:" msgstr ":mod:`ast`:" -#: ../../whatsnew/3.15.rst:2305 +#: ../../whatsnew/3.15.rst:2307 #: ../../deprecations/pending-removal-in-3.20.rst:54 msgid "" "Creating instances of abstract AST nodes (such as :class:`ast.AST` " @@ -4643,15 +4646,15 @@ msgstr "" "oder :class:`!ast.expr`) ist veraltet und wird in Python 3.20 einen Fehler " "auslösen." -#: ../../whatsnew/3.15.rst:2308 +#: ../../whatsnew/3.15.rst:2310 msgid "(Contributed by Brian Schubert in :gh:`116021`.)" msgstr "(Beigetragen von Brian Schubert in :gh:`116021`.)" -#: ../../whatsnew/3.15.rst:2310 +#: ../../whatsnew/3.15.rst:2312 msgid ":mod:`base64`:" msgstr ":mod:`base64`:" -#: ../../whatsnew/3.15.rst:2312 +#: ../../whatsnew/3.15.rst:2314 msgid "" "Accepting the ``+`` and ``/`` characters with an alternative alphabet " "in :func:`~base64.b64decode` and :func:`~base64.urlsafe_b64decode` is now " @@ -4665,11 +4668,11 @@ msgstr "" "und werden im nicht strikten Modus verworfen. (Beigetragen von Serhiy " "Storchaka in :gh:`125346`.)" -#: ../../whatsnew/3.15.rst:2319 +#: ../../whatsnew/3.15.rst:2321 msgid "CLI:" msgstr "Kommandozeile:" -#: ../../whatsnew/3.15.rst:2321 +#: ../../whatsnew/3.15.rst:2323 msgid "" "Deprecate :option:`-b` and :option:`!-bb` command-line options and schedule " "them to become no-ops in Python 3.17. These were primarily helpers for the " @@ -4682,16 +4685,16 @@ msgstr "" "keine :exc:`BytesWarning` mehr ausgelöst. Verwende stattdessen einen " "Typprüfer." -#: ../../whatsnew/3.15.rst:2327 +#: ../../whatsnew/3.15.rst:2329 msgid "(Contributed by Nikita Sobolev in :gh:`136355`.)" msgstr "(Beigetragen von Nikita Sobolev in :gh:`136355`.)" -#: ../../whatsnew/3.15.rst:2329 +#: ../../whatsnew/3.15.rst:2331 #: ../../deprecations/pending-removal-in-3.17.rst:12 msgid ":mod:`collections.abc`:" msgstr ":mod:`collections.abc`:" -#: ../../whatsnew/3.15.rst:2331 ../../whatsnew/3.15.rst:2422 +#: ../../whatsnew/3.15.rst:2333 ../../whatsnew/3.15.rst:2424 msgid "" "The following statements now cause ``DeprecationWarning``\\ s to be emitted " "at runtime:" @@ -4699,15 +4702,15 @@ msgstr "" "Die folgenden Anweisungen lösen jetzt zur Laufzeit ``DeprecationWarning`` " "aus:" -#: ../../whatsnew/3.15.rst:2334 +#: ../../whatsnew/3.15.rst:2336 msgid "``from collections.abc import ByteString``" msgstr "``from collections.abc import ByteString``" -#: ../../whatsnew/3.15.rst:2335 +#: ../../whatsnew/3.15.rst:2337 msgid "``import collections.abc; collections.abc.ByteString``." msgstr "``import collections.abc; collections.abc.ByteString``." -#: ../../whatsnew/3.15.rst:2337 +#: ../../whatsnew/3.15.rst:2339 msgid "" "``DeprecationWarning``\\ s were already emitted " "if :class:`collections.abc.ByteString` was subclassed or used as the second " @@ -4722,12 +4725,12 @@ msgstr "" "oder aus dem Modul :mod:`!collections.abc` abgerufen wurde. (Beigetragen von " "Alex Waygood in :gh:`118803`.)" -#: ../../whatsnew/3.15.rst:2345 +#: ../../whatsnew/3.15.rst:2347 #: ../../deprecations/pending-removal-in-3.19.rst:10 msgid ":mod:`hashlib`:" msgstr ":mod:`hashlib`:" -#: ../../whatsnew/3.15.rst:2347 +#: ../../whatsnew/3.15.rst:2349 msgid "" "In hash function constructors such as :func:`~hashlib.new` or the direct " "hash-named constructors such as :func:`~hashlib.md5` " @@ -4741,7 +4744,7 @@ msgstr "" "Anfangsdaten in verschiedenen Implementierungen von :mod:`hashlib` auch als " "Schlüsselwortargument namens ``data=`` oder ``string=`` übergeben werden." -#: ../../whatsnew/3.15.rst:2353 +#: ../../whatsnew/3.15.rst:2355 msgid "" "Support for the ``string`` keyword argument name is now deprecated and is " "slated for removal in Python 3.19. Prefer passing the initial data as a " @@ -4751,16 +4754,16 @@ msgstr "" "und soll in Python 3.19 entfernt werden. Übergib die Anfangsdaten für die " "größtmögliche Abwärtskompatibilität am besten als Positionsargument." -#: ../../whatsnew/3.15.rst:2357 +#: ../../whatsnew/3.15.rst:2359 msgid "(Contributed by Bénédikt Tran in :gh:`134978`.)" msgstr "(Beigetragen von Bénédikt Tran in :gh:`134978`.)" -#: ../../whatsnew/3.15.rst:2360 +#: ../../whatsnew/3.15.rst:2362 #: ../../deprecations/pending-removal-in-3.19.rst:26 msgid ":mod:`http.cookies`:" msgstr ":mod:`http.cookies`:" -#: ../../whatsnew/3.15.rst:2362 +#: ../../whatsnew/3.15.rst:2364 msgid "" ":meth:`Morsel.js_output ` " "and :meth:`BaseCookie.js_output ` are " @@ -4776,12 +4779,12 @@ msgstr "" "oder :meth:`BaseCookie.output `. " "(Beigetragen von kishorhange111 in :gh:`148849`.)" -#: ../../whatsnew/3.15.rst:2370 +#: ../../whatsnew/3.15.rst:2372 #: ../../deprecations/pending-removal-in-3.19.rst:34 msgid ":mod:`imaplib`:" msgstr ":mod:`imaplib`:" -#: ../../whatsnew/3.15.rst:2372 +#: ../../whatsnew/3.15.rst:2374 msgid "" "Altering :attr:`IMAP4.file ` is now deprecated and " "slated for removal in Python 3.19. This property is now unused and changing " @@ -4793,12 +4796,12 @@ msgstr "" "verwendet, und das Ändern ihres Werts schließt die aktuelle Datei *nicht* " "explizit. (Beigetragen von Bénédikt Tran in :gh:`142307`.)" -#: ../../whatsnew/3.15.rst:2378 +#: ../../whatsnew/3.15.rst:2380 #: ../../deprecations/pending-removal-in-3.17.rst:40 msgid ":mod:`profile`:" msgstr ":mod:`profile`:" -#: ../../whatsnew/3.15.rst:2380 +#: ../../whatsnew/3.15.rst:2382 #: ../../deprecations/pending-removal-in-3.17.rst:42 msgid "" "The :mod:`!profile` module is deprecated and will be removed in Python 3.17. " @@ -4811,11 +4814,11 @@ msgstr "" "bietet. Details findest du in :pep:`799`. (Beigetragen von Pablo Galindo und " "László Kiss Kollár in :gh:`138122`.)" -#: ../../whatsnew/3.15.rst:2386 +#: ../../whatsnew/3.15.rst:2388 msgid ":mod:`re`:" msgstr ":mod:`re`:" -#: ../../whatsnew/3.15.rst:2388 ../../deprecations/soft-deprecations.rst:6 +#: ../../whatsnew/3.15.rst:2390 ../../deprecations/soft-deprecations.rst:6 msgid "" ":func:`re.match` and :meth:`re.Pattern.match` are now :term:`soft " "deprecated` in favor of the new :func:`re.prefixmatch` " @@ -4835,7 +4838,7 @@ msgstr "" "für reguläre Ausdrücke der meisten anderen Sprachen verwenden eine API " "namens *match* für das, was in Python schon immer *search* heißt." -#: ../../whatsnew/3.15.rst:2397 ../../deprecations/soft-deprecations.rst:15 +#: ../../whatsnew/3.15.rst:2399 ../../deprecations/soft-deprecations.rst:15 msgid "" "We **do not** plan to remove the older :func:`!match` name, as it has been " "used in code for over 30 years. Code supporting older versions of Python " @@ -4848,7 +4851,7 @@ msgstr "" "neuer Code :func:`!prefixmatch` bevorzugen sollte. Siehe :ref:`prefixmatch-" "vs-match`." -#: ../../whatsnew/3.15.rst:2402 ../../deprecations/soft-deprecations.rst:20 +#: ../../whatsnew/3.15.rst:2404 ../../deprecations/soft-deprecations.rst:20 msgid "" "(Contributed by Gregory P. Smith in :gh:`86519` and Hugo van Kemenade " "in :gh:`148100`.)" @@ -4856,11 +4859,11 @@ msgstr "" "(Beigetragen von Gregory P. Smith in :gh:`86519` und Hugo van Kemenade " "in :gh:`148100`.)" -#: ../../whatsnew/3.15.rst:2406 +#: ../../whatsnew/3.15.rst:2408 msgid ":mod:`struct`:" msgstr ":mod:`struct`:" -#: ../../whatsnew/3.15.rst:2408 +#: ../../whatsnew/3.15.rst:2410 msgid "" "Calling ``Struct.__new__()`` without a required argument is now deprecated " "and will be removed in Python 3.20. Calling the :meth:`~object.__init__` " @@ -4872,14 +4875,14 @@ msgstr "" "Methode :meth:`~object.__init__` auf einem bereits initialisierten " "Objekt :class:`~struct.Struct` ist veraltet und wird in Python 3.20 entfernt." -#: ../../whatsnew/3.15.rst:2413 +#: ../../whatsnew/3.15.rst:2415 #: ../../deprecations/pending-removal-in-3.20.rst:9 msgid "" "(Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)" msgstr "" "(Beigetragen von Sergey B Kirpichev und Serhiy Storchaka in :gh:`143715`.)" -#: ../../whatsnew/3.15.rst:2415 +#: ../../whatsnew/3.15.rst:2417 msgid "" "The ``'F'`` and ``'D'`` type codes are now :term:`soft deprecated` in favor " "of the two-letter forms ``'Zf'`` and ``'Zd'``. (Contributed by Sergey B " @@ -4889,21 +4892,21 @@ msgstr "" "deprecated>` zugunsten der zweibuchstabigen Formen ``'Zf'`` und ``'Zd'``. " "(Beigetragen von Sergey B Kirpichev in :gh:`121249`.)" -#: ../../whatsnew/3.15.rst:2420 +#: ../../whatsnew/3.15.rst:2422 #: ../../deprecations/pending-removal-in-3.17.rst:52 #: ../../deprecations/pending-removal-in-3.20.rst:57 msgid ":mod:`typing`:" msgstr ":mod:`typing`:" -#: ../../whatsnew/3.15.rst:2425 +#: ../../whatsnew/3.15.rst:2427 msgid "``from typing import ByteString``" msgstr "``from typing import ByteString``" -#: ../../whatsnew/3.15.rst:2426 +#: ../../whatsnew/3.15.rst:2428 msgid "``import typing; typing.ByteString``." msgstr "``import typing; typing.ByteString``." -#: ../../whatsnew/3.15.rst:2428 +#: ../../whatsnew/3.15.rst:2430 msgid "" "``DeprecationWarning``\\ s were already emitted " "if :class:`typing.ByteString` was subclassed or used as the second argument " @@ -4918,7 +4921,7 @@ msgstr "" "Modul :mod:`!typing` abgerufen wurde. (Beigetragen von Alex Waygood " "in :gh:`118803`.)" -#: ../../whatsnew/3.15.rst:2434 +#: ../../whatsnew/3.15.rst:2436 #: ../../deprecations/pending-removal-in-3.20.rst:59 msgid "" "It is deprecated to call :func:`isinstance` and :func:`issubclass` checks on " @@ -4932,17 +4935,17 @@ msgstr "" "Protokollklasse erben. In Python 3.20 wird dies einen :exc:`TypeError` " "auslösen." -#: ../../whatsnew/3.15.rst:2439 +#: ../../whatsnew/3.15.rst:2441 #: ../../deprecations/pending-removal-in-3.20.rst:64 msgid "(Contributed by Bartosz Sławecki in :gh:`132604`.)" msgstr "(Beigetragen von Bartosz Sławecki in :gh:`132604`.)" -#: ../../whatsnew/3.15.rst:2442 +#: ../../whatsnew/3.15.rst:2444 #: ../../deprecations/pending-removal-in-3.17.rst:47 msgid ":mod:`webbrowser`:" msgstr ":mod:`webbrowser`:" -#: ../../whatsnew/3.15.rst:2444 +#: ../../whatsnew/3.15.rst:2446 msgid "" ":class:`!webbrowser.MacOSXOSAScript` is deprecated in favour of :class:`!" "webbrowser.MacOS` and scheduled for removal in Python 3.17. (Contributed by " @@ -4952,11 +4955,11 @@ msgstr "" "webbrowser.MacOS` veraltet und soll in Python 3.17 entfernt werden. " "(Beigetragen von Jeff Lyon in :gh:`137586`.)" -#: ../../whatsnew/3.15.rst:2448 +#: ../../whatsnew/3.15.rst:2450 msgid "``__version__``:" msgstr "``__version__``:" -#: ../../whatsnew/3.15.rst:2450 +#: ../../whatsnew/3.15.rst:2452 #: ../../deprecations/pending-removal-in-3.20.rst:11 msgid "" "The ``__version__``, ``version`` and ``VERSION`` attributes have been " @@ -4967,127 +4970,127 @@ msgstr "" "Modulen der Standardbibliothek veraltet und werden in Python 3.20 entfernt. " "Verwende stattdessen :py:data:`sys.version_info`." -#: ../../whatsnew/3.15.rst:2454 +#: ../../whatsnew/3.15.rst:2456 #: ../../deprecations/pending-removal-in-3.20.rst:15 msgid ":mod:`argparse`" msgstr ":mod:`argparse`" -#: ../../whatsnew/3.15.rst:2455 +#: ../../whatsnew/3.15.rst:2457 #: ../../deprecations/pending-removal-in-3.20.rst:16 msgid ":mod:`csv`" msgstr ":mod:`csv`" -#: ../../whatsnew/3.15.rst:2456 +#: ../../whatsnew/3.15.rst:2458 #: ../../deprecations/pending-removal-in-3.20.rst:17 msgid ":mod:`ctypes`" msgstr ":mod:`ctypes`" -#: ../../whatsnew/3.15.rst:2457 +#: ../../whatsnew/3.15.rst:2459 #: ../../deprecations/pending-removal-in-3.20.rst:18 msgid ":mod:`!ctypes.macholib`" msgstr ":mod:`!ctypes.macholib`" -#: ../../whatsnew/3.15.rst:2458 +#: ../../whatsnew/3.15.rst:2460 #: ../../deprecations/pending-removal-in-3.20.rst:19 msgid ":mod:`decimal` (use :data:`decimal.SPEC_VERSION` instead)" msgstr ":mod:`decimal` (stattdessen :data:`decimal.SPEC_VERSION` verwenden)" -#: ../../whatsnew/3.15.rst:2459 +#: ../../whatsnew/3.15.rst:2461 #: ../../deprecations/pending-removal-in-3.20.rst:20 msgid ":mod:`http.server`" msgstr ":mod:`http.server`" -#: ../../whatsnew/3.15.rst:2460 +#: ../../whatsnew/3.15.rst:2462 #: ../../deprecations/pending-removal-in-3.20.rst:21 msgid ":mod:`imaplib`" msgstr ":mod:`imaplib`" -#: ../../whatsnew/3.15.rst:2461 +#: ../../whatsnew/3.15.rst:2463 #: ../../deprecations/pending-removal-in-3.20.rst:22 msgid ":mod:`ipaddress`" msgstr ":mod:`ipaddress`" -#: ../../whatsnew/3.15.rst:2462 +#: ../../whatsnew/3.15.rst:2464 #: ../../deprecations/pending-removal-in-3.20.rst:23 msgid ":mod:`json`" msgstr ":mod:`json`" -#: ../../whatsnew/3.15.rst:2463 +#: ../../whatsnew/3.15.rst:2465 #: ../../deprecations/pending-removal-in-3.20.rst:24 msgid ":mod:`logging` (``__date__`` also deprecated)" msgstr ":mod:`logging` (``__date__`` ist ebenfalls veraltet)" -#: ../../whatsnew/3.15.rst:2464 +#: ../../whatsnew/3.15.rst:2466 #: ../../deprecations/pending-removal-in-3.20.rst:25 msgid ":mod:`optparse`" msgstr ":mod:`optparse`" -#: ../../whatsnew/3.15.rst:2465 +#: ../../whatsnew/3.15.rst:2467 #: ../../deprecations/pending-removal-in-3.20.rst:26 msgid ":mod:`pickle`" msgstr ":mod:`pickle`" -#: ../../whatsnew/3.15.rst:2466 +#: ../../whatsnew/3.15.rst:2468 #: ../../deprecations/pending-removal-in-3.20.rst:27 msgid ":mod:`platform`" msgstr ":mod:`platform`" -#: ../../whatsnew/3.15.rst:2467 +#: ../../whatsnew/3.15.rst:2469 #: ../../deprecations/pending-removal-in-3.20.rst:28 msgid ":mod:`re`" msgstr ":mod:`re`" -#: ../../whatsnew/3.15.rst:2468 +#: ../../whatsnew/3.15.rst:2470 #: ../../deprecations/pending-removal-in-3.20.rst:29 msgid ":mod:`socketserver`" msgstr ":mod:`socketserver`" -#: ../../whatsnew/3.15.rst:2469 +#: ../../whatsnew/3.15.rst:2471 #: ../../deprecations/pending-removal-in-3.20.rst:30 msgid ":mod:`tabnanny`" msgstr ":mod:`tabnanny`" -#: ../../whatsnew/3.15.rst:2470 +#: ../../whatsnew/3.15.rst:2472 #: ../../deprecations/pending-removal-in-3.20.rst:31 msgid ":mod:`tarfile`" msgstr ":mod:`tarfile`" -#: ../../whatsnew/3.15.rst:2471 +#: ../../whatsnew/3.15.rst:2473 #: ../../deprecations/pending-removal-in-3.20.rst:32 msgid ":mod:`tkinter.font`" msgstr ":mod:`tkinter.font`" -#: ../../whatsnew/3.15.rst:2472 +#: ../../whatsnew/3.15.rst:2474 #: ../../deprecations/pending-removal-in-3.20.rst:33 msgid ":mod:`tkinter.ttk`" msgstr ":mod:`tkinter.ttk`" -#: ../../whatsnew/3.15.rst:2473 +#: ../../whatsnew/3.15.rst:2475 #: ../../deprecations/pending-removal-in-3.20.rst:34 msgid ":mod:`wsgiref.simple_server`" msgstr ":mod:`wsgiref.simple_server`" -#: ../../whatsnew/3.15.rst:2474 +#: ../../whatsnew/3.15.rst:2476 #: ../../deprecations/pending-removal-in-3.20.rst:35 msgid ":mod:`xml.etree.ElementTree`" msgstr ":mod:`xml.etree.ElementTree`" -#: ../../whatsnew/3.15.rst:2475 +#: ../../whatsnew/3.15.rst:2477 #: ../../deprecations/pending-removal-in-3.20.rst:36 msgid ":mod:`!xml.sax.expatreader`" msgstr ":mod:`!xml.sax.expatreader`" -#: ../../whatsnew/3.15.rst:2476 +#: ../../whatsnew/3.15.rst:2478 #: ../../deprecations/pending-removal-in-3.20.rst:37 msgid ":mod:`xml.sax.handler`" msgstr ":mod:`xml.sax.handler`" -#: ../../whatsnew/3.15.rst:2477 +#: ../../whatsnew/3.15.rst:2479 #: ../../deprecations/pending-removal-in-3.20.rst:38 msgid ":mod:`zlib`" msgstr ":mod:`zlib`" -#: ../../whatsnew/3.15.rst:2479 +#: ../../whatsnew/3.15.rst:2481 #: ../../deprecations/pending-removal-in-3.20.rst:40 msgid "(Contributed by Hugo van Kemenade and Stan Ulbrych in :gh:`76007`.)" msgstr "(Beigetragen von Hugo van Kemenade und Stan Ulbrych in :gh:`76007`.)" @@ -6118,11 +6121,11 @@ msgstr "" "zugunsten der zweibuchstabigen Formen ``'Zf'`` und ``'Zd'``. (Beigetragen " "von Sergey B Kirpichev in :gh:`121249`.)" -#: ../../whatsnew/3.15.rst:2499 +#: ../../whatsnew/3.15.rst:2501 ../../whatsnew/3.15.rst:2963 msgid "C API changes" msgstr "Änderungen an der C-API" -#: ../../whatsnew/3.15.rst:2504 +#: ../../whatsnew/3.15.rst:2506 msgid "" "Add :c:func:`PyArg_ParseArray` and :c:func:`PyArg_ParseArrayAndKeywords` " "functions to parse arguments of functions using the :c:macro:`METH_FASTCALL` " @@ -6133,70 +6136,70 @@ msgstr "" "Funktionen mit der Aufrufkonvention :c:macro:`METH_FASTCALL` zu parsen. " "(Beigetragen von Victor Stinner in :gh:`144175`.)" -#: ../../whatsnew/3.15.rst:2509 +#: ../../whatsnew/3.15.rst:2511 msgid "Add the following functions for the new :class:`frozendict` type:" msgstr "" "Die folgenden Funktionen für den neuen Typ :class:`frozendict` hinzugefügt:" -#: ../../whatsnew/3.15.rst:2511 +#: ../../whatsnew/3.15.rst:2513 msgid ":c:func:`PyAnyDict_Check`" msgstr ":c:func:`PyAnyDict_Check`" -#: ../../whatsnew/3.15.rst:2512 +#: ../../whatsnew/3.15.rst:2514 msgid ":c:func:`PyAnyDict_CheckExact`" msgstr ":c:func:`PyAnyDict_CheckExact`" -#: ../../whatsnew/3.15.rst:2513 +#: ../../whatsnew/3.15.rst:2515 msgid ":c:func:`PyFrozenDict_Check`" msgstr ":c:func:`PyFrozenDict_Check`" -#: ../../whatsnew/3.15.rst:2514 +#: ../../whatsnew/3.15.rst:2516 msgid ":c:func:`PyFrozenDict_CheckExact`" msgstr ":c:func:`PyFrozenDict_CheckExact`" -#: ../../whatsnew/3.15.rst:2515 +#: ../../whatsnew/3.15.rst:2517 msgid ":c:func:`PyFrozenDict_New`" msgstr ":c:func:`PyFrozenDict_New`" -#: ../../whatsnew/3.15.rst:2517 +#: ../../whatsnew/3.15.rst:2519 msgid "(Contributed by Victor Stinner in :gh:`141510`.)" msgstr "(Beigetragen von Victor Stinner in :gh:`141510`.)" -#: ../../whatsnew/3.15.rst:2519 +#: ../../whatsnew/3.15.rst:2521 msgid "Add the :pep:`757` export/import functions to the limited C API:" msgstr "" "Die Export-/Importfunktionen aus :pep:`757` wurden zur eingeschränkten C-API " "hinzugefügt:" -#: ../../whatsnew/3.15.rst:2521 +#: ../../whatsnew/3.15.rst:2523 msgid ":c:func:`PyLong_GetNativeLayout`" msgstr ":c:func:`PyLong_GetNativeLayout`" -#: ../../whatsnew/3.15.rst:2522 +#: ../../whatsnew/3.15.rst:2524 msgid ":c:func:`PyLong_Export`" msgstr ":c:func:`PyLong_Export`" -#: ../../whatsnew/3.15.rst:2523 +#: ../../whatsnew/3.15.rst:2525 msgid ":c:func:`PyLong_FreeExport`" msgstr ":c:func:`PyLong_FreeExport`" -#: ../../whatsnew/3.15.rst:2524 +#: ../../whatsnew/3.15.rst:2526 msgid ":c:func:`PyLongWriter_Create`" msgstr ":c:func:`PyLongWriter_Create`" -#: ../../whatsnew/3.15.rst:2525 +#: ../../whatsnew/3.15.rst:2527 msgid ":c:func:`PyLongWriter_Finish`" msgstr ":c:func:`PyLongWriter_Finish`" -#: ../../whatsnew/3.15.rst:2526 +#: ../../whatsnew/3.15.rst:2528 msgid ":c:func:`PyLongWriter_Discard`" msgstr ":c:func:`PyLongWriter_Discard`" -#: ../../whatsnew/3.15.rst:2528 +#: ../../whatsnew/3.15.rst:2530 msgid "(Contributed by Sergey B Kirpichev in :gh:`143869`.)" msgstr "(Beigetragen von Sergey B Kirpichev in :gh:`143869`.)" -#: ../../whatsnew/3.15.rst:2530 +#: ../../whatsnew/3.15.rst:2532 msgid "" "Add :c:func:`PyObject_CallFinalizerFromDealloc` function to the limited C " "API. (Contributed by Victor Stinner in :gh:`146063`.)" @@ -6204,7 +6207,7 @@ msgstr "" "Funktion :c:func:`PyObject_CallFinalizerFromDealloc` zur eingeschränkten C-" "API hinzugefügt. (Beigetragen von Victor Stinner in :gh:`146063`.)" -#: ../../whatsnew/3.15.rst:2534 +#: ../../whatsnew/3.15.rst:2536 msgid "" "Add :c:func:`PySys_GetAttr`, :c:func:`PySys_GetAttrString`, :c:func:`PySys_GetOptionalAttr`, " "and :c:func:`PySys_GetOptionalAttrString` functions as replacements " @@ -6216,7 +6219,7 @@ msgstr "" "für :c:func:`PySys_GetObject` hinzugefügt. (Beigetragen von Serhiy Storchaka " "in :gh:`108512`.)" -#: ../../whatsnew/3.15.rst:2539 +#: ../../whatsnew/3.15.rst:2541 msgid "" "Add :c:func:`PyUnstable_Unicode_GET_CACHED_HASH` to get the cached hash of a " "string. See the documentation for caveats. (Contributed by Petr Viktorin " @@ -6227,7 +6230,7 @@ msgstr "" "sind in der Dokumentation beschrieben. (Beigetragen von Petr Viktorin " "in :gh:`131510`.)" -#: ../../whatsnew/3.15.rst:2543 +#: ../../whatsnew/3.15.rst:2545 msgid "" "Add API for checking an extension module's ABI " "compatibility: :c:data:`Py_mod_abi`, :c:func:`PyABIInfo_Check`, " @@ -6238,7 +6241,7 @@ msgstr "" "und :c:macro:`PyABIInfo_VAR`. (Beigetragen von Petr Viktorin " "in :gh:`137210`.)" -#: ../../whatsnew/3.15.rst:2550 +#: ../../whatsnew/3.15.rst:2552 msgid "" "Implement :pep:`782`, the :ref:`PyBytesWriter API `. Add " "functions:" @@ -6246,59 +6249,59 @@ msgstr "" ":pep:`782`, die :ref:`PyBytesWriter-API `, implementiert. " "Neue Funktionen:" -#: ../../whatsnew/3.15.rst:2553 +#: ../../whatsnew/3.15.rst:2555 msgid ":c:func:`PyBytesWriter_Create`" msgstr ":c:func:`PyBytesWriter_Create`" -#: ../../whatsnew/3.15.rst:2554 +#: ../../whatsnew/3.15.rst:2556 msgid ":c:func:`PyBytesWriter_Discard`" msgstr ":c:func:`PyBytesWriter_Discard`" -#: ../../whatsnew/3.15.rst:2555 +#: ../../whatsnew/3.15.rst:2557 msgid ":c:func:`PyBytesWriter_Finish`" msgstr ":c:func:`PyBytesWriter_Finish`" -#: ../../whatsnew/3.15.rst:2556 +#: ../../whatsnew/3.15.rst:2558 msgid ":c:func:`PyBytesWriter_FinishWithPointer`" msgstr ":c:func:`PyBytesWriter_FinishWithPointer`" -#: ../../whatsnew/3.15.rst:2557 +#: ../../whatsnew/3.15.rst:2559 msgid ":c:func:`PyBytesWriter_FinishWithSize`" msgstr ":c:func:`PyBytesWriter_FinishWithSize`" -#: ../../whatsnew/3.15.rst:2558 +#: ../../whatsnew/3.15.rst:2560 msgid ":c:func:`PyBytesWriter_Format`" msgstr ":c:func:`PyBytesWriter_Format`" -#: ../../whatsnew/3.15.rst:2559 +#: ../../whatsnew/3.15.rst:2561 msgid ":c:func:`PyBytesWriter_GetData`" msgstr ":c:func:`PyBytesWriter_GetData`" -#: ../../whatsnew/3.15.rst:2560 +#: ../../whatsnew/3.15.rst:2562 msgid ":c:func:`PyBytesWriter_GetSize`" msgstr ":c:func:`PyBytesWriter_GetSize`" -#: ../../whatsnew/3.15.rst:2561 +#: ../../whatsnew/3.15.rst:2563 msgid ":c:func:`PyBytesWriter_Grow`" msgstr ":c:func:`PyBytesWriter_Grow`" -#: ../../whatsnew/3.15.rst:2562 +#: ../../whatsnew/3.15.rst:2564 msgid ":c:func:`PyBytesWriter_GrowAndUpdatePointer`" msgstr ":c:func:`PyBytesWriter_GrowAndUpdatePointer`" -#: ../../whatsnew/3.15.rst:2563 +#: ../../whatsnew/3.15.rst:2565 msgid ":c:func:`PyBytesWriter_Resize`" msgstr ":c:func:`PyBytesWriter_Resize`" -#: ../../whatsnew/3.15.rst:2564 +#: ../../whatsnew/3.15.rst:2566 msgid ":c:func:`PyBytesWriter_WriteBytes`" msgstr ":c:func:`PyBytesWriter_WriteBytes`" -#: ../../whatsnew/3.15.rst:2566 +#: ../../whatsnew/3.15.rst:2568 msgid "(Contributed by Victor Stinner in :gh:`129813`.)" msgstr "(Beigetragen von Victor Stinner in :gh:`129813`.)" -#: ../../whatsnew/3.15.rst:2568 +#: ../../whatsnew/3.15.rst:2570 msgid "" ":c:type:`PyCriticalSection` and related functions are added to the Stable " "ABI. (Contributed by Petr Viktorin in :gh:`149225`.)" @@ -6306,7 +6309,7 @@ msgstr "" ":c:type:`PyCriticalSection` und zugehörige Funktionen wurden zur stabilen " "ABI hinzugefügt. (Beigetragen von Petr Viktorin in :gh:`149225`.)" -#: ../../whatsnew/3.15.rst:2572 +#: ../../whatsnew/3.15.rst:2574 msgid "" "Add a new :c:func:`PyImport_CreateModuleFromInitfunc` C API for creating a " "module from a *spec* and *initfunc*. (Contributed by Itamar Oren " @@ -6316,7 +6319,7 @@ msgstr "" "Moduls aus *spec* und *initfunc* hinzugefügt. (Beigetragen von Itamar Oren " "in :gh:`116146`.)" -#: ../../whatsnew/3.15.rst:2576 +#: ../../whatsnew/3.15.rst:2578 msgid "" "Add :c:func:`PyTuple_FromArray` to create a :class:`tuple` from an array. " "(Contributed by Victor Stinner in :gh:`111489`.)" @@ -6324,7 +6327,7 @@ msgstr "" ":c:func:`PyTuple_FromArray` hinzugefügt, um ein :class:`tuple` aus einem " "Array zu erzeugen. (Beigetragen von Victor Stinner in :gh:`111489`.)" -#: ../../whatsnew/3.15.rst:2579 +#: ../../whatsnew/3.15.rst:2581 msgid "" "Add a new module export hook, :c:func:`PyModExport_* " "`." @@ -6332,11 +6335,11 @@ msgstr "" "Neuen Export-Hook für Module hinzugefügt: :c:func:`PyModExport_* " "`." -#: ../../whatsnew/3.15.rst:2582 +#: ../../whatsnew/3.15.rst:2584 msgid "(Contributed by Petr Viktorin in :pep:`793` and :gh:`140550`.)" msgstr "(Beigetragen von Petr Viktorin in :pep:`793` und :gh:`140550`.)" -#: ../../whatsnew/3.15.rst:2584 +#: ../../whatsnew/3.15.rst:2586 msgid "" "Add functions that are guaranteed to be safe for use " "in :c:member:`~PyTypeObject.tp_traverse` " @@ -6348,7 +6351,7 @@ msgstr "" "können: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:func:`PyType_GetModuleState_DuringGC`, :c:func:`PyModule_GetState_DuringGC`, :c:func:`PyModule_GetToken_DuringGC`, :c:func:`PyType_GetBaseByToken_DuringGC`, :c:func:`PyType_GetModule_DuringGC`, :c:func:`PyType_GetModuleByToken_DuringGC`. " "(Beigetragen von Petr Viktorin in :gh:`145925`.)" -#: ../../whatsnew/3.15.rst:2595 +#: ../../whatsnew/3.15.rst:2597 msgid "" "Add :c:func:`PyObject_Dump` to dump an object to ``stderr``. It should only " "be used for debugging. (Contributed by Victor Stinner in :gh:`141070`.)" @@ -6357,7 +6360,7 @@ msgstr "" "auszugeben. Sie sollte nur zum Debuggen verwendet werden. (Beigetragen von " "Victor Stinner in :gh:`141070`.)" -#: ../../whatsnew/3.15.rst:2599 +#: ../../whatsnew/3.15.rst:2601 msgid "" "Implement :pep:`820`: ``PySlot`` -- Unified slot system for the C API. " "See :ref:`capi-slots` for documentation." @@ -6365,19 +6368,19 @@ msgstr "" ":pep:`820` implementiert: ``PySlot`` -- Einheitliches Slot-System für die C-" "API. Die Dokumentation findest du unter :ref:`capi-slots`." -#: ../../whatsnew/3.15.rst:2602 +#: ../../whatsnew/3.15.rst:2604 msgid "This adds:" msgstr "Dies fügt hinzu:" -#: ../../whatsnew/3.15.rst:2604 +#: ../../whatsnew/3.15.rst:2606 msgid "The :c:type:`PySlot` struct;" msgstr "Die Struktur :c:type:`PySlot`;" -#: ../../whatsnew/3.15.rst:2605 +#: ../../whatsnew/3.15.rst:2607 msgid "the :c:func:`PyType_FromSlots` function;" msgstr "die Funktion :c:func:`PyType_FromSlots`;" -#: ../../whatsnew/3.15.rst:2606 +#: ../../whatsnew/3.15.rst:2608 msgid "" "new slot " "IDs: :c:macro:`Py_slot_end`, :c:macro:`Py_slot_invalid`; :c:macro:`Py_slot_subslots`, :c:macro:`Py_tp_slots`, :c:macro:`Py_mod_slots`; :c:macro:`Py_tp_name`, :c:macro:`Py_tp_basicsize`, :c:macro:`Py_tp_extra_basicsize`, :c:macro:`Py_tp_itemsize`, :c:macro:`Py_tp_flags`, :c:macro:`Py_tp_metaclass`, :c:macro:`Py_tp_module`;" @@ -6385,13 +6388,13 @@ msgstr "" "neue Slot-" "IDs: :c:macro:`Py_slot_end`, :c:macro:`Py_slot_invalid`; :c:macro:`Py_slot_subslots`, :c:macro:`Py_tp_slots`, :c:macro:`Py_mod_slots`; :c:macro:`Py_tp_name`, :c:macro:`Py_tp_basicsize`, :c:macro:`Py_tp_extra_basicsize`, :c:macro:`Py_tp_itemsize`, :c:macro:`Py_tp_flags`, :c:macro:`Py_tp_metaclass`, :c:macro:`Py_tp_module`;" -#: ../../whatsnew/3.15.rst:2613 +#: ../../whatsnew/3.15.rst:2615 msgid "" "convenience " "macros: :c:macro:`PySlot_DATA`, :c:macro:`PySlot_FUNC`, :c:macro:`PySlot_SIZE`, :c:macro:`PySlot_INT64`, :c:macro:`PySlot_UINT64`, :c:macro:`PySlot_STATIC_DATA`, :c:macro:`PySlot_END`, :c:macro:`PySlot_PTR`, :c:macro:`PySlot_PTR_STATIC`." msgstr "Hilfsmakros: :c:macro:`PySlot_DATA`, :c:macro:`PySlot_FUNC`, :c:macro:`PySlot_SIZE`, :c:macro:`PySlot_INT64`, :c:macro:`PySlot_UINT64`, :c:macro:`PySlot_STATIC_DATA`, :c:macro:`PySlot_END`, :c:macro:`PySlot_PTR`, :c:macro:`PySlot_PTR_STATIC`." -#: ../../whatsnew/3.15.rst:2618 +#: ../../whatsnew/3.15.rst:2620 msgid "" "The :c:func:`PyModule_FromSlotsAndSpec` function and " "``PyModExport`` :ref:`module export hook ` also use " @@ -6401,40 +6404,40 @@ msgstr "" "``PyModExport`` :ref:`Export-Hook für Module ` " "verwenden ebenfalls die neue Struktur :c:type:`!PySlot`." -#: ../../whatsnew/3.15.rst:2622 +#: ../../whatsnew/3.15.rst:2624 msgid "The following functions are :term:`soft deprecated`:" msgstr "" "Die folgenden Funktionen sind :term:`sanft abgekündigt `:" -#: ../../whatsnew/3.15.rst:2624 +#: ../../whatsnew/3.15.rst:2626 msgid ":c:func:`PyType_FromSpec`" msgstr ":c:func:`PyType_FromSpec`" -#: ../../whatsnew/3.15.rst:2625 +#: ../../whatsnew/3.15.rst:2627 msgid ":c:func:`PyType_FromSpecWithBases`" msgstr ":c:func:`PyType_FromSpecWithBases`" -#: ../../whatsnew/3.15.rst:2626 +#: ../../whatsnew/3.15.rst:2628 msgid ":c:func:`PyType_FromModuleAndSpec`" msgstr ":c:func:`PyType_FromModuleAndSpec`" -#: ../../whatsnew/3.15.rst:2627 +#: ../../whatsnew/3.15.rst:2629 msgid ":c:func:`PyType_FromMetaclass`" msgstr ":c:func:`PyType_FromMetaclass`" -#: ../../whatsnew/3.15.rst:2628 +#: ../../whatsnew/3.15.rst:2630 msgid ":c:func:`PyModule_FromDefAndSpec`" msgstr ":c:func:`PyModule_FromDefAndSpec`" -#: ../../whatsnew/3.15.rst:2629 +#: ../../whatsnew/3.15.rst:2631 msgid ":c:func:`PyModule_FromDefAndSpec2`" msgstr ":c:func:`PyModule_FromDefAndSpec2`" -#: ../../whatsnew/3.15.rst:2630 +#: ../../whatsnew/3.15.rst:2632 msgid ":c:func:`PyModule_ExecDef`" msgstr ":c:func:`PyModule_ExecDef`" -#: ../../whatsnew/3.15.rst:2632 +#: ../../whatsnew/3.15.rst:2634 msgid "" "The slots :c:macro:`Py_tp_bases` and :c:macro:`Py_tp_base` are now " "equivalent: they can be set either to a single type or a tuple of types. " @@ -6446,11 +6449,11 @@ msgstr "" "von Typen gesetzt werden. Der Slot :c:macro:`Py_tp_bases` wird bevorzugt. " "Der andere wird ignoriert, wenn beide angegeben sind." -#: ../../whatsnew/3.15.rst:2637 +#: ../../whatsnew/3.15.rst:2639 msgid "(Contributed by Petr Viktorin in :gh:`149044`.)" msgstr "(Beigetragen von Petr Viktorin in :gh:`149044`.)" -#: ../../whatsnew/3.15.rst:2639 +#: ../../whatsnew/3.15.rst:2641 msgid "" "Add :c:func:`PyUnstable_ThreadState_SetStackProtection` " "and :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set " @@ -6462,7 +6465,7 @@ msgstr "" "die Basisadresse und die Größe des Stackschutzes eines Python-Thread-" "Zustands festzulegen. (Beigetragen von Victor Stinner in :gh:`139653`.)" -#: ../../whatsnew/3.15.rst:2645 +#: ../../whatsnew/3.15.rst:2647 msgid "" "Add :c:func:`PyUnstable_SetImmortal` C API function to mark objects " "as :term:`immortal`. (Contributed by Kumar Aditya in :gh:`143300`.)" @@ -6471,7 +6474,7 @@ msgstr "" "als :term:`unsterblich ` zu markieren. (Beigetragen von Kumar " "Aditya in :gh:`143300`.)" -#: ../../whatsnew/3.15.rst:2648 +#: ../../whatsnew/3.15.rst:2650 msgid "" "Restore private provisional ``_Py_InitializeMain()`` function removed in " "Python 3.14. (Contributed by Victor Stinner in :gh:`142417`.)" @@ -6480,7 +6483,7 @@ msgstr "" "3.14 entfernt worden war, wurde wiederhergestellt. (Beigetragen von Victor " "Stinner in :gh:`142417`.)" -#: ../../whatsnew/3.15.rst:2652 +#: ../../whatsnew/3.15.rst:2654 msgid "" "Add :c:func:`PyUnstable_DumpTraceback` " "and :c:func:`PyUnstable_DumpTracebackThreads` functions to output Python " @@ -6490,11 +6493,11 @@ msgstr "" "und :c:func:`PyUnstable_DumpTracebackThreads` hinzugefügt, um Python-" "Stacktraces auszugeben. (Beigetragen von Alex Malyshev in :gh:`145559`.)" -#: ../../whatsnew/3.15.rst:2658 +#: ../../whatsnew/3.15.rst:2660 msgid "Changed C APIs" msgstr "Geänderte C-APIs" -#: ../../whatsnew/3.15.rst:2660 +#: ../../whatsnew/3.15.rst:2662 msgid "" "If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` " "or :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` flag is set " @@ -6506,7 +6509,7 @@ msgstr "" "auch :c:macro:`Py_TPFLAGS_HAVE_GC` gesetzt sein. (Beigetragen von Sergey " "Miryanov in :gh:`134786`.)" -#: ../../whatsnew/3.15.rst:2664 +#: ../../whatsnew/3.15.rst:2666 msgid "" ":c:macro:`PyDateTime_IMPORT` is now thread safe. Code that directly checks " "``PyDateTimeAPI`` for ``NULL`` should be updated to " @@ -6518,22 +6521,22 @@ msgstr "" "er stattdessen :c:macro:`PyDateTime_IMPORT` aufruft. (Beigetragen von Kumar " "Aditya in :gh:`141563`.)" -#: ../../whatsnew/3.15.rst:2670 +#: ../../whatsnew/3.15.rst:2672 msgid "Removed C APIs" msgstr "Entfernte C-APIs" -#: ../../whatsnew/3.15.rst:2672 +#: ../../whatsnew/3.15.rst:2674 msgid "Remove deprecated ``PyUnicode`` functions:" msgstr "Veraltete Funktionen von ``PyUnicode`` entfernt:" -#: ../../whatsnew/3.15.rst:2674 +#: ../../whatsnew/3.15.rst:2676 msgid "" ":c:func:`!PyUnicode_AsDecodedObject`: Use :c:func:`PyCodec_Decode` instead." msgstr "" ":c:func:`!PyUnicode_AsDecodedObject`: Verwende " "stattdessen :c:func:`PyCodec_Decode`." -#: ../../whatsnew/3.15.rst:2676 +#: ../../whatsnew/3.15.rst:2678 msgid "" ":c:func:`!PyUnicode_AsDecodedUnicode`: Use :c:func:`PyCodec_Decode` instead; " "note that some codecs (for example, \"base64\") may return a type other " @@ -6544,14 +6547,14 @@ msgstr "" "Beispiel „base64“) einen anderen Typ als :class:`str` zurückgeben können, " "etwa :class:`bytes`." -#: ../../whatsnew/3.15.rst:2679 +#: ../../whatsnew/3.15.rst:2681 msgid "" ":c:func:`!PyUnicode_AsEncodedObject`: Use :c:func:`PyCodec_Encode` instead." msgstr "" ":c:func:`!PyUnicode_AsEncodedObject`: Verwende " "stattdessen :c:func:`PyCodec_Encode`." -#: ../../whatsnew/3.15.rst:2681 +#: ../../whatsnew/3.15.rst:2683 msgid "" ":c:func:`!PyUnicode_AsEncodedUnicode`: Use :c:func:`PyCodec_Encode` instead; " "note that some codecs (for example, \"base64\") may return a type other " @@ -6562,11 +6565,11 @@ msgstr "" "Beispiel „base64“) einen anderen Typ als :class:`bytes` zurückgeben können, " "etwa :class:`str`." -#: ../../whatsnew/3.15.rst:2685 +#: ../../whatsnew/3.15.rst:2687 msgid "(Contributed by Stan Ulbrych in :gh:`133612`.)" msgstr "(Beigetragen von Stan Ulbrych in :gh:`133612`.)" -#: ../../whatsnew/3.15.rst:2687 +#: ../../whatsnew/3.15.rst:2689 msgid "" ":c:func:`!PyImport_ImportModuleNoBlock`: deprecated alias " "of :c:func:`PyImport_ImportModule`. (Contributed by Bénédikt Tran " @@ -6576,7 +6579,7 @@ msgstr "" "von :c:func:`PyImport_ImportModule`. (Beigetragen von Bénédikt Tran " "in :gh:`133644`.)" -#: ../../whatsnew/3.15.rst:2691 +#: ../../whatsnew/3.15.rst:2693 msgid "" ":c:func:`!PyWeakref_GetObject` and :c:macro:`!PyWeakref_GET_OBJECT`: " "use :c:func:`PyWeakref_GetRef` instead. The |pythoncapi_compat_project| can " @@ -6589,7 +6592,7 @@ msgstr "" "Python 3.12 und älter nutzen. (Beigetragen von Bénédikt Tran " "in :gh:`133644`.)" -#: ../../whatsnew/3.15.rst:2696 +#: ../../whatsnew/3.15.rst:2698 msgid "" "Remove deprecated :c:func:`!PySys_ResetWarnOptions`. " "Clear :data:`sys.warnoptions` and :data:`!warnings.filters` instead." @@ -6597,11 +6600,11 @@ msgstr "" "Das veraltete :c:func:`!PySys_ResetWarnOptions` entfernt. Leere " "stattdessen :data:`sys.warnoptions` und :data:`!warnings.filters`." -#: ../../whatsnew/3.15.rst:2699 +#: ../../whatsnew/3.15.rst:2701 msgid "(Contributed by Nikita Sobolev in :gh:`138886`.)" msgstr "(Beigetragen von Nikita Sobolev in :gh:`138886`.)" -#: ../../whatsnew/3.15.rst:2701 +#: ../../whatsnew/3.15.rst:2703 msgid "" "The following functions are removed in favor of :c:func:`PyConfig_Get`. The |" "pythoncapi_compat_project| can be used to get :c:func:`!PyConfig_Get` on " @@ -6611,11 +6614,11 @@ msgstr "" "entfernt. Mit dem |pythoncapi_compat_project| lässt sich :c:func:`!" "PyConfig_Get` unter Python 3.13 und älter nutzen." -#: ../../whatsnew/3.15.rst:2705 +#: ../../whatsnew/3.15.rst:2707 msgid "Python initialization functions:" msgstr "Funktionen zur Initialisierung von Python:" -#: ../../whatsnew/3.15.rst:2707 +#: ../../whatsnew/3.15.rst:2709 msgid "" ":c:func:`!Py_GetExecPrefix`: use :c:func:`PyConfig_Get(\"base_exec_prefix\") " "` (:data:`sys.base_exec_prefix`) instead. " @@ -6630,7 +6633,7 @@ msgstr "" "(:data:`sys.exec_prefix`), wenn :ref:`virtuelle Umgebungen ` " "berücksichtigt werden müssen." -#: ../../whatsnew/3.15.rst:2713 +#: ../../whatsnew/3.15.rst:2715 msgid "" ":c:func:`!Py_GetPath`: use :c:func:`PyConfig_Get(\"module_search_paths\") " "` (:data:`sys.path`) instead." @@ -6639,7 +6642,7 @@ msgstr "" "stattdessen :c:func:`PyConfig_Get(\"module_search_paths\") ` " "(:data:`sys.path`)." -#: ../../whatsnew/3.15.rst:2716 +#: ../../whatsnew/3.15.rst:2718 msgid "" ":c:func:`!Py_GetPrefix`: use :c:func:`PyConfig_Get(\"base_prefix\") " "` (:data:`sys.base_prefix`) instead. " @@ -6652,7 +6655,7 @@ msgstr "" "` (:data:`sys.prefix`), wenn :ref:`virtuelle Umgebungen ` berücksichtigt werden müssen." -#: ../../whatsnew/3.15.rst:2722 +#: ../../whatsnew/3.15.rst:2724 msgid "" ":c:func:`!Py_GetProgramFullPath`: use :c:func:`PyConfig_Get(\"executable\") " "` (:data:`sys.executable`) instead." @@ -6661,7 +6664,7 @@ msgstr "" "stattdessen :c:func:`PyConfig_Get(\"executable\") ` " "(:data:`sys.executable`)." -#: ../../whatsnew/3.15.rst:2725 +#: ../../whatsnew/3.15.rst:2727 msgid "" ":c:func:`!Py_GetProgramName`: use :c:func:`PyConfig_Get(\"executable\") " "` (:data:`sys.executable`) instead." @@ -6670,7 +6673,7 @@ msgstr "" "stattdessen :c:func:`PyConfig_Get(\"executable\") ` " "(:data:`sys.executable`)." -#: ../../whatsnew/3.15.rst:2728 +#: ../../whatsnew/3.15.rst:2730 msgid "" ":c:func:`!Py_GetPythonHome`: use :c:func:`PyConfig_Get(\"home\") " "` or the :envvar:`PYTHONHOME` environment variable instead." @@ -6679,15 +6682,15 @@ msgstr "" "stattdessen :c:func:`PyConfig_Get(\"home\") ` oder die " "Umgebungsvariable :envvar:`PYTHONHOME`." -#: ../../whatsnew/3.15.rst:2732 +#: ../../whatsnew/3.15.rst:2734 msgid "(Contributed by Bénédikt Tran in :gh:`133644`.)" msgstr "(Beigetragen von Bénédikt Tran in :gh:`133644`.)" -#: ../../whatsnew/3.15.rst:2740 +#: ../../whatsnew/3.15.rst:2742 msgid "Deprecated C APIs" msgstr "Veraltete C-APIs" -#: ../../whatsnew/3.15.rst:2742 +#: ../../whatsnew/3.15.rst:2744 msgid "" "Deprecate :pep:`456` support for providing an external definition of the " "string hashing scheme. Removal is scheduled for Python 3.19." @@ -6696,7 +6699,7 @@ msgstr "" "Verfahrens für Zeichenketten ist veraltet. Die Entfernung ist für Python " "3.19 geplant." -#: ../../whatsnew/3.15.rst:2745 +#: ../../whatsnew/3.15.rst:2747 msgid "" "Previously, embedders could define :c:macro:`Py_HASH_ALGORITHM` to be " "``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided " @@ -6708,11 +6711,11 @@ msgstr "" "bereitgestellt wird. Diese Funktion war jedoch undokumentiert, ungetestet " "und wurde höchstwahrscheinlich nicht verwendet." -#: ../../whatsnew/3.15.rst:2750 +#: ../../whatsnew/3.15.rst:2752 msgid "(Contributed by Bénédikt Tran in :gh:`141226`.)" msgstr "(Beigetragen von Bénédikt Tran in :gh:`141226`.)" -#: ../../whatsnew/3.15.rst:2752 +#: ../../whatsnew/3.15.rst:2754 msgid "" "For unsigned integer formats in :c:func:`PyArg_ParseTuple`, accepting Python " "integers with value that is larger than the maximal value for the C type or " @@ -6726,7 +6729,7 @@ msgstr "" "vorzeichenbehafteten Ganzzahltyps gleicher Größe ist. (Beigetragen von " "Serhiy Storchaka in :gh:`132629`.)" -#: ../../whatsnew/3.15.rst:2758 +#: ../../whatsnew/3.15.rst:2760 msgid "" ":c:func:`PyBytes_FromStringAndSize(NULL, len) ` " "and :c:func:`_PyBytes_Resize` are :term:`soft deprecated`, use " @@ -6738,7 +6741,7 @@ msgstr "" "deprecated>`. Verwende stattdessen die API :c:type:`PyBytesWriter`. " "(Beigetragen von Victor Stinner in :gh:`129813`.)" -#: ../../whatsnew/3.15.rst:2763 +#: ../../whatsnew/3.15.rst:2765 msgid "" ":c:func:`!_PyObject_CallMethodId`, :c:func:`!_PyObject_GetAttrId` " "and :c:func:`!_PyUnicode_FromId` are deprecated since Python 3.15 and will " @@ -6756,7 +6759,7 @@ msgstr "" "oder :c:func:`PyObject_GetAttr` auf. (Beigetragen von Victor Stinner " "in :gh:`141049`.)" -#: ../../whatsnew/3.15.rst:2770 +#: ../../whatsnew/3.15.rst:2772 msgid "" "Deprecate :c:member:`~PyComplexObject.cval` field of " "the :c:type:`PyComplexObject` type. Use :c:func:`PyComplex_AsCComplex` " @@ -6771,7 +6774,7 @@ msgstr "" "Darstellung :c:type:`Py_complex` bzw. aus ihr zu konvertieren. (Beigetragen " "von Sergey B Kirpichev in :gh:`128813`.)" -#: ../../whatsnew/3.15.rst:2777 +#: ../../whatsnew/3.15.rst:2779 msgid "" "Functions :c:func:`_Py_c_sum`, :c:func:`_Py_c_diff`, :c:func:`_Py_c_neg`, :c:func:`_Py_c_prod`, :c:func:`_Py_c_quot`, :c:func:`_Py_c_pow` " "and :c:func:`_Py_c_abs` are :term:`soft deprecated`. (Contributed by Sergey " @@ -6782,7 +6785,7 @@ msgstr "" "und :c:func:`_Py_c_abs` sind :term:`sanft abgekündigt `. " "(Beigetragen von Sergey B Kirpichev in :gh:`128813`.)" -#: ../../whatsnew/3.15.rst:2782 +#: ../../whatsnew/3.15.rst:2784 msgid "" ":c:member:`~PyConfig.bytes_warning` is deprecated since Python 3.15 and will " "be removed in Python 3.17. (Contributed by Nikita Sobolev in :gh:`136355`.)" @@ -6790,7 +6793,7 @@ msgstr "" ":c:member:`~PyConfig.bytes_warning` ist seit Python 3.15 veraltet und wird " "in Python 3.17 entfernt. (Beigetragen von Nikita Sobolev in :gh:`136355`.)" -#: ../../whatsnew/3.15.rst:2786 +#: ../../whatsnew/3.15.rst:2788 msgid "" ":c:macro:`!Py_INFINITY` macro is :term:`soft deprecated`, use the C11 " "standard ```` :c:macro:`!INFINITY` instead. (Contributed by Sergey B " @@ -6800,19 +6803,19 @@ msgstr "" "deprecated>`. Verwende stattdessen das ```` :c:macro:`!INFINITY` des " "C11-Standards. (Beigetragen von Sergey B Kirpichev in :gh:`141004`.)" -#: ../../whatsnew/3.15.rst:2790 +#: ../../whatsnew/3.15.rst:2792 msgid "The following macros are :term:`soft deprecated`:" msgstr "Die folgenden Makros sind :term:`sanft abgekündigt `:" -#: ../../whatsnew/3.15.rst:2792 +#: ../../whatsnew/3.15.rst:2794 msgid ":c:macro:`Py_ALIGNED`: Prefer ``alignas`` instead." msgstr ":c:macro:`Py_ALIGNED`: Verwende stattdessen ``alignas``." -#: ../../whatsnew/3.15.rst:2793 +#: ../../whatsnew/3.15.rst:2795 msgid ":c:macro:`PY_FORMAT_SIZE_T`: Use ``\"z\"`` directly." msgstr ":c:macro:`PY_FORMAT_SIZE_T`: Verwende direkt ``\"z\"``." -#: ../../whatsnew/3.15.rst:2794 +#: ../../whatsnew/3.15.rst:2796 msgid "" ":c:macro:`Py_LL` and :c:macro:`Py_ULL`: Use standard suffixes, ``LL`` and " "``ULL``." @@ -6820,7 +6823,7 @@ msgstr "" ":c:macro:`Py_LL` und :c:macro:`Py_ULL`: Verwende die Standardsuffixe ``LL`` " "und ``ULL``." -#: ../../whatsnew/3.15.rst:2796 +#: ../../whatsnew/3.15.rst:2798 msgid "" ":c:macro:`PY_LONG_LONG`, :c:macro:`PY_LLONG_MIN`, :c:macro:`PY_LLONG_MAX`, :c:macro:`PY_ULLONG_MAX`, :c:macro:`PY_INT32_T`, :c:macro:`PY_UINT32_T`, :c:macro:`PY_INT64_T`, :c:macro:`PY_UINT64_T`, :c:macro:`PY_SIZE_MAX`: " "Use C99 types/limits." @@ -6828,15 +6831,15 @@ msgstr "" ":c:macro:`PY_LONG_LONG`, :c:macro:`PY_LLONG_MIN`, :c:macro:`PY_LLONG_MAX`, :c:macro:`PY_ULLONG_MAX`, :c:macro:`PY_INT32_T`, :c:macro:`PY_UINT32_T`, :c:macro:`PY_INT64_T`, :c:macro:`PY_UINT64_T`, :c:macro:`PY_SIZE_MAX`: " "Verwende die Typen und Grenzwerte von C99." -#: ../../whatsnew/3.15.rst:2800 +#: ../../whatsnew/3.15.rst:2802 msgid ":c:macro:`Py_UNICODE_SIZE`: Use ``sizeof(wchar_t)`` directly." msgstr ":c:macro:`Py_UNICODE_SIZE`: Verwende direkt ``sizeof(wchar_t)``." -#: ../../whatsnew/3.15.rst:2801 +#: ../../whatsnew/3.15.rst:2803 msgid ":c:macro:`Py_VA_COPY`: Use ``va_copy`` directly." msgstr ":c:macro:`Py_VA_COPY`: Verwende direkt ``va_copy``." -#: ../../whatsnew/3.15.rst:2803 +#: ../../whatsnew/3.15.rst:2805 msgid "" "The macro :c:macro:`Py_UNICODE_WIDE`, which was scheduled for removal, " "is :term:`soft deprecated` instead." @@ -6844,11 +6847,11 @@ msgstr "" "Das Makro :c:macro:`Py_UNICODE_WIDE`, dessen Entfernung geplant war, ist " "stattdessen :term:`sanft abgekündigt `." -#: ../../whatsnew/3.15.rst:2806 +#: ../../whatsnew/3.15.rst:2808 msgid "(Contributed by Petr Viktorin in :gh:`146175`.)" msgstr "(Beigetragen von Petr Viktorin in :gh:`146175`.)" -#: ../../whatsnew/3.15.rst:2808 +#: ../../whatsnew/3.15.rst:2810 msgid "" ":c:macro:`!Py_MATH_El` and :c:macro:`!Py_MATH_PIl` are deprecated since " "Python 3.15 and will be removed in Python 3.20. (Contributed by Sergey B " @@ -6858,11 +6861,11 @@ msgstr "" "veraltet und werden in Python 3.20 entfernt. (Beigetragen von Sergey B " "Kirpichev in :gh:`141004`.)" -#: ../../whatsnew/3.15.rst:2817 +#: ../../whatsnew/3.15.rst:2819 msgid "Build changes" msgstr "Änderungen am Build" -#: ../../whatsnew/3.15.rst:2819 +#: ../../whatsnew/3.15.rst:2821 msgid "" "Removed implicit fallback to the bundled copy of the ``libmpdec`` library. " "Now this should be explicitly enabled with :option:`--with-system-libmpdec` " @@ -6875,7 +6878,7 @@ msgstr "" "without-system-libmpdec` angegeben wird. (Beigetragen von Sergey B Kirpichev " "in :gh:`115119`.)" -#: ../../whatsnew/3.15.rst:2824 +#: ../../whatsnew/3.15.rst:2826 msgid "" "The new configure option :option:`--with-missing-stdlib-config=FILE` allows " "distributors to pass a `JSON `_ " @@ -6890,7 +6893,7 @@ msgstr "" "oder separat paketiert sind. (Beigetragen von Stan Ulbrych und Petr Viktorin " "in :gh:`139707`.)" -#: ../../whatsnew/3.15.rst:2830 +#: ../../whatsnew/3.15.rst:2832 msgid "" "The new configure option :option:`--with-pymalloc-hugepages` enables huge " "page support for :ref:`pymalloc ` arenas. When enabled, arena size " @@ -6911,7 +6914,7 @@ msgstr "" "Umgebungsvariable :envvar:`PYTHON_PYMALLOC_HUGEPAGES` auf ``1`` gesetzt " "wird. (Beigetragen von Pablo Galindo Salgado in :gh:`144319`.)" -#: ../../whatsnew/3.15.rst:2839 +#: ../../whatsnew/3.15.rst:2841 msgid "" "Annotating anonymous mmap usage is now supported if the Linux kernel " "supports :manpage:`PR_SET_VMA_ANON_NAME ` (Linux 5.17 or " @@ -6927,7 +6930,7 @@ msgstr "" "dev <-X>` gestartet oder im :ref:`Debug-Modus ` gebaut wurde. " "(Beigetragen von Donghee Na in :gh:`141770`.)" -#: ../../whatsnew/3.15.rst:2846 +#: ../../whatsnew/3.15.rst:2848 msgid "" "CPython is now built with frame pointers enabled by default (:pep:`831`). " "Pass :option:`--without-frame-pointers` to opt out." @@ -6936,7 +6939,7 @@ msgstr "" "(:pep:`831`). Übergib :option:`--without-frame-pointers`, um dies " "abzuschalten." -#: ../../whatsnew/3.15.rst:2849 +#: ../../whatsnew/3.15.rst:2851 msgid "" "Authors of C extensions and native libraries built with custom build systems " "should ensure the unwind chain is intact. This is usually done by adding ``-" @@ -6949,7 +6952,7 @@ msgstr "" "Flags zu ``CFLAGS`` hinzu. Die konkreten Flags, die Python verwendet, " "findest du in der Dokumentation zu :option:`--without-frame-pointers`." -#: ../../whatsnew/3.15.rst:2855 +#: ../../whatsnew/3.15.rst:2857 msgid "" "(Contributed by Pablo Galindo Salgado and Savannah Ostrowski " "in :gh:`149201`.)" @@ -6957,7 +6960,7 @@ msgstr "" "(Beigetragen von Pablo Galindo Salgado und Savannah Ostrowski " "in :gh:`149201`.)" -#: ../../whatsnew/3.15.rst:2859 +#: ../../whatsnew/3.15.rst:2861 msgid "" "64-bit builds using Visual Studio 2026 (MSVC 18) may now use the " "new :ref:`tail-calling interpreter `. " @@ -6986,11 +6989,11 @@ msgstr "" "Bucher in :gh:`143068`. Besonderer Dank an Steve Dower und das MSVC-Team " "einschließlich Hulon Jenkins.)" -#: ../../whatsnew/3.15.rst:2876 +#: ../../whatsnew/3.15.rst:2878 msgid "Porting to Python 3.15" msgstr "Portierung auf Python 3.15" -#: ../../whatsnew/3.15.rst:2878 +#: ../../whatsnew/3.15.rst:2880 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." @@ -6998,11 +7001,11 @@ msgstr "" "Dieser Abschnitt listet bereits beschriebene Änderungen und weitere " "Fehlerbehebungen auf, die Änderungen an deinem Code erfordern können." -#: ../../whatsnew/3.15.rst:2881 +#: ../../whatsnew/3.15.rst:2883 msgid ":class:`sqlite3.Connection` APIs have been cleaned up." msgstr "Die APIs von :class:`sqlite3.Connection` wurden bereinigt." -#: ../../whatsnew/3.15.rst:2883 +#: ../../whatsnew/3.15.rst:2885 msgid "" "All parameters of :func:`sqlite3.connect` except *database* are now keyword-" "only." @@ -7010,7 +7013,7 @@ msgstr "" "Alle Parameter von :func:`sqlite3.connect` außer *database* sind jetzt reine " "Schlüsselwortparameter." -#: ../../whatsnew/3.15.rst:2884 +#: ../../whatsnew/3.15.rst:2886 msgid "" "The first three parameters of " "methods :meth:`~sqlite3.Connection.create_function` " @@ -7021,7 +7024,7 @@ msgstr "" "und :meth:`~sqlite3.Connection.create_aggregate` sind jetzt reine " "Positionsparameter." -#: ../../whatsnew/3.15.rst:2886 +#: ../../whatsnew/3.15.rst:2888 msgid "" "The first parameter of " "methods :meth:`~sqlite3.Connection.set_authorizer`, :meth:`~sqlite3.Connection.set_progress_handler` " @@ -7032,11 +7035,11 @@ msgstr "" "und :meth:`~sqlite3.Connection.set_trace_callback` ist jetzt ein reiner " "Positionsparameter." -#: ../../whatsnew/3.15.rst:2890 +#: ../../whatsnew/3.15.rst:2892 msgid "(Contributed by Serhiy Storchaka in :gh:`133595`.)" msgstr "(Beigetragen von Serhiy Storchaka in :gh:`133595`.)" -#: ../../whatsnew/3.15.rst:2892 +#: ../../whatsnew/3.15.rst:2894 msgid "" ":data:`resource.RLIM_INFINITY` is now always positive. Passing a negative " "integer value that corresponded to its old value (such as ``-1`` or ``-3``, " @@ -7050,7 +7053,7 @@ msgstr "" "und :func:`resource.prlimit` ist jetzt veraltet. (Beigetragen von Serhiy " "Storchaka in :gh:`137044`.)" -#: ../../whatsnew/3.15.rst:2898 +#: ../../whatsnew/3.15.rst:2900 msgid "" ":meth:`mmap.mmap.resize` has been removed on platforms that don't support " "the underlying syscall, instead of raising a :exc:`SystemError`. " @@ -7060,7 +7063,7 @@ msgstr "" "Systemaufruf nicht unterstützen, entfernt, statt einen :exc:`SystemError` " "auszulösen. (Beigetragen von An Long in :gh:`138205`.)" -#: ../../whatsnew/3.15.rst:2902 +#: ../../whatsnew/3.15.rst:2904 msgid "" "A resource warning is now emitted for an " "unclosed :func:`xml.etree.ElementTree.iterparse` iterator if it opened a " @@ -7075,7 +7078,7 @@ msgstr "" "schließen. (Beigetragen von Osama Abdelkader und Serhiy Storchaka " "in :gh:`140601`.)" -#: ../../whatsnew/3.15.rst:2908 +#: ../../whatsnew/3.15.rst:2910 msgid "" "If a short option and a single-dash long option are passed " "to :meth:`argparse.ArgumentParser.add_argument`, *dest* is now inferred from " @@ -7091,7 +7094,7 @@ msgstr "" "``'f'``. Übergib ein explizites Argument *dest*, um das alte Verhalten " "beizubehalten. (Beigetragen von Serhiy Storchaka in :gh:`138697`.)" -#: ../../whatsnew/3.15.rst:2915 +#: ../../whatsnew/3.15.rst:2917 msgid "" "Padding of input no longer required in :func:`base64.urlsafe_b64decode`. " "Pass a new argument ``padded=True`` or use :func:`base64.b64decode` with " @@ -7104,7 +7107,7 @@ msgstr "" "funktioniert auch mit älteren Python-Versionen), um Padding vorauszusetzen. " "(Beigetragen von Serhiy Storchaka in :gh:`73613`.)" -#: ../../whatsnew/3.15.rst:2921 +#: ../../whatsnew/3.15.rst:2923 msgid "" "Since :meth:`unittest.TestCase.assertWarns` " "and :meth:`unittest.TestCase.assertWarnsRegex` no longer swallow warnings " @@ -7121,11 +7124,11 @@ msgstr "" "oder zusätzliche :meth:`!assertWarns*`, um sie abzufangen und zu prüfen. " "(Beigetragen von Serhiy Storchaka in :gh:`143231`.)" -#: ../../whatsnew/3.15.rst:2931 +#: ../../whatsnew/3.15.rst:2933 msgid "Notable changes in 3.15.2" msgstr "Erwähnenswerte Änderungen in 3.15.2" -#: ../../whatsnew/3.15.rst:2936 +#: ../../whatsnew/3.15.rst:2938 msgid "" "Threads that simultaneously perform first-time ``import package.submodule`` " "imports no longer risk a deadlock or spurious import errors, a regression " @@ -7147,7 +7150,7 @@ msgstr "" "tat, statt ``_DeadlockError`` auszulösen. (Beigetragen von Gregory P. Smith " "in :gh:`159963`.)" -#: ../../whatsnew/3.15.rst:2948 +#: ../../whatsnew/3.15.rst:2950 msgid "" "The :mod:`ssl` module now rejects TLS certificate chains that contain one of " "a set of compromised eMudhra intermediate CA certificates. The affected " @@ -7167,6 +7170,20 @@ msgstr "" "davon, ob der Vertrauensspeicher der Plattform das Vertrauen entzogen hat. " "(Beigetragen von Christian Heimes in :gh:`160040` für :cve:`2026-115557`.)" +#: ../../whatsnew/3.15.rst:2960 +#, fuzzy +msgid "Notable changes in 3.15.3" +msgstr "Erwähnenswerte Änderungen in 3.15.2" + +#: ../../whatsnew/3.15.rst:2965 +msgid "" +":c:func:`Py_INCREF`, :c:func:`Py_XINCREF`, :c:func:`Py_DECREF` " +"and :c:func:`Py_XDECREF` are now implemented as function calls on all " +"limited C API versions. Previously, they were only implemented as function " +"calls on the limited C API version 3.12 or newer. Patch by Victor Stinner: " +"(Contributed by Victor Stinner in :gh:`158401`.)" +msgstr "" + #~ msgid "" #~ "This article explains the new features in Python 3.15, compared to 3.14." #~ msgstr "" diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po index f1342b1f..7571a155 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-11-16 03:06+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -33,32 +33,45 @@ msgstr "" msgid "*Release date: XXXX-XX-XX*" msgstr "" -#: ../NEWS:8 ../NEWS:633 ../NEWS:969 ../NEWS:1995 ../NEWS:2342 ../NEWS:2580 -#: ../NEWS:2923 ../NEWS:3553 ../NEWS:3864 ../NEWS:4191 ../NEWS:5056 -#: ../NEWS:5699 ../NEWS:6156 ../NEWS:7053 ../NEWS:7676 ../NEWS:8465 -#: ../NEWS:10723 ../NEWS:11537 ../NEWS:11923 ../NEWS:12488 ../NEWS:13387 -#: ../NEWS:13849 ../NEWS:14589 ../NEWS:16869 ../NEWS:18019 ../NEWS:18475 -#: ../NEWS:19031 ../NEWS:20550 ../NEWS:23029 ../NEWS:24247 ../NEWS:24568 -#: ../NEWS:25262 ../NEWS:25604 ../NEWS:26046 ../NEWS:28319 ../NEWS:32021 -#: ../NEWS:33978 ../NEWS:34694 ../NEWS:35125 ../NEWS:35371 ../NEWS:36013 -#: ../NEWS:36603 ../NEWS:36959 ../NEWS:38213 ../NEWS:38566 ../NEWS:39018 -#: ../NEWS:39524 ../NEWS:40225 ../NEWS:40610 ../NEWS:42563 ../NEWS:43321 -#: ../NEWS:43865 ../NEWS:44396 ../NEWS:47926 ../NEWS:48144 ../NEWS:49872 -#: ../NEWS:52325 ../NEWS:53092 ../NEWS:53556 ../NEWS:53583 ../NEWS:55627 -#: ../NEWS:55838 ../NEWS:56129 ../NEWS:57425 ../NEWS:57484 ../NEWS:57901 -#: ../NEWS:58604 +#: ../NEWS:8 ../NEWS:919 ../NEWS:1255 ../NEWS:2281 ../NEWS:2628 ../NEWS:2866 +#: ../NEWS:3209 ../NEWS:3839 ../NEWS:4150 ../NEWS:4477 ../NEWS:5342 +#: ../NEWS:5985 ../NEWS:6442 ../NEWS:7339 ../NEWS:7962 ../NEWS:8751 +#: ../NEWS:11009 ../NEWS:11823 ../NEWS:12209 ../NEWS:12774 ../NEWS:13673 +#: ../NEWS:14135 ../NEWS:14875 ../NEWS:17155 ../NEWS:18305 ../NEWS:18761 +#: ../NEWS:19317 ../NEWS:20836 ../NEWS:23315 ../NEWS:24533 ../NEWS:24854 +#: ../NEWS:25548 ../NEWS:25890 ../NEWS:26332 ../NEWS:28605 ../NEWS:32307 +#: ../NEWS:34264 ../NEWS:34980 ../NEWS:35411 ../NEWS:35657 ../NEWS:36299 +#: ../NEWS:36889 ../NEWS:37245 ../NEWS:38499 ../NEWS:38852 ../NEWS:39304 +#: ../NEWS:39810 ../NEWS:40511 ../NEWS:40896 ../NEWS:42849 ../NEWS:43607 +#: ../NEWS:44151 ../NEWS:44682 ../NEWS:48212 ../NEWS:48430 ../NEWS:50158 +#: ../NEWS:52611 ../NEWS:53378 ../NEWS:53842 ../NEWS:53869 ../NEWS:55913 +#: ../NEWS:56124 ../NEWS:56415 ../NEWS:57711 ../NEWS:57770 ../NEWS:58187 +#: ../NEWS:58890 msgid "Security" msgstr "" #: ../NEWS:10 msgid "" +":gh:`162577`: Update ``zstd`` to v1.6.0 in Android, iOS, and Windows builds " +"to address :cve:`2026-124851`." +msgstr "" + +#: ../NEWS:13 +msgid "" +":gh:`162493`: Update bundled `libexpat `_ to " +"version 2.11.0 for the fixes to :cve:`2026-124317`, :cve:`2026-128241`, " +"and :cve:`2026-134703`." +msgstr "" + +#: ../NEWS:17 +msgid "" ":cve:`2026-115791`, :gh:`161705`: Remove ``sys.path[0]`` " "in :mod:`gzip`, :mod:`tarfile` and :mod:`zipfile` command line interface to " "prevent shadowing standard library modules from extracted files. Issue " "reported by Jelle Zijlstra, patch by Gregory P. Smith and Victor Stinner." msgstr "" -#: ../NEWS:15 +#: ../NEWS:22 msgid "" ":cve:`2026-124249`, :gh:`161569`: Fix :class:`http.cookiejar.CookieJar` " "deleting a stored cookie when a response from an unrelated host sets an " @@ -67,7 +80,7 @@ msgid "" "allowed to delete an existing one." msgstr "" -#: ../NEWS:21 +#: ../NEWS:28 msgid "" ":gh:`161192`: Update bundled `libexpat `_ to " "version 2.10.0 for the fixes " @@ -75,14 +88,14 @@ msgid "" "and :cve:`2026-118370`." msgstr "" -#: ../NEWS:25 +#: ../NEWS:32 msgid "" ":cve:`2026-116566`, :gh:`160898`: :func:`socket.getaddrinfo` now rejects " "null bytes within *host* and *port* parameters as this previously caused the " "values to be silently truncated." msgstr "" -#: ../NEWS:29 +#: ../NEWS:36 msgid "" ":gh:`160499`: Fix unbounded memory growth in :mod:`asyncio` TLS connections " "when a peer stops reading but keeps sending records that make OpenSSL " @@ -91,7 +104,7 @@ msgid "" "when application data does." msgstr "" -#: ../NEWS:35 +#: ../NEWS:42 msgid "" ":gh:`160506`: Fix :func:`os.path.realpath` on Windows returning the wrong " "path for a broken relative symbolic link reached through a symbolic link to " @@ -99,7 +112,7 @@ msgid "" "``'tar'`` filter to create a file outside the destination directory." msgstr "" -#: ../NEWS:40 +#: ../NEWS:47 msgid "" ":gh:`161323`: On Windows, the ``'tar'`` and ``'data'`` :mod:`tarfile` " "extraction filters now refuse member names and link targets that have a " @@ -109,7 +122,7 @@ msgid "" "Fixes :cve:`2026-107784`." msgstr "" -#: ../NEWS:47 +#: ../NEWS:54 msgid "" ":gh:`160420`: Fix :class:`zoneinfo.ZoneInfo` on Windows accepting keys in " "which a component after a ``/`` starts with a drive letter, such as " @@ -117,60 +130,82 @@ msgid "" "package; it now raises :exc:`ValueError`." msgstr "" -#: ../NEWS:52 +#: ../NEWS:59 +msgid "" +":gh:`158907`: :class:`~urllib.request.ProxyBasicAuthHandler` " +"and :class:`~urllib.request.ProxyDigestAuthHandler` no longer send " +"credentials in response to ``407`` from a direct origin. A scheme-less " +"lookup against the origin host could match passwords stored for an HTTPS URL " +"and retry the cleartext request with ``Proxy-Authorization``." +msgstr "" + +#: ../NEWS:65 msgid "" ":gh:`158928`: Fix a buffer overflow when initializing a :class:`bytearray` " "from an iterator." msgstr "" -#: ../NEWS:56 ../NEWS:655 ../NEWS:982 ../NEWS:2045 ../NEWS:2369 ../NEWS:2590 -#: ../NEWS:2957 ../NEWS:3573 ../NEWS:3901 ../NEWS:4248 ../NEWS:5072 -#: ../NEWS:5938 ../NEWS:6383 ../NEWS:6769 ../NEWS:6987 ../NEWS:7407 -#: ../NEWS:8017 ../NEWS:8047 ../NEWS:8062 ../NEWS:8075 ../NEWS:8118 -#: ../NEWS:8142 ../NEWS:9835 ../NEWS:9879 ../NEWS:9922 ../NEWS:9952 -#: ../NEWS:9975 ../NEWS:10100 ../NEWS:10113 ../NEWS:10127 ../NEWS:10248 -#: ../NEWS:10282 ../NEWS:10300 ../NEWS:10332 ../NEWS:10439 ../NEWS:10468 -#: ../NEWS:11149 ../NEWS:11190 ../NEWS:11252 ../NEWS:11735 ../NEWS:11819 -#: ../NEWS:12201 ../NEWS:12309 ../NEWS:12369 ../NEWS:12779 ../NEWS:12815 -#: ../NEWS:12916 ../NEWS:13206 ../NEWS:13231 ../NEWS:13263 ../NEWS:13622 -#: ../NEWS:13668 ../NEWS:14249 ../NEWS:14269 ../NEWS:14286 ../NEWS:15866 -#: ../NEWS:15890 ../NEWS:15985 ../NEWS:16158 ../NEWS:16230 ../NEWS:16293 -#: ../NEWS:16311 ../NEWS:16478 ../NEWS:16879 ../NEWS:16907 ../NEWS:17521 -#: ../NEWS:17632 ../NEWS:18036 ../NEWS:18078 ../NEWS:18091 ../NEWS:18483 -#: ../NEWS:19040 ../NEWS:19914 ../NEWS:20575 ../NEWS:23053 ../NEWS:23183 -#: ../NEWS:23950 ../NEWS:23991 ../NEWS:24027 ../NEWS:24268 ../NEWS:24577 -#: ../NEWS:24826 ../NEWS:24875 ../NEWS:24940 ../NEWS:25276 ../NEWS:25314 -#: ../NEWS:25624 ../NEWS:25757 ../NEWS:26084 ../NEWS:26120 ../NEWS:26196 -#: ../NEWS:26241 ../NEWS:26434 ../NEWS:26452 ../NEWS:26469 ../NEWS:26594 -#: ../NEWS:26717 ../NEWS:26732 ../NEWS:28326 ../NEWS:28471 ../NEWS:28516 -#: ../NEWS:29086 ../NEWS:29162 ../NEWS:29187 ../NEWS:29699 ../NEWS:29782 -#: ../NEWS:29834 ../NEWS:29859 ../NEWS:30158 ../NEWS:30249 ../NEWS:30276 -#: ../NEWS:30555 ../NEWS:30605 ../NEWS:30629 ../NEWS:30694 ../NEWS:31007 -#: ../NEWS:31065 ../NEWS:31495 ../NEWS:32048 ../NEWS:32082 ../NEWS:32094 -#: ../NEWS:32153 ../NEWS:32173 ../NEWS:32205 ../NEWS:32335 ../NEWS:32386 -#: ../NEWS:32406 ../NEWS:32505 ../NEWS:34034 ../NEWS:34071 ../NEWS:34162 -#: ../NEWS:34716 ../NEWS:34737 ../NEWS:35132 ../NEWS:35177 ../NEWS:35202 -#: ../NEWS:35377 ../NEWS:35430 ../NEWS:35640 ../NEWS:35682 ../NEWS:35715 -#: ../NEWS:36020 ../NEWS:36072 ../NEWS:36117 ../NEWS:36128 ../NEWS:36614 -#: ../NEWS:36693 ../NEWS:36980 ../NEWS:37002 ../NEWS:37030 ../NEWS:37049 -#: ../NEWS:37062 ../NEWS:37078 ../NEWS:37092 ../NEWS:37104 ../NEWS:37122 -#: ../NEWS:37163 ../NEWS:37182 ../NEWS:37231 ../NEWS:37261 ../NEWS:37375 -#: ../NEWS:37395 ../NEWS:38219 ../NEWS:38581 ../NEWS:39025 ../NEWS:39535 -#: ../NEWS:39876 ../NEWS:40243 ../NEWS:40659 ../NEWS:42578 ../NEWS:43339 -#: ../NEWS:43877 ../NEWS:44183 ../NEWS:44444 ../NEWS:47424 ../NEWS:47536 -#: ../NEWS:47749 ../NEWS:47940 ../NEWS:48150 ../NEWS:48394 ../NEWS:48713 -#: ../NEWS:49017 ../NEWS:49617 ../NEWS:49906 ../NEWS:51998 ../NEWS:52335 -#: ../NEWS:52652 ../NEWS:53101 ../NEWS:53590 ../NEWS:53932 ../NEWS:53956 -#: ../NEWS:54280 ../NEWS:54310 ../NEWS:54374 ../NEWS:54488 ../NEWS:54612 -#: ../NEWS:54880 ../NEWS:55389 ../NEWS:55636 ../NEWS:55850 ../NEWS:56142 -#: ../NEWS:57448 ../NEWS:57509 ../NEWS:57910 ../NEWS:58583 ../NEWS:58626 -#: ../NEWS:59334 ../NEWS:59352 ../NEWS:59875 ../NEWS:59910 ../NEWS:59938 -#: ../NEWS:60030 ../NEWS:60117 ../NEWS:60222 ../NEWS:60265 ../NEWS:60541 -#: ../NEWS:60776 ../NEWS:60962 ../NEWS:61101 +#: ../NEWS:69 ../NEWS:941 ../NEWS:1268 ../NEWS:2331 ../NEWS:2655 ../NEWS:2876 +#: ../NEWS:3243 ../NEWS:3859 ../NEWS:4187 ../NEWS:4534 ../NEWS:5358 +#: ../NEWS:6224 ../NEWS:6669 ../NEWS:7055 ../NEWS:7273 ../NEWS:7693 +#: ../NEWS:8303 ../NEWS:8333 ../NEWS:8348 ../NEWS:8361 ../NEWS:8404 +#: ../NEWS:8428 ../NEWS:10121 ../NEWS:10165 ../NEWS:10208 ../NEWS:10238 +#: ../NEWS:10261 ../NEWS:10386 ../NEWS:10399 ../NEWS:10413 ../NEWS:10534 +#: ../NEWS:10568 ../NEWS:10586 ../NEWS:10618 ../NEWS:10725 ../NEWS:10754 +#: ../NEWS:11435 ../NEWS:11476 ../NEWS:11538 ../NEWS:12021 ../NEWS:12105 +#: ../NEWS:12487 ../NEWS:12595 ../NEWS:12655 ../NEWS:13065 ../NEWS:13101 +#: ../NEWS:13202 ../NEWS:13492 ../NEWS:13517 ../NEWS:13549 ../NEWS:13908 +#: ../NEWS:13954 ../NEWS:14535 ../NEWS:14555 ../NEWS:14572 ../NEWS:16152 +#: ../NEWS:16176 ../NEWS:16271 ../NEWS:16444 ../NEWS:16516 ../NEWS:16579 +#: ../NEWS:16597 ../NEWS:16764 ../NEWS:17165 ../NEWS:17193 ../NEWS:17807 +#: ../NEWS:17918 ../NEWS:18322 ../NEWS:18364 ../NEWS:18377 ../NEWS:18769 +#: ../NEWS:19326 ../NEWS:20200 ../NEWS:20861 ../NEWS:23339 ../NEWS:23469 +#: ../NEWS:24236 ../NEWS:24277 ../NEWS:24313 ../NEWS:24554 ../NEWS:24863 +#: ../NEWS:25112 ../NEWS:25161 ../NEWS:25226 ../NEWS:25562 ../NEWS:25600 +#: ../NEWS:25910 ../NEWS:26043 ../NEWS:26370 ../NEWS:26406 ../NEWS:26482 +#: ../NEWS:26527 ../NEWS:26720 ../NEWS:26738 ../NEWS:26755 ../NEWS:26880 +#: ../NEWS:27003 ../NEWS:27018 ../NEWS:28612 ../NEWS:28757 ../NEWS:28802 +#: ../NEWS:29372 ../NEWS:29448 ../NEWS:29473 ../NEWS:29985 ../NEWS:30068 +#: ../NEWS:30120 ../NEWS:30145 ../NEWS:30444 ../NEWS:30535 ../NEWS:30562 +#: ../NEWS:30841 ../NEWS:30891 ../NEWS:30915 ../NEWS:30980 ../NEWS:31293 +#: ../NEWS:31351 ../NEWS:31781 ../NEWS:32334 ../NEWS:32368 ../NEWS:32380 +#: ../NEWS:32439 ../NEWS:32459 ../NEWS:32491 ../NEWS:32621 ../NEWS:32672 +#: ../NEWS:32692 ../NEWS:32791 ../NEWS:34320 ../NEWS:34357 ../NEWS:34448 +#: ../NEWS:35002 ../NEWS:35023 ../NEWS:35418 ../NEWS:35463 ../NEWS:35488 +#: ../NEWS:35663 ../NEWS:35716 ../NEWS:35926 ../NEWS:35968 ../NEWS:36001 +#: ../NEWS:36306 ../NEWS:36358 ../NEWS:36403 ../NEWS:36414 ../NEWS:36900 +#: ../NEWS:36979 ../NEWS:37266 ../NEWS:37288 ../NEWS:37316 ../NEWS:37335 +#: ../NEWS:37348 ../NEWS:37364 ../NEWS:37378 ../NEWS:37390 ../NEWS:37408 +#: ../NEWS:37449 ../NEWS:37468 ../NEWS:37517 ../NEWS:37547 ../NEWS:37661 +#: ../NEWS:37681 ../NEWS:38505 ../NEWS:38867 ../NEWS:39311 ../NEWS:39821 +#: ../NEWS:40162 ../NEWS:40529 ../NEWS:40945 ../NEWS:42864 ../NEWS:43625 +#: ../NEWS:44163 ../NEWS:44469 ../NEWS:44730 ../NEWS:47710 ../NEWS:47822 +#: ../NEWS:48035 ../NEWS:48226 ../NEWS:48436 ../NEWS:48680 ../NEWS:48999 +#: ../NEWS:49303 ../NEWS:49903 ../NEWS:50192 ../NEWS:52284 ../NEWS:52621 +#: ../NEWS:52938 ../NEWS:53387 ../NEWS:53876 ../NEWS:54218 ../NEWS:54242 +#: ../NEWS:54566 ../NEWS:54596 ../NEWS:54660 ../NEWS:54774 ../NEWS:54898 +#: ../NEWS:55166 ../NEWS:55675 ../NEWS:55922 ../NEWS:56136 ../NEWS:56428 +#: ../NEWS:57734 ../NEWS:57795 ../NEWS:58196 ../NEWS:58869 ../NEWS:58912 +#: ../NEWS:59620 ../NEWS:59638 ../NEWS:60161 ../NEWS:60196 ../NEWS:60224 +#: ../NEWS:60316 ../NEWS:60403 ../NEWS:60508 ../NEWS:60551 ../NEWS:60827 +#: ../NEWS:61062 ../NEWS:61248 ../NEWS:61387 msgid "Core and Builtins" msgstr "" -#: ../NEWS:58 +#: ../NEWS:71 +msgid "" +":gh:`152276`: For the :term:`free-threaded build`, avoid an assertion " +"failure when an object becomes immortal while queued for biased reference " +"counting (BRC) merging." +msgstr "" + +#: ../NEWS:75 +msgid "" +":gh:`161751`: Fix race in mimalloc abandoned segment visit in free-threaded " +"GC. Patch by Donghee Na." +msgstr "" + +#: ../NEWS:78 msgid "" ":gh:`161849`: Fix a crash and a :exc:`SystemError` when compiling a class " "whose body binds ``__classdict__`` (for example ``__classdict__ = 1`` or " @@ -178,14 +213,14 @@ msgid "" "class or function, or a generic type alias." msgstr "" -#: ../NEWS:63 +#: ../NEWS:83 msgid "" ":gh:`161968`: Fix ``x *= seq`` raising :exc:`TypeError` when ``x`` is an " "instance of an :class:`int` subclass or of a class " "defining :meth:`~object.__index__`." msgstr "" -#: ../NEWS:67 +#: ../NEWS:87 msgid "" ":gh:`161827`: Keep ``_PyEval_EvalFrameDefault`` as a separate frame in the C " "call stack when Python is built with the tail-calling interpreter " @@ -193,7 +228,7 @@ msgid "" "other tools that walk the stack can find the interpreter loop." msgstr "" -#: ../NEWS:72 +#: ../NEWS:92 msgid "" ":gh:`160267`: Fix a crash when :mod:`profiling.sampling` profiles a process " "that creates and destroys threads or subinterpreters quickly. Memory of " @@ -201,21 +236,21 @@ msgid "" "of being freed until the runtime is finalized." msgstr "" -#: ../NEWS:77 +#: ../NEWS:97 msgid "" ":gh:`161693`: Fix a crash in :meth:`dict.setdefault` when called on an " "instance dictionary with a :class:`str` subclass key equal to an attribute " "name that is not set on that instance." msgstr "" -#: ../NEWS:81 +#: ../NEWS:101 msgid "" ":gh:`161420`: Restore ``mimalloc``'s previous behavior of processing delayed " "frees from other threads on every generic malloc call, reverting the change " "introduced in v2.2.2." msgstr "" -#: ../NEWS:85 +#: ../NEWS:105 msgid "" ":gh:`161366`: Fix a deadlock in the garbage collector of the :term:`free-" "threaded build` when :data:`gc.DEBUG_COLLECTABLE` is set and another thread " @@ -223,45 +258,54 @@ msgid "" "other threads are resumed." msgstr "" -#: ../NEWS:90 +#: ../NEWS:110 msgid "" ":gh:`161419`: Fix a crash in the :term:`free-threaded build` where a weak " "reference could revive an object whose finalizer had already run during " "deallocation, causing it to be deallocated twice." msgstr "" -#: ../NEWS:94 +#: ../NEWS:114 msgid "" ":gh:`161288`: Fix a crash in the perf trampoline (:option:`-X perf <-X>`) on " "builds with clang's ``-fsanitize=function``, which ``-fsanitize=undefined`` " "enables since clang 17." msgstr "" -#: ../NEWS:98 +#: ../NEWS:118 msgid "" ":gh:`159184`: Fix a leak of NaN constants in code objects created " "by :func:`marshal.loads` on the free-threaded build." msgstr "" -#: ../NEWS:101 +#: ../NEWS:121 msgid "" ":gh:`161229`: :func:`!__lazy_import__` now treats ``None`` for *globals* and " "*locals* the same as omitting them, matching its signature." msgstr "" -#: ../NEWS:104 +#: ../NEWS:124 msgid "" ":gh:`160773`: Fix a crash in :func:`str` of an :exc:`OSError` when " "formatting one of its attributes modifies the others." msgstr "" -#: ../NEWS:107 +#: ../NEWS:127 msgid "" ":gh:`160682`: Fix a bug in the :term:`free-threaded build` where garbage " "collection could prematurely collect the function object of a running method." msgstr "" -#: ../NEWS:111 +#: ../NEWS:131 +msgid "" +":gh:`160697`: Fix crashes and hangs in the :term:`free-threaded build` when " +"a destructor ran in the middle of a :class:`dict` resize, a :class:`list` " +"resize or a type cache update. The thread's queue of delayed frees is now " +"processed only from the eval breaker, instead of synchronously when the " +"queue fills up." +msgstr "" + +#: ../NEWS:137 msgid "" ":gh:`112564`: Fix a crash in the garbage collector " "when :data:`gc.DEBUG_COLLECTABLE` or :data:`gc.DEBUG_UNCOLLECTABLE` is set " @@ -270,7 +314,7 @@ msgid "" "prefixed lowercase format on all platforms, including Windows." msgstr "" -#: ../NEWS:117 +#: ../NEWS:143 msgid "" ":gh:`160303`: Fix :class:`bytearray` reading and writing memory outside of " "its buffer after ``del b[:n]`` or ``b[:n] = shorter`` failed " @@ -280,7 +324,13 @@ msgid "" "not at the front." msgstr "" -#: ../NEWS:124 +#: ../NEWS:150 +msgid "" +":gh:`159101`: Fix use-after-free when :meth:`~object.__del__` changes the " +"base class. Patch by Sergey Miryanov." +msgstr "" + +#: ../NEWS:153 msgid "" ":gh:`158195`: Fix a deadlock in the free-threaded build between a thread " "that stops the world while running Python code under the type lock (for " @@ -292,7 +342,7 @@ msgid "" "stale." msgstr "" -#: ../NEWS:133 +#: ../NEWS:162 msgid "" ":gh:`159652`: Fix a hang when an import fails with :exc:`RecursionError` " "because the C stack is nearly exhausted: releasing the import locks could " @@ -302,11 +352,11 @@ msgid "" "there is not enough stack left to release it." msgstr "" -#: ../NEWS:140 +#: ../NEWS:169 msgid ":gh:`159449`: Fix a free-threaded asyncio race leading to segfaults." msgstr "" -#: ../NEWS:142 +#: ../NEWS:171 msgid "" ":gh:`159434`: Fix reading a function's :attr:`~function.__annotations__` " "using borrowed references to :attr:`~function.__annotate__` and the internal " @@ -315,7 +365,7 @@ msgid "" "is now kept." msgstr "" -#: ../NEWS:148 +#: ../NEWS:177 msgid "" ":gh:`159136`: Setting ``__name__``, ``__qualname__``, ``__doc__`` or " "``__module__`` on a function no longer stops all threads in the free-" @@ -323,19 +373,19 @@ msgid "" "using :func:`functools.wraps` since 3.14.7." msgstr "" -#: ../NEWS:153 +#: ../NEWS:182 msgid "" ":gh:`159054`: Fixed a crash when an allocation failure occurred while " "compiling code containing cold blocks." msgstr "" -#: ../NEWS:156 +#: ../NEWS:185 msgid "" ":gh:`158529`: Fixed crash on Android x86_64, API levels 27-28, caused by " "mimalloc calling system calls directly." msgstr "" -#: ../NEWS:159 +#: ../NEWS:188 msgid "" ":gh:`156310`: Fix memory safety issues in the :func:`iter` fallback for " "objects that implement :meth:`~object.__getitem__` " @@ -347,13 +397,21 @@ msgid "" "interpreter state." msgstr "" -#: ../NEWS:168 +#: ../NEWS:197 msgid "" ":gh:`151126`: Fix a crash when allocation failure occurs during :ref:`interp-" "object-sharing`." msgstr "" -#: ../NEWS:171 +#: ../NEWS:200 +msgid "" +":gh:`155247`: Fix importing an extension module whose path contains " +"characters unencodable in UTF-8, e.g. undecodable bytes of a file name. " +"Previously it failed with :exc:`UnicodeEncodeError`, which made it " +"impossible to build or run Python in a directory with such name." +msgstr "" + +#: ../NEWS:205 msgid "" ":gh:`152125`: Fix a crash in the :term:`free-threaded build` " "where :c:func:`PyList_New` could leave a newly allocated list's item buffer " @@ -361,145 +419,329 @@ msgid "" "memory, leading to an invalid free." msgstr "" -#: ../NEWS:176 +#: ../NEWS:210 msgid "" ":gh:`152631`: Fix :func:`ast.parse` ability to parse lazy imports with " "*feature_version* older than 3.15, now it properly raises :exc:`SyntaxError`." msgstr "" -#: ../NEWS:180 +#: ../NEWS:214 msgid "" ":gh:`152254`: Fix a crash during the clean up of managed dict objects under " "a memory pressure in :c:func:`PyObject_ClearManagedDict`." msgstr "" -#: ../NEWS:183 +#: ../NEWS:217 msgid "" ":gh:`151060`: Fix a crash or memory corruption in :func:`sum` when summing " "a :class:`float` subclass instance into a complex running total." msgstr "" -#: ../NEWS:186 +#: ../NEWS:220 msgid "" ":gh:`148891`: Fix a crash in :func:`contextvars.Context.run` where a GC " "invocation could free the current HAMT during traverse." msgstr "" -#: ../NEWS:190 ../NEWS:747 ../NEWS:1156 ../NEWS:2144 ../NEWS:2433 ../NEWS:2643 -#: ../NEWS:3066 ../NEWS:3662 ../NEWS:3967 ../NEWS:4448 ../NEWS:5253 -#: ../NEWS:5710 ../NEWS:6183 ../NEWS:6575 ../NEWS:6904 ../NEWS:7075 -#: ../NEWS:7688 ../NEWS:8041 ../NEWS:8056 ../NEWS:8068 ../NEWS:8109 -#: ../NEWS:8134 ../NEWS:8545 ../NEWS:9873 ../NEWS:9916 ../NEWS:9946 -#: ../NEWS:9965 ../NEWS:10091 ../NEWS:10108 ../NEWS:10121 ../NEWS:10238 -#: ../NEWS:10276 ../NEWS:10294 ../NEWS:10326 ../NEWS:10433 ../NEWS:10462 -#: ../NEWS:10733 ../NEWS:11184 ../NEWS:11246 ../NEWS:11393 ../NEWS:11552 -#: ../NEWS:11813 ../NEWS:11931 ../NEWS:12304 ../NEWS:12362 ../NEWS:12516 -#: ../NEWS:12809 ../NEWS:12909 ../NEWS:12923 ../NEWS:13029 ../NEWS:13224 -#: ../NEWS:13256 ../NEWS:13395 ../NEWS:13657 ../NEWS:13854 ../NEWS:14262 -#: ../NEWS:14279 ../NEWS:14382 ../NEWS:14640 ../NEWS:15884 ../NEWS:15979 -#: ../NEWS:16152 ../NEWS:16223 ../NEWS:16286 ../NEWS:16304 ../NEWS:16472 -#: ../NEWS:16900 ../NEWS:17078 ../NEWS:17623 ../NEWS:17638 ../NEWS:18071 -#: ../NEWS:18084 ../NEWS:18107 ../NEWS:18593 ../NEWS:19199 ../NEWS:20086 -#: ../NEWS:21211 ../NEWS:23047 ../NEWS:23173 ../NEWS:23269 ../NEWS:23984 -#: ../NEWS:24033 ../NEWS:24348 ../NEWS:24638 ../NEWS:24869 ../NEWS:24935 -#: ../NEWS:24947 ../NEWS:25305 ../NEWS:25351 ../NEWS:25782 ../NEWS:26112 -#: ../NEWS:26191 ../NEWS:26234 ../NEWS:26428 ../NEWS:26445 ../NEWS:26458 -#: ../NEWS:26584 ../NEWS:26712 ../NEWS:26727 ../NEWS:26754 ../NEWS:28462 -#: ../NEWS:28534 ../NEWS:29155 ../NEWS:29181 ../NEWS:29217 ../NEWS:29777 -#: ../NEWS:29827 ../NEWS:29850 ../NEWS:29874 ../NEWS:30243 ../NEWS:30266 -#: ../NEWS:30283 ../NEWS:30599 ../NEWS:30624 ../NEWS:30688 ../NEWS:30720 -#: ../NEWS:31059 ../NEWS:31139 ../NEWS:31604 ../NEWS:32073 ../NEWS:32087 -#: ../NEWS:32146 ../NEWS:32165 ../NEWS:32199 ../NEWS:32328 ../NEWS:32378 -#: ../NEWS:32399 ../NEWS:32498 ../NEWS:32622 ../NEWS:34063 ../NEWS:34156 -#: ../NEWS:34176 ../NEWS:34731 ../NEWS:34814 ../NEWS:35164 ../NEWS:35193 -#: ../NEWS:35209 ../NEWS:35423 ../NEWS:35439 ../NEWS:35675 ../NEWS:35689 -#: ../NEWS:35725 ../NEWS:36066 ../NEWS:36112 ../NEWS:36123 ../NEWS:36140 -#: ../NEWS:36686 ../NEWS:36700 ../NEWS:36996 ../NEWS:37012 ../NEWS:37037 -#: ../NEWS:37055 ../NEWS:37072 ../NEWS:37087 ../NEWS:37098 ../NEWS:37116 -#: ../NEWS:37158 ../NEWS:37175 ../NEWS:37226 ../NEWS:37255 ../NEWS:37368 -#: ../NEWS:37387 ../NEWS:37404 ../NEWS:38277 ../NEWS:38665 ../NEWS:39152 -#: ../NEWS:39612 ../NEWS:39974 ../NEWS:40320 ../NEWS:40976 ../NEWS:42742 -#: ../NEWS:43409 ../NEWS:43952 ../NEWS:44247 ../NEWS:44998 ../NEWS:47406 -#: ../NEWS:47439 ../NEWS:47567 ../NEWS:47775 ../NEWS:47966 ../NEWS:48171 -#: ../NEWS:48469 ../NEWS:48790 ../NEWS:49115 ../NEWS:49705 ../NEWS:50365 -#: ../NEWS:52035 ../NEWS:52381 ../NEWS:52747 ../NEWS:53071 ../NEWS:53174 -#: ../NEWS:53637 ../NEWS:54024 ../NEWS:54327 ../NEWS:54409 ../NEWS:54512 -#: ../NEWS:54682 ../NEWS:55017 ../NEWS:55435 ../NEWS:55653 ../NEWS:55890 -#: ../NEWS:56427 ../NEWS:57454 ../NEWS:57472 ../NEWS:57560 ../NEWS:58041 -#: ../NEWS:58756 ../NEWS:59420 ../NEWS:59858 ../NEWS:59885 ../NEWS:59923 -#: ../NEWS:59943 ../NEWS:60050 ../NEWS:60144 ../NEWS:60240 ../NEWS:60315 -#: ../NEWS:60573 ../NEWS:60796 ../NEWS:60969 ../NEWS:61327 +#: ../NEWS:224 ../NEWS:1033 ../NEWS:1442 ../NEWS:2430 ../NEWS:2719 ../NEWS:2929 +#: ../NEWS:3352 ../NEWS:3948 ../NEWS:4253 ../NEWS:4734 ../NEWS:5539 +#: ../NEWS:5996 ../NEWS:6469 ../NEWS:6861 ../NEWS:7190 ../NEWS:7361 +#: ../NEWS:7974 ../NEWS:8327 ../NEWS:8342 ../NEWS:8354 ../NEWS:8395 +#: ../NEWS:8420 ../NEWS:8831 ../NEWS:10159 ../NEWS:10202 ../NEWS:10232 +#: ../NEWS:10251 ../NEWS:10377 ../NEWS:10394 ../NEWS:10407 ../NEWS:10524 +#: ../NEWS:10562 ../NEWS:10580 ../NEWS:10612 ../NEWS:10719 ../NEWS:10748 +#: ../NEWS:11019 ../NEWS:11470 ../NEWS:11532 ../NEWS:11679 ../NEWS:11838 +#: ../NEWS:12099 ../NEWS:12217 ../NEWS:12590 ../NEWS:12648 ../NEWS:12802 +#: ../NEWS:13095 ../NEWS:13195 ../NEWS:13209 ../NEWS:13315 ../NEWS:13510 +#: ../NEWS:13542 ../NEWS:13681 ../NEWS:13943 ../NEWS:14140 ../NEWS:14548 +#: ../NEWS:14565 ../NEWS:14668 ../NEWS:14926 ../NEWS:16170 ../NEWS:16265 +#: ../NEWS:16438 ../NEWS:16509 ../NEWS:16572 ../NEWS:16590 ../NEWS:16758 +#: ../NEWS:17186 ../NEWS:17364 ../NEWS:17909 ../NEWS:17924 ../NEWS:18357 +#: ../NEWS:18370 ../NEWS:18393 ../NEWS:18879 ../NEWS:19485 ../NEWS:20372 +#: ../NEWS:21497 ../NEWS:23333 ../NEWS:23459 ../NEWS:23555 ../NEWS:24270 +#: ../NEWS:24319 ../NEWS:24634 ../NEWS:24924 ../NEWS:25155 ../NEWS:25221 +#: ../NEWS:25233 ../NEWS:25591 ../NEWS:25637 ../NEWS:26068 ../NEWS:26398 +#: ../NEWS:26477 ../NEWS:26520 ../NEWS:26714 ../NEWS:26731 ../NEWS:26744 +#: ../NEWS:26870 ../NEWS:26998 ../NEWS:27013 ../NEWS:27040 ../NEWS:28748 +#: ../NEWS:28820 ../NEWS:29441 ../NEWS:29467 ../NEWS:29503 ../NEWS:30063 +#: ../NEWS:30113 ../NEWS:30136 ../NEWS:30160 ../NEWS:30529 ../NEWS:30552 +#: ../NEWS:30569 ../NEWS:30885 ../NEWS:30910 ../NEWS:30974 ../NEWS:31006 +#: ../NEWS:31345 ../NEWS:31425 ../NEWS:31890 ../NEWS:32359 ../NEWS:32373 +#: ../NEWS:32432 ../NEWS:32451 ../NEWS:32485 ../NEWS:32614 ../NEWS:32664 +#: ../NEWS:32685 ../NEWS:32784 ../NEWS:32908 ../NEWS:34349 ../NEWS:34442 +#: ../NEWS:34462 ../NEWS:35017 ../NEWS:35100 ../NEWS:35450 ../NEWS:35479 +#: ../NEWS:35495 ../NEWS:35709 ../NEWS:35725 ../NEWS:35961 ../NEWS:35975 +#: ../NEWS:36011 ../NEWS:36352 ../NEWS:36398 ../NEWS:36409 ../NEWS:36426 +#: ../NEWS:36972 ../NEWS:36986 ../NEWS:37282 ../NEWS:37298 ../NEWS:37323 +#: ../NEWS:37341 ../NEWS:37358 ../NEWS:37373 ../NEWS:37384 ../NEWS:37402 +#: ../NEWS:37444 ../NEWS:37461 ../NEWS:37512 ../NEWS:37541 ../NEWS:37654 +#: ../NEWS:37673 ../NEWS:37690 ../NEWS:38563 ../NEWS:38951 ../NEWS:39438 +#: ../NEWS:39898 ../NEWS:40260 ../NEWS:40606 ../NEWS:41262 ../NEWS:43028 +#: ../NEWS:43695 ../NEWS:44238 ../NEWS:44533 ../NEWS:45284 ../NEWS:47692 +#: ../NEWS:47725 ../NEWS:47853 ../NEWS:48061 ../NEWS:48252 ../NEWS:48457 +#: ../NEWS:48755 ../NEWS:49076 ../NEWS:49401 ../NEWS:49991 ../NEWS:50651 +#: ../NEWS:52321 ../NEWS:52667 ../NEWS:53033 ../NEWS:53357 ../NEWS:53460 +#: ../NEWS:53923 ../NEWS:54310 ../NEWS:54613 ../NEWS:54695 ../NEWS:54798 +#: ../NEWS:54968 ../NEWS:55303 ../NEWS:55721 ../NEWS:55939 ../NEWS:56176 +#: ../NEWS:56713 ../NEWS:57740 ../NEWS:57758 ../NEWS:57846 ../NEWS:58327 +#: ../NEWS:59042 ../NEWS:59706 ../NEWS:60144 ../NEWS:60171 ../NEWS:60209 +#: ../NEWS:60229 ../NEWS:60336 ../NEWS:60430 ../NEWS:60526 ../NEWS:60601 +#: ../NEWS:60859 ../NEWS:61082 ../NEWS:61255 ../NEWS:61613 msgid "Library" msgstr "" -#: ../NEWS:192 +#: ../NEWS:226 +msgid "" +":gh:`162650`: Fix :mod:`tkinter` calls from other threads failing " +"with :exc:`RuntimeError` after a nested :meth:`!mainloop` exited, for " +"example after :meth:`!SimpleDialog.go` returned." +msgstr "" + +#: ../NEWS:230 +msgid "" +":gh:`162647`: Fix :mod:`tkinter` when Tcl interpreters run :meth:`!mainloop` " +"in different threads. :meth:`!quit` no longer stops the main loop of other " +"interpreter, and stops the main loop even if it waits for events. An " +"exception raised in a callback is no longer raised by the main loop in other " +"thread." +msgstr "" + +#: ../NEWS:236 +msgid "" +":gh:`162622`: Preserve literal braces in f-string and t-string format " +"specifiers when using :func:`ast.unparse`." +msgstr "" + +#: ../NEWS:239 +msgid "" +":gh:`153020`: Fix a crash in :mod:`tkinter` at the interactive prompt if the " +"first Tcl interpreter was created in a thread which has since exited. The " +"event hook which runs Tcl events while waiting for input is also no longer " +"removed when an interpreter is deleted in other thread while other " +"interpreters still exist, and its state no longer has data races in " +"the :term:`free-threaded build`." +msgstr "" + +#: ../NEWS:246 +msgid "" +":gh:`140488`: The :mod:`tkinter` event loop running at the interactive " +"prompt no longer polls on Unix if Tcl is threaded. It now waits for events " +"or input, so the process does not wake up every few milliseconds while idle." +msgstr "" + +#: ../NEWS:250 +msgid "" +":gh:`84256`: Fix a crash in :mod:`tkinter` on Windows when a Tk event " +"handler, such as a ```` binding, is called while another event " +"loop is running, for example when the window is resized while a native " +"dialog is shown." +msgstr "" + +#: ../NEWS:255 +msgid "" +":gh:`159865`: Fix :mod:`profiling.sampling` dropping exception-mode samples " +"when a thread blocks inside an exception handler." +msgstr "" + +#: ../NEWS:258 +msgid "" +":gh:`162525`: Fix the C :mod:`json` encoder writing " +"the :meth:`~object.__str__` result of :class:`str` subclasses used as " +"*separators*, which produced invalid JSON. It now writes their characters, " +"like the pure Python encoder." +msgstr "" + +#: ../NEWS:263 +msgid "" +":gh:`162282`: Fix quadratic-time cost in :mod:`urllib.robotparser` when many " +"groups share a ``User-agent:``, and when a group with many user agents is " +"checked for a user agent that is not listed explicitly." +msgstr "" + +#: ../NEWS:267 +msgid "" +":gh:`162395`: Fix the asyncio call graph to show which task awaits the " +"future returned by :func:`asyncio.shield`. Patch by Timofei Ivankov." +msgstr "" + +#: ../NEWS:270 +msgid "" +":gh:`162061`: Fix the asyncio call graph to show which task " +"awaits :func:`asyncio.gather`. Patch by Timofei Ivankov." +msgstr "" + +#: ../NEWS:273 +msgid "" +":gh:`162246`: Fix a reference leak in :class:`io.BufferedRWPair` " +"when :meth:`~object.__init__` is called more than once: the previous reader " +"and writer are now released." +msgstr "" + +#: ../NEWS:277 +msgid "" +":gh:`162217`: Fix :exc:`asyncio.InvalidStateError` being logged when the " +"standard input of an :mod:`asyncio` subprocess is closed after a task " +"waiting in :meth:`proc.stdin.wait_closed() " +"` was cancelled." +msgstr "" + +#: ../NEWS:282 +msgid "" +":gh:`162246`: Fix :class:`io.BufferedRWPair` losing buffered writes on " +"deallocation when the reader and writer share a raw stream." +msgstr "" + +#: ../NEWS:285 +msgid "" +":gh:`162282`: Fix quadratic-time cost " +"in :meth:`urllib.robotparser.RobotFileParser.parse` when a single group " +"contains many identical ``User-agent:`` lines." +msgstr "" + +#: ../NEWS:289 +msgid "" +":gh:`149584`: Read stack chunks directly in :mod:`profiling.sampling`, " +"without the page cache. This removes a redundant retry on macOS that can " +"read a replacement chunk after the target process reuses the same address." +msgstr "" + +#: ../NEWS:293 +msgid "" +":gh:`162016`: Fix :meth:`subprocess.Popen.communicate` hanging or blocking " +"past its *timeout* while writing to the child's stdin on macOS and FreeBSD. " +"This works around a kernel bug most likely seen on loaded hosts with many " +"pipes in active use at once." +msgstr "" + +#: ../NEWS:298 +msgid "" +":gh:`162028`: Fix the position reported by the pure Python :mod:`json` " +"decoder for an invalid escape. It now points to the backslash, like the C " +"decoder." +msgstr "" + +#: ../NEWS:302 +msgid "" +":gh:`161996`: Fix a crash " +"in :meth:`concurrent.interpreters.Interpreter.exec` when the uncaught " +"exception's ``__str__`` raises." +msgstr "" + +#: ../NEWS:305 +msgid "" +":gh:`161945`: :meth:`zipfile.ZipFile.open` now " +"raises :exc:`~zipfile.BadZipFile` when a member's compression method differs " +"between the central directory and the local file header." +msgstr "" + +#: ../NEWS:309 msgid "" ":gh:`152845`: Fix :mod:`zipfile` dropping the UTF-8 (EFS) flag for existing " "entries when rewriting an archive in append mode, and honor an explicitly " "set flag on new entries. Patch by Kasra Ghodsi." msgstr "" -#: ../NEWS:196 +#: ../NEWS:313 +msgid "" +":gh:`161840`: Propagate exceptions raised while getting the length of the " +"assigned value in :mod:`ctypes` array slice assignment instead of replacing " +"them with a :exc:`ValueError`." +msgstr "" + +#: ../NEWS:317 +msgid "" +":gh:`156812`: Serializing a document type declaration, a comment or a " +"processing instruction in :mod:`xml.dom.minidom` now checks the structural " +"rules of XML. A system literal is now quoted with the quote which it does " +"not contain, and :exc:`ValueError` is raised for an invalid public " +"identifier, for a literal containing both quotes, for a public identifier " +"without a system identifier, for a comment ending with ``-``, and for a " +"processing instruction containing ``?>`` in the data or using the reserved " +"target ``xml``. The characters are still not checked." +msgstr "" + +#: ../NEWS:326 msgid "" ":gh:`135893`: Fix a regression where importing :mod:`ctypes` could leave an " "extra file descriptor open on some Linux systems, or hang in x86-64 macOS " "applications signed with the hardened runtime." msgstr "" -#: ../NEWS:200 +#: ../NEWS:330 msgid "" ":gh:`161712`: Fix :meth:`threading.Thread.join` with a timeout blocking " "forever when the deadline passed between the two reads of the clock used to " "compute the time left." msgstr "" -#: ../NEWS:204 +#: ../NEWS:334 +msgid "" +":gh:`161571`: Fix a crash in :func:`curses.tparm` for capabilities with " +"parameters that they format as strings, such as ``Ms`` of xterm. Non-zero " +"integers for these parameters now raise :exc:`TypeError`." +msgstr "" + +#: ../NEWS:338 +msgid "" +":gh:`161502`: Fix missing tasks in ``python -m asyncio pstree`` output when " +"tasks are connected through an intermediate :class:`asyncio.Future`. Patch " +"by Timofei Ivankov" +msgstr "" + +#: ../NEWS:342 +msgid "" +":gh:`160978`: Fix :mod:`ctypes` handing out distinct array types for the " +"same item type and length when the array type is created concurrently from " +"several threads." +msgstr "" + +#: ../NEWS:346 msgid "" ":gh:`161475`: Fix :mod:`ctypes` structures containing arrays of floating-" "point type returned by value on 64-bit Linux SPARC." msgstr "" -#: ../NEWS:207 +#: ../NEWS:349 msgid "" ":gh:`142782`: Fix a use-after-free in :class:`zoneinfo.ZoneInfo` when a " "key's ``__eq__`` clears the cache during a lookup. Strong cache keys are now " "compared by string contents." msgstr "" -#: ../NEWS:211 +#: ../NEWS:353 msgid "" ":gh:`161452`: Fix the :mod:`random` :ref:`command-line interface ` printing a random float for a zero or negative integer input instead " "of failing like ``--integer`` does." msgstr "" -#: ../NEWS:215 +#: ../NEWS:357 msgid "" ":gh:`161415`: Remove ``FILES`` and ``unicode`` from the related help topics " "listed by :func:`help` for the ``TYPES`` and ``UNICODE`` topics. Neither " "exists in Python 3, so asking for help on them failed." msgstr "" -#: ../NEWS:219 +#: ../NEWS:361 msgid "" ":gh:`161414`: Remove the backquote from the symbols listed by :func:`help`, " "asking for help on it reported that no documentation was found." msgstr "" -#: ../NEWS:222 +#: ../NEWS:364 msgid "" ":gh:`161389`: Fixes a crash in :class:`decimal.Context` when passing invalid " "signaling dicts as *flags* and *traps*." msgstr "" -#: ../NEWS:225 +#: ../NEWS:367 msgid "" ":gh:`161387`: Fix a crash in :mod:`decimal` when the internal " "``decimal_context`` :class:`contextvars.ContextVar` holds a value that is " "not a context." msgstr "" -#: ../NEWS:229 +#: ../NEWS:371 msgid "" ":gh:`93821`: Fix :class:`asyncio.ProactorEventLoop` servers that stopped " "accepting new connections on Windows when a client reset its connection " @@ -508,7 +750,7 @@ msgid "" "connections." msgstr "" -#: ../NEWS:235 +#: ../NEWS:377 msgid "" ":gh:`161076`: Fix :mod:`asyncio` leaving a half-created transport registered " "with the event loop and the server when setting ``TCP_NODELAY`` on a socket " @@ -517,38 +759,44 @@ msgid "" "``setsockopt(TCP_NODELAY)`` are now ignored." msgstr "" -#: ../NEWS:241 +#: ../NEWS:383 msgid "" ":gh:`161233`: Fix unraisable :exc:`TypeError` when ``None`` was passed as a " "*timer* to :class:`cProfile.Profile `." msgstr "" -#: ../NEWS:244 +#: ../NEWS:386 msgid "" ":gh:`161212`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to " "version 26.3." msgstr "" -#: ../NEWS:247 +#: ../NEWS:389 msgid "" ":gh:`161179`: Fix the function names in the error messages " "of :func:`os.spawnve`, :func:`os.preadv` " "and :meth:`tkinter.Wm.wm_attributes`." msgstr "" -#: ../NEWS:251 +#: ../NEWS:393 msgid "" ":gh:`161166`: Fix :meth:`asyncio.Task.print_stack` displaying an incorrect " "exception line after a ``finally`` block. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:254 +#: ../NEWS:396 msgid "" ":gh:`161124`: Fix :func:`asyncio.print_call_graph` reporting event loop " "frames when *depth* exceeds the task stack. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:257 +#: ../NEWS:399 +msgid "" +":gh:`161083`: Fix stale task nodes left by :func:`asyncio.gather` when " +"argument validation fails. Patch by Timofei Ivankov" +msgstr "" + +#: ../NEWS:402 msgid "" ":gh:`161060`: Fix a crash in :mod:`xml.parsers.expat` when a handler raises " "an exception, or the :meth:`~xml.parsers.expat.xmlparser.DefaultHandler` " @@ -557,27 +805,33 @@ msgid "" "reported to the default handler from a document that is not encoded in UTF-8." msgstr "" -#: ../NEWS:264 +#: ../NEWS:409 msgid "" ":gh:`161039`: Fix the :mod:`pydoc` pager not detecting ``less`` 706 and " "newer." msgstr "" -#: ../NEWS:267 +#: ../NEWS:412 +msgid "" +":gh:`160976`: Fix the Gecko reporter (``--gecko``) " +"in :mod:`profiling.sampling` to record full source file paths." +msgstr "" + +#: ../NEWS:415 msgid "" ":gh:`137549`: :func:`asyncio.timeout` now inserts :exc:`TimeoutError` into " "the context chain of sub-exceptions of a :exc:`BaseExceptionGroup`, as it " "already did for :exc:`ExceptionGroup`." msgstr "" -#: ../NEWS:271 +#: ../NEWS:419 msgid "" ":gh:`160429`: Fix :class:`asyncio.ProactorEventLoop` socket transports " "leaving the socket open, and :meth:`asyncio.Server.wait_closed` hanging, " "when the peer resets the connection while the transport is being closed." msgstr "" -#: ../NEWS:275 +#: ../NEWS:423 msgid "" ":gh:`53089`: :class:`urllib.request.HTTPDigestAuthHandler` now sends " "``uri=\"/\"`` in the Digest ``Authorization`` header for URLs with an empty " @@ -586,7 +840,7 @@ msgid "" "reject. Patch by Senthil Kumaran." msgstr "" -#: ../NEWS:281 +#: ../NEWS:429 msgid "" ":gh:`109564`: Fix a race in :mod:`asyncio` where closing a server after it " "accepted a connection, but before the connection's transport was created, " @@ -594,7 +848,7 @@ msgid "" "are now closed quietly." msgstr "" -#: ../NEWS:286 +#: ../NEWS:434 msgid "" ":gh:`59515`: :class:`urllib.request.HTTPDigestAuthHandler` " "and :class:`urllib.request.ProxyDigestAuthHandler` now parse all ``WWW-" @@ -602,48 +856,48 @@ msgid "" "challenges per header: the first Digest challenge is used." msgstr "" -#: ../NEWS:291 +#: ../NEWS:439 msgid "" ":gh:`53852`: :class:`urllib.request.ProxyDigestAuthHandler` now " "raises :exc:`~urllib.error.HTTPError` with status code 407 (Proxy " "Authentication Required) instead of 401 when proxy authentication fails." msgstr "" -#: ../NEWS:295 +#: ../NEWS:443 msgid "" ":gh:`160811`: Fix :meth:`io.TextIOWrapper.tell` reading past the end of the " "buffer after :meth:`~io.TextIOWrapper.seek`." msgstr "" -#: ../NEWS:298 +#: ../NEWS:446 msgid "" ":gh:`160806`: Fix the pure-Python implementation " "of :class:`datetime.timedelta` losing sub-second precision with large float " "arguments. It now gives the same results as the C implementation." msgstr "" -#: ../NEWS:302 +#: ../NEWS:450 msgid "" ":gh:`160781`: Fix :class:`io.BytesIO` implementation " "of :meth:`io.IOBase.truncate` rejecting sizes larger than ``2**31 - 1`` on " "Windows." msgstr "" -#: ../NEWS:306 +#: ../NEWS:454 msgid "" ":gh:`160781`: Fix :class:`io.StringIO` implementation " "of :meth:`io.IOBase.truncate` rejecting sizes larger than ``2**31 - 1`` on " "Windows." msgstr "" -#: ../NEWS:310 +#: ../NEWS:458 msgid "" ":gh:`160781`: Fix :class:`io.BytesIO` raising :exc:`SystemError` instead " "of :exc:`OverflowError` when writing at a position close " "to :data:`sys.maxsize`." msgstr "" -#: ../NEWS:314 +#: ../NEWS:462 msgid "" ":gh:`158500`: :meth:`datetime.date.fromisoformat` now rejects strings with " "trailing characters after a basic-format date, such as ``'2020010112'``. The " @@ -652,34 +906,48 @@ msgid "" "implementation." msgstr "" -#: ../NEWS:320 +#: ../NEWS:468 +msgid "" +":gh:`160735`: Fix Tachyon's Gecko export closing open markers too early when " +"replaying a binary profile whose thread samples arrive out of time order." +msgstr "" + +#: ../NEWS:471 msgid "" ":gh:`160708`: Fix out-of-bounds memory access in :func:`bool` " "on :mod:`ctypes` simple objects enlarged by :func:`ctypes.resize`, and when " "passing such objects to a foreign function." msgstr "" -#: ../NEWS:324 +#: ../NEWS:475 msgid "" ":gh:`160427`: Fix :attr:`~io.TextIOBase.buffer` of a " "detached :class:`io.TextIOWrapper` raising :exc:`ValueError` instead of " "returning ``None``." msgstr "" -#: ../NEWS:328 +#: ../NEWS:479 msgid "" ":gh:`160596`: Fix the error message for invalid data passed to :meth:`!" "asyncio.proactor_events.sendto`." msgstr "" -#: ../NEWS:331 +#: ../NEWS:482 +msgid "" +":gh:`160601`: Fix a :exc:`UnicodeEncodeError` in :mod:`profiling.sampling` " +"binary mode when a sampled filename or function name contains surrogate " +"characters. These characters are now written as backslash escapes in the " +"binary file." +msgstr "" + +#: ../NEWS:487 msgid "" ":gh:`160561`: Fix a descriptor leak in :func:`socket.fromfd` when the socket " "constructor rejects its arguments. The duplicated descriptor was never " "closed." msgstr "" -#: ../NEWS:335 +#: ../NEWS:491 msgid "" ":gh:`60299`: Fix :class:`urllib.request.ProxyDigestAuthHandler` failing to " "authenticate. It looked up credentials using the target request URL instead " @@ -687,7 +955,7 @@ msgid "" "against the proxy never matched. Patch by Senthil Kumaran." msgstr "" -#: ../NEWS:341 +#: ../NEWS:497 msgid "" ":gh:`160314`: Raise an error " "in :class:`lzma.LZMAFile`, :func:`lzma.decompress`, :class:`bz2.BZ2File` " @@ -696,7 +964,7 @@ msgid "" "it as trailing data." msgstr "" -#: ../NEWS:346 +#: ../NEWS:502 msgid "" ":gh:`159739`: Fix the ``hz`` codec sometimes encoding ``~`` as a single " "``~`` in text that mixes ASCII and Chinese characters, and the incremental " @@ -707,7 +975,7 @@ msgid "" "use." msgstr "" -#: ../NEWS:354 +#: ../NEWS:510 msgid "" ":gh:`159739`: Fix crashes in :class:`io.TextIOWrapper` " "and :class:`io.IncrementalNewlineDecoder` when a callback changes the active " @@ -715,7 +983,7 @@ msgid "" "if converting the size passed to ``truncate()`` closes the stream." msgstr "" -#: ../NEWS:359 +#: ../NEWS:515 msgid "" ":gh:`160310`: Fix quadratic time complexity " "of :func:`gzip.decompress`, :func:`bz2.decompress`, :func:`lzma.decompress` " @@ -723,7 +991,7 @@ msgid "" "concatenated members." msgstr "" -#: ../NEWS:364 +#: ../NEWS:520 msgid "" ":gh:`160522`: Fix the incremental encoders and stream writers of the " "stateful CJK codecs (``iso2022_*`` and ``hz``) keeping a changed shift state " @@ -731,7 +999,7 @@ msgid "" "omit the escape sequence, writing multibyte characters in ASCII mode." msgstr "" -#: ../NEWS:369 +#: ../NEWS:525 msgid "" ":gh:`160316`: " "Fix :meth:`re.Pattern.match`, :meth:`re.Pattern.prefixmatch`, :meth:`re.Pattern.fullmatch` " @@ -740,14 +1008,14 @@ msgid "" "is greater than *endpos*. They now return ``None``, as documented." msgstr "" -#: ../NEWS:375 +#: ../NEWS:531 msgid "" ":gh:`160324`: Fix a crash or garbage data when an :class:`io.StringIO` " "object is used again after one of its methods failed " "with :exc:`MemoryError`. The object now keeps its contents." msgstr "" -#: ../NEWS:379 +#: ../NEWS:535 msgid "" ":gh:`160513`: Fix :meth:`asyncio.loop.start_tls` " "and :meth:`asyncio.StreamWriter.start_tls` not calling the " @@ -757,7 +1025,7 @@ msgid "" "after such a failure." msgstr "" -#: ../NEWS:386 +#: ../NEWS:542 msgid "" ":gh:`160297`: Fix :meth:`tarfile.TarFile.extractall` " "and :meth:`tarfile.TarFile.extract` changing the mode, modification time and " @@ -766,21 +1034,21 @@ msgid "" "``'tar'`` filter." msgstr "" -#: ../NEWS:392 +#: ../NEWS:548 msgid "" ":gh:`161086`: Fix the :mod:`gzip` command-line interface " "ignoring :option:`gzip --fast` and :option:`gzip --best` when compressing " "files given as arguments." msgstr "" -#: ../NEWS:396 +#: ../NEWS:552 msgid "" ":gh:`161112`: Fix :func:`shutil.make_archive` adding the zip archive being " "created to itself when it is written inside the directory being archived or " "a symbolic link in that directory refers to it." msgstr "" -#: ../NEWS:400 +#: ../NEWS:556 msgid "" ":gh:`161104`: Fix :meth:`http.client.HTTPConnection.set_tunnel` accepting a " "tunnel host containing a non-ASCII character that IDNA encoding maps to a " @@ -788,7 +1056,7 @@ msgid "" "raises :exc:`ValueError`, as it already does for an ASCII space." msgstr "" -#: ../NEWS:405 +#: ../NEWS:561 msgid "" ":gh:`161094`: Fix :func:`zipfile.is_zipfile` raising :exc:`ValueError` " "instead of returning ``False`` for a file-like object, such " @@ -796,7 +1064,7 @@ msgid "" "central directory before the start of the file." msgstr "" -#: ../NEWS:410 +#: ../NEWS:566 msgid "" ":gh:`161096`: Fix :meth:`zoneinfo.ZoneInfo.from_file` accepting TZif data " "with a negative or oversized abbreviation block, which could use hundreds of " @@ -804,21 +1072,21 @@ msgid "" "indexes above 127 now also give the correct time zone abbreviation." msgstr "" -#: ../NEWS:416 +#: ../NEWS:572 msgid "" ":gh:`161106`: Fix :func:`plistlib.dump` and :func:`plistlib.dumps` " "with :data:`~plistlib.FMT_BINARY` holding on to memory proportional to the " "size of large arrays and dictionaries after the call returns." msgstr "" -#: ../NEWS:420 +#: ../NEWS:576 msgid "" ":gh:`161098`: Fix :class:`multiprocessing.shared_memory.ShareableList` " "leaving its newly created shared memory block behind when a value cannot be " "stored, such as an integer outside the signed 64-bit range." msgstr "" -#: ../NEWS:424 +#: ../NEWS:580 msgid "" ":gh:`161108`: Fix quadratic time complexity of :meth:`!clear` and :meth:`!" "popitem` on :class:`configparser.ConfigParser` objects and their section " @@ -826,14 +1094,14 @@ msgid "" "with :exc:`~configparser.InterpolationError` on a value it removes." msgstr "" -#: ../NEWS:429 +#: ../NEWS:585 msgid "" ":gh:`161100`: Fix :attr:`!ipaddress.IPv6Interface.is_unspecified` returning " "``False`` for the IPv4-mapped address ``::ffff:0.0.0.0``. It now gives the " "same result as :attr:`ipaddress.IPv6Address.is_unspecified`." msgstr "" -#: ../NEWS:433 +#: ../NEWS:589 msgid "" ":gh:`161102`: Fix the incremental decoder of the :mod:`idna " "` codec decoding some dots twice when its input starts with " @@ -842,7 +1110,7 @@ msgid "" "than the input holds." msgstr "" -#: ../NEWS:439 +#: ../NEWS:595 msgid "" ":gh:`160187`: Fix the ISO-2022 decoders (``iso2022_jp``, ``iso2022_kr`` and " "related) accepting escape sequences that designate a character set to the " @@ -851,7 +1119,7 @@ msgid "" "or :exc:`RuntimeError`." msgstr "" -#: ../NEWS:445 +#: ../NEWS:601 msgid "" ":gh:`160185`: Fix :meth:`codecs.StreamWriter.reset` of the stateful CJK " "codecs (``hz`` and the ``iso2022_*`` family) not writing the sequence that " @@ -861,7 +1129,7 @@ msgid "" "stream position." msgstr "" -#: ../NEWS:451 +#: ../NEWS:607 msgid "" ":gh:`160176`: Fix a crash in :mod:`tkinter` when a deeply nested or " "recursive list or tuple is passed to Tcl, or a deeply nested Tcl list is " @@ -869,7 +1137,7 @@ msgid "" "and :exc:`RecursionError` respectively." msgstr "" -#: ../NEWS:456 +#: ../NEWS:612 msgid "" ":gh:`159875`: Fix :exc:`AttributeError` from the methods of " "an :mod:`asyncio` SSL transport, such " @@ -881,7 +1149,20 @@ msgid "" "connection is lost." msgstr "" -#: ../NEWS:464 +#: ../NEWS:620 +msgid "" +":gh:`159973`: Fix soft keyword highlighting after blank lines, comment-only " +"lines, and dedents in the :ref:`interactive shell `. Patch " +"by Bartosz Sławecki." +msgstr "" + +#: ../NEWS:624 +msgid "" +":gh:`159645`: Fix :mod:`profiling.sampling` ``--async-aware`` profiles " +"showing event loop frames under tasks. Patch by Timofei Ivankov." +msgstr "" + +#: ../NEWS:627 msgid "" ":gh:`159643`: Fix :exc:`EOFError` raised by :mod:`tarfile` in stream mode " "with bz2, xz or zstd compression when reading past the end of the compressed " @@ -889,66 +1170,104 @@ msgid "" "blocks." msgstr "" -#: ../NEWS:469 +#: ../NEWS:632 msgid "" ":gh:`159387`: Fix :mod:`ssl` reporting TLS 1.0, 1.1, and 1.2 as unavailable " "when built with OpenSSL 4.0, despite support for these protocol versions." msgstr "" -#: ../NEWS:472 +#: ../NEWS:635 msgid "" ":gh:`159398`: Fix the sampling profiler crashing when a string read from the " "target process contains code points above ``U+10FFFF``." msgstr "" -#: ../NEWS:475 +#: ../NEWS:638 msgid "" ":gh:`159168`: Fix :exc:`RecursionError` in ``python -m asyncio pstree`` on a " "deep chain of awaiting tasks. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:478 +#: ../NEWS:641 +msgid "" +":gh:`150751`: :mod:`http.client` now ignores optional whitespace around the " +"``Content-Length`` header value when validating it, as required " +"by :rfc:`9112`. Previously a value with trailing whitespace (for example " +"``Content-Length: 5`` followed by a space) was treated as missing and the " +"response body was read until the connection was closed." +msgstr "" + +#: ../NEWS:647 +msgid "" +":gh:`159130`: Fix :mod:`!_remote_debugging` returning a different thread " +"when the selected thread does not match the profiling mode with " +"``only_active_thread=True``." +msgstr "" + +#: ../NEWS:651 +msgid "" +":gh:`149584`: Improve the performance of the Tachyon profiler by avoiding " +"unnecessary remote reads of the base frame sentinel. Patch by Maurycy " +"Pawłowski-Wieroński." +msgstr "" + +#: ../NEWS:655 msgid "" ":gh:`158998`: Fix :func:`os.statx` ignoring the *follow_symlinks* argument." msgstr "" -#: ../NEWS:480 +#: ../NEWS:657 +msgid "" +":gh:`158986`: Fix :mod:`profiling.sampling` reporting modules in a ``site-" +"packages`` directory located inside the standard library directory as " +"standard library modules. The heatmap now lists them under \"Site Packages\" " +"and flamegraph labels no longer start with ``site-packages.``." +msgstr "" + +#: ../NEWS:662 +msgid "" +":gh:`158955`: Fixed PyREPL rendering on WSL by avoiding the unnecessary INS " +"terminal sequence when appending a character at the end of a line. INS " +"remains used for true mid-line insertions, with regression coverage added." +msgstr "" + +#: ../NEWS:666 msgid "" ":gh:`155233`: Fix :meth:`asyncio.Barrier.wait` returning duplicate indices " "when a waiting task is cancelled before the barrier is released.```" msgstr "" -#: ../NEWS:483 +#: ../NEWS:669 msgid "" ":gh:`158166`: Fix the type of the ``msg`` attribute " "of :exc:`xml.etree.ElementTree.ParseError` in the pure Python " "implementation: it is now a string, as in the C implementation." msgstr "" -#: ../NEWS:487 +#: ../NEWS:673 msgid "" ":gh:`158159`: Fix a use-after-free in :meth:`asyncio.Task.get_name` when " "formatting the default task name triggers a garbage collection whose " "finalizers call :meth:`~asyncio.Task.get_name` on the same task." msgstr "" -#: ../NEWS:491 +#: ../NEWS:677 msgid "" ":gh:`158095`: Fix a memory leak in :func:`re.finditer` and regular " "expression scanners when their input participates in a reference cycle." msgstr "" -#: ../NEWS:494 +#: ../NEWS:680 msgid "" ":gh:`158032`: Fix a crash in :meth:`xml.etree.ElementTree.Element.iter` when " "a tag's equality comparison replaces that tag." msgstr "" -#: ../NEWS:497 +#: ../NEWS:683 msgid ":gh:`157928`: Correctly detect and handle OSC sequences in PyREPL." msgstr "" -#: ../NEWS:499 +#: ../NEWS:685 msgid "" ":gh:`157856`: Fix :func:`asyncio.as_completed` raising :exc:`RuntimeError` " "(\"no running event loop\") when the iterator is created outside of a " @@ -956,13 +1275,33 @@ msgid "" "`." msgstr "" -#: ../NEWS:504 +#: ../NEWS:690 +msgid "" +":gh:`157605`: Fix :mod:`profiling.sampling` failing when a native thread has " +"an empty Python stack." +msgstr "" + +#: ../NEWS:693 +msgid "" +":gh:`154923`: Fix a crash when creating Tcl interpreters concurrently in " +"different threads in the :term:`free-threaded build`." +msgstr "" + +#: ../NEWS:696 msgid "" ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on " "allocation failure when first using a Chinese, Japanese or Korean codec." msgstr "" -#: ../NEWS:507 +#: ../NEWS:699 +msgid "" +":gh:`155935`: Fix :meth:`!importlib.machinery.FileFinder.discover` looping " +"forever when the underlying directory scan keeps failing " +"with :exc:`OSError`. A failing scan now ends the listing instead of being " +"retried." +msgstr "" + +#: ../NEWS:704 msgid "" ":gh:`155003`: Fix :class:`multiprocessing.shared_memory.SharedMemory` " "leaking its file descriptor and printing an ignored :exc:`BufferError` when " @@ -972,202 +1311,333 @@ msgid "" "the :class:`!SharedMemory` object is garbage collected." msgstr "" -#: ../NEWS:514 +#: ../NEWS:711 +msgid "" +":gh:`155031`: Propagate to user any permission errors from subprocess attach " +"commands in Tachyon" +msgstr "" + +#: ../NEWS:714 +msgid "" +":gh:`127172`: Creating a virtual environment with :mod:`venv` now writes the " +"activation scripts using permissions derived from the process umask (and any " +"default ACL), consistent with the other files it creates, instead of a fixed " +"mode copied from the packaged templates. Patch by tonghuaroot." +msgstr "" + +#: ../NEWS:719 +msgid "" +":gh:`154874`: Fix :func:`curses.termattrs` returning a negative value on a " +"terminal that supports :const:`curses.A_ITALIC`, which left its result " +"unusable as an attribute mask." +msgstr "" + +#: ../NEWS:723 +msgid "" +":gh:`153840`: Escape special characters in ``profiling.sampling`` flamegraph " +"function names to prevent markup injection in the generated HTML report. " +"Patch by tonghuaroot." +msgstr "" + +#: ../NEWS:727 +msgid "" +":gh:`150751`: :mod:`http.client` now validates the ``Content-Length`` header " +"and the chunked ``chunk-size`` against the RFC 9112 grammar (``1*DIGIT`` and " +"``1*HEXDIG``) before parsing them, rejecting values such as ``+5``, ``5_0`` " +"or a ``0x``-prefixed or negative chunk size that :func:`int` would otherwise " +"accept. This avoids framing a response differently from a strict peer." +msgstr "" + +#: ../NEWS:734 msgid "" ":gh:`139105`: Correct the EOF key shown in the :mod:`sqlite3` CLI ``.help`` " "text on Windows." msgstr "" -#: ../NEWS:517 +#: ../NEWS:737 msgid "" ":issue:`44170`: Fix UnicodeDecodeError with multibyte utf8 characters in " "ShareableList." msgstr "" -#: ../NEWS:521 ../NEWS:1714 ../NEWS:2245 ../NEWS:2855 ../NEWS:3788 ../NEWS:4902 -#: ../NEWS:5561 ../NEWS:5924 ../NEWS:6764 ../NEWS:7398 ../NEWS:9824 -#: ../NEWS:11140 ../NEWS:11729 ../NEWS:12189 ../NEWS:12769 ../NEWS:13616 -#: ../NEWS:14236 ../NEWS:15812 ../NEWS:17407 ../NEWS:17872 ../NEWS:18350 -#: ../NEWS:18887 ../NEWS:19702 ../NEWS:22225 ../NEWS:23752 ../NEWS:24197 -#: ../NEWS:24468 ../NEWS:24747 ../NEWS:25158 ../NEWS:25483 ../NEWS:25915 -#: ../NEWS:27671 ../NEWS:28916 ../NEWS:29522 ../NEWS:30049 ../NEWS:30412 -#: ../NEWS:30876 ../NEWS:31272 ../NEWS:31771 ../NEWS:33434 ../NEWS:34513 -#: ../NEWS:34981 ../NEWS:35273 ../NEWS:35549 ../NEWS:35914 ../NEWS:36374 -#: ../NEWS:36846 ../NEWS:37890 ../NEWS:38438 ../NEWS:38882 ../NEWS:39340 -#: ../NEWS:39744 ../NEWS:40167 ../NEWS:40482 ../NEWS:41827 ../NEWS:43133 -#: ../NEWS:43600 ../NEWS:44078 ../NEWS:44320 ../NEWS:46504 ../NEWS:47480 -#: ../NEWS:47690 ../NEWS:47840 ../NEWS:48058 ../NEWS:48303 ../NEWS:48628 -#: ../NEWS:48968 ../NEWS:49451 ../NEWS:49794 ../NEWS:51404 ../NEWS:52158 -#: ../NEWS:52514 ../NEWS:52911 ../NEWS:53310 ../NEWS:53879 ../NEWS:54199 -#: ../NEWS:54355 ../NEWS:54458 ../NEWS:55817 ../NEWS:56068 ../NEWS:57235 -#: ../NEWS:57795 ../NEWS:58462 ../NEWS:59188 ../NEWS:59749 ../NEWS:60002 -#: ../NEWS:60201 ../NEWS:60512 ../NEWS:62713 +#: ../NEWS:741 ../NEWS:2000 ../NEWS:2531 ../NEWS:3141 ../NEWS:4074 ../NEWS:5188 +#: ../NEWS:5847 ../NEWS:6210 ../NEWS:7050 ../NEWS:7684 ../NEWS:10110 +#: ../NEWS:11426 ../NEWS:12015 ../NEWS:12475 ../NEWS:13055 ../NEWS:13902 +#: ../NEWS:14522 ../NEWS:16098 ../NEWS:17693 ../NEWS:18158 ../NEWS:18636 +#: ../NEWS:19173 ../NEWS:19988 ../NEWS:22511 ../NEWS:24038 ../NEWS:24483 +#: ../NEWS:24754 ../NEWS:25033 ../NEWS:25444 ../NEWS:25769 ../NEWS:26201 +#: ../NEWS:27957 ../NEWS:29202 ../NEWS:29808 ../NEWS:30335 ../NEWS:30698 +#: ../NEWS:31162 ../NEWS:31558 ../NEWS:32057 ../NEWS:33720 ../NEWS:34799 +#: ../NEWS:35267 ../NEWS:35559 ../NEWS:35835 ../NEWS:36200 ../NEWS:36660 +#: ../NEWS:37132 ../NEWS:38176 ../NEWS:38724 ../NEWS:39168 ../NEWS:39626 +#: ../NEWS:40030 ../NEWS:40453 ../NEWS:40768 ../NEWS:42113 ../NEWS:43419 +#: ../NEWS:43886 ../NEWS:44364 ../NEWS:44606 ../NEWS:46790 ../NEWS:47766 +#: ../NEWS:47976 ../NEWS:48126 ../NEWS:48344 ../NEWS:48589 ../NEWS:48914 +#: ../NEWS:49254 ../NEWS:49737 ../NEWS:50080 ../NEWS:51690 ../NEWS:52444 +#: ../NEWS:52800 ../NEWS:53197 ../NEWS:53596 ../NEWS:54165 ../NEWS:54485 +#: ../NEWS:54641 ../NEWS:54744 ../NEWS:56103 ../NEWS:56354 ../NEWS:57521 +#: ../NEWS:58081 ../NEWS:58748 ../NEWS:59474 ../NEWS:60035 ../NEWS:60288 +#: ../NEWS:60487 ../NEWS:60798 ../NEWS:62999 msgid "Documentation" msgstr "" -#: ../NEWS:523 +#: ../NEWS:743 msgid "" ":gh:`138277`: Rearranged documentation search results to emphasize built-in " "types and functions. Patch by Adam Hartz." msgstr "" -#: ../NEWS:527 ../NEWS:1723 ../NEWS:2252 ../NEWS:2861 ../NEWS:3436 ../NEWS:3803 -#: ../NEWS:4121 ../NEWS:4912 ../NEWS:5571 ../NEWS:5688 ../NEWS:6144 -#: ../NEWS:6563 ../NEWS:6898 ../NEWS:7043 ../NEWS:7663 ../NEWS:8422 -#: ../NEWS:10702 ../NEWS:11526 ../NEWS:11906 ../NEWS:12472 ../NEWS:13022 -#: ../NEWS:13370 ../NEWS:13838 ../NEWS:14523 ../NEWS:17883 ../NEWS:18358 -#: ../NEWS:18901 ../NEWS:19716 ../NEWS:20308 ../NEWS:22272 ../NEWS:23772 -#: ../NEWS:24203 ../NEWS:24477 ../NEWS:24754 ../NEWS:25172 ../NEWS:25504 -#: ../NEWS:25923 ../NEWS:27757 ../NEWS:28953 ../NEWS:29548 ../NEWS:30055 -#: ../NEWS:30418 ../NEWS:30889 ../NEWS:31303 ../NEWS:31806 ../NEWS:33569 -#: ../NEWS:34536 ../NEWS:34996 ../NEWS:35282 ../NEWS:35558 ../NEWS:35923 -#: ../NEWS:36386 ../NEWS:36867 ../NEWS:37932 ../NEWS:38455 ../NEWS:38896 -#: ../NEWS:39359 ../NEWS:39769 ../NEWS:40496 ../NEWS:41931 ../NEWS:43182 -#: ../NEWS:43635 ../NEWS:44092 ../NEWS:44331 ../NEWS:46669 ../NEWS:47705 -#: ../NEWS:47859 ../NEWS:48075 ../NEWS:48327 ../NEWS:48641 ../NEWS:48973 -#: ../NEWS:49457 ../NEWS:51452 ../NEWS:52196 ../NEWS:52309 ../NEWS:52534 -#: ../NEWS:52924 ../NEWS:53322 ../NEWS:53901 ../NEWS:54212 ../NEWS:54463 -#: ../NEWS:54598 ../NEWS:54869 ../NEWS:55299 ../NEWS:55572 ../NEWS:55826 -#: ../NEWS:56080 ../NEWS:57253 ../NEWS:57813 ../NEWS:58467 ../NEWS:58588 -#: ../NEWS:59211 ../NEWS:59773 ../NEWS:60017 ../NEWS:60194 ../NEWS:60503 -#: ../NEWS:60732 ../NEWS:60942 ../NEWS:62753 +#: ../NEWS:747 ../NEWS:2009 ../NEWS:2538 ../NEWS:3147 ../NEWS:3722 ../NEWS:4089 +#: ../NEWS:4407 ../NEWS:5198 ../NEWS:5857 ../NEWS:5974 ../NEWS:6430 +#: ../NEWS:6849 ../NEWS:7184 ../NEWS:7329 ../NEWS:7949 ../NEWS:8708 +#: ../NEWS:10988 ../NEWS:11812 ../NEWS:12192 ../NEWS:12758 ../NEWS:13308 +#: ../NEWS:13656 ../NEWS:14124 ../NEWS:14809 ../NEWS:18169 ../NEWS:18644 +#: ../NEWS:19187 ../NEWS:20002 ../NEWS:20594 ../NEWS:22558 ../NEWS:24058 +#: ../NEWS:24489 ../NEWS:24763 ../NEWS:25040 ../NEWS:25458 ../NEWS:25790 +#: ../NEWS:26209 ../NEWS:28043 ../NEWS:29239 ../NEWS:29834 ../NEWS:30341 +#: ../NEWS:30704 ../NEWS:31175 ../NEWS:31589 ../NEWS:32092 ../NEWS:33855 +#: ../NEWS:34822 ../NEWS:35282 ../NEWS:35568 ../NEWS:35844 ../NEWS:36209 +#: ../NEWS:36672 ../NEWS:37153 ../NEWS:38218 ../NEWS:38741 ../NEWS:39182 +#: ../NEWS:39645 ../NEWS:40055 ../NEWS:40782 ../NEWS:42217 ../NEWS:43468 +#: ../NEWS:43921 ../NEWS:44378 ../NEWS:44617 ../NEWS:46955 ../NEWS:47991 +#: ../NEWS:48145 ../NEWS:48361 ../NEWS:48613 ../NEWS:48927 ../NEWS:49259 +#: ../NEWS:49743 ../NEWS:51738 ../NEWS:52482 ../NEWS:52595 ../NEWS:52820 +#: ../NEWS:53210 ../NEWS:53608 ../NEWS:54187 ../NEWS:54498 ../NEWS:54749 +#: ../NEWS:54884 ../NEWS:55155 ../NEWS:55585 ../NEWS:55858 ../NEWS:56112 +#: ../NEWS:56366 ../NEWS:57539 ../NEWS:58099 ../NEWS:58753 ../NEWS:58874 +#: ../NEWS:59497 ../NEWS:60059 ../NEWS:60303 ../NEWS:60480 ../NEWS:60789 +#: ../NEWS:61018 ../NEWS:61228 ../NEWS:63039 msgid "Tests" msgstr "" -#: ../NEWS:529 +#: ../NEWS:749 +msgid "" +":gh:`162144`: Skip ``@support.nomemtest`` tests when using a thread " +"sanitizer (TSan). ``set_nomemory()`` and ``call_with_nomemory()`` functions " +"of the :mod:`!_testcapi` extension are not thread safe. Patch by Victor " +"Stinner." +msgstr "" + +#: ../NEWS:753 +msgid "" +":gh:`162034`: Fix the Apple testbed's extension module processing for an " +"XCframework or package path with a space, or a build path with brackets or a " +"backslash." +msgstr "" + +#: ../NEWS:757 +msgid "" +":gh:`162034`: The Apple testbed projects now build when the path of the " +"project contains a space." +msgstr "" + +#: ../NEWS:760 msgid "" ":gh:`161739`: ``test_hashlibtest_pbkdf2_hmac_c`` from ``test_haslib`` no " "longer fails with ``ValueError: [Provider routines] invalid salt length`` " "with FIPS enabled." msgstr "" -#: ../NEWS:533 +#: ../NEWS:764 msgid "" ":gh:`160334`: Fix the sampling profiler integration test for special frames " "without file and line information." msgstr "" -#: ../NEWS:536 +#: ../NEWS:767 msgid "" ":gh:`161517`: Fix test_gdb when Python is built out-of-tree and Python is " "run from a virtual environment. Previously, test_gdb was just skipped. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:540 +#: ../NEWS:771 msgid "" ":gh:`161430`: No longer list tests expected to be skipped in the final " "report. Patch by Victor Stinner." msgstr "" -#: ../NEWS:543 +#: ../NEWS:774 msgid "" ":gh:`161263`: Skip tests which use MD5 algorithm for WWW-Authenticate " "challenges when libssl is in FIPS mode." msgstr "" -#: ../NEWS:546 +#: ../NEWS:777 msgid "" ":gh:`158975`: Replace fixed sleeps used for synchronization in " "multiprocessing tests with bounded waits to avoid failures on slow or " "overloaded systems." msgstr "" -#: ../NEWS:550 +#: ../NEWS:781 msgid "" ":gh:`126253`: Fix ``test_os.test_attributes()`` on Windows NTFS: ignore " "unknown file attributes." msgstr "" -#: ../NEWS:554 ../NEWS:921 ../NEWS:1763 ../NEWS:2258 ../NEWS:2539 ../NEWS:2880 -#: ../NEWS:3448 ../NEWS:3814 ../NEWS:4133 ../NEWS:4920 ../NEWS:5582 -#: ../NEWS:6106 ../NEWS:6516 ../NEWS:7588 ../NEWS:8277 ../NEWS:10601 -#: ../NEWS:11457 ../NEWS:11844 ../NEWS:12426 ../NEWS:12994 ../NEWS:13314 -#: ../NEWS:13779 ../NEWS:14414 ../NEWS:16759 ../NEWS:17413 ../NEWS:17909 -#: ../NEWS:18390 ../NEWS:18911 ../NEWS:19756 ../NEWS:20342 ../NEWS:22520 -#: ../NEWS:23794 ../NEWS:24021 ../NEWS:24213 ../NEWS:24490 ../NEWS:24760 -#: ../NEWS:25184 ../NEWS:25525 ../NEWS:25751 ../NEWS:25943 ../NEWS:27879 -#: ../NEWS:28511 ../NEWS:28984 ../NEWS:29572 ../NEWS:30077 ../NEWS:30271 -#: ../NEWS:30462 ../NEWS:30916 ../NEWS:31325 ../NEWS:31855 ../NEWS:33691 -#: ../NEWS:34559 ../NEWS:35005 ../NEWS:35288 ../NEWS:35568 ../NEWS:35945 -#: ../NEWS:36421 ../NEWS:36883 ../NEWS:37983 ../NEWS:38464 ../NEWS:38922 -#: ../NEWS:39375 ../NEWS:39778 ../NEWS:40180 ../NEWS:40551 ../NEWS:42101 -#: ../NEWS:43218 ../NEWS:43689 ../NEWS:44105 ../NEWS:46836 ../NEWS:47492 -#: ../NEWS:47714 ../NEWS:47865 ../NEWS:48085 ../NEWS:48332 ../NEWS:48661 -#: ../NEWS:49484 ../NEWS:49804 ../NEWS:51515 ../NEWS:52204 ../NEWS:52314 -#: ../NEWS:52549 ../NEWS:52941 ../NEWS:53077 ../NEWS:53338 ../NEWS:53859 -#: ../NEWS:53943 ../NEWS:54234 ../NEWS:54299 ../NEWS:54471 ../NEWS:54589 -#: ../NEWS:54858 ../NEWS:55313 ../NEWS:55599 ../NEWS:55787 ../NEWS:56100 -#: ../NEWS:57296 ../NEWS:57851 ../NEWS:58513 ../NEWS:59234 ../NEWS:59786 -#: ../NEWS:59846 ../NEWS:59863 ../NEWS:60105 ../NEWS:60210 ../NEWS:60723 -#: ../NEWS:60937 ../NEWS:61072 ../NEWS:62604 +#: ../NEWS:784 +msgid "" +":gh:`108828`: Add support of labels in tests. The " +"``@test.support.mark('label')`` decorator adds a label to a test method or " +"class. ``test.support.mark_module('label')`` adds a label to the whole " +"module. Many :mod:`test.support` decorators " +"like :func:`~test.support.requires_resource`, :func:`~test.support.cpython_only` " +"or :func:`~test.support.bigmemtest` add labels automatically. A label can " +"have a value (``True`` by default). Tests which have or have not the " +"specified label can be filtered by options ``--label`` and ``--no-label``; " +"``--label name=value`` matches a specific value, while ``--label name`` " +"matches any value." +msgstr "" + +#: ../NEWS:796 ../NEWS:1207 ../NEWS:2049 ../NEWS:2544 ../NEWS:2825 ../NEWS:3166 +#: ../NEWS:3734 ../NEWS:4100 ../NEWS:4419 ../NEWS:5206 ../NEWS:5868 +#: ../NEWS:6392 ../NEWS:6802 ../NEWS:7874 ../NEWS:8563 ../NEWS:10887 +#: ../NEWS:11743 ../NEWS:12130 ../NEWS:12712 ../NEWS:13280 ../NEWS:13600 +#: ../NEWS:14065 ../NEWS:14700 ../NEWS:17045 ../NEWS:17699 ../NEWS:18195 +#: ../NEWS:18676 ../NEWS:19197 ../NEWS:20042 ../NEWS:20628 ../NEWS:22806 +#: ../NEWS:24080 ../NEWS:24307 ../NEWS:24499 ../NEWS:24776 ../NEWS:25046 +#: ../NEWS:25470 ../NEWS:25811 ../NEWS:26037 ../NEWS:26229 ../NEWS:28165 +#: ../NEWS:28797 ../NEWS:29270 ../NEWS:29858 ../NEWS:30363 ../NEWS:30557 +#: ../NEWS:30748 ../NEWS:31202 ../NEWS:31611 ../NEWS:32141 ../NEWS:33977 +#: ../NEWS:34845 ../NEWS:35291 ../NEWS:35574 ../NEWS:35854 ../NEWS:36231 +#: ../NEWS:36707 ../NEWS:37169 ../NEWS:38269 ../NEWS:38750 ../NEWS:39208 +#: ../NEWS:39661 ../NEWS:40064 ../NEWS:40466 ../NEWS:40837 ../NEWS:42387 +#: ../NEWS:43504 ../NEWS:43975 ../NEWS:44391 ../NEWS:47122 ../NEWS:47778 +#: ../NEWS:48000 ../NEWS:48151 ../NEWS:48371 ../NEWS:48618 ../NEWS:48947 +#: ../NEWS:49770 ../NEWS:50090 ../NEWS:51801 ../NEWS:52490 ../NEWS:52600 +#: ../NEWS:52835 ../NEWS:53227 ../NEWS:53363 ../NEWS:53624 ../NEWS:54145 +#: ../NEWS:54229 ../NEWS:54520 ../NEWS:54585 ../NEWS:54757 ../NEWS:54875 +#: ../NEWS:55144 ../NEWS:55599 ../NEWS:55885 ../NEWS:56073 ../NEWS:56386 +#: ../NEWS:57582 ../NEWS:58137 ../NEWS:58799 ../NEWS:59520 ../NEWS:60072 +#: ../NEWS:60132 ../NEWS:60149 ../NEWS:60391 ../NEWS:60496 ../NEWS:61009 +#: ../NEWS:61223 ../NEWS:61358 ../NEWS:62890 msgid "Build" msgstr "" -#: ../NEWS:556 +#: ../NEWS:798 +msgid "" +":gh:`162308`: Use the newly built interpreter to check extension modules in " +"native builds configured with :option:`--with-build-python`. This also " +"applies when generating missing standard library module information. Cross " +"builds continue to use the build interpreter without importing target " +"extension modules." +msgstr "" + +#: ../NEWS:804 +msgid "" +":gh:`153668`: Disable ``unicodectype.c`` optimization in regular Windows " +"ARM64 Release builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. " +"PGO builds are not affected." +msgstr "" + +#: ../NEWS:808 +msgid "" +":gh:`162170`: ``make install`` now depends on the ``all`` target, so running " +"it directly after ``./configure --enable-optimizations`` installs the PGO-" +"optimized interpreter rather than an unoptimized build." +msgstr "" + +#: ../NEWS:812 +msgid "" +":gh:`136267`: ``build-details.json`` now takes ``language.version_info``, " +"``implementation.version`` and ``implementation.hexversion`` " +"from :file:`Include/patchlevel.h` instead of the interpreter running the " +"generator, which can be a different patch release under :option:`--with-" +"build-python`." +msgstr "" + +#: ../NEWS:818 +msgid "" +":gh:`136267`: ``build-details.json`` now describes the interpreter being " +"built rather than the interpreter running :program:`generate-build-" +"details.py`: ``abi.flags``, ``suffixes.extensions``, " +"``abi.stable_abi_suffix`` and " +"``implementation.supports_isolated_interpreters`` are derived from the " +"target's configuration, which fixes cross builds and builds that " +"use :option:`--with-build-python`. ``abi.extension_suffix`` and " +"``abi.stable_abi_suffix`` are now also present when libpython is only built " +"as a static library." +msgstr "" + +#: ../NEWS:828 +msgid "" +":gh:`140266`: Fix ``\"platform\": \"\"`` in ``build-details.json`` for " +"native builds configured with :option:`--with-build-python`: :envvar:`!" +"_PYTHON_HOST_PLATFORM` is now only passed to the build interpreter when " +"cross compiling." +msgstr "" + +#: ../NEWS:833 msgid "" ":gh:`160924`: Fix cross-compilation failures with ``--enable-shared`` caused " "by the build Python loading the target's ``libpython`` through the shared-" "library search path (such as musl from glibc)." msgstr "" -#: ../NEWS:560 +#: ../NEWS:837 msgid "" ":gh:`75929`: Fix a ``configure`` probe that could omit functions such " "as :func:`os.fchdir` from builds using ``-Wall -Werror``." msgstr "" -#: ../NEWS:563 +#: ../NEWS:840 msgid "" ":gh:`160704`: Fix C11-C17 builds with old C library headers that do not " "define ``static_assert``, including glibc versions older than 2.16." msgstr "" -#: ../NEWS:566 +#: ../NEWS:843 msgid "" ":gh:`159452`: ``Tools/build/regen-configure.sh`` no longer leaves root-owned " "files in the source tree." msgstr "" -#: ../NEWS:569 +#: ../NEWS:846 msgid "" ":gh:`153285`: Fix incorrect executable linking on macOS with ``--with-lto`` " "caused by premature expansion of Make's ``$@`` target variable." msgstr "" -#: ../NEWS:573 ../NEWS:1791 ../NEWS:2270 ../NEWS:2549 ../NEWS:2890 ../NEWS:3474 -#: ../NEWS:3819 ../NEWS:4143 ../NEWS:4973 ../NEWS:5620 ../NEWS:5677 -#: ../NEWS:6138 ../NEWS:6548 ../NEWS:7645 ../NEWS:8320 ../NEWS:10684 -#: ../NEWS:11502 ../NEWS:11877 ../NEWS:13354 ../NEWS:13800 ../NEWS:14470 -#: ../NEWS:17435 ../NEWS:17919 ../NEWS:18416 ../NEWS:18926 ../NEWS:19785 -#: ../NEWS:20366 ../NEWS:22607 ../NEWS:23832 ../NEWS:24221 ../NEWS:24507 -#: ../NEWS:24793 ../NEWS:25202 ../NEWS:25547 ../NEWS:25979 ../NEWS:27993 -#: ../NEWS:28999 ../NEWS:29604 ../NEWS:30107 ../NEWS:30502 ../NEWS:30963 -#: ../NEWS:31453 ../NEWS:31910 ../NEWS:33737 ../NEWS:34568 ../NEWS:35027 -#: ../NEWS:35311 ../NEWS:35594 ../NEWS:36445 ../NEWS:36890 ../NEWS:38004 -#: ../NEWS:38474 ../NEWS:38934 ../NEWS:39392 ../NEWS:39783 ../NEWS:40561 -#: ../NEWS:42173 ../NEWS:43241 ../NEWS:43750 ../NEWS:44119 ../NEWS:44364 -#: ../NEWS:46954 ../NEWS:47499 ../NEWS:47882 ../NEWS:48090 ../NEWS:48337 -#: ../NEWS:48676 ../NEWS:48982 ../NEWS:49517 ../NEWS:51627 ../NEWS:52224 -#: ../NEWS:52555 ../NEWS:52966 ../NEWS:53344 ../NEWS:53915 ../NEWS:54164 -#: ../NEWS:54294 ../NEWS:54584 ../NEWS:54825 ../NEWS:55355 ../NEWS:55587 -#: ../NEWS:56090 ../NEWS:57359 ../NEWS:57864 ../NEWS:58498 ../NEWS:59293 -#: ../NEWS:59340 ../NEWS:59797 ../NEWS:61086 ../NEWS:62900 +#: ../NEWS:850 ../NEWS:2077 ../NEWS:2556 ../NEWS:2835 ../NEWS:3176 ../NEWS:3760 +#: ../NEWS:4105 ../NEWS:4429 ../NEWS:5259 ../NEWS:5906 ../NEWS:5963 +#: ../NEWS:6424 ../NEWS:6834 ../NEWS:7931 ../NEWS:8606 ../NEWS:10970 +#: ../NEWS:11788 ../NEWS:12163 ../NEWS:13640 ../NEWS:14086 ../NEWS:14756 +#: ../NEWS:17721 ../NEWS:18205 ../NEWS:18702 ../NEWS:19212 ../NEWS:20071 +#: ../NEWS:20652 ../NEWS:22893 ../NEWS:24118 ../NEWS:24507 ../NEWS:24793 +#: ../NEWS:25079 ../NEWS:25488 ../NEWS:25833 ../NEWS:26265 ../NEWS:28279 +#: ../NEWS:29285 ../NEWS:29890 ../NEWS:30393 ../NEWS:30788 ../NEWS:31249 +#: ../NEWS:31739 ../NEWS:32196 ../NEWS:34023 ../NEWS:34854 ../NEWS:35313 +#: ../NEWS:35597 ../NEWS:35880 ../NEWS:36731 ../NEWS:37176 ../NEWS:38290 +#: ../NEWS:38760 ../NEWS:39220 ../NEWS:39678 ../NEWS:40069 ../NEWS:40847 +#: ../NEWS:42459 ../NEWS:43527 ../NEWS:44036 ../NEWS:44405 ../NEWS:44650 +#: ../NEWS:47240 ../NEWS:47785 ../NEWS:48168 ../NEWS:48376 ../NEWS:48623 +#: ../NEWS:48962 ../NEWS:49268 ../NEWS:49803 ../NEWS:51913 ../NEWS:52510 +#: ../NEWS:52841 ../NEWS:53252 ../NEWS:53630 ../NEWS:54201 ../NEWS:54450 +#: ../NEWS:54580 ../NEWS:54870 ../NEWS:55111 ../NEWS:55641 ../NEWS:55873 +#: ../NEWS:56376 ../NEWS:57645 ../NEWS:58150 ../NEWS:58784 ../NEWS:59579 +#: ../NEWS:59626 ../NEWS:60083 ../NEWS:61372 ../NEWS:63186 msgid "Windows" msgstr "" -#: ../NEWS:575 +#: ../NEWS:852 msgid ":gh:`161735`: Updated bundled version of ``zlib-ng`` to v2.2.5." msgstr "" -#: ../NEWS:577 +#: ../NEWS:854 msgid "" ":gh:`159118`: Fix a crash (``RPC_NT_INTERNAL_ERROR``) and intermittent " "window class failures in :mod:`!_wmi` under high concurrency and load by " "initializing COM as multi-threaded (MTA) instead of apartment-threaded (STA)." msgstr "" -#: ../NEWS:582 +#: ../NEWS:859 +msgid "" +":gh:`158414`: Fix a hang when writing an incomplete UTF-8 sequence to the " +"Windows console." +msgstr "" + +#: ../NEWS:862 msgid "" ":gh:`157917`: Fix :attr:`sys.prefix`, :attr:`sys.exec_prefix` " "and :attr:`sys.executable` retaining the ``\\\\?\\`` extended-length path " @@ -1181,7 +1651,7 @@ msgid "" "without it." msgstr "" -#: ../NEWS:593 +#: ../NEWS:873 msgid "" ":gh:`140774`: Fix :func:`os.chmod` with " "``follow_symlinks=True``, :func:`os.fchmod` and :meth:`pathlib.Path.chmod` " @@ -1189,52 +1659,60 @@ msgid "" "attribute set is no longer silently ignored." msgstr "" -#: ../NEWS:599 ../NEWS:1824 ../NEWS:2293 ../NEWS:3490 ../NEWS:3834 ../NEWS:4994 -#: ../NEWS:6378 ../NEWS:9815 ../NEWS:11135 ../NEWS:12763 ../NEWS:15791 -#: ../NEWS:17474 ../NEWS:18442 ../NEWS:18961 ../NEWS:19875 ../NEWS:20399 -#: ../NEWS:22666 ../NEWS:23873 ../NEWS:28100 ../NEWS:30122 ../NEWS:30521 -#: ../NEWS:31931 ../NEWS:33791 ../NEWS:34625 ../NEWS:35033 ../NEWS:35321 -#: ../NEWS:35608 ../NEWS:36477 ../NEWS:36910 ../NEWS:38068 ../NEWS:38951 -#: ../NEWS:39420 ../NEWS:39802 ../NEWS:40193 ../NEWS:40575 ../NEWS:42313 -#: ../NEWS:43262 ../NEWS:43811 ../NEWS:44131 ../NEWS:44380 ../NEWS:47100 -#: ../NEWS:47504 ../NEWS:47734 ../NEWS:47892 ../NEWS:48108 ../NEWS:48361 -#: ../NEWS:49537 ../NEWS:49823 ../NEWS:51694 ../NEWS:52234 ../NEWS:52588 -#: ../NEWS:52980 ../NEWS:53358 ../NEWS:53830 ../NEWS:54156 ../NEWS:55270 -#: ../NEWS:55543 ../NEWS:55745 ../NEWS:56006 ../NEWS:57125 ../NEWS:58425 -#: ../NEWS:58593 ../NEWS:59135 ../NEWS:59652 ../NEWS:59985 ../NEWS:60497 -#: ../NEWS:62521 +#: ../NEWS:879 ../NEWS:2110 ../NEWS:2579 ../NEWS:3776 ../NEWS:4120 ../NEWS:5280 +#: ../NEWS:6664 ../NEWS:10101 ../NEWS:11421 ../NEWS:13049 ../NEWS:16077 +#: ../NEWS:17760 ../NEWS:18728 ../NEWS:19247 ../NEWS:20161 ../NEWS:20685 +#: ../NEWS:22952 ../NEWS:24159 ../NEWS:28386 ../NEWS:30408 ../NEWS:30807 +#: ../NEWS:32217 ../NEWS:34077 ../NEWS:34911 ../NEWS:35319 ../NEWS:35607 +#: ../NEWS:35894 ../NEWS:36763 ../NEWS:37196 ../NEWS:38354 ../NEWS:39237 +#: ../NEWS:39706 ../NEWS:40088 ../NEWS:40479 ../NEWS:40861 ../NEWS:42599 +#: ../NEWS:43548 ../NEWS:44097 ../NEWS:44417 ../NEWS:44666 ../NEWS:47386 +#: ../NEWS:47790 ../NEWS:48020 ../NEWS:48178 ../NEWS:48394 ../NEWS:48647 +#: ../NEWS:49823 ../NEWS:50109 ../NEWS:51980 ../NEWS:52520 ../NEWS:52874 +#: ../NEWS:53266 ../NEWS:53644 ../NEWS:54116 ../NEWS:54442 ../NEWS:55556 +#: ../NEWS:55829 ../NEWS:56031 ../NEWS:56292 ../NEWS:57411 ../NEWS:58711 +#: ../NEWS:58879 ../NEWS:59421 ../NEWS:59938 ../NEWS:60271 ../NEWS:60783 +#: ../NEWS:62807 msgid "IDLE" msgstr "" -#: ../NEWS:601 +#: ../NEWS:881 msgid "" ":gh:`161477`: Fix ``repr()`` of ``idlelib.redirector.WidgetRedirector`` and " "``idlelib.redirector.OriginalCommand``, which displayed a spurious one-" "element tuple." msgstr "" -#: ../NEWS:606 ../NEWS:957 ../NEWS:1937 ../NEWS:2322 ../NEWS:2566 ../NEWS:2911 -#: ../NEWS:3533 ../NEWS:3839 ../NEWS:4174 ../NEWS:5006 ../NEWS:5644 -#: ../NEWS:6072 ../NEWS:6503 ../NEWS:6885 ../NEWS:7551 ../NEWS:8243 -#: ../NEWS:10474 ../NEWS:11398 ../NEWS:11836 ../NEWS:12375 ../NEWS:12929 -#: ../NEWS:13296 ../NEWS:13729 ../NEWS:14391 ../NEWS:16504 ../NEWS:17479 -#: ../NEWS:17948 ../NEWS:18456 ../NEWS:18984 ../NEWS:19891 ../NEWS:20415 -#: ../NEWS:22732 ../NEWS:23890 ../NEWS:24235 ../NEWS:24538 ../NEWS:25242 -#: ../NEWS:25580 ../NEWS:26002 ../NEWS:28157 ../NEWS:29033 ../NEWS:29645 -#: ../NEWS:30131 ../NEWS:30529 ../NEWS:30975 ../NEWS:31483 ../NEWS:31936 -#: ../NEWS:33846 ../NEWS:34644 ../NEWS:35040 ../NEWS:35328 ../NEWS:35622 -#: ../NEWS:35987 ../NEWS:36499 ../NEWS:36923 ../NEWS:38101 ../NEWS:38512 -#: ../NEWS:38973 ../NEWS:39446 ../NEWS:39817 ../NEWS:40204 ../NEWS:40591 -#: ../NEWS:42441 ../NEWS:43285 ../NEWS:43823 ../NEWS:44167 ../NEWS:47322 -#: ../NEWS:47412 ../NEWS:48128 ../NEWS:48698 ../NEWS:48995 ../NEWS:49588 -#: ../NEWS:49850 ../NEWS:51922 ../NEWS:52297 ../NEWS:52630 ../NEWS:53050 -#: ../NEWS:53853 ../NEWS:54182 ../NEWS:54350 ../NEWS:54851 ../NEWS:55290 -#: ../NEWS:55780 ../NEWS:56109 ../NEWS:57398 ../NEWS:57873 ../NEWS:58453 -#: ../NEWS:60765 ../NEWS:61080 ../NEWS:62684 +#: ../NEWS:886 ../NEWS:1243 ../NEWS:2223 ../NEWS:2608 ../NEWS:2852 ../NEWS:3197 +#: ../NEWS:3819 ../NEWS:4125 ../NEWS:4460 ../NEWS:5292 ../NEWS:5930 +#: ../NEWS:6358 ../NEWS:6789 ../NEWS:7171 ../NEWS:7837 ../NEWS:8529 +#: ../NEWS:10760 ../NEWS:11684 ../NEWS:12122 ../NEWS:12661 ../NEWS:13215 +#: ../NEWS:13582 ../NEWS:14015 ../NEWS:14677 ../NEWS:16790 ../NEWS:17765 +#: ../NEWS:18234 ../NEWS:18742 ../NEWS:19270 ../NEWS:20177 ../NEWS:20701 +#: ../NEWS:23018 ../NEWS:24176 ../NEWS:24521 ../NEWS:24824 ../NEWS:25528 +#: ../NEWS:25866 ../NEWS:26288 ../NEWS:28443 ../NEWS:29319 ../NEWS:29931 +#: ../NEWS:30417 ../NEWS:30815 ../NEWS:31261 ../NEWS:31769 ../NEWS:32222 +#: ../NEWS:34132 ../NEWS:34930 ../NEWS:35326 ../NEWS:35614 ../NEWS:35908 +#: ../NEWS:36273 ../NEWS:36785 ../NEWS:37209 ../NEWS:38387 ../NEWS:38798 +#: ../NEWS:39259 ../NEWS:39732 ../NEWS:40103 ../NEWS:40490 ../NEWS:40877 +#: ../NEWS:42727 ../NEWS:43571 ../NEWS:44109 ../NEWS:44453 ../NEWS:47608 +#: ../NEWS:47698 ../NEWS:48414 ../NEWS:48984 ../NEWS:49281 ../NEWS:49874 +#: ../NEWS:50136 ../NEWS:52208 ../NEWS:52583 ../NEWS:52916 ../NEWS:53336 +#: ../NEWS:54139 ../NEWS:54468 ../NEWS:54636 ../NEWS:55137 ../NEWS:55576 +#: ../NEWS:56066 ../NEWS:56395 ../NEWS:57684 ../NEWS:58159 ../NEWS:58739 +#: ../NEWS:61051 ../NEWS:61366 ../NEWS:62970 msgid "C API" msgstr "" -#: ../NEWS:608 +#: ../NEWS:888 +msgid "" +":gh:`158401`: :c:func:`Py_INCREF`, :c:func:`Py_XINCREF`, :c:func:`Py_DECREF` " +"and :c:func:`Py_XDECREF` are now implemented as function calls on all " +"limited C API versions. Previously, they were only implemented as function " +"calls on the limited C API version 3.12 or newer. Patch by Victor Stinner:" +msgstr "" + +#: ../NEWS:894 msgid "" ":gh:`161407`: Fix a crash at exit when an audit hook was added " "with :c:func:`PySys_AddAuditHook` before :c:func:`Py_Initialize` and the raw " @@ -1242,50 +1720,50 @@ msgid "" "``PYTHONMALLOC=mimalloc`` or in the :ref:`Python Development Mode `." msgstr "" -#: ../NEWS:614 +#: ../NEWS:900 msgid "" ":gh:`160962`: Fix :c:func:`PyInitConfig_SetStr` when setting an optional " "string option to ``NULL``. Previously, the function crashed. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:618 +#: ../NEWS:904 msgid "" ":gh:`161185`: Fix a strict aliasing issue in the :c:func:`!memcpy` " "implementation of :c:macro:`Py_SETREF`, :c:macro:`Py_XSETREF` " "and :c:macro:`Py_CLEAR` macros. Patch by Nathan Goldbaum and Victor Stinner." msgstr "" -#: ../NEWS:622 +#: ../NEWS:908 msgid "" ":gh:`154643`: In ``pyport.h`` and ``pyatomic.h`` don't use " "``_Py_STDC_VERSION`` when it is not defined, fixing build errors for C or C+" "+ code built with ``-Werror=undef``." msgstr "" -#: ../NEWS:628 +#: ../NEWS:914 msgid "Python 3.15.2 final" msgstr "" -#: ../NEWS:630 +#: ../NEWS:916 msgid "*Release date: 2026-10-25*" msgstr "" -#: ../NEWS:635 +#: ../NEWS:921 msgid "" ":gh:`160300`: Fix :class:`http.cookiejar.DefaultCookiePolicy` accepting and " "returning cookies with a negative ``Version`` attribute without checking " "their domain against the request host. Such cookies are now ignored." msgstr "" -#: ../NEWS:639 +#: ../NEWS:925 msgid "" ":cve:`2026-114583`, :gh:`160097`: :func:`tarfile.tar_filter` now rejects " "link members whose path resolves to the destination directory itself, " "as :func:`tarfile.data_filter` already did." msgstr "" -#: ../NEWS:643 +#: ../NEWS:929 msgid "" ":cve:`2026-115557`, :gh:`160040`: :mod:`ssl` now rejects TLS certificate " "chains that contain any of a set of compromised eMudhra intermediate CA " @@ -1299,14 +1777,14 @@ msgid "" "that reuse one of the distrusted keys." msgstr "" -#: ../NEWS:657 +#: ../NEWS:943 msgid "" ":gh:`160491`: Fix the location reported for invalid escape sequences in f-" "strings and t-strings. The :exc:`SyntaxError` now points at the literal part " "that contains the escape, instead of at the closing quote." msgstr "" -#: ../NEWS:661 +#: ../NEWS:947 msgid "" ":gh:`160268`: Fix a crash in :mod:`tokenize` when a mismatched closing " "bracket follows the opening brace of an f-string or t-string replacement " @@ -1314,7 +1792,7 @@ msgid "" "parser." msgstr "" -#: ../NEWS:666 +#: ../NEWS:952 msgid "" ":gh:`106045`: Fix :mod:`venv` path discovery when the base executable " "resolves to a location outside the installation pointed to by the ``home`` " @@ -1323,7 +1801,7 @@ msgid "" "falling back to the compiled-in prefix." msgstr "" -#: ../NEWS:672 +#: ../NEWS:958 msgid "" ":gh:`160162`: Fix a crash on 32-bit platforms when left shifting " "an :class:`int` by a count close to ``sys.maxsize * " @@ -1331,7 +1809,7 @@ msgid "" "other too large counts." msgstr "" -#: ../NEWS:677 +#: ../NEWS:963 msgid "" ":gh:`160179`: Fix :meth:`!bytearray.__init__` leaving uninitialized memory " "in the object when it fails on a :class:`list` or :class:`tuple` containing " @@ -1339,31 +1817,31 @@ msgid "" "call." msgstr "" -#: ../NEWS:682 +#: ../NEWS:968 msgid "" ":gh:`159739`: Fix a possible crash when assigning metadata " "to :class:`classmethod` or :class:`staticmethod` objects." msgstr "" -#: ../NEWS:685 +#: ../NEWS:971 msgid "" ":gh:`159739`: Fix a race in ``list.__sizeof__()`` when a list is " "concurrently resized on a free-threaded build." msgstr "" -#: ../NEWS:688 +#: ../NEWS:974 msgid "" ":gh:`159739`: Fix a reference leak when the value of a type alias is " "evaluated recursively or concurrently." msgstr "" -#: ../NEWS:691 +#: ../NEWS:977 msgid "" ":gh:`159739`: Fix a crash in free-threaded builds " "when :func:`codecs.unregister` is called concurrently." msgstr "" -#: ../NEWS:694 +#: ../NEWS:980 msgid "" ":gh:`159963`: Fix a regression in Python 3.15.0 where threads importing " "submodules of packages for the first time could raise ``_DeadlockError`` or " @@ -1374,44 +1852,44 @@ msgid "" "``_DeadlockError``." msgstr "" -#: ../NEWS:702 +#: ../NEWS:988 msgid "" ":gh:`159739`: Fix reference leaks when free-threaded garbage collection " "aborts early because of an allocation error." msgstr "" -#: ../NEWS:705 +#: ../NEWS:991 msgid "" ":gh:`159739`: Prevent free-threaded builds from interning and immortalizing " "complex subclasses in code object constants." msgstr "" -#: ../NEWS:708 +#: ../NEWS:994 msgid "" ":gh:`159739`: Fix a reference leak in binary, ternary, and comparison " "operations on weak reference proxies when another operand is a dead proxy." msgstr "" -#: ../NEWS:711 +#: ../NEWS:997 msgid "" ":gh:`159739`: Fix a crash when constructing an error for invalid generic " "alias arguments." msgstr "" -#: ../NEWS:714 +#: ../NEWS:1000 msgid "" ":gh:`159739`: Allow the garbage collector to break reference cycles " "involving property accessors or names." msgstr "" -#: ../NEWS:717 +#: ../NEWS:1003 msgid "" ":gh:`159739`: Fix a crash in :func:`warnings.warn` when " "``skip_file_prefixes`` is an empty tuple subclass. Propagate allocation " "errors when creating the fallback filename." msgstr "" -#: ../NEWS:721 +#: ../NEWS:1007 msgid "" ":gh:`159431`: Fix an assertion failure, or an immortal object becoming " "mortal, on the :term:`free threaded ` build when an object " @@ -1419,41 +1897,41 @@ msgid "" "immortal before the delayed decref is processed by the garbage collector." msgstr "" -#: ../NEWS:726 +#: ../NEWS:1012 msgid "" ":gh:`159294`: Fix a crash in a debug build when creating " "an :exc:`ExceptionGroup` or :exc:`BaseExceptionGroup` fails " "with :exc:`MemoryError`. Patch by Christian Aurich Zanettini Martins." msgstr "" -#: ../NEWS:730 +#: ../NEWS:1016 msgid "" ":gh:`159244`: Fix a crash in :class:`dict` and :meth:`dict.update` in " "the :term:`free-threaded build` when another thread concurrently mutates a " "list used as a key/value pair. Patch by Christian Aurich Zanettini Martins." msgstr "" -#: ../NEWS:735 +#: ../NEWS:1021 msgid "" ":gh:`159111`: Update mimalloc version from 2.1.2 to 2.5.2. Patch by Donghee " "Na." msgstr "" -#: ../NEWS:738 +#: ../NEWS:1024 msgid "" ":gh:`154318`: Fix a crash when hashing a deeply nested :class:`tuple` " "or :class:`frozendict`. A :exc:`RecursionError` is now raised instead of " "overflowing the C stack." msgstr "" -#: ../NEWS:742 +#: ../NEWS:1028 msgid "" ":gh:`151818`: Fix a double-free crash in ``list.append()`` (the specialized " "``CALL_LIST_APPEND`` instruction) when growing the list fails " "with :exc:`MemoryError`." msgstr "" -#: ../NEWS:749 +#: ../NEWS:1035 msgid "" ":gh:`160549`: Fix a crash when a :class:`compression.zstd.ZstdCompressor` " "that uses worker threads and a :class:`~compression.zstd.ZstdDict` is " @@ -1462,7 +1940,7 @@ msgid "" "compressed." msgstr "" -#: ../NEWS:755 +#: ../NEWS:1041 msgid "" ":gh:`160535`: Fix a crash in :mod:`compression.zstd` when the garbage " "collector frees a :class:`~compression.zstd.ZstdCompressor` that uses worker " @@ -1470,7 +1948,7 @@ msgid "" "compression of already submitted data has finished." msgstr "" -#: ../NEWS:760 +#: ../NEWS:1046 msgid "" ":gh:`160520`: Fix :mod:`asyncio` SSL transports not applying " "*ssl_shutdown_timeout* when the peer has sent EOF but does not read the data " @@ -1478,7 +1956,7 @@ msgid "" "is now aborted with :exc:`TimeoutError` once the timeout expires." msgstr "" -#: ../NEWS:766 +#: ../NEWS:1052 msgid "" ":gh:`160326`: Raise :exc:`ValueError` for a NaN *timeout* " "in :meth:`threading.Condition.wait` and the blocking calls built on it, such " @@ -1487,14 +1965,14 @@ msgid "" "ever timing out." msgstr "" -#: ../NEWS:772 +#: ../NEWS:1058 msgid "" ":gh:`159739`: Fix crashes in :mod:`profiling.tracing` when a custom timer " "reinitializes the profiler or its result clears or disables the profiler " "during conversion or cleanup." msgstr "" -#: ../NEWS:776 +#: ../NEWS:1062 msgid "" ":gh:`159739`: Fix crashes in :mod:`xml.parsers.expat` when a character data " "callback disables buffering or clears another handler during a flush, or " @@ -1502,26 +1980,26 @@ msgid "" "changes :attr:`~xml.parsers.expat.xmlparser.ordered_attributes`." msgstr "" -#: ../NEWS:781 +#: ../NEWS:1067 msgid "" ":gh:`160299`: Fix :meth:`symtable.Symbol.is_referenced` for local and " "nonlocal symbols in function scopes when their only uses are in inlined " "comprehensions." msgstr "" -#: ../NEWS:785 +#: ../NEWS:1071 msgid "" ":gh:`159739`: Fix a crash when a :mod:`ctypes` structure subclass cannot be " "created due to an allocation failure." msgstr "" -#: ../NEWS:788 +#: ../NEWS:1074 msgid "" ":gh:`159739`: Fix clearing a :class:`pickle.Unpickler` memo so that the " "unpickler can be reused for independent records." msgstr "" -#: ../NEWS:791 +#: ../NEWS:1077 msgid "" ":gh:`160171`: On the server side, :meth:`ssl.SSLSocket.get_unverified_chain` " "now returns the client's certificate when the session was resumed from a " @@ -1529,50 +2007,50 @@ msgid "" "of raising :exc:`AttributeError` when the client sent no certificate." msgstr "" -#: ../NEWS:797 +#: ../NEWS:1083 msgid "" ":gh:`159739`: Fix a possible crash in :class:`abc.ABCMeta` instance checks " "when a subclass-checking callback changes the instance’s class." msgstr "" -#: ../NEWS:800 +#: ../NEWS:1086 msgid "" ":gh:`159739`: Fix the ``truncate`` method on :class:`io.BytesIO` when " "converting its size argument closes the stream or exports its buffer." msgstr "" -#: ../NEWS:803 +#: ../NEWS:1089 msgid "" ":gh:`159739`: Fix :class:`contextvars.ContextVar` returning a stale value " "after a reentrant finalizer changes it " "during :meth:`~contextvars.ContextVar.reset`." msgstr "" -#: ../NEWS:807 +#: ../NEWS:1093 msgid "" ":gh:`159739`: Detect recursive ``_as_parameter_`` chains for :mod:`ctypes` " "calls without argument types." msgstr "" -#: ../NEWS:810 +#: ../NEWS:1096 msgid "" ":gh:`159739`: Fix a possible crash when a list of :mod:`sqlite3` parameters " "is modified concurrently on a free-threaded build." msgstr "" -#: ../NEWS:813 +#: ../NEWS:1099 msgid "" ":gh:`159739`: Avoid a crash when a :class:`threading.local` subclass " "finalizer accesses attributes after construction fails." msgstr "" -#: ../NEWS:816 +#: ../NEWS:1102 msgid "" ":gh:`159739`: Avoid a crash when a :class:`queue.SimpleQueue` subclass " "finalizer adds an item after construction fails." msgstr "" -#: ../NEWS:819 +#: ../NEWS:1105 msgid "" ":gh:`100609`: ``str()`` of a :class:`zipfile.Path` whose underlying zipfile " "has no filename, such as one constructed from an :class:`io.BytesIO`, now " @@ -1581,90 +2059,90 @@ msgid "" "Synchronized with :pypi:`zipp` 3.23.1." msgstr "" -#: ../NEWS:825 +#: ../NEWS:1111 msgid "" ":gh:`159690`: Fix :class:`logging.handlers.TimedRotatingFileHandler` " "permanently stopping rollover after a rollover failed or its backup file " "already existed, for example at a DST change." msgstr "" -#: ../NEWS:829 +#: ../NEWS:1115 msgid "" ":gh:`159739`: Avoid undefined behavior when :func:`struct.pack_into` copies " "a bytearray into overlapping output." msgstr "" -#: ../NEWS:832 +#: ../NEWS:1118 msgid "" ":gh:`159739`: Fix allocation error handling in the fallback implementation " "of ``getaddrinfo()``." msgstr "" -#: ../NEWS:835 +#: ../NEWS:1121 msgid "" ":gh:`159739`: Fix a double free if remote unwinder initialization runs out " "of memory." msgstr "" -#: ../NEWS:838 +#: ../NEWS:1124 msgid "" ":gh:`159739`: Fix :meth:`io.IOBase.readline` returning more bytes than " "requested when a stream supports :meth:`!peek` and returns short reads." msgstr "" -#: ../NEWS:841 +#: ../NEWS:1127 msgid "" ":gh:`159739`: Fix multibyte encoders silently consuming a non-BMP character " "when looking up a two-character mapping." msgstr "" -#: ../NEWS:844 +#: ../NEWS:1130 msgid "" ":gh:`159739`: Fix off-by-one output buffer checks in the fallback " "implementation of ``getnameinfo()``." msgstr "" -#: ../NEWS:847 +#: ../NEWS:1133 msgid "" ":gh:`159739`: Fix reference cycles involving the types of grapheme iterators " "and segments created by :func:`unicodedata.iter_graphemes`." msgstr "" -#: ../NEWS:850 +#: ../NEWS:1136 msgid "" ":gh:`159706`: Fix the pure-Python :class:`zoneinfo.ZoneInfo` setting " "``fold=0`` in :meth:`~datetime.tzinfo.fromutc` for times in the fold created " "by the only transition of a zone with a single transition." msgstr "" -#: ../NEWS:854 +#: ../NEWS:1140 msgid "" ":gh:`159714`: Fix :class:`zoneinfo.ZoneInfo` interpreting the Julian day " "rule ``J59`` as February 29 in leap years instead of February 28." msgstr "" -#: ../NEWS:857 +#: ../NEWS:1143 msgid "" ":gh:`159304`: Fix :exc:`AttributeError` " "in :meth:`email.message.EmailMessage.get_body` when a nested ``multipart`` " "part is malformed and its payload is a string." msgstr "" -#: ../NEWS:861 +#: ../NEWS:1147 msgid "" ":gh:`158287`: Fix a bug in :mod:`asyncio` where stopping a child process " "(such as with ``SIGSTOP``) on macOS caused the event loop to block " "indefinitely." msgstr "" -#: ../NEWS:865 +#: ../NEWS:1151 msgid "" ":gh:`130698`: Fix PyREPL to convert :data:`sys.ps1` and :data:`sys.ps2` to " "strings before use, and fall back to the default prompts if the conversion " "raises." msgstr "" -#: ../NEWS:869 +#: ../NEWS:1155 msgid "" ":gh:`158126`: Speed up :func:`pickle.dumps` and creating " "a :class:`pickle.Pickler` by avoiding the creation of " @@ -1672,72 +2150,72 @@ msgid "" "and ``dispatch_table`` attributes." msgstr "" -#: ../NEWS:874 +#: ../NEWS:1160 msgid "" ":gh:`157880`: Fix :class:`mailbox.Babyl` to write the visible headers of " "a :class:`mailbox.BabylMessage` to the mailbox file." msgstr "" -#: ../NEWS:877 +#: ../NEWS:1163 msgid "" ":gh:`156784`: :class:`asyncio.ProactorEventLoop` no longer silently " "ignores :exc:`ConnectionResetError` on UDP sockets, " "matching :class:`asyncio.SelectorEventLoop`." msgstr "" -#: ../NEWS:881 +#: ../NEWS:1167 msgid "" ":gh:`156078`: :meth:`zipfile.ZipFile.mkdir` now raises :exc:`ValueError` " "when the archive is closed or when a writable member handle is open." msgstr "" -#: ../NEWS:884 +#: ../NEWS:1170 msgid "" ":gh:`155833`: Ensure that MD5 and SHA* objects are properly GC-untracked " "before freeing their internal HACL* state. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:887 +#: ../NEWS:1173 msgid "" ":gh:`155428`: Ensure that :func:`hmac.digest` and :meth:`hmac.HMAC.digest` " "output identical values when using a digest's block size smaller than 16. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:891 +#: ../NEWS:1177 msgid "" ":gh:`155152`: Improve performance of some :mod:`zipimport` archives that use " "Zstandard compression." msgstr "" -#: ../NEWS:894 +#: ../NEWS:1180 msgid "" ":gh:`153679`: :class:`zipimport.zipimporter` now " "raises :exc:`zipimport.ZipImportError` instead of :exc:`UnicodeDecodeError` " "for a UTF-8-flagged file name that is not valid UTF-8. Patch by tonghuaroot." msgstr "" -#: ../NEWS:898 +#: ../NEWS:1184 msgid "" ":gh:`153319`: The :mod:`turtledemo` viewer now reads each demo script as " "UTF-8 instead of the locale encoding." msgstr "" -#: ../NEWS:901 +#: ../NEWS:1187 msgid "" ":gh:`127636`: Fix :meth:`tarfile.TarFile.extract` to accept archive member " "names with a trailing forward slash, including those returned " "by :meth:`tarfile.TarFile.getnames`. Contributed by Xiao Yuan." msgstr "" -#: ../NEWS:905 +#: ../NEWS:1191 msgid "" ":gh:`149527`: :mod:`multiprocessing`: fix creation of temporary socket files " "following :gh:`137335` (`PR#148578 `__ and corresponding backports). Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:910 +#: ../NEWS:1196 msgid "" ":gh:`146169`: :mod:`xml.parsers.expat`: raise :exc:`RuntimeError` when an " "Expat handler calls :meth:`parser.Parse ` " @@ -1745,20 +2223,20 @@ msgid "" "parser that called the handler. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:916 +#: ../NEWS:1202 msgid "" ":gh:`140036`: Avoid hanging in floor division of pure " "Python :class:`decimal.Decimal` instances when the context precision is very " "large. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:923 +#: ../NEWS:1209 msgid "" ":gh:`128883`: Fix crashes with ``-X perf`` and ``-X perf_jit`` in BOLT " "builds. The ELF perf trampoline templates now use read-only data sections." msgstr "" -#: ../NEWS:926 +#: ../NEWS:1212 msgid "" ":gh:`160004`: Fix the paths in the :pep:`739` ``build-details.json`` file " "generated by :file:`Tools/build/generate-build-details.py` with both ``--" @@ -1767,21 +2245,21 @@ msgid "" "from." msgstr "" -#: ../NEWS:932 +#: ../NEWS:1218 msgid "" ":gh:`159998`: Fix ``libpython.dynamic`` in the :pep:`739` ``build-" "details.json`` file for macOS and iOS framework builds. It now points at the " "framework's library instead of a nonexistent path under :file:`lib/`." msgstr "" -#: ../NEWS:937 +#: ../NEWS:1223 msgid "" ":gh:`144942`: Fix the macOS shared library and framework builds not linking " "the libraries required by built-in modules, such as the HACL* objects needed " "by ``_blake2`` when it is built in via :file:`Modules/Setup.local`." msgstr "" -#: ../NEWS:941 +#: ../NEWS:1227 msgid "" ":gh:`159819`: Fix the shell version of :program:`python3-config` (used on " "all POSIX platforms except macOS) when the installation prefix contains " @@ -1791,155 +2269,155 @@ msgid "" "cannot determine its installation prefix." msgstr "" -#: ../NEWS:948 +#: ../NEWS:1234 msgid "" ":gh:`157354`: Fix the :samp:`--with-{name}-sanitizer=no` and :samp:`--" "without-{name}-sanitizer` :program:`configure` options enabling the " "sanitizer instead of disabling it." msgstr "" -#: ../NEWS:952 +#: ../NEWS:1238 msgid "" ":gh:`155813`: On macOS, :option:`LIBFFI_CFLAGS` and :option:`LIBFFI_LIBS` " "are no longer ignored when the SDK provides ``libffi``, so :mod:`ctypes` can " "again be built against a different ``libffi``. Patch by Advit Arora." msgstr "" -#: ../NEWS:959 +#: ../NEWS:1245 msgid "" ":gh:`159739`: Avoid a crash if a context watcher is cleared while other " "context watchers are being notified." msgstr "" -#: ../NEWS:964 +#: ../NEWS:1250 msgid "Python 3.15.1 final" msgstr "" -#: ../NEWS:966 +#: ../NEWS:1252 msgid "*Release date: 2026-10-21*" msgstr "" -#: ../NEWS:971 +#: ../NEWS:1257 msgid "" ":gh:`159894`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to " "version 26.2.2." msgstr "" -#: ../NEWS:974 +#: ../NEWS:1260 msgid "" ":gh:`159428`: :mod:`mimetypes` no longer reads the files listed " "in :data:`mimetypes.knownfiles` by default on Windows, and uses only the " "registry." msgstr "" -#: ../NEWS:978 +#: ../NEWS:1264 msgid "" ":gh:`157953`: Update bundled `libexpat `_ to " "version 2.9.0." msgstr "" -#: ../NEWS:984 +#: ../NEWS:1270 msgid "" ":gh:`159739`: Avoid a crash if allocation fails while creating " "a :class:`string.templatelib.Template` iterator." msgstr "" -#: ../NEWS:987 +#: ../NEWS:1273 msgid "" ":gh:`159739`: Propagate errors during generic class construction and avoid a " "crash after failed generic alias substitution." msgstr "" -#: ../NEWS:990 +#: ../NEWS:1276 msgid "" ":gh:`159739`: Raise :exc:`OverflowError` when the absolute value of a " "dynamic printf-style formatting width is too large." msgstr "" -#: ../NEWS:993 +#: ../NEWS:1279 msgid "" ":gh:`159739`: Fix a reference leak in :func:`gc.get_objects` " "and :func:`gc.get_referrers` when an internal allocation fails in the free-" "threaded build." msgstr "" -#: ../NEWS:997 +#: ../NEWS:1283 msgid "" ":gh:`159739`: Fix memory leaks during interpreter startup when a path " "configuration file is empty or too large, or when an audit hook rejects a " "command." msgstr "" -#: ../NEWS:1001 +#: ../NEWS:1287 msgid "" ":gh:`159739`: Avoid a crash when an interpreter configuration string cannot " "be encoded as UTF-8." msgstr "" -#: ../NEWS:1004 +#: ../NEWS:1290 msgid "" ":gh:`159739`: Preserve the original :exc:`SyntaxError` if allocating " "optional error metadata fails." msgstr "" -#: ../NEWS:1007 +#: ../NEWS:1293 msgid "" ":gh:`159739`: Avoid a crash if formatting an integer with the ``c`` " "presentation type runs out of memory." msgstr "" -#: ../NEWS:1010 +#: ../NEWS:1296 msgid "" ":gh:`159739`: Avoid a crash when a module filename cannot be encoded as " "UTF-8." msgstr "" -#: ../NEWS:1013 +#: ../NEWS:1299 msgid "" ":gh:`159603`: On FreeBSD, call ``pthread_attr_get_np()`` to get the stack " "size (and guard size) of the current thread. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1016 +#: ../NEWS:1302 msgid "" ":gh:`130279`: Fix bug where compiler did not set the right exception handler " "for some jump instructions." msgstr "" -#: ../NEWS:1019 +#: ../NEWS:1305 msgid "" ":gh:`159430`: Report the correct exception if looking " "up :meth:`~object.__bytes__` raises an exception while performing %-" "formatting of :class:`bytes`." msgstr "" -#: ../NEWS:1023 +#: ../NEWS:1309 msgid "" ":gh:`159320`: Add dynamic detection of stack sizes on Android, allowing " "safer deep recursion." msgstr "" -#: ../NEWS:1026 +#: ../NEWS:1312 msgid "" ":gh:`159288`: Fix a crash when walking a very long chain of lazy import " "placeholders, as created by an aliased dotted import such as ``lazy import " "a.b.c as d``. :exc:`RecursionError` is now raised instead." msgstr "" -#: ../NEWS:1030 +#: ../NEWS:1316 msgid "" ":gh:`159285`: Fix a crash in a debug build when copying an " "empty :class:`dict` fails with :exc:`MemoryError`. Patch by Christian Aurich " "Zanettini Martins." msgstr "" -#: ../NEWS:1034 +#: ../NEWS:1320 msgid "" ":gh:`159041`: Fix a use-after-free in :mod:`asyncio` task bookkeeping when a " "finalizer creates a task during thread shutdown." msgstr "" -#: ../NEWS:1037 +#: ../NEWS:1323 msgid "" ":gh:`158973`: Reset the warnings lock in the child after :func:`os.fork`, " "before clearing other threads' states, to avoid deadlocks when their " @@ -1947,46 +2425,46 @@ msgid "" "forking thread owns it." msgstr "" -#: ../NEWS:1042 +#: ../NEWS:1328 msgid "" ":gh:`158918`: Reduce C stack usage of ``_PyModule_IsPossiblyShadowing``, " "which could potentially cause stack overflows during module attribute access " "while deeply recursing in agressively optimized builds." msgstr "" -#: ../NEWS:1046 +#: ../NEWS:1332 msgid "" ":gh:`158803`: Fix a crash in :meth:`bytes.join` and :meth:`bytearray.join` " "in the :term:`free-threaded build` when another thread concurrently mutates " "the list being joined. Patch by Christian Aurich Zanettini Martins." msgstr "" -#: ../NEWS:1050 +#: ../NEWS:1336 msgid "" ":gh:`158824`: Fix module-level :meth:`~module.__getattr__` being called " "before a module's own lazy imports were resolved, which allowed it to shadow " "them." msgstr "" -#: ../NEWS:1054 +#: ../NEWS:1340 msgid "" ":gh:`158820`: Fix a crash when a :ref:`lazy import ` is " "declared or resolved by a finalizer running during interpreter shutdown." msgstr "" -#: ../NEWS:1057 +#: ../NEWS:1343 msgid "" ":gh:`158592`: Skip the array reallocation when shrinking a " "small :class:`list`. Patch by Donghee Na." msgstr "" -#: ../NEWS:1060 +#: ../NEWS:1346 msgid "" ":gh:`158583`: :meth:`bytes.fromhex` and :meth:`bytearray.fromhex`: Fix " "uninitialized memory read. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1063 +#: ../NEWS:1349 msgid "" ":gh:`158197`: Fix crashes and debug-build assertion failures in " "the :term:`free-threaded build` when iterating over a split dictionary while " @@ -1995,38 +2473,38 @@ msgid "" "corresponding order entry is initialized." msgstr "" -#: ../NEWS:1069 +#: ../NEWS:1355 msgid "" ":gh:`158592`: ``del list[index]`` now triggers shrinking the list's internal " "array." msgstr "" -#: ../NEWS:1072 +#: ../NEWS:1358 msgid "" ":gh:`158486`: Fix the PowerSort mask calculation in :meth:`list.sort` for " "very large lists." msgstr "" -#: ../NEWS:1075 +#: ../NEWS:1361 msgid "" ":gh:`158121`: Fix missing :mod:`sys.monitoring` ``INSTRUCTION`` events when " "a ``LINE`` callback returns :data:`sys.monitoring.DISABLE`." msgstr "" -#: ../NEWS:1078 +#: ../NEWS:1364 msgid "" ":gh:`158219`: Fix :class:`bytearray` constructor: do not use a bytes object " "if its hash value is already computed. Patch by Cody Maloney and Victor " "Stinner." msgstr "" -#: ../NEWS:1082 +#: ../NEWS:1368 msgid "" ":gh:`158072`: Fix a JIT crash when a class is instantiated with their " "default arguments" msgstr "" -#: ../NEWS:1085 +#: ../NEWS:1371 msgid "" ":gh:`157468`: Fix the JIT optimizer folding a builtin name to a constant " "taken from the interpreter's builtins dictionary even when the running " @@ -2037,47 +2515,47 @@ msgid "" "builtins mapping does not use it." msgstr "" -#: ../NEWS:1093 +#: ../NEWS:1379 msgid "" ":gh:`157242`: If :meth:`bytearray.resize` or :meth:`bytearray.take_bytes` " "fails, leave the :class:`bytearray` unchanged, instead of clearing it. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:1097 +#: ../NEWS:1383 msgid "" ":gh:`156091`: Fix a crash when compiling deeply nested inlined list, set, or " "dict comprehensions. A :exc:`SyntaxError` is now raised when the nesting " "exceeds the compiler's static block limit." msgstr "" -#: ../NEWS:1101 +#: ../NEWS:1387 msgid "" ":gh:`106045`: Fix standard library discovery in virtual environments created " "from a Python executable symlink located outside its base installation." msgstr "" -#: ../NEWS:1104 +#: ../NEWS:1390 msgid "" ":gh:`156459`: Fix cleanup on error in ``compiler_set_qualname``. Previously " "it was called in ``_PyCompile_EnterScope``, after the scope had been " "entered, and this was not reversed in case of an error." msgstr "" -#: ../NEWS:1108 +#: ../NEWS:1394 msgid "" ":gh:`156371`: Fix missing ``PyRefTracer_DESTROY`` events for trashcan " "deferred objects. Patch by Donghee Na." msgstr "" -#: ../NEWS:1111 +#: ../NEWS:1397 msgid "" ":gh:`156204`: Fix a crash in :c:func:`PyErr_GivenExceptionMatches` when " "evaluating deeply nested exception tuples. The recursion is now bounded, and " "exceeding the limit is reported as an unraisable exception." msgstr "" -#: ../NEWS:1115 +#: ../NEWS:1401 msgid "" ":gh:`155823`: Fix a JIT bug where the side exit taken when a virtual " "iterator is exhausted left a stale value on the stack, so the tier one " @@ -2085,98 +2563,98 @@ msgid "" "raised :exc:`AttributeError` instead of finishing normally." msgstr "" -#: ../NEWS:1120 +#: ../NEWS:1406 msgid "" ":gh:`155504`: Fix a crash when thread state creation fails before the thread " "state is fully initialized." msgstr "" -#: ../NEWS:1123 +#: ../NEWS:1409 msgid "" ":gh:`155315`: Fix :mod:`marshal` so that a ``frozendict`` referenced more " "than once in the serialized data round-trips correctly, instead of failing " "to load with :exc:`ValueError`. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1127 +#: ../NEWS:1413 msgid "" ":gh:`154937`: Fix a data race on thread handle identifiers when " "``_thread._shutdown()`` runs concurrently with the startup of non-daemon " "threads in the :term:`free-threaded build`." msgstr "" -#: ../NEWS:1131 +#: ../NEWS:1417 msgid "" ":gh:`152075`: Reduced lock contention during LOAD_GLOBAL bytecode " "specialization under free threading." msgstr "" -#: ../NEWS:1134 +#: ../NEWS:1420 msgid "" ":gh:`153578`: Fix an out-of-bounds write in :meth:`bytearray.extend` when " "the bytearray is resized while the argument's :meth:`~object.__buffer__` is " "being acquired, for example by another thread. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1138 +#: ../NEWS:1424 msgid "" ":gh:`151895`: Fixed a crash in :func:`marshal.loads` when an allocation " "failed while loading a reference-tracked dictionary; it now " "raises :exc:`MemoryError`." msgstr "" -#: ../NEWS:1142 +#: ../NEWS:1428 msgid "" ":gh:`151518`: Fix a free-threaded stop-the-world fairness issue that could " "starve a thread reattaching after being suspended while detached." msgstr "" -#: ../NEWS:1145 +#: ../NEWS:1431 msgid "" ":gh:`149816`: Fix a Use-After-Free race condition in " "``subtype_getweakref()`` during concurrent weakref creation and destruction " "in the free-threading build." msgstr "" -#: ../NEWS:1149 +#: ../NEWS:1435 msgid "" ":gh:`149816`: Fix race conditions in ``invoke_gc_callback`` iterating " "``gc.callbacks`` in free-threading mode." msgstr "" -#: ../NEWS:1152 +#: ../NEWS:1438 msgid "" ":gh:`69605`: Fix :term:`REPL` completions inserted incorrectly when there " "was spaces in import statements." msgstr "" -#: ../NEWS:1158 +#: ../NEWS:1444 msgid "" ":gh:`138641`: Ignore :func:`pdb.set_trace` when called directly at " "the :mod:`pdb` prompt." msgstr "" -#: ../NEWS:1161 +#: ../NEWS:1447 msgid "" ":gh:`159864`: Fix a crash in :func:`syslog.openlog` under the free-threaded " "build when :data:`sys.argv` is modified concurrently." msgstr "" -#: ../NEWS:1164 +#: ../NEWS:1450 msgid "" ":gh:`159811`: Fix a crash in :mod:`hashlib` when the OpenSSL routine used " "by :meth:`hash.update() ` or by hash object " "constructors fails on data larger than 2048 bytes. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1168 +#: ../NEWS:1454 msgid "" ":gh:`159811`: Fix a crash in :mod:`hmac` when the OpenSSL routine used " "by :meth:`hmac.HMAC.update` or by :func:`hmac.new` fails on data larger than " "2048 bytes. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1172 +#: ../NEWS:1458 msgid "" ":gh:`159786`: Fix the error handling of the HACL* routine used " "by :func:`hmac.new` and :meth:`hmac.HMAC.update`. If the maximum input " @@ -2186,86 +2664,86 @@ msgid "" "happen at implausible sizes. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1179 +#: ../NEWS:1465 msgid "" ":gh:`159739`: Fix copying :class:`collections.deque` subclasses with a large " "maximum length." msgstr "" -#: ../NEWS:1182 +#: ../NEWS:1468 msgid "" ":gh:`159739`: Allow cyclic garbage collection to reclaim group records " "returned by :mod:`grp`." msgstr "" -#: ../NEWS:1185 +#: ../NEWS:1471 msgid "" ":gh:`159739`: Fix :class:`io.BytesIO` reads into overlapping views of the " "same buffer." msgstr "" -#: ../NEWS:1188 +#: ../NEWS:1474 msgid "" ":gh:`159739`: Avoid a crash when memory allocation fails while creating " "a :class:`collections.OrderedDict` items iterator." msgstr "" -#: ../NEWS:1191 +#: ../NEWS:1477 msgid "" ":gh:`159739`: Avoid reading past the end of an encoding name when the " "``surrogatepass`` error handler receives a truncated UTF-16 or UTF-32 name." msgstr "" -#: ../NEWS:1195 +#: ../NEWS:1481 msgid "" ":gh:`159739`: Fix incorrect :mod:`ctypes` scalar values " "after :func:`ctypes.resize` enlarges the object." msgstr "" -#: ../NEWS:1198 +#: ../NEWS:1484 msgid "" ":gh:`159739`: Fix a memory leak when Unicode normalization cannot grow its " "temporary buffer." msgstr "" -#: ../NEWS:1201 +#: ../NEWS:1487 msgid "" ":gh:`159739`: Fix resource leaks in :mod:`ssl` when certificate conversion " "or key log setup fails." msgstr "" -#: ../NEWS:1204 +#: ../NEWS:1490 msgid "" ":gh:`149015`: Fix :meth:`bdb.Bdb.clear_all_file_breaks` leaving breakpoints " "behind when multiple breakpoints are set on the same line." msgstr "" -#: ../NEWS:1207 +#: ../NEWS:1493 msgid "" ":gh:`159620`: Fix ``python -m asyncio ps``, ``pstree`` and async-" "aware :mod:`profiling.sampling` stacks stopping at asynchronous generators. " "Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:1211 +#: ../NEWS:1497 msgid "" ":gh:`159458`: Fix a ThreadSanitizer data race on the static cache in " "``normalize_century()`` of the datetime module under the free-threaded build." msgstr "" -#: ../NEWS:1215 +#: ../NEWS:1501 msgid "" ":gh:`159430`: Report the correct exception if looking up ``__name__`` raises " "an exception when calling :func:`repr` on a :class:`weakref.ref`." msgstr "" -#: ../NEWS:1218 +#: ../NEWS:1504 msgid "" ":gh:`159225`: Prevent ``input`` calls in PyREPL from modifying readline " "history." msgstr "" -#: ../NEWS:1221 +#: ../NEWS:1507 msgid "" ":gh:`159044`: Restore the previous behaviour " "of :meth:`http.client.HTTPConnection.set_tunnel` where header values that " @@ -2274,14 +2752,14 @@ msgid "" "the request is sent." msgstr "" -#: ../NEWS:1227 +#: ../NEWS:1513 msgid "" ":gh:`159184`: Fix :func:`marshal.dumps` raising :exc:`MemoryError` for a set " "or frozenset containing several complex NaNs, which also made it impossible " "to write a :file:`.pyc` file for source code containing such a constant." msgstr "" -#: ../NEWS:1232 +#: ../NEWS:1518 msgid "" ":gh:`159185`: Fix a crash in :func:`marshal.dumps` and :func:`marshal.dump` " "when a set is modified while its elements are serialized, for example by " @@ -2289,61 +2767,61 @@ msgid "" "elements. :exc:`RuntimeError` is now raised." msgstr "" -#: ../NEWS:1237 +#: ../NEWS:1523 msgid "" ":gh:`159049`: Fix reference cycles in :meth:`asyncio.loop.create_connection` " "and :meth:`asyncio.loop.start_tls` after a failed TLS handshake. Patch by " "Timofei Ivankov." msgstr "" -#: ../NEWS:1241 +#: ../NEWS:1527 msgid "" ":gh:`87720`: Fixed error in :mod:`email` new policies where header folding " "failed to detect the need to re-quote text obtained from encoded words in " "certain cases." msgstr "" -#: ../NEWS:1245 +#: ../NEWS:1531 msgid "" ":gh:`158929`: Fix crash when calling :func:`syslog.syslog` while a " "subinterpreter in another thread calls :func:`syslog.openlog` " "or :func:`syslog.closelog`." msgstr "" -#: ../NEWS:1249 +#: ../NEWS:1535 msgid "" ":gh:`158936`: :func:`~dataclasses.dataclass` no longer fails when a string " "annotation names a :ref:`lazy import ` that cannot be " "resolved, matching the behavior for non-string annotations." msgstr "" -#: ../NEWS:1253 +#: ../NEWS:1539 msgid "" ":gh:`158893`: Make :func:`os.strerror` thread-safe: use the reentrant " "``strerror_r()`` function if available. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1256 +#: ../NEWS:1542 msgid "" ":gh:`158539`: Fix macOS runtime section lookup for remote debugging when " "virtual memory region sizes differ from Mach-O segment file sizes." msgstr "" -#: ../NEWS:1259 +#: ../NEWS:1545 msgid "" ":gh:`156545`: Fix deep flamegraph exports on platforms with small C stacks " "by falling back to the Python JSON encoder when the C encoder runs out of " "stack space." msgstr "" -#: ../NEWS:1263 +#: ../NEWS:1549 msgid "" ":gh:`158552`: Wait for Windows threads to finish suspending before reading " "target memory in the sampling profiler's blocking mode. Resume the target if " "waiting for suspension fails." msgstr "" -#: ../NEWS:1267 +#: ../NEWS:1553 msgid "" ":gh:`156321`: Fix :func:`asyncio.shield` reporting an exception from the " "inner future through the loop exception handler as soon as it completes " @@ -2352,7 +2830,7 @@ msgid "" "with any other future." msgstr "" -#: ../NEWS:1273 +#: ../NEWS:1559 msgid "" ":gh:`158539`: Fix :mod:`profiling.sampling` exception mode discarding " "samples for code running inside an ``except`` block in a generator or " @@ -2361,7 +2839,7 @@ msgid "" "matching the exception that :func:`sys.exception` reports." msgstr "" -#: ../NEWS:1279 +#: ../NEWS:1565 msgid "" ":gh:`158563`: Fix :func:`turtle.undo` after :func:`turtle.teleport` and " "after an exception in :func:`turtle.circle`, :func:`turtle.dot` " @@ -2370,7 +2848,7 @@ msgid "" "and :func:`turtle.reset` when the undo buffer is disabled." msgstr "" -#: ../NEWS:1285 +#: ../NEWS:1571 msgid "" ":gh:`158540`: Fix :mod:`profiling.sampling` not adding the directory " "containing the profiled script to :data:`sys.path`, which prevented the " @@ -2378,32 +2856,32 @@ msgid "" "now added, matching the behavior of ``python script.py``." msgstr "" -#: ../NEWS:1290 +#: ../NEWS:1576 msgid "" ":gh:`158522`: Fix :mod:`profiling.sampling` showing a single frame for a " "task whose coroutine recurses. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:1293 +#: ../NEWS:1579 msgid "" ":gh:`158169`: Fix :attr:`zlib.Decompress.unconsumed_tail` " "duplicating :attr:`~zlib.Decompress.unused_data` after end of stream when " "*max_length* was used." msgstr "" -#: ../NEWS:1297 +#: ../NEWS:1583 msgid "" ":gh:`158004`: Fix :func:`asyncio.as_completed` to continue yielding every " "awaitable after a pending iteration step is cancelled." msgstr "" -#: ../NEWS:1300 +#: ../NEWS:1586 msgid "" ":gh:`153888`: Fix :func:`unittest.mock.patch` with ``autospec``, ``spec``, " "or ``spec_set`` when used with lazy-imported objects." msgstr "" -#: ../NEWS:1303 +#: ../NEWS:1589 msgid "" ":gh:`157672`: Fix :mod:`tkinter` on macOS: creating a :class:`~tkinter.Tk` " "instance no longer replaces the Python handlers of SIGINT, SIGHUP and " @@ -2411,13 +2889,13 @@ msgid "" "raises :exc:`KeyboardInterrupt` again." msgstr "" -#: ../NEWS:1308 +#: ../NEWS:1594 msgid "" ":gh:`157621`: Fix a crash when a weak-reference callback is attached to " "a :class:`typing.ParamSpecArgs` or :class:`typing.ParamSpecKwargs` instance." msgstr "" -#: ../NEWS:1311 +#: ../NEWS:1597 msgid "" ":gh:`69919`: :meth:`code.InteractiveInterpreter.runsource` and the REPL now " "report any exception raised by compiling the source, such " @@ -2425,14 +2903,14 @@ msgid "" "instead of propagating it or printing a traceback of the REPL internals." msgstr "" -#: ../NEWS:1316 +#: ../NEWS:1602 msgid "" ":gh:`157451`: Fix :mod:`gettext` plural form selection when the ``Plural-" "Forms`` expression combines the unary ``!`` operator with a binary operator, " "for example ``!n + 1`` or ``2 * !n``. The latter raised :exc:`SyntaxError`." msgstr "" -#: ../NEWS:1321 +#: ../NEWS:1607 msgid "" ":gh:`157406`: Fix the Python implementation " "of :class:`xml.etree.ElementTree.XMLParser`: the ``doctype()`` method of the " @@ -2440,25 +2918,25 @@ msgid "" "identifier, like ````, as in the C implementation." msgstr "" -#: ../NEWS:1326 +#: ../NEWS:1612 msgid "" ":gh:`157364`: Fix a use-after-free in :class:`io.TextIOWrapper` when a call " "to the underlying buffer reentrantly detaches it. Patched by Shamil Abdulaev." msgstr "" -#: ../NEWS:1330 +#: ../NEWS:1616 msgid "" ":gh:`157242`: :class:`io.BytesIO` is no longer closed on ``write()`` and " "``truncate()`` failure (:exc:`MemoryError`). Patch by Victor Stinner." msgstr "" -#: ../NEWS:1333 +#: ../NEWS:1619 msgid "" ":gh:`157325`: Fix an out-of-bounds read in the ``hz`` incremental decoder " "when the input ends with ``~``." msgstr "" -#: ../NEWS:1336 +#: ../NEWS:1622 msgid "" ":gh:`123018`: Fix :func:`readline.write_history_file` " "and :func:`readline.append_history_file` producing a history file " @@ -2468,20 +2946,20 @@ msgid "" "60322>`_." msgstr "" -#: ../NEWS:1343 +#: ../NEWS:1629 msgid "" ":gh:`157146`: :mod:`linecache` can now read the source of a module that was " "imported from a zip archive on :data:`sys.path` when given only the file " "name, as :mod:`pdb`, :mod:`warnings` and :mod:`doctest` do." msgstr "" -#: ../NEWS:1347 +#: ../NEWS:1633 msgid "" ":gh:`157048`: Preserve the position and contents of :class:`io.BytesIO` " "when :meth:`!BytesIO.__init__` fails because a buffer is exported." msgstr "" -#: ../NEWS:1350 +#: ../NEWS:1636 msgid "" ":gh:`156961`: Fix :func:`tkinter.font.nametofont` and " "the :class:`tkinter.font.Font` constructor for a font name returned by Tk as " @@ -2489,14 +2967,14 @@ msgid "" "`." msgstr "" -#: ../NEWS:1355 +#: ../NEWS:1641 msgid "" ":gh:`156946`: Fix a crash in :mod:`curses.panel` when the finalizer of a " "panel's user pointer runs while the panel is being deallocated. The panel " "is now taken off the panel stack before its user pointer is dropped." msgstr "" -#: ../NEWS:1359 +#: ../NEWS:1645 msgid "" ":gh:`156920`: Fix :mod:`asyncio` on Windows: closing " "a :class:`~asyncio.DatagramTransport` " @@ -2506,7 +2984,7 @@ msgid "" "hanging the close indefinitely." msgstr "" -#: ../NEWS:1366 +#: ../NEWS:1652 msgid "" ":gh:`156810`: Fix a :exc:`UnicodeEncodeError` crash in the sampling " "profiler's collapsed-stack export (``--collapsed``) when a sampled frame's " @@ -2514,14 +2992,14 @@ msgid "" "The output file is now written as UTF-8." msgstr "" -#: ../NEWS:1371 +#: ../NEWS:1657 msgid "" ":gh:`156797`: Fix :class:`xml.sax.saxutils.XMLGenerator`: the namespace URI " "is now escaped in the namespace declaration. Previously a URI containing " "``&``, ``<`` or a quote character produced a document which cannot be parsed." msgstr "" -#: ../NEWS:1376 +#: ../NEWS:1662 msgid "" ":gh:`83895`: :mod:`xml.etree.ElementTree` now accepts input larger than 2 " "GiB in the C implementation. The data is fed to Expat in chunks, " @@ -2529,7 +3007,7 @@ msgid "" "raising :exc:`OverflowError`." msgstr "" -#: ../NEWS:1381 +#: ../NEWS:1667 msgid "" ":gh:`99064`: Fix :func:`xml.etree.ElementTree.parse` with a text file or " "other source of :class:`str` data in the C implementation. The encoding " @@ -2538,7 +3016,7 @@ msgid "" "XMLParser.feed` or :func:`~xml.etree.ElementTree.fromstring`." msgstr "" -#: ../NEWS:1387 +#: ../NEWS:1673 msgid "" ":gh:`156713`: Fix :func:`!nturl2path.pathname2url` and :func:`!" "nturl2path.url2pathname`: the filesystem encoding and error handler are now " @@ -2547,7 +3025,7 @@ msgid "" "raised :exc:`UnicodeEncodeError`." msgstr "" -#: ../NEWS:1393 +#: ../NEWS:1679 msgid "" ":gh:`156698`: Fix :class:`asyncio.ProactorEventLoop` UDP transports so that " "a write error no longer strands a paused protocol: the write loop is now " @@ -2555,7 +3033,7 @@ msgid "" "buffer has drained." msgstr "" -#: ../NEWS:1398 +#: ../NEWS:1684 msgid "" ":gh:`156658`: :mod:`xml.dom` and :mod:`xml.etree.ElementTree` no longer " "treat characters which are not white space in XML (such as U+00A0) as white " @@ -2565,14 +3043,14 @@ msgid "" "content`` feature turned off." msgstr "" -#: ../NEWS:1406 +#: ../NEWS:1692 msgid "" ":gh:`156568`: :func:`zipapp.create_archive` now correctly sets the " "executable bit on the target archive when copying a zipapp where the target " "is a path-like object." msgstr "" -#: ../NEWS:1410 +#: ../NEWS:1696 msgid "" ":gh:`156545`: Fix the sampling profiler's flamegraph export so that " "profiling a deeply recursive program no longer fails " @@ -2580,7 +3058,7 @@ msgid "" "tonghuaroot." msgstr "" -#: ../NEWS:1414 +#: ../NEWS:1700 msgid "" ":gh:`156476`: The pure Python implementation " "of :meth:`queue.SimpleQueue.get` now ignores *timeout* when *block* is " @@ -2588,7 +3066,7 @@ msgid "" "previously raised :exc:`ValueError`." msgstr "" -#: ../NEWS:1418 +#: ../NEWS:1704 msgid "" ":gh:`156444`: Fix matching of a negated character set in a bytes pattern " "compiled with both :const:`re.IGNORECASE` and :const:`re.LOCALE`. The case " @@ -2596,14 +3074,14 @@ msgid "" "longer matches ``b'B'``." msgstr "" -#: ../NEWS:1423 +#: ../NEWS:1709 msgid "" ":gh:`156180`: :func:`zlib.adler32_combine` and :func:`zlib.crc32_combine` " "now raise :exc:`ValueError` if the *len2* argument is negative, instead of " "returning rubbish or hanging indefinitely, respectively." msgstr "" -#: ../NEWS:1427 +#: ../NEWS:1713 msgid "" ":gh:`156166`: :mod:`ssl`: A failed assignment or deletion of the " "``_msg_callback`` attribute of :class:`ssl.SSLContext` no longer removes the " @@ -2611,58 +3089,58 @@ msgid "" "of :exc:`TypeError`." msgstr "" -#: ../NEWS:1432 +#: ../NEWS:1718 msgid "" ":gh:`156173`: Calling :meth:`zlib.Decompress.flush` on invalid compressed " "data now raises :exc:`zlib.error` instead of being silently ignored." msgstr "" -#: ../NEWS:1435 +#: ../NEWS:1721 msgid "" ":gh:`152817`: :mod:`sqlite3`: Disallow removing the ``row_factory`` " "attribute of a cursor to prevent a crash on a query." msgstr "" -#: ../NEWS:1438 +#: ../NEWS:1724 msgid "" ":gh:`156124`: Fix a crash in the free-threaded build when deleting " "the :attr:`!contents` attribute of a :mod:`ctypes` pointer." msgstr "" -#: ../NEWS:1441 +#: ../NEWS:1727 msgid "" ":gh:`156101`: Fix :attr:`sqlite3.Cursor.arraysize` being set to 0 if the " "assigned value is too large. The attribute is now left unchanged if the " "assignment fails." msgstr "" -#: ../NEWS:1445 +#: ../NEWS:1731 msgid "" ":gh:`156100`: Fix crashes in :class:`sqlite3.Connection` when deleting " "the :attr:`~sqlite3.Connection.autocommit` attribute or setting it to an " "integer which does not fit in C :c:expr:`long`. Both now raise an exception." msgstr "" -#: ../NEWS:1450 +#: ../NEWS:1736 msgid "" ":gh:`156099`: Fix a crash when deleting the ``keylog_filename`` attribute " "of :class:`ssl.SSLContext`. It now raises :exc:`AttributeError`." msgstr "" -#: ../NEWS:1453 +#: ../NEWS:1739 msgid "" ":gh:`156067`: Fix error handling in the :mod:`zoneinfo` accelerator module " "when a transition index is ``-1`` or a TZ string's ``__bool__`` raises." msgstr "" -#: ../NEWS:1456 +#: ../NEWS:1742 msgid "" ":gh:`155997`: Fix :func:`concurrent.interpreters.list_all`. It failed if an " "interpreter was destroyed during the call, in particular by a garbage " "collection which finalized the object owning the last reference to it." msgstr "" -#: ../NEWS:1460 +#: ../NEWS:1746 msgid "" ":gh:`155941`: Fix :func:`asyncio.start_server` when a plain-function " "*client_connected_cb* raises: the error is now reported like the coroutine " @@ -2670,13 +3148,13 @@ msgid "" "forever (which also made :meth:`asyncio.Server.wait_closed` hang)." msgstr "" -#: ../NEWS:1465 +#: ../NEWS:1751 msgid "" ":gh:`155843`: :mod:`hmac`: ensure that HMAC objects are properly initialized " "to prevent rare crashes on allocation failures. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1468 +#: ../NEWS:1754 msgid "" ":gh:`155835`: :mod:`hashlib`: Fix data races when " "accessing :attr:`~hashlib.hash.digest_size` " @@ -2684,27 +3162,27 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:1472 +#: ../NEWS:1758 msgid "" ":gh:`155830`: :mod:`!_blake2`: Ensure that BLAKE-2 objects are correctly " "initialized before being tracked by the garbage collector. Patch by Bénédikt " "Tran." msgstr "" -#: ../NEWS:1476 +#: ../NEWS:1762 msgid "" ":gh:`155782`: :mod:`ssl`: prevent a crash in :meth:`~ssl.SSLSocket.group` " "for session-less objects on OpenSSL 3.2 and later. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1479 +#: ../NEWS:1765 msgid "" ":gh:`155811`: Add a sequence counter to GC statistics to prevent :mod:`!" "_remote_debugging` returning inconsistent snapshots caused by non-atomic " "reads. Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:1483 +#: ../NEWS:1769 msgid "" ":gh:`155717`: :mod:`multiprocessing`'s default start method is " "now :ref:`\"spawn\" ` instead of " @@ -2713,7 +3191,7 @@ msgid "" "an :exc:`OSError` there. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1489 +#: ../NEWS:1775 msgid "" ":gh:`155775`: Fix a regression in :mod:`imaplib` introduced in the fix " "for :gh:`63121`: refreshing the capabilities after a " @@ -2722,7 +3200,7 @@ msgid "" "so it could no longer be read with :meth:`~imaplib.IMAP4.response`." msgstr "" -#: ../NEWS:1495 +#: ../NEWS:1781 msgid "" ":gh:`113318`: Fix crashes when deleting an attribute whose setter is " "generated by Argument Clinic and is not prepared for deletion, among " @@ -2731,20 +3209,20 @@ msgid "" "raises :exc:`AttributeError`." msgstr "" -#: ../NEWS:1501 +#: ../NEWS:1787 msgid "" ":gh:`150449`: Fix :class:`sqlite3.Blob` slices with a negative step. Reading " "or writing such a slice raised :exc:`SystemError`. It now " "raises :exc:`ValueError`." msgstr "" -#: ../NEWS:1505 +#: ../NEWS:1791 msgid "" ":gh:`155336`: Fix error handling in :func:`socket.gethostbyaddr` " "and :func:`socket.gethostbyname_ex` when hostname resolution fails." msgstr "" -#: ../NEWS:1508 +#: ../NEWS:1794 msgid "" ":gh:`155426`: Make sure that the pure Python fallback of :func:`hmac.digest` " "rejects keys that are neither :class:`bytes` or :class:`bytearray`. " @@ -2752,7 +3230,7 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1513 +#: ../NEWS:1799 msgid "" ":gh:`102475`: Fix :func:`os.path.realpath` on Windows: the unresolved part " "of the path is now appended, not joined, so a file name which looks like a " @@ -2761,20 +3239,20 @@ msgid "" "drive." msgstr "" -#: ../NEWS:1519 +#: ../NEWS:1805 msgid "" ":gh:`89760`: Fix :func:`os.path.realpath` on Windows: the ``\\\\?\\`` prefix " "is no longer stripped from a volume GUID path, which made the result invalid." msgstr "" -#: ../NEWS:1522 +#: ../NEWS:1808 msgid "" ":gh:`84419`: Fix :func:`os.stat` on Windows: trailing dots and spaces, which " "are ignored by the operating system, are no longer taken into account when " "the execute permissions are guessed from the file extension." msgstr "" -#: ../NEWS:1526 +#: ../NEWS:1812 msgid "" ":gh:`155319`: :func:`warnings.warn_explicit` now displays the source line " "taken from the loader of the module whose globals are passed as " @@ -2782,14 +3260,14 @@ msgid "" "out of the range of the module source." msgstr "" -#: ../NEWS:1531 +#: ../NEWS:1817 msgid "" ":gh:`123011`: :func:`warnings.warn_explicit` no longer emits a " "spurious :exc:`DeprecationWarning` or raises :exc:`ImportError` when it is " "called with the globals of the :mod:`__main__` module." msgstr "" -#: ../NEWS:1535 +#: ../NEWS:1821 msgid "" ":gh:`69370`: :program:`python -m inspect --details` no longer fails " "with :exc:`UnicodeEncodeError` if the path of the module contains characters " @@ -2797,7 +3275,7 @@ msgid "" "escaped with backslashes." msgstr "" -#: ../NEWS:1540 +#: ../NEWS:1826 msgid "" ":gh:`69371`: Fix :mod:`pydoc` for modules whose path contains undecodable " "bytes. :func:`!pydoc.writedoc` and the pydoc HTTP server no longer fail " @@ -2806,26 +3284,26 @@ msgid "" "page are escaped with backslashes." msgstr "" -#: ../NEWS:1546 +#: ../NEWS:1832 msgid "" ":gh:`154855`: Fix :meth:`curses.window.instr` returning one character too " "few when the :mod:`curses` module is built against a curses library that " "counts the terminator in the requested length, such as the NetBSD one." msgstr "" -#: ../NEWS:1550 +#: ../NEWS:1836 msgid "" ":gh:`154594`: Fix :func:`copy.deepcopy` so that an object whose deep copy is " "``None`` is still memoized. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1553 +#: ../NEWS:1839 msgid "" ":gh:`154523`: Fixed data-race when calling :meth:`io.TextIOBase.detach` " "in :term:`free-threaded build`." msgstr "" -#: ../NEWS:1556 +#: ../NEWS:1842 msgid "" ":gh:`135683`: :class:`logging.FileHandler` " "and :class:`logging.handlers.WatchedFileHandler` now " @@ -2833,28 +3311,28 @@ msgid "" "the file, like for other errors during logging." msgstr "" -#: ../NEWS:1561 +#: ../NEWS:1847 msgid "" ":gh:`82535`: :class:`logging.handlers.SysLogHandler` no longer fails if the " "address cannot be resolved when the handler is created. The address is " "resolved again when a record is emitted." msgstr "" -#: ../NEWS:1565 +#: ../NEWS:1851 msgid "" ":gh:`153970`: Calling :func:`str` on a :exc:`subprocess.CalledProcessError` " "no longer raises :exc:`TypeError` when its :attr:`!returncode` is not an " "integer, such as ``None``." msgstr "" -#: ../NEWS:1569 +#: ../NEWS:1855 msgid "" ":gh:`154194`: Fix the sampling profiler dropping entire samples when a non-" "fatal read fails; frames now keep any readable metadata, and long funcnames " "and filenames are truncated instead. Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:1574 +#: ../NEWS:1860 msgid "" ":gh:`153005`: :meth:`!concurrent.interpreters.Queue.get` and :meth:`!" "concurrent.interpreters.Queue.put` now compute their ``timeout`` deadline " @@ -2862,25 +3340,25 @@ msgid "" "system clock during the call no longer makes them over- or under-wait." msgstr "" -#: ../NEWS:1580 +#: ../NEWS:1866 msgid "" ":gh:`154062`: Stop normalizing differential flamegraph baselines to the " "duration of the current profile." msgstr "" -#: ../NEWS:1583 +#: ../NEWS:1869 msgid "" ":gh:`81241`: Fix :exc:`OSError` when importing :mod:`ctypes` from a " "statically linked interpreter." msgstr "" -#: ../NEWS:1586 +#: ../NEWS:1872 msgid "" ":gh:`153838`: Skip non-regular files in the ``profiling.sampling`` heatmap " "exporter instead of reading them unconditionally. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1589 +#: ../NEWS:1875 msgid "" ":gh:`141276`: Fix duplicate :exc:`SyntaxWarning` messages when importing " "source modules from ZIP " @@ -2891,14 +3369,14 @@ msgid "" "of filesystem-based loaders." msgstr "" -#: ../NEWS:1597 +#: ../NEWS:1883 msgid "" ":gh:`153603`: Fix a crash in the ISO-2022 decoders when decoding a byte " "after an unknown charset designation is set via the decoder's ``setstate`` " "method. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1601 +#: ../NEWS:1887 msgid "" ":gh:`153539`: Fix a crash in the C implementation " "of :meth:`io.TextIOWrapper.tell` when the decoder's ``getstate`` method " @@ -2906,7 +3384,7 @@ msgid "" "concurrently. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1606 +#: ../NEWS:1892 msgid "" ":gh:`152754`: Fix a crash when the same :func:`os.scandir` iterator is used " "concurrently from multiple threads. It no longer releases the directory " @@ -2915,7 +3393,7 @@ msgid "" "receives is unspecified." msgstr "" -#: ../NEWS:1612 +#: ../NEWS:1898 msgid "" ":gh:`153364`: Make frame, coroutine and task-waiter walks iterative and " "bounded, avoiding potential hangs and stack overflows. Fix asyncio task " @@ -2923,14 +3401,14 @@ msgid "" "Pawłowski-Wieroński." msgstr "" -#: ../NEWS:1617 +#: ../NEWS:1903 msgid "" ":gh:`149816`: :mod:`hashlib`: fix a crash arising from a race condition when " "looking up an OpenSSL hash algorithm by name the first time. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:1621 +#: ../NEWS:1907 msgid "" ":gh:`151292`: Fix ``profiling.sampling --binary`` leaving unreadable profile " "files when the binary format reaches a size limit. Preserve collected " @@ -2938,21 +3416,21 @@ msgid "" "Pawłowski-Wieroński." msgstr "" -#: ../NEWS:1626 +#: ../NEWS:1912 msgid "" ":gh:`152721`: Fix quadratic replay time in the :mod:`profiling.sampling` " "binary reader when a profile's run-length-encoded samples alternate thread " "status." msgstr "" -#: ../NEWS:1630 +#: ../NEWS:1916 msgid "" ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on " "allocation failure when passing :class:`ctypes.Structure` " "or :class:`ctypes.Union` instances by value to ctypes foreign functions." msgstr "" -#: ../NEWS:1634 +#: ../NEWS:1920 msgid "" ":gh:`152692`: Fix :func:`annotationlib.type_repr` returning a string such as " "``None.list.append`` for bound built-in methods, whose ``__module__`` is " @@ -2960,20 +3438,20 @@ msgid "" "builtins." msgstr "" -#: ../NEWS:1639 +#: ../NEWS:1925 msgid "" ":gh:`152490`: Fix :exc:`TypeError` when formatting a :exc:`SyntaxError` " "raised with :data:`NotImplemented` as its argument, which caused unexpected " "REPL exit and IDLE Shell restart." msgstr "" -#: ../NEWS:1643 +#: ../NEWS:1929 msgid "" ":gh:`152373`: Fix the :mod:`pdb` ``until`` command not stepping over a list " "comprehension when a breakpoint is set on it. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1646 +#: ../NEWS:1932 msgid "" ":gh:`152204`: Fix the pure-Python implementations " "of :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` " @@ -2984,7 +3462,7 @@ msgid "" "implementation." msgstr "" -#: ../NEWS:1654 +#: ../NEWS:1940 msgid "" ":gh:`133998`: Fix :func:`tarfile.open` in streaming write mode (``w|gz``) " "raising :exc:`struct.error` when given an *mtime* outside the range of the " @@ -2992,19 +3470,19 @@ msgid "" "``0``, matching :mod:`gzip`." msgstr "" -#: ../NEWS:1659 +#: ../NEWS:1945 msgid "" ":gh:`117807`: Fix :mod:`mimetypes` initialization from MIME map files " "containing invalid UTF-8 bytes." msgstr "" -#: ../NEWS:1662 ../NEWS:3738 +#: ../NEWS:1948 ../NEWS:4024 msgid "" ":gh:`143008`: Fix race conditions when re-initializing " "a :class:`io.TextIOWrapper` object." msgstr "" -#: ../NEWS:1665 +#: ../NEWS:1951 msgid "" ":gh:`145856`: Fix :func:`plistlib.dumps` and :func:`plistlib.dump` so that " "``skipkeys=True`` together with ``sort_keys=True`` correctly drops non-" @@ -3012,33 +3490,33 @@ msgid "" "keys. Previously the sort ran before the filter and raised :exc:`TypeError`." msgstr "" -#: ../NEWS:1671 +#: ../NEWS:1957 msgid "" ":gh:`143376`: :mod:`concurrent.interpreters`: fix a crash when internal " "cross-interpreter channel ends have incorrect channel IDs. Patch by Bénédikt " "Tran." msgstr "" -#: ../NEWS:1675 +#: ../NEWS:1961 msgid "" ":gh:`146065`: Fix a crash in asyncio.Future iterator when send() is called " "after throw() or close()." msgstr "" -#: ../NEWS:1678 +#: ../NEWS:1964 msgid "" ":gh:`143008`: Fix crash in :class:`io.TextIOWrapper` when " "reentrant :meth:`io.TextIOBase.detach` is called reentrantly from the " "underlying buffer." msgstr "" -#: ../NEWS:1682 +#: ../NEWS:1968 msgid "" ":gh:`129605`: Improve exception handling when computing suggestions in " "traceback.py. This fixes a bug that could cause PyREPL to exit unexpectedly." msgstr "" -#: ../NEWS:1686 +#: ../NEWS:1972 msgid "" ":gh:`102967`: A bug in :func:`!doctest._SpoofOut.truncate` was causing None " "to be passed to :func:`!StringIO.seek` when no size was given. A simple fix " @@ -3046,19 +3524,19 @@ msgid "" "from the current position." msgstr "" -#: ../NEWS:1691 +#: ../NEWS:1977 msgid "" ":gh:`82039`: :meth:`http.cookiejar.FileCookieJar.load` now checks the first, " "format signature line in a case-insensitive manner. Patch by Ashley Harvey." msgstr "" -#: ../NEWS:1695 +#: ../NEWS:1981 msgid "" ":gh:`70758`: Creating a new :mod:`turtle` screen after the previous one was " "closed no longer raises ``turtle.Terminator`` on the first turtle command." msgstr "" -#: ../NEWS:1698 +#: ../NEWS:1984 msgid "" ":issue:`44012`: The ``exploded`` attribute of :class:`ipaddress.IPv6Address` " "and :class:`ipaddress.IPv6Interface` now supports addresses with a scope ID " @@ -3067,7 +3545,7 @@ msgid "" "ID." msgstr "" -#: ../NEWS:1703 +#: ../NEWS:1989 msgid "" ":gh:`83869`: Fix :mod:`tarfile` reading an archive with a GNU sparse 1.0 " "member whose size is set in the pax extended header. The offset of the next " @@ -3076,38 +3554,38 @@ msgid "" "of the sparse file. All following members were unreachable." msgstr "" -#: ../NEWS:1709 +#: ../NEWS:1995 msgid "" ":gh:`61366`: :class:`http.cookiejar.MozillaCookieJar` now reads session " "cookies written by curl and Wget, which use ``0`` in the expiration time " "field. Contributed by Jérémie Detrey." msgstr "" -#: ../NEWS:1716 +#: ../NEWS:2002 msgid "" ":gh:`142083`: Document the ``'w'`` type code in the :class:`array.array` " "docstring, so that it lists the same type codes as :data:`array.typecodes` " "and the :mod:`array` module documentation." msgstr "" -#: ../NEWS:1720 +#: ../NEWS:2006 msgid ":gh:`107689`: Added docstrings to abstract ctypes." msgstr "" -#: ../NEWS:1725 +#: ../NEWS:2011 msgid "" ":gh:`159293`: Restore the recursion limit after the free-threading recursion-" "limit race test to avoid failures in subsequent tests run in the same " "process." msgstr "" -#: ../NEWS:1729 +#: ../NEWS:2015 msgid "" ":gh:`159211`: The iOS testbed no longer gathers simulator diagnostics when a " "test run fails." msgstr "" -#: ../NEWS:1732 +#: ../NEWS:2018 msgid "" ":gh:`157628`: In regrtest, only consider that a test leaks if all test runs " "leak at least one file descriptor. For example, ignore \"[0, 1, -1] file " @@ -3115,14 +3593,14 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:1737 +#: ../NEWS:2023 msgid "" ":gh:`140550`: Enable limited C API tests on Free Threading in test_cext and " "test_cppext: test the :c:macro:`Py_TARGET_ABI3T` macro. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:1741 +#: ../NEWS:2027 msgid "" ":gh:`75876`: A test decorated with :func:`~test.support.bigmemtest` now runs " "in a subprocess if it really allocates the memory it asks for (that is, if " @@ -3132,14 +3610,14 @@ msgid "" "watches the memory usage of the subprocess." msgstr "" -#: ../NEWS:1748 +#: ../NEWS:2034 msgid "" ":gh:`155411`: Fix :func:`!test.support.subTests` for asynchronous test " "methods. They were wrapped in a synchronous function, which discarded the " "coroutine without awaiting it, so the test silently did not run at all." msgstr "" -#: ../NEWS:1752 +#: ../NEWS:2038 msgid "" ":gh:`132581`: The list of tests which altered the execution environment now " "includes the reasons why the environment was considered altered, for example " @@ -3147,21 +3625,21 @@ msgid "" "longer repeats the same state twice (like ``ENV CHANGED then ENV CHANGED``)." msgstr "" -#: ../NEWS:1758 +#: ../NEWS:2044 msgid "" ":gh:`155109`: Add ``test.support.run_with_limited_c_stack()`` and use it in " "tests that exhaust the C stack with a fixed number of recursive calls, so " "that their outcome no longer depends on the C stack size." msgstr "" -#: ../NEWS:1765 +#: ../NEWS:2051 msgid "" ":gh:`143632`: Fix the check that disables ``PR_SET_VMA_ANON_NAME`` on musl " "libc: it tested an unset variable, so it never had any effect and the build " "could fail with a redefinition of ``struct prctl_mm_map``." msgstr "" -#: ../NEWS:1769 +#: ../NEWS:2055 msgid "" ":gh:`159759`: Fix the ``libpython.static`` path in :pep:`739` ``build-" "details.json``, which pointed to a file that is not installed when building " @@ -3169,7 +3647,7 @@ msgid "" "framework builds, which do not install one." msgstr "" -#: ../NEWS:1774 +#: ../NEWS:2060 msgid "" ":gh:`159440`: The version string reported by ``sys.version`` no longer " "carries a spurious ``-dirty`` suffix when CPython is built out-of-tree from " @@ -3177,13 +3655,13 @@ msgid "" "the build directory." msgstr "" -#: ../NEWS:1779 +#: ../NEWS:2065 msgid "" ":gh:`158683`: Fix the :file:`Modules/Setup` entry for the :mod:`!_zstd` " "module by adding missing source files." msgstr "" -#: ../NEWS:1782 +#: ../NEWS:2068 msgid "" ":gh:`157142`: Fix the link of ``Programs/_freeze_module`` when extension " "modules are built in (``MODULE_BUILDTYPE=static``) and the test modules are " @@ -3191,13 +3669,13 @@ msgid "" "``_Py_Get_Getpath_CodeObject()``, which ``_testinternalcapi`` uses." msgstr "" -#: ../NEWS:1787 +#: ../NEWS:2073 msgid "" ":gh:`155911`: Fix curses detection when a curses library is already in " "``LIBS``. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:1793 +#: ../NEWS:2079 msgid "" ":gh:`159880`: Fix a key handle leak " "in :func:`winreg.CreateKey`, :func:`winreg.CreateKeyEx` " @@ -3205,33 +3683,33 @@ msgid "" "fails." msgstr "" -#: ../NEWS:1797 +#: ../NEWS:2083 msgid "" ":gh:`157906`: Fix an incorrect architecture macro check that prevented CPU " "prefetching in the free-threaded garbage collector on 32-bit Windows builds." msgstr "" -#: ../NEWS:1801 +#: ../NEWS:2087 msgid "" ":gh:`157789`: Use compiler option ``-Og`` in case of clang-cl debug builds " "on Windows to reduce stack usage. Patch by Chris Eibl." msgstr "" -#: ../NEWS:1804 +#: ../NEWS:2090 msgid "" ":gh:`72353`: Reading from the console on Windows now continues if the read " "was cancelled by Ctrl+C, but the :const:`~signal.SIGINT` handler did not " "raise an exception. Previously the read ended as if at end of file." msgstr "" -#: ../NEWS:1808 +#: ../NEWS:2094 msgid "" ":gh:`86427`: Fix the encoding of the standard streams in the legacy Windows " "stdio mode (:envvar:`PYTHONLEGACYWINDOWSSTDIO`). It is now the code page of " "the console, as in Python 3.7, not the ANSI code page." msgstr "" -#: ../NEWS:1812 +#: ../NEWS:2098 msgid "" ":gh:`87587`: :func:`os.device_encoding` on Windows now returns the code page " "of any console file descriptor, not only 0, 1 and 2, and returns ``None`` " @@ -3239,76 +3717,76 @@ msgid "" "reported as ``\"utf-8\"`` instead of ``\"cp65001\"``." msgstr "" -#: ../NEWS:1818 ../NEWS:2286 ../NEWS:2554 ../NEWS:3482 ../NEWS:3829 -#: ../NEWS:4158 ../NEWS:4985 ../NEWS:5626 ../NEWS:6128 ../NEWS:8305 -#: ../NEWS:11492 ../NEWS:11871 ../NEWS:12458 ../NEWS:13009 ../NEWS:14460 -#: ../NEWS:17460 ../NEWS:18437 ../NEWS:18948 ../NEWS:19826 ../NEWS:20378 -#: ../NEWS:22657 ../NEWS:23853 ../NEWS:24533 ../NEWS:25225 ../NEWS:25562 -#: ../NEWS:25997 ../NEWS:28090 ../NEWS:29015 ../NEWS:29630 ../NEWS:30516 -#: ../NEWS:30969 ../NEWS:31478 ../NEWS:31924 ../NEWS:33765 ../NEWS:34598 -#: ../NEWS:35316 ../NEWS:35601 ../NEWS:35968 ../NEWS:36454 ../NEWS:36905 -#: ../NEWS:38047 ../NEWS:38486 ../NEWS:38941 ../NEWS:39415 ../NEWS:40568 -#: ../NEWS:42292 ../NEWS:43255 ../NEWS:43803 ../NEWS:47064 ../NEWS:47727 -#: ../NEWS:47887 ../NEWS:48099 ../NEWS:48356 ../NEWS:48687 ../NEWS:49532 -#: ../NEWS:52229 ../NEWS:52580 ../NEWS:52975 +#: ../NEWS:2104 ../NEWS:2572 ../NEWS:2840 ../NEWS:3768 ../NEWS:4115 +#: ../NEWS:4444 ../NEWS:5271 ../NEWS:5912 ../NEWS:6414 ../NEWS:8591 +#: ../NEWS:11778 ../NEWS:12157 ../NEWS:12744 ../NEWS:13295 ../NEWS:14746 +#: ../NEWS:17746 ../NEWS:18723 ../NEWS:19234 ../NEWS:20112 ../NEWS:20664 +#: ../NEWS:22943 ../NEWS:24139 ../NEWS:24819 ../NEWS:25511 ../NEWS:25848 +#: ../NEWS:26283 ../NEWS:28376 ../NEWS:29301 ../NEWS:29916 ../NEWS:30802 +#: ../NEWS:31255 ../NEWS:31764 ../NEWS:32210 ../NEWS:34051 ../NEWS:34884 +#: ../NEWS:35602 ../NEWS:35887 ../NEWS:36254 ../NEWS:36740 ../NEWS:37191 +#: ../NEWS:38333 ../NEWS:38772 ../NEWS:39227 ../NEWS:39701 ../NEWS:40854 +#: ../NEWS:42578 ../NEWS:43541 ../NEWS:44089 ../NEWS:47350 ../NEWS:48013 +#: ../NEWS:48173 ../NEWS:48385 ../NEWS:48642 ../NEWS:48973 ../NEWS:49818 +#: ../NEWS:52515 ../NEWS:52866 ../NEWS:53261 msgid "macOS" msgstr "" -#: ../NEWS:1820 +#: ../NEWS:2106 msgid "" ":gh:`159739`: Propagate errors that occur while converting macOS system " "proxy settings." msgstr "" -#: ../NEWS:1826 +#: ../NEWS:2112 msgid "" ":gh:`159517`: Fix the completion list and the call tip grabbing the focus on " "macOS with Tcl/Tk 9.1." msgstr "" -#: ../NEWS:1829 +#: ../NEWS:2115 msgid "" ":gh:`56596`: Make IDLE keyboard shortcuts with ascii letters work when Caps " "Lock is on even when only one of the upper and lowercase versions are " "defined." msgstr "" -#: ../NEWS:1833 +#: ../NEWS:2119 msgid "" ":gh:`64007`: IDLE no longer applies syntax coloring to the text entered " "for :func:`input` in the Shell." msgstr "" -#: ../NEWS:1836 +#: ../NEWS:2122 msgid "" ":gh:`85560`: Fix IDLE failing to find the opening parenthesis when a " "continuation line inside the parentheses starts with ``else`` of a " "conditional expression or with ``yield``." msgstr "" -#: ../NEWS:1840 +#: ../NEWS:2126 msgid "" ":gh:`75487`: Fix saving a truncated number when an integer entry in the IDLE " "Settings dialog is blanked with the Backspace key." msgstr "" -#: ../NEWS:1843 +#: ../NEWS:2129 msgid "" ":gh:`74112`: Ctrl-C in the IDLE Shell now interrupts blocking calls such " "as :func:`time.sleep` and :meth:`socket.recv `." msgstr "" -#: ../NEWS:1846 +#: ../NEWS:2132 msgid ":gh:`151471`: Colorize the soft keyword ``type`` in IDLE." msgstr "" -#: ../NEWS:1848 +#: ../NEWS:2134 msgid "" ":gh:`103089`: IDLE no longer hangs when opening a file with very long lines. " "Only the first 2,000 characters of a line are colorized." msgstr "" -#: ../NEWS:1851 +#: ../NEWS:2137 msgid "" ":gh:`70331`: IDLE no longer fails to start with ``python -m idlelib``, and " "its user process no longer fails to start, when the current directory " @@ -3316,58 +3794,58 @@ msgid "" "IDLE imports, such as ``random.py`` or ``tkinter.py``." msgstr "" -#: ../NEWS:1856 +#: ../NEWS:2142 msgid "" ":gh:`93016`: Fix parsing of command line arguments in the IDLE \"Run... " "Customized\" dialog on Windows: backslashes are no longer treated as escape " "characters. Fix also display of the previous arguments in the dialog." msgstr "" -#: ../NEWS:1860 +#: ../NEWS:2146 msgid "" ":gh:`69365`: The IDLE search dialogs now show a regular expression error " "below the entry instead of in a message box." msgstr "" -#: ../NEWS:1863 +#: ../NEWS:2149 msgid "" ":gh:`105689`: Fix calltips, parenthesis matching and auto-indent in the IDLE " "Shell after output containing unbalanced quotes or parentheses." msgstr "" -#: ../NEWS:1866 +#: ../NEWS:2152 msgid "" ":gh:`60402`: In IDLE, Tab in a string that is not the start of a file name " "inserts a tab instead of opening the completion list." msgstr "" -#: ../NEWS:1869 +#: ../NEWS:2155 msgid "" ":gh:`68453`: Fix running IDLE with the -s option together with -c, -r or -: " "the command or script now runs after the startup file, without an error " "dialog and without restarting the shell." msgstr "" -#: ../NEWS:1873 +#: ../NEWS:2159 msgid "" ":gh:`69919`: IDLE now reports any exception raised by compiling the source, " "such as :exc:`MemoryError` for too deeply nested source, instead of hanging " "the Shell." msgstr "" -#: ../NEWS:1877 +#: ../NEWS:2163 msgid "" ":gh:`91398`: Remove the border around the IDLE Shell sidebar, which was " "drawn in the window background color and stood out with dark themes." msgstr "" -#: ../NEWS:1880 +#: ../NEWS:2166 msgid "" ":gh:`71136`: Fix a hang of the IDLE Shell when code run under the debugger " "raises :exc:`KeyboardInterrupt`." msgstr "" -#: ../NEWS:1883 +#: ../NEWS:2169 msgid "" ":gh:`154511`: Consolidate IDLE's mouse wheel handling in ``idlelib.util``. " "``wheel_event`` moves there from ``idlelib.tree`` and joins ``x11_buttons``, " @@ -3376,12 +3854,12 @@ msgid "" "sends." msgstr "" -#: ../NEWS:1889 +#: ../NEWS:2175 msgid "" ":gh:`156896`: Stop deleting tkinter submodules when idlelib.run is imported." msgstr "" -#: ../NEWS:1891 +#: ../NEWS:2177 msgid "" ":gh:`153480`: Fix IDLE failing to start when opening a file which does not " "exist yet. Fix a traceback when a file open in the IDLE editor is deleted by " @@ -3389,14 +3867,14 @@ msgid "" "elsewhere, or ignore it." msgstr "" -#: ../NEWS:1896 +#: ../NEWS:2182 msgid "" ":gh:`66172`: IDLE no longer fails to start when a user configuration file is " "corrupt. The unparsable file is renamed with a \".bad\" suffix, default " "settings are used instead, and a warning lists the affected files." msgstr "" -#: ../NEWS:1900 +#: ../NEWS:2186 msgid "" ":gh:`90304`: Prevent IDLE from failing to start when a font reports a zero " "width for the ``'0'`` character. Such a broken font caused " @@ -3404,43 +3882,43 @@ msgid "" "width." msgstr "" -#: ../NEWS:1905 +#: ../NEWS:2191 msgid "" ":gh:`135511`: Fix display of :exc:`NameError` and :exc:`AttributeError` with " "multi-line message." msgstr "" -#: ../NEWS:1909 ../NEWS:2559 ../NEWS:2895 ../NEWS:4168 ../NEWS:5632 -#: ../NEWS:6557 ../NEWS:7035 ../NEWS:7650 ../NEWS:8377 ../NEWS:10693 -#: ../NEWS:11517 ../NEWS:11883 ../NEWS:12463 ../NEWS:13015 ../NEWS:13364 -#: ../NEWS:13829 ../NEWS:14517 ../NEWS:18448 ../NEWS:18970 ../NEWS:20407 -#: ../NEWS:22672 ../NEWS:23883 ../NEWS:24230 ../NEWS:25233 ../NEWS:25570 -#: ../NEWS:28122 ../NEWS:29020 ../NEWS:29639 ../NEWS:33825 ../NEWS:35978 -#: ../NEWS:36489 ../NEWS:38499 ../NEWS:38961 ../NEWS:39434 ../NEWS:42416 -#: ../NEWS:43279 ../NEWS:43818 ../NEWS:44160 ../NEWS:47283 ../NEWS:47905 -#: ../NEWS:48122 ../NEWS:48382 ../NEWS:48988 ../NEWS:49576 ../NEWS:51891 -#: ../NEWS:52279 ../NEWS:52620 ../NEWS:53043 ../NEWS:53530 ../NEWS:53895 -#: ../NEWS:54289 ../NEWS:54363 ../NEWS:55348 ../NEWS:55809 ../NEWS:56117 -#: ../NEWS:57377 ../NEWS:58486 ../NEWS:59312 ../NEWS:59835 ../NEWS:60522 -#: ../NEWS:60741 ../NEWS:60949 ../NEWS:62861 +#: ../NEWS:2195 ../NEWS:2845 ../NEWS:3181 ../NEWS:4454 ../NEWS:5918 +#: ../NEWS:6843 ../NEWS:7321 ../NEWS:7936 ../NEWS:8663 ../NEWS:10979 +#: ../NEWS:11803 ../NEWS:12169 ../NEWS:12749 ../NEWS:13301 ../NEWS:13650 +#: ../NEWS:14115 ../NEWS:14803 ../NEWS:18734 ../NEWS:19256 ../NEWS:20693 +#: ../NEWS:22958 ../NEWS:24169 ../NEWS:24516 ../NEWS:25519 ../NEWS:25856 +#: ../NEWS:28408 ../NEWS:29306 ../NEWS:29925 ../NEWS:34111 ../NEWS:36264 +#: ../NEWS:36775 ../NEWS:38785 ../NEWS:39247 ../NEWS:39720 ../NEWS:42702 +#: ../NEWS:43565 ../NEWS:44104 ../NEWS:44446 ../NEWS:47569 ../NEWS:48191 +#: ../NEWS:48408 ../NEWS:48668 ../NEWS:49274 ../NEWS:49862 ../NEWS:52177 +#: ../NEWS:52565 ../NEWS:52906 ../NEWS:53329 ../NEWS:53816 ../NEWS:54181 +#: ../NEWS:54575 ../NEWS:54649 ../NEWS:55634 ../NEWS:56095 ../NEWS:56403 +#: ../NEWS:57663 ../NEWS:58772 ../NEWS:59598 ../NEWS:60121 ../NEWS:60808 +#: ../NEWS:61027 ../NEWS:61235 ../NEWS:63147 msgid "Tools/Demos" msgstr "" -#: ../NEWS:1911 +#: ../NEWS:2197 msgid "" ":gh:`158451`: ``python-gdb.py`` is now able to format an invalid Unicode " "string: render invalid characters as ``\\Uhhhhhhhh`` instead of raising an " "exception. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1915 +#: ../NEWS:2201 msgid "" ":gh:`156219`: Fix Argument Clinic generating code which reads an optional " "positional argument which was not passed, if the function has a ``**kwds`` " "parameter." msgstr "" -#: ../NEWS:1919 +#: ../NEWS:2205 msgid "" ":gh:`113318`: Fix Argument Clinic for ``@getter`` and ``@setter`` in a " "preprocessor conditional block. It failed with an internal error. Argument " @@ -3449,63 +3927,63 @@ msgid "" "invalid or duplicated entries of :c:type:`PyGetSetDef`." msgstr "" -#: ../NEWS:1925 +#: ../NEWS:2211 msgid "" ":gh:`155218`: Fix Argument Clinic generating the flags of the optional " "groups in different order on 32-bit and 64-bit platforms." msgstr "" -#: ../NEWS:1928 +#: ../NEWS:2214 msgid "" ":gh:`155207`: Argument Clinic now supports the ``--dry-run`` and ``--diff`` " "options. They list the files which would be changed, or write a unified diff " "of the changes to the standard output, without modifying any file." msgstr "" -#: ../NEWS:1932 +#: ../NEWS:2218 msgid "" ":gh:`64502`: Fix Argument Clinic support of parameters with a default value " "used together with optional groups. Such parameters were always required in " "the generated parsing code." msgstr "" -#: ../NEWS:1939 +#: ../NEWS:2225 msgid "" ":gh:`159739`: Fix a crash in :c:func:`_PyTuple_Resize` when resizing a non-" "empty tuple to a negative or too large size. It now " "raises :exc:`SystemError` or :exc:`MemoryError` respectively." msgstr "" -#: ../NEWS:1943 +#: ../NEWS:2229 msgid "" ":gh:`159739`: :c:func:`PyInitConfig_SetStr` now releases a previously " "configured value and preserves it if conversion of the replacement fails." msgstr "" -#: ../NEWS:1946 +#: ../NEWS:2232 msgid "" ":gh:`159739`: Fix a reference leak when :c:func:`_PyTuple_Resize` fails." msgstr "" -#: ../NEWS:1948 +#: ../NEWS:2234 msgid "" ":gh:`149044`: Fix the :c:macro:`PySlot_END` macro for C++: initialize all " "members to avoid compiler warnings. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1951 +#: ../NEWS:2237 msgid "" ":gh:`158810`: Fix :c:macro:`Py_ARRAY_LENGTH()` macro on C++: do not use " "``__builtin_types_compatible_p()`` on C++. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1954 +#: ../NEWS:2240 msgid "" ":gh:`158451`: Fix :c:func:`!_PyUnicodeWriter_WriteLatin1String` when the " "writer buffer kind is UCS-2 or UCS-4. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1957 +#: ../NEWS:2243 msgid "" ":gh:`157649`: Fix :c:macro:`Py_CLEAR` and :c:macro:`Py_SETREF` macros on C+" "+: implement them using ``auto`` instead of ``decltype()``. Using " @@ -3513,13 +3991,13 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:1962 +#: ../NEWS:2248 msgid "" ":gh:`142217`: Add tests on the undocumented and deprecated " "``_Py_Identifier`` C API. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1965 +#: ../NEWS:2251 msgid "" ":gh:`157384`: :c:func:`PyImport_CreateModuleFromInitfunc` now sets the " "package context while calling *initfunc*, so that a single-phase init " @@ -3527,14 +4005,14 @@ msgid "" "name from the spec." msgstr "" -#: ../NEWS:1970 +#: ../NEWS:2256 msgid "" ":gh:`157242`: Fix :c:func:`PyBytesWriter_Resize` to handle properly memory " "allocation failure. Leave the writer unchanged on error, instead of leaving " "it in an inconsistent state. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1974 +#: ../NEWS:2260 msgid "" ":gh:`156101`: Don't set the result in error " "in :c:func:`PyLong_AsInt32`, :c:func:`PyLong_AsUInt32`, :c:func:`PyLong_AsInt64` " @@ -3542,27 +4020,27 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:1981 +#: ../NEWS:2267 msgid "Python 3.15.0 final" msgstr "" -#: ../NEWS:1983 +#: ../NEWS:2269 msgid "*Release date: 2026-10-09*" msgstr "" -#: ../NEWS:1985 +#: ../NEWS:2271 msgid "There were no new changes in version 3.15.0." msgstr "" -#: ../NEWS:1990 +#: ../NEWS:2276 msgid "Python 3.15.0 release candidate 3" msgstr "" -#: ../NEWS:1992 +#: ../NEWS:2278 msgid "*Release date: 2026-10-02*" msgstr "" -#: ../NEWS:1997 +#: ../NEWS:2283 msgid "" ":gh:`158446`: Fix a crash or incorrect output that could occur when " "formatting a :class:`float` or :class:`complex` with a precision close to " @@ -3572,7 +4050,7 @@ msgid "" "precisions above ``INT_MAX``." msgstr "" -#: ../NEWS:2004 +#: ../NEWS:2290 msgid "" ":gh:`156793`: :mod:`asyncio`: :meth:`loop.start_tls() " "` and :meth:`loop.create_connection() " @@ -3581,14 +4059,14 @@ msgid "" "to ``True``." msgstr "" -#: ../NEWS:2010 +#: ../NEWS:2296 msgid "" ":gh:`156793`: :meth:`ssl.SSLContext.wrap_bio` now validates its " "*server_side*, *server_hostname* and *session* arguments similar " "to :meth:`ssl.SSLContext.wrap_socket`." msgstr "" -#: ../NEWS:2014 +#: ../NEWS:2300 msgid "" "In particular, a context with :attr:`~ssl.SSLContext.check_hostname` enabled " "and no *server_hostname* passed to :meth:`!wrap_bio` now " @@ -3597,7 +4075,7 @@ msgid "" "that the check had been skipped." msgstr "" -#: ../NEWS:2020 +#: ../NEWS:2306 msgid "" ":gh:`157265`: In :mod:`tarfile`, when extracting a link falls back to " "extracting a member of the archive, skip the member when the filter function " @@ -3605,13 +4083,13 @@ msgid "" "link's." msgstr "" -#: ../NEWS:2025 +#: ../NEWS:2311 msgid "" ":gh:`157953`: Update bundled `libexpat `_ to " "version 2.8.5." msgstr "" -#: ../NEWS:2028 +#: ../NEWS:2314 msgid "" ":gh:`157579`: Fix a race condition in the cleanup " "of :class:`tempfile.TemporaryDirectory`. When working around file system " @@ -3622,7 +4100,7 @@ msgid "" "addresses :cve:`2026-12345`." msgstr "" -#: ../NEWS:2036 +#: ../NEWS:2322 msgid "" ":gh:`156293`: Fix a crash in :mod:`ssl` when " "an :attr:`~ssl.SSLContext.sni_callback` switches a connection to " @@ -3633,41 +4111,41 @@ msgid "" "addresses :cve:`2026-19445`." msgstr "" -#: ../NEWS:2047 +#: ../NEWS:2333 msgid "" ":gh:`158140`: Resolve lazily imported sibling submodules independently, so " "accessing one does not import another merely because its declaration came " "last." msgstr "" -#: ../NEWS:2051 +#: ../NEWS:2337 msgid "" ":gh:`158364`: Fix crash when :func:`sys._current_frames` " "or :func:`sys._current_exceptions` is called while another interpreter is " "running." msgstr "" -#: ../NEWS:2055 +#: ../NEWS:2341 msgid "" ":gh:`158254`: Reverse iterators over a :class:`dict` and its views now " "raise :exc:`RuntimeError` if the dictionary's keys change during iteration, " "like forward iterators, instead of yielding entries for the new keys." msgstr "" -#: ../NEWS:2059 +#: ../NEWS:2345 msgid "" ":gh:`157914`: Revert :gh:`146064`. The linked PyMutex change was causing a " "significant performance regression in some cases." msgstr "" -#: ../NEWS:2062 +#: ../NEWS:2348 msgid "" ":gh:`157838`: Merge biased reference counts on behalf of threads that are " "detached instead of waiting for them to attach again, in the free-threaded " "build." msgstr "" -#: ../NEWS:2066 +#: ../NEWS:2352 msgid "" ":gh:`157778`: Include the line number of the opening brace in " "the :exc:`SyntaxError` for an unclosed f-string or t-string replacement " @@ -3675,14 +4153,14 @@ msgid "" "an unterminated string." msgstr "" -#: ../NEWS:2071 +#: ../NEWS:2357 msgid "" ":gh:`157757`: Fix a lazy ``import a.b as c`` reading ``b`` off ``a`` instead " "of importing the module ``a.b``. It now binds the submodule, and " "raises :exc:`ModuleNotFoundError` when no module backs the name." msgstr "" -#: ../NEWS:2075 +#: ../NEWS:2361 msgid "" ":gh:`155695`: Resolved names are now removed from :data:`sys.lazy_modules` " "more consistently: a lazy import of an already loaded module is no longer " @@ -3690,14 +4168,14 @@ msgid "" "``pkg.attr`` entry." msgstr "" -#: ../NEWS:2080 +#: ../NEWS:2366 msgid "" ":gh:`157378`: Fix ``SyntaxError.offset`` and ``SyntaxError.end_offset`` for " "the \"Non-UTF-8 code starting with ...\" error when a non-ASCII character " "precedes the invalid byte on the same line. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:2084 +#: ../NEWS:2370 msgid "" ":gh:`156762`: Fix undefined behaviour in :class:`operator.methodcaller`: " "its :c:member:`~PyTypeObject.tp_clear` slot function returned ``void`` " @@ -3705,7 +4183,7 @@ msgid "" "incompatible function type. Patched by Shamil Abdulaev." msgstr "" -#: ../NEWS:2089 +#: ../NEWS:2375 msgid "" ":gh:`157377`: Fix :func:`gc.get_count` on the free-threaded build resetting " "the thread-local allocation counter that schedules automatic garbage " @@ -3713,13 +4191,13 @@ msgid "" "garbage from ever being collected." msgstr "" -#: ../NEWS:2094 +#: ../NEWS:2380 msgid "" ":gh:`157247`: Fix :func:`sys.activate_stack_trampoline` allowing activation " "from a subinterpreter while the JIT is enabled in the main interpreter." msgstr "" -#: ../NEWS:2097 +#: ../NEWS:2383 msgid "" ":gh:`156995`: Fix :class:`bytearray` sharing its buffer with the single-" "byte :class:`bytes` object of the same value, so that writing to the " @@ -3729,58 +4207,58 @@ msgid "" "thread." msgstr "" -#: ../NEWS:2104 +#: ../NEWS:2390 msgid "" ":gh:`156910`: Fix a deadlock in the :term:`free threaded ` " "build when setting ``__abstractmethods__`` on a type while another thread " "holds the type lock." msgstr "" -#: ../NEWS:2108 +#: ../NEWS:2394 msgid "" ":gh:`156894`: Fix the position of syntax errors which cover a range if the " "line contains non-ASCII characters before the error." msgstr "" -#: ../NEWS:2111 +#: ../NEWS:2397 msgid "" ":gh:`155525`: Fix quadratic-time tokenization of modules containing many f-" "strings or t-strings." msgstr "" -#: ../NEWS:2114 +#: ../NEWS:2400 msgid "" ":gh:`156689`: Fix an out-of-bounds read in :func:`compile` " "and :func:`ast.parse` when an AST object is passed with ``mode='func_type'``." msgstr "" -#: ../NEWS:2117 +#: ../NEWS:2403 msgid "" ":gh:`156114`: Fix a crash in the perf trampoline when a code object has a " "name or filename that cannot be encoded to UTF-8. Patched by Shamil Abdulaev." msgstr "" -#: ../NEWS:2121 +#: ../NEWS:2407 msgid "" ":gh:`156126`: Fix a crash when importing a module whose name contains " "characters that cannot be encoded to UTF-8 (such as lone surrogates) " "while :option:`-X importtime <-X>` is enabled." msgstr "" -#: ../NEWS:2125 +#: ../NEWS:2411 msgid "" ":gh:`155526`: Fix spurious :exc:`OverflowError` for ``abs(nanj)`` in " "case :c:data:`errno` was previously set to :c:macro:`!ERANGE` by some " "library call. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:2129 +#: ../NEWS:2415 msgid "" ":gh:`151464`: Exclude invalid token ``<>`` from :mod:`tokenize` " "output. :exc:`SyntaxError` for ``<>`` now suggests ``!=``." msgstr "" -#: ../NEWS:2132 +#: ../NEWS:2418 msgid "" ":gh:`154719`: Trailing whitespace in a t-string interpolation expression is " "now preserved in :attr:`string.templatelib.Interpolation.expression`, up to " @@ -3790,34 +4268,34 @@ msgid "" "from :attr:`~string.templatelib.Interpolation.expression`." msgstr "" -#: ../NEWS:2139 +#: ../NEWS:2425 msgid "" ":gh:`152708`: Fix AST generation asymmetry where unary positive ``+`` was " "implicitly dropped in pattern match expressions, restoring parsing parity " "with unary negative ``-``." msgstr "" -#: ../NEWS:2146 +#: ../NEWS:2432 msgid "" ":gh:`157788`: Fix ``python -m asyncio ps`` failing on a process that has a " "task with a name longer than 255 characters." msgstr "" -#: ../NEWS:2149 +#: ../NEWS:2435 msgid "" ":gh:`157660`: Fix :mod:`profiling.sampling` reporting errors or incorrect " "line numbers in free-threaded builds when a thread-local bytecode array " "grows or gains entries after being cached." msgstr "" -#: ../NEWS:2153 +#: ../NEWS:2439 msgid "" ":gh:`157639`: Fix a crash in :mod:`!cProfile` when an external timer re-" "enters the profiler. Profiling events raised while the external timer runs " "are now ignored." msgstr "" -#: ../NEWS:2157 +#: ../NEWS:2443 msgid "" ":gh:`157335`: Fix out-of-bounds write in ``mmap.mmap.__setitem__`` that " "could occur when converting the index or the assigned value " @@ -3825,25 +4303,25 @@ msgid "" "for a slice) resized or closed the mmap object during the assignment." msgstr "" -#: ../NEWS:2162 +#: ../NEWS:2448 msgid "" ":gh:`128509`: :func:`marshal.load` and :func:`marshal.loads` can now get 1-" "byte string singletons. Patch by Victor Stinner." msgstr "" -#: ../NEWS:2165 +#: ../NEWS:2451 msgid "" ":gh:`157301`: Fix :class:`asyncio.Task` hanging the event loop when an eager " "start fails to enter the task's context." msgstr "" -#: ../NEWS:2168 +#: ../NEWS:2454 msgid "" ":gh:`157213`: Fix :func:`asyncio.gather` leaving stale await-graph edges on " "children that outlive it." msgstr "" -#: ../NEWS:2171 +#: ../NEWS:2457 msgid "" ":gh:`156002`: :mod:`zipfile` again reads members through a third-party " "decompressor installed by monkey-patching the private " @@ -3853,36 +4331,36 @@ msgid "" "to :cve:`2026-15310`." msgstr "" -#: ../NEWS:2178 +#: ../NEWS:2464 msgid "" ":gh:`157159`: The usage message printed by ``python -m tabnanny`` when no " "arguments are given now suggests ``python -m`` instead of the source file." msgstr "" -#: ../NEWS:2181 +#: ../NEWS:2467 msgid "" ":gh:`157058`: :func:`asyncio.wait_for` with a non-positive timeout now " "records the waiter in the call graph." msgstr "" -#: ../NEWS:2184 +#: ../NEWS:2470 msgid "" ":gh:`156933`: Fix incorrect integer return values from :mod:`ctypes` " "callbacks on some platforms, such as s390x." msgstr "" -#: ../NEWS:2187 +#: ../NEWS:2473 msgid "" ":gh:`156988`: :func:`asyncio.print_call_graph` no longer truncates the call " "stack at a synchronous generator." msgstr "" -#: ../NEWS:2190 +#: ../NEWS:2476 msgid "" ":gh:`156970`: Set the docstring of :attr:`unittest.mock.Mock.return_value`." msgstr "" -#: ../NEWS:2192 +#: ../NEWS:2478 msgid "" ":gh:`156924`: :meth:`annotationlib.ForwardRef.evaluate` now " "resolves :ref:`lazy import ` proxies found in the namespace. " @@ -3893,20 +4371,20 @@ msgid "" "propagated." msgstr "" -#: ../NEWS:2200 +#: ../NEWS:2486 msgid "" ":gh:`127057`: Fix :class:`asyncio.ProactorEventLoop` UDP transports so that " "a :exc:`ConnectionResetError` raised by ``WSARecvFrom`` no longer stops the " "read loop." msgstr "" -#: ../NEWS:2204 +#: ../NEWS:2490 msgid "" ":gh:`156512`: Fix :mod:`asyncio` losing a connection twice when " "``resume_writing()`` closes the transport." msgstr "" -#: ../NEWS:2207 +#: ../NEWS:2493 msgid "" ":gh:`155596`: Fix :func:`pprint.pprint` and :func:`pprint.pformat` with " "``expand=True`` not honouring *width* for nested values. The width of the " @@ -3915,25 +4393,25 @@ msgid "" "of being expanded." msgstr "" -#: ../NEWS:2213 +#: ../NEWS:2499 msgid "" ":gh:`155433`: Fix :class:`asyncio.TaskGroup` losing outside cancellation " "after ``cancel()``." msgstr "" -#: ../NEWS:2216 +#: ../NEWS:2502 msgid "" ":gh:`155418`: Fix :class:`asyncio.TaskGroup` hang when a task created " "by :func:`asyncio.eager_task_factory` cancels the group before suspending." msgstr "" -#: ../NEWS:2219 +#: ../NEWS:2505 msgid "" ":gh:`155143`: Fix :func:`asyncio.shield` leaking the calling task via the " "await-graph and callbacks when called on a future that never resolves." msgstr "" -#: ../NEWS:2222 +#: ../NEWS:2508 msgid "" ":gh:`154470`: Fixed a spurious ``^J`` printed at the end of every source " "line by the ``list`` command of :mod:`pdb` when the output is colorized (for " @@ -3941,20 +4419,20 @@ msgid "" "stripped before it is colorized, like the ``where`` command already did." msgstr "" -#: ../NEWS:2227 +#: ../NEWS:2513 msgid "" ":gh:`154335`: The :mod:`profiling.sampling` profiler now respects " "``NO_COLOR``, ``FORCE_COLOR``, and ``PYTHON_COLORS`` and avoids colored " "output when not writing to a terminal." msgstr "" -#: ../NEWS:2231 +#: ../NEWS:2517 msgid "" ":gh:`154090`: Record the profiling mode in Tachyon binary profiles and " "reject differential comparisons whose known modes do not match." msgstr "" -#: ../NEWS:2234 +#: ../NEWS:2520 msgid "" ":gh:`152907`: Restore cooked-mode terminal output flags " "around :c:data:`PyOS_InputHook` callbacks in the new :term:`REPL` (:mod:`!" @@ -3963,161 +4441,161 @@ msgid "" "its carriage returns." msgstr "" -#: ../NEWS:2240 +#: ../NEWS:2526 msgid "" ":gh:`151179`: Fix a pidfd leak in ``_PidfdChildWatcher`` on Linux: the " "watcher no longer leaks the process file descriptor when ``waitpid()`` fails " "with an error other than :exc:`ChildProcessError`." msgstr "" -#: ../NEWS:2247 +#: ../NEWS:2533 msgid "" ":gh:`57491`: Reduce the depth of the table of contents in the EPUB " "documentation from three levels to two, making it much shorter and easier to " "navigate in e-book readers." msgstr "" -#: ../NEWS:2254 +#: ../NEWS:2540 msgid "" ":gh:`158051`: The iOS testbed has been updated for compatibilty with Xcode " "27." msgstr "" -#: ../NEWS:2260 +#: ../NEWS:2546 msgid "" ":gh:`158010`: Update Android and iOS build scripts to use OpenSSL 3.5.9." msgstr "" -#: ../NEWS:2262 +#: ../NEWS:2548 msgid "" ":gh:`157549`: Use ``sysconf(_SC_PAGESIZE)`` instead of ``getpagesize()`` in " "``remote_debug.h`` so ``_remote_debugging`` builds on Darwin with ``-" "Werror=implicit-function-declaration``." msgstr "" -#: ../NEWS:2266 +#: ../NEWS:2552 msgid "" ":gh:`152023`: Update Android builds to SQLite 3.53.4. Additionally, enable " "the ``median()`` and ``percentile()`` functions." msgstr "" -#: ../NEWS:2272 +#: ../NEWS:2558 msgid ":gh:`158010`: Updated Windows builds to use OpenSSL 3.5.9." msgstr "" -#: ../NEWS:2274 +#: ../NEWS:2560 msgid "" ":gh:`157368`: Fix truncated :data:`sys.version` in the case of clang-cl " "versions 22 or newer on Windows. Also fixes the Windows on Arm case, where " "the Microsoft compiler was reported instead of clang. Patch by Chris Eibl." msgstr "" -#: ../NEWS:2278 +#: ../NEWS:2564 msgid "" ":gh:`157212`: Fix ``_Py_ThreadId()`` compilation on Windows ARM64 with MinGW " "toolchains, where ``__getReg()`` is unavailable. The TEB address is now read " "directly from ``x18``. Patch by Christian Aurich." msgstr "" -#: ../NEWS:2282 +#: ../NEWS:2568 msgid "" ":gh:`152023`: Update Windows builds to SQLite 3.53.4. Additionally, enable " "the ``median()`` and ``percentile()`` functions." msgstr "" -#: ../NEWS:2288 +#: ../NEWS:2574 msgid ":gh:`158010`: Update macOS installer to use OpenSSL 3.5.9." msgstr "" -#: ../NEWS:2290 +#: ../NEWS:2576 msgid ":gh:`152023`: Update macOS installer builds to SQLite 3.53.4." msgstr "" -#: ../NEWS:2295 +#: ../NEWS:2581 msgid "" ":gh:`158067`: Fix the IDLE File Open dialog listing text files before Python " "files when opened from the Shell or an Output window." msgstr "" -#: ../NEWS:2298 +#: ../NEWS:2584 msgid "" ":gh:`75512`: Output from a thread printed in the IDLE Shell while a " "statement is being entered no longer takes over the prompt of the statement." msgstr "" -#: ../NEWS:2301 +#: ../NEWS:2587 msgid "" ":gh:`89544`: Fix IDLE hanging after Restart Shell while receiving a large " "output from the user process." msgstr "" -#: ../NEWS:2304 +#: ../NEWS:2590 msgid "" ":gh:`59568`: Fix \"Save As\" and \"Open\" dialogs in IDLE for a file whose " "name starts with ``~`` on Windows and X11 with Tcl/Tk older than 9." msgstr "" -#: ../NEWS:2307 +#: ../NEWS:2593 msgid "" ":gh:`69004`: The Debugger item of the IDLE Debug menu is now disabled while " "user code runs, like Stack Viewer." msgstr "" -#: ../NEWS:2310 +#: ../NEWS:2596 msgid "" ":gh:`93966`: The highlighting of a syntax error in the IDLE Shell is now " "removed when the next statement is entered, not only when the next syntax " "error occurs." msgstr "" -#: ../NEWS:2314 +#: ../NEWS:2600 msgid "" ":gh:`75234`: Fix editing help sources and key bindings in the IDLE Settings " "dialog after selecting them with the keyboard." msgstr "" -#: ../NEWS:2317 +#: ../NEWS:2603 msgid "" ":gh:`55646`: Fix IDLE crash at startup when the user configuration contains " "an invalid key binding, such as ```` instead of ````. The invalid binding is now ignored with a warning." msgstr "" -#: ../NEWS:2324 +#: ../NEWS:2610 msgid "" ":gh:`156939`: Fix :c:func:`PyBytesWriter_FinishWithSize` to return an empty " "bytearray when :c:func:`!_PyBytesWriter_CreateByteArray` is used, instead of " "returning an empty bytes string. Patch by Victor Stinner." msgstr "" -#: ../NEWS:2328 +#: ../NEWS:2614 msgid "" ":gh:`156939`: Fix :c:func:`PyBytesWriter_Format` error handling: restore the " "writer to its previous state on error. Patch by Victor Stinner." msgstr "" -#: ../NEWS:2331 +#: ../NEWS:2617 msgid "" ":gh:`140550`: Fix the :c:macro:`PyABIInfo_VAR` macro: remove redundant " "``;``. Before, ``PyABIInfo_VAR(abi_info);`` code added two ``;;`` which is " "illegal in C++03. Patch by Victor Stinner." msgstr "" -#: ../NEWS:2337 +#: ../NEWS:2623 msgid "Python 3.15.0 release candidate 2" msgstr "" -#: ../NEWS:2339 +#: ../NEWS:2625 msgid "*Release date: 2026-09-01*" msgstr "" -#: ../NEWS:2344 +#: ../NEWS:2630 msgid "" ":gh:`156723`: Update bundled `libexpat `_ to " "version 2.8.4." msgstr "" -#: ../NEWS:2347 +#: ../NEWS:2633 msgid "" ":gh:`156002`: Bound the amount of data :mod:`zipfile` decompresses per read " "for members compressed with bzip2, LZMA, or Zstandard, matching the existing " @@ -4125,7 +4603,7 @@ msgid "" "unbounded allocation even when read in small chunks." msgstr "" -#: ../NEWS:2352 +#: ../NEWS:2638 msgid "" ":gh:`155999`: Fix the :mod:`tarfile` ``tar`` and ``data`` extraction filters " "creating directories outside the destination for members whose name leaves " @@ -4134,14 +4612,14 @@ msgid "" "created from the name as given." msgstr "" -#: ../NEWS:2358 +#: ../NEWS:2644 msgid "" ":gh:`155292`: Change the :mod:`stringprep` module and :mod:`encodings.idna` " "codec to not consider Unicode codepoint attributes beyond those defined " "in :rfc:`3454`." msgstr "" -#: ../NEWS:2362 +#: ../NEWS:2648 msgid "" ":gh:`155694`: Fix :cve:`2026-15806` by " "scoping :class:`~urllib.request.HTTPPasswordMgr` credentials to the URL " @@ -4149,7 +4627,7 @@ msgid "" "matching HTTP URL, while URIs without a scheme continue to match any scheme." msgstr "" -#: ../NEWS:2371 +#: ../NEWS:2657 msgid "" ":gh:`155725`: :mod:`tracemalloc` no longer acquires the :term:`GIL` nor " "creates a temporary thread state to trace memory allocations: traceback " @@ -4159,38 +4637,38 @@ msgid "" "Python thread state record the traceback as ````." msgstr "" -#: ../NEWS:2378 +#: ../NEWS:2664 msgid "" ":gh:`148750`: :mod:`encodings` is no longer frozen, due to issues importing " "submodules when using a zipped standard library." msgstr "" -#: ../NEWS:2381 +#: ../NEWS:2667 msgid "" ":gh:`155254`: Avoid warning about missing standard library when " "using :ref:`sys-path-init-_pth-files`." msgstr "" -#: ../NEWS:2384 +#: ../NEWS:2670 msgid "" ":gh:`155978`: Fix a memory leak in the free-threaded build when setting or " "deleting a special method (such as ``__repr__``) on a class that has many " "subclasses." msgstr "" -#: ../NEWS:2388 +#: ../NEWS:2674 msgid "" ":gh:`155752`: Fix a crash when a :class:`types.GenericAlias` argument gains " "a ``__typing_subst__`` hook after the alias parameters have been cached." msgstr "" -#: ../NEWS:2391 +#: ../NEWS:2677 msgid "" ":gh:`129752`: Don't update adaptive counters in the free-threaded build when " "thread-local bytecode is disabled (``-X tlbc=0``). Patch by Donghee Na." msgstr "" -#: ../NEWS:2394 +#: ../NEWS:2680 msgid "" ":gh:`155515`: Track the internal HAMT iterators, which back iteration over " "a :class:`contextvars.Context`, with the garbage collector. A reference " @@ -4198,7 +4676,7 @@ msgid "" "whole context it iterated over." msgstr "" -#: ../NEWS:2399 +#: ../NEWS:2685 msgid "" ":gh:`155400`: Fix a deadlock in the free-threaded build between two threads " "assigning to a special method of the same class. While applying the type " @@ -4207,7 +4685,7 @@ msgid "" "in the wrong order, if the thread blocked on the stop-the-world mutex." msgstr "" -#: ../NEWS:2406 +#: ../NEWS:2692 msgid "" ":gh:`155363`: Fix a leak in the :term:`free-threaded build` when creating a " "thread state fails after an internal QSBR slot has been reserved for it. The " @@ -4215,26 +4693,26 @@ msgid "" "repeated failures." msgstr "" -#: ../NEWS:2411 +#: ../NEWS:2697 msgid "" ":gh:`154701`: Fix an infinite loop in JIT when a ``FOR_ITER`` side exit " "links an executor back to itself." msgstr "" -#: ../NEWS:2414 +#: ../NEWS:2700 msgid "" ":gh:`154196`: Improve :exc:`AttributeError` messages from unresolved lazy " "imports. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:2417 +#: ../NEWS:2703 msgid "" ":gh:`151377`: Fix races in free-threaded builds when updating type slots for " "newly created classes and when removing entries from a base type's " "subclasses dictionary." msgstr "" -#: ../NEWS:2421 +#: ../NEWS:2707 msgid "" ":gh:`148817`: Fold large constant list and set literals used as the iterable " "of a :keyword:`for` loop or ``in``/``not in`` test into a " @@ -4243,7 +4721,7 @@ msgid "" "moved to the CFG." msgstr "" -#: ../NEWS:2427 +#: ../NEWS:2713 msgid "" ":gh:`85260`: :func:`compile` now raises :exc:`ValueError` instead of " "crashing on a debug build if an identifier field of an AST node (such as the " @@ -4251,33 +4729,33 @@ msgid "" "``\"None\"``, ``\"True\"`` or ``\"False\"``." msgstr "" -#: ../NEWS:2435 +#: ../NEWS:2721 msgid "" ":gh:`156523`: Fix :func:`asyncio.as_completed` not recording the awaiting " "task in the call graph." msgstr "" -#: ../NEWS:2438 +#: ../NEWS:2724 msgid "" ":gh:`156408`: Fix :func:`asyncio.print_call_graph` " "raising :exc:`AttributeError` when called on a task that has already " "finished." msgstr "" -#: ../NEWS:2441 +#: ../NEWS:2727 msgid "" ":gh:`156404`: Restore compatibility with :file:`.pth` files generated before " "Python 3.15 in the :mod:`site` module. Inject the ``fullname`` variable in " "the frame which executes pth code." msgstr "" -#: ../NEWS:2445 +#: ../NEWS:2731 msgid "" ":gh:`156353`: Fix :mod:`configparser` parsing when using whitespace in " "*delimiters*." msgstr "" -#: ../NEWS:2448 +#: ../NEWS:2734 msgid "" ":gh:`156112`: :mod:`!_ios_support` no longer fails to import " "when :func:`ctypes.util.find_library` cannot resolve the ObjC runtime " @@ -4285,7 +4763,7 @@ msgid "" "loaded by name, which dyld resolves against the cache directly." msgstr "" -#: ../NEWS:2453 +#: ../NEWS:2739 msgid "" ":gh:`155974`: Fix a regression in Python " "3.15: :meth:`~curses.window.addstr`, :meth:`~curses.window.addnstr`, :meth:`~curses.window.insstr` " @@ -4293,7 +4771,7 @@ msgid "" "the write fails, instead of leaving the temporary *attr* applied." msgstr "" -#: ../NEWS:2458 +#: ../NEWS:2744 msgid "" ":gh:`155952`: Fix the signatures " "of :meth:`sqlite3.Connection.execute`, :func:`warnings.warn` " @@ -4301,27 +4779,27 @@ msgid "" "the correct defaults for parameters." msgstr "" -#: ../NEWS:2462 +#: ../NEWS:2748 msgid "" ":gh:`155888`: Fix :meth:`asyncio.WriteTransport.writelines` hanging the " "transport when the last data chunk is empty." msgstr "" -#: ../NEWS:2465 +#: ../NEWS:2751 msgid "" ":gh:`155869`: Fix :meth:`!reorganize` in :mod:`dbm.dumb` failing to persist " "updated value offsets, which could cause data loss after reopening the " "database." msgstr "" -#: ../NEWS:2469 +#: ../NEWS:2755 msgid "" ":gh:`155781`: Fix a possible crash in free-threaded builds when " "the :mod:`sqlite3` converter registry is modified concurrently while a " "cursor builds its row cast map." msgstr "" -#: ../NEWS:2473 +#: ../NEWS:2759 msgid "" ":gh:`155702`: Fix :class:`sqlite3.Blob` slice assignment with a step. It " "patched the bytes object read from the blob, which for a single byte is an " @@ -4329,32 +4807,32 @@ msgid "" "process." msgstr "" -#: ../NEWS:2478 +#: ../NEWS:2764 msgid "" ":gh:`155468`: Fix :mod:`netrc` to distinguish empty quoted tokens from end-" "of-file, so malformed files no longer cause the remaining content to be " "silently ignored." msgstr "" -#: ../NEWS:2482 +#: ../NEWS:2768 msgid "" ":gh:`155519`: Avoid a data-race in free-threaded builds when reading and " "writing context variables from different threads." msgstr "" -#: ../NEWS:2485 +#: ../NEWS:2771 msgid "" ":gh:`155009`: Fix :class:`argparse.ArgumentParser` to preserve the program " "name from ``sys.argv[0]`` when a named module is executed as the main " "program without replacing ``sys.argv[0]``." msgstr "" -#: ../NEWS:2489 +#: ../NEWS:2775 msgid "" ":gh:`155063`: Bump the version of pip bundled in ensurepip to version 26.2.1" msgstr "" -#: ../NEWS:2491 +#: ../NEWS:2777 msgid "" ":gh:`153711`: On macOS, add run-time checks around the " "syscalls :manpage:`pipe2 (2)` and :manpage:`dup3 (2)`, in addition to the " @@ -4362,17 +4840,17 @@ msgid "" "these calls are available) can run on macOS 26 (where they aren't)." msgstr "" -#: ../NEWS:2496 +#: ../NEWS:2782 msgid "" ":gh:`154871`: Fixed a crash in :meth:`asyncio.Task.get_context` when called " "on an uninitialized task." msgstr "" -#: ../NEWS:2499 +#: ../NEWS:2785 msgid ":gh:`154568`: Fix :mod:`array` unpickling of little-endian float16." msgstr "" -#: ../NEWS:2501 +#: ../NEWS:2787 msgid "" ":gh:`154566`: Fix :meth:`array.array.byteswap` corrupting data for ``'Zd'`` " "(complex double) arrays with more than one element: the 16-byte item loop " @@ -4380,14 +4858,14 @@ msgid "" "after the first to be scrambled." msgstr "" -#: ../NEWS:2506 +#: ../NEWS:2792 msgid "" ":gh:`154467`: Fixed :mod:`pdb` remote attaching (``python -m pdb -p PID``) " "sending an empty prompt to the client instead of ``(Pdb)`` when the target " "process has an interactive terminal." msgstr "" -#: ../NEWS:2510 +#: ../NEWS:2796 msgid "" ":gh:`153772`: :func:`isinstance` checks against :mod:`collections.abc` " "classes such as :class:`~collections.abc.Mapping` no longer " @@ -4396,55 +4874,55 @@ msgid "" "case, matching the behaviour of the built-in :func:`isinstance`." msgstr "" -#: ../NEWS:2516 +#: ../NEWS:2802 msgid "" ":gh:`154086`: Store per-thread sample counts in Tachyon flamegraphs so " "filtering a thread updates frame widths and totals." msgstr "" -#: ../NEWS:2519 +#: ../NEWS:2805 msgid "" ":gh:`154060`: Store measured duration and sampling rate in Tachyon binary " "profiles so they remain available in replayed flamegraphs." msgstr "" -#: ../NEWS:2522 +#: ../NEWS:2808 msgid "" ":gh:`154085`: Prevent differential flamegraphs from duplicating self time " "across line nodes for the same function." msgstr "" -#: ../NEWS:2525 +#: ../NEWS:2811 msgid "" ":gh:`154088`: Make Tachyon count and render elided stacks consistently in " "differential flamegraphs." msgstr "" -#: ../NEWS:2528 +#: ../NEWS:2814 msgid "" ":gh:`154089`: Do not show unavailable sampling efficiency statistics in " "replayed Tachyon flamegraphs." msgstr "" -#: ../NEWS:2531 +#: ../NEWS:2817 msgid "" ":gh:`153158`: Remove the erroneous *width* argument of :meth:`!" "calendar.HTMLCalendar.formatmonthpage`, which could drop the year from the " "heading." msgstr "" -#: ../NEWS:2535 +#: ../NEWS:2821 msgid "" ":gh:`113329`: Fix :exc:`OSError` being raised when trying to run doctests on " "a class objects in the REPL. Patch by Sten Wessel." msgstr "" -#: ../NEWS:2541 +#: ../NEWS:2827 msgid "" ":gh:`156369`: Update Android and iOS build scripts to use OpenSSL 3.5.8." msgstr "" -#: ../NEWS:2543 +#: ../NEWS:2829 msgid "" ":gh:`156115`: iOS simulator builds are now configured with ``-mios-simulator-" "version-min`` instead of the device's ``-mios-version-min``. The device flag " @@ -4452,21 +4930,21 @@ msgid "" "detection silently failed." msgstr "" -#: ../NEWS:2551 +#: ../NEWS:2837 msgid ":gh:`156369`: Updated Windows builds to use OpenSSL 3.5.8." msgstr "" -#: ../NEWS:2556 +#: ../NEWS:2842 msgid ":gh:`156369`: Update macOS installer to use OpenSSL 3.5.8." msgstr "" -#: ../NEWS:2561 +#: ../NEWS:2847 msgid "" ":gh:`154059`: Fix the time units in Tachyon flame graph tooltips by " "accounting for the sampling interval when converting samples to milliseconds." msgstr "" -#: ../NEWS:2568 +#: ../NEWS:2854 msgid "" ":gh:`131740`: On the free-threaded " "build, :c:func:`PyUnstable_GC_VisitObjects` now also visits frozen objects " @@ -4474,15 +4952,15 @@ msgid "" "the behavior of the default build." msgstr "" -#: ../NEWS:2575 +#: ../NEWS:2861 msgid "Python 3.15.0 release candidate 1" msgstr "" -#: ../NEWS:2577 +#: ../NEWS:2863 msgid "*Release date: 2026-08-04*" msgstr "" -#: ../NEWS:2582 +#: ../NEWS:2868 msgid "" ":gh:`152674`: The :class:`xml.etree.ElementTree.Element` " "methods :meth:`~xml.etree.ElementTree.Element.findall`, :meth:`~xml.etree.ElementTree.Element.iterfind` " @@ -4491,121 +4969,121 @@ msgid "" "XML documents with many same-tag siblings." msgstr "" -#: ../NEWS:2592 +#: ../NEWS:2878 msgid "" ":gh:`154902`: Fix a crash when ``__conditional_annotations__`` is rebound to " "a non-set object." msgstr "" -#: ../NEWS:2595 +#: ../NEWS:2881 msgid "" ":gh:`133931`: Fix data races when setting attributes of function objects on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:2598 +#: ../NEWS:2884 msgid "" ":gh:`154775`: When matching a complex literal in :keyword:`case` statements, " "an extraneous ``+`` sign (for example, ``1++1j`` or ``1-+1j``) is no longer " "allowed." msgstr "" -#: ../NEWS:2602 +#: ../NEWS:2888 msgid "" ":gh:`154709`: Fix an out-of-bounds access in reverse dictionary iterators " "when the underlying dictionary is cleared and modified after the iterator is " "created." msgstr "" -#: ../NEWS:2606 +#: ../NEWS:2892 msgid "" ":gh:`154695`: Fix :class:`asyncio.Task` raising :exc:`AttributeError` when " "created with ``eager_start=True`` and no explicit *loop* argument." msgstr "" -#: ../NEWS:2609 +#: ../NEWS:2895 msgid "" ":gh:`153809`: Fix interpreter crash while deallocating objects " "of :class:`asyncio.Task` on free-threaded builds. Contributed by Sergey " "Miryanov." msgstr "" -#: ../NEWS:2613 +#: ../NEWS:2899 msgid "" ":gh:`154275`: Fix a crash when getting deeply nested ``__parameters__`` from " "a :class:`types.GenericAlias` objects." msgstr "" -#: ../NEWS:2616 +#: ../NEWS:2902 msgid "" ":gh:`154014`: Fix a JIT assertion during interpreter shutdown by " "initializing ``vm_data`` fields for cold executors that bypass " "``_Py_ExecutorInit()``." msgstr "" -#: ../NEWS:2619 +#: ../NEWS:2905 msgid "" ":gh:`153932`: Fix thread safety issue in the ``__reduce__`` method " "of :py:class:`enumerate`." msgstr "" -#: ../NEWS:2622 +#: ../NEWS:2908 msgid "" ":gh:`153881`: Fix potential data race when " "calling :meth:`~object.__getstate__` under the :term:`free-threaded build`." msgstr "" -#: ../NEWS:2625 +#: ../NEWS:2911 msgid "" ":gh:`153570`: Fix a use-after-free in :meth:`bytearray.take_bytes` when the " "argument's :meth:`~object.__index__` method resizes the bytearray. Patch by " "tonghuaroot." msgstr "" -#: ../NEWS:2629 +#: ../NEWS:2915 msgid "" ":gh:`153419`: Fix multiple :class:`bytearray` crashes and reference leaks " "caused by skipping :meth:`~object.__init__` and broken state setup code." msgstr "" -#: ../NEWS:2632 +#: ../NEWS:2918 msgid "" ":gh:`153236`: Propagate exceptions raised while importing lazy submodules " "instead of reporting them as missing attributes." msgstr "" -#: ../NEWS:2635 +#: ../NEWS:2921 msgid "" ":gh:`148874`: Ignore interrupts immediately after calling the ``__enter__`` " "method of a context menager in a ``with`` statement. This ensures that the " "``__exit__`` method is always called in a ``with`` statement." msgstr "" -#: ../NEWS:2639 +#: ../NEWS:2925 msgid "" ":gh:`150208`: Avoid double-quoting string values from ``pyconfig.h`` in " "``sysconfigdata`` variables." msgstr "" -#: ../NEWS:2645 +#: ../NEWS:2931 msgid "" ":gh:`155063`: Bump the version of pip bundled in ensurepip to version 26.2" msgstr "" -#: ../NEWS:2647 +#: ../NEWS:2933 msgid "" ":gh:`154936`: Fix the pure Python :mod:`json` decoder to report the correct " "position for invalid literal control characters in JSON strings." msgstr "" -#: ../NEWS:2650 +#: ../NEWS:2936 msgid "" ":gh:`154892`: Fix a bug in the C accelerator for :mod:`zoneinfo` " "where :class:`datetime.datetime` subclasses returning ``-1`` for ``hour``, " "``minute``, or ``second`` could incorrectly raise a :exc:`SystemError`." msgstr "" -#: ../NEWS:2654 +#: ../NEWS:2940 msgid "" ":gh:`154848`: The :mod:`pickle` C accelerator now enforces frame boundaries " "when unpickling, as the pure Python implementation already did. An argument " @@ -4615,27 +5093,27 @@ msgid "" "diverging from the :mod:`pickletools` disassembly of the same pickle." msgstr "" -#: ../NEWS:2662 +#: ../NEWS:2948 msgid "" ":gh:`154885`: :func:`os.get_terminal_size` now checks ``isatty`` before " "calling ``ioctl``, which reduces log noise on Android." msgstr "" -#: ../NEWS:2665 +#: ../NEWS:2951 msgid "" ":gh:`109638`: Fix exponential time in :meth:`csv.Sniffer.sniff` for a sample " "which contains many quote characters. A doubled quote character is now also " "detected in a field which contains the delimiter or a line break." msgstr "" -#: ../NEWS:2669 +#: ../NEWS:2955 msgid "" ":gh:`98820`: Fix quadratic time in :meth:`csv.Sniffer.sniff` for a sample " "which contains quoted fields, in particular for a single column of quoted " "fields." msgstr "" -#: ../NEWS:2673 +#: ../NEWS:2959 msgid "" ":gh:`154738`: Fix :meth:`!ExternalEntityParserCreate` not propagating the " "reparse-deferral setting to the subparser, which left :meth:`!" @@ -4643,7 +5121,7 @@ msgid "" "tonghuaroot." msgstr "" -#: ../NEWS:2678 +#: ../NEWS:2964 msgid "" ":gh:`93251`: Fix :exc:`UnicodeDecodeError` in :mod:`socket` functions (such " "as :func:`~socket.getaddrinfo` and :func:`~socket.gethostbyaddr`) when the " @@ -4651,19 +5129,19 @@ msgid "" "locale encoding." msgstr "" -#: ../NEWS:2683 +#: ../NEWS:2969 msgid "" ":gh:`148468`: Fix a regression in :mod:`argparse` where colorized argument " "help containing format specifiers did not accept string-like proxy objects." msgstr "" -#: ../NEWS:2687 +#: ../NEWS:2973 msgid "" ":gh:`142035`: Fix incorrect wrapping of :mod:`argparse` help text when color " "is enabled." msgstr "" -#: ../NEWS:2690 +#: ../NEWS:2976 msgid "" ":gh:`135736`: Fix ::class:`asyncio.TaskGroup` to not wrap " "a :exc:`GeneratorExit` into a :exc:`BaseExceptionGroup` if it was raised by " @@ -4671,20 +5149,20 @@ msgid "" "exceptions." msgstr "" -#: ../NEWS:2695 +#: ../NEWS:2981 msgid "" ":gh:`154551`: Fix :func:`ctypes.util.find_library` returning ``None`` in non-" "UTF-8 locales." msgstr "" -#: ../NEWS:2698 +#: ../NEWS:2984 msgid "" ":gh:`79366`: Fixed a race condition in :mod:`logging`: if a handler was " "removed while a record was being emitted, the following handlers of the same " "logger could be skipped." msgstr "" -#: ../NEWS:2702 +#: ../NEWS:2988 msgid "" ":gh:`154189`: Fixed a potential use-after-free when " "calling :func:`functools.partial`. Now, when invoking " @@ -4693,7 +5171,7 @@ msgid "" "in case of reentrancy." msgstr "" -#: ../NEWS:2707 +#: ../NEWS:2993 msgid "" ":gh:`73458`: Fix :func:`logging.config.listen`: it left the caller waiting " "for the ``ready`` event forever if the server could not be started, for " @@ -4702,67 +5180,67 @@ msgid "" "is only aliased to ``::1``." msgstr "" -#: ../NEWS:2713 +#: ../NEWS:2999 msgid "" ":gh:`154460`: Fix :func:`time.strftime` " "and :meth:`datetime.datetime.strftime` returning a wrong ISO 8601 week " "number (``%V``) on OpenBSD." msgstr "" -#: ../NEWS:2717 +#: ../NEWS:3003 msgid "" ":gh:`154435`: Fix :func:`os.posix_fadvise` and :func:`os.posix_fallocate` on " "DragonFly BSD: they raised :exc:`OSError` with a meaningless error code, " "because these functions return -1 and set ``errno`` there." msgstr "" -#: ../NEWS:2721 +#: ../NEWS:3007 msgid "" ":gh:`154399`: Fix :mod:`venv` activation in a non-interactive csh: " "``activate.csh`` no longer fails when the ``prompt`` variable is not set." msgstr "" -#: ../NEWS:2724 +#: ../NEWS:3010 msgid "" ":gh:`154389`: Fix :func:`uuid.uuid1` on OpenBSD: it returned a version 4 " "UUID, because ``uuid_create()`` generates random UUIDs on this platform." msgstr "" -#: ../NEWS:2727 +#: ../NEWS:3013 msgid "" ":gh:`154324`: Fix :func:`os.sendfile` on illumos: it no longer reports a " "successful transfer when the underlying system call failed without writing " "any data." msgstr "" -#: ../NEWS:2731 +#: ../NEWS:3017 msgid "" ":gh:`154307`: Fix :meth:`tempfile.TemporaryDirectory.cleanup` on DragonFly " "BSD, where removing a file with the ``UF_NOUNLINK`` flag failed with " "``EISDIR`` instead of ``EPERM``." msgstr "" -#: ../NEWS:2735 +#: ../NEWS:3021 msgid "" ":gh:`154291`: Fix :func:`socket.has_dualstack_ipv6` to return ``False`` on " "platforms such as DragonFly BSD where setting ``IPV6_V6ONLY`` to 0 silently " "has no effect." msgstr "" -#: ../NEWS:2739 +#: ../NEWS:3025 msgid "" ":gh:`154283`: On DragonFly BSD, :func:`threading.get_native_id` now returns " "a value that is unique across processes, matching the other platforms." msgstr "" -#: ../NEWS:2742 +#: ../NEWS:3028 msgid "" ":gh:`154258`: Fix a crash in :meth:`mmap.mmap.resize` on NetBSD when growing " "a shared anonymous mapping. :meth:`!resize` now raises :exc:`ValueError` in " "this case, as it already did on Linux." msgstr "" -#: ../NEWS:2746 +#: ../NEWS:3032 msgid "" ":gh:`131565`: :func:`ctypes.util.dllist` now works on NetBSD. It is " "implemented in the :mod:`!_ctypes` extension module so that " @@ -4771,20 +5249,20 @@ msgid "" "called through ctypes." msgstr "" -#: ../NEWS:2752 +#: ../NEWS:3038 msgid "" ":gh:`154225`: Fix :func:`os.openpty` on Solaris and illumos: it no longer " "leaves the pseudo-terminal as the controlling terminal of the calling " "process." msgstr "" -#: ../NEWS:2756 +#: ../NEWS:3042 msgid "" ":gh:`154227`: Fix :func:`os.posix_openpt` on OpenBSD, where it rejected " "the :data:`~os.O_CLOEXEC` flag." msgstr "" -#: ../NEWS:2759 +#: ../NEWS:3045 msgid "" ":gh:`145030`: Fix :mod:`asyncio` write pipe transports for named FIFOs on " "macOS and Solaris. Unread data sitting in the FIFO made the transport " @@ -4792,13 +5270,13 @@ msgid "" "transport." msgstr "" -#: ../NEWS:2764 +#: ../NEWS:3050 msgid "" ":gh:`154176`: Fix a crash in :func:`locale.strxfrm` on DragonFly BSD, whose " "``wcsxfrm()`` does not support the zero size." msgstr "" -#: ../NEWS:2767 +#: ../NEWS:3053 msgid "" ":gh:`154836`: Fix :meth:`subprocess.Popen.wait` raising :exc:`TypeError` " "(macOS and other BSDs) or :exc:`OverflowError` (Linux) for very large " @@ -4807,7 +5285,7 @@ msgid "" "masking :exc:`OverflowError` for out-of-range timeouts as :exc:`TypeError`." msgstr "" -#: ../NEWS:2773 +#: ../NEWS:3059 msgid "" ":gh:`154053`: Fix compilation of the :mod:`ssl` module against LibreSSL, " "which does not provide ``SSL_CTX_set1_sigalgs_list()`` and " @@ -4816,23 +5294,23 @@ msgid "" "raise :exc:`NotImplementedError` on LibreSSL." msgstr "" -#: ../NEWS:2779 +#: ../NEWS:3065 msgid "" ":gh:`154001`: Fix :func:`random.binomialvariate` " "raising :exc:`ZeroDivisionError` when :func:`random.random` returns zero." msgstr "" -#: ../NEWS:2782 +#: ../NEWS:3068 msgid "" ":gh:`153908`: Fix data race when calling :func:`repr` " "on :class:`itertools.count` under the :term:`free-threaded build`." msgstr "" -#: ../NEWS:2785 +#: ../NEWS:3071 msgid ":gh:`153896`: Deduplicate unhashable args in :data:`typing.Literal`." msgstr "" -#: ../NEWS:2787 +#: ../NEWS:3073 msgid "" ":gh:`153864`: On a wide :mod:`curses` build, :meth:`curses.window.insch` now " "inserts a non-ASCII byte as the character it encodes in the window's " @@ -4840,7 +5318,7 @@ msgid "" "code point." msgstr "" -#: ../NEWS:2792 +#: ../NEWS:3078 msgid "" ":gh:`153862`: On a wide :mod:`curses` build, :meth:`curses.window.inch` now " "returns the locale-encoded byte of a non-ASCII character, " @@ -4848,20 +5326,20 @@ msgid "" "point." msgstr "" -#: ../NEWS:2796 +#: ../NEWS:3082 msgid "" ":gh:`146011`: Fix a heap-use-after-free in the C implementation " "of :mod:`decimal` when calling :func:`repr` after deleting " "the :class:`~decimal.Context`." msgstr "" -#: ../NEWS:2800 +#: ../NEWS:3086 msgid "" ":gh:`153761`: Fix cancelling :meth:`asyncio.loop.sock_accept` dropping a " "pending connection." msgstr "" -#: ../NEWS:2803 +#: ../NEWS:3089 msgid "" ":gh:`127049`: Fix a race condition in :mod:`asyncio` on Unix " "where :meth:`asyncio.subprocess.Process.send_signal`, :meth:`~asyncio.subprocess.Process.terminate` " @@ -4870,7 +5348,7 @@ msgid "" "ThreadedChildWatcher is used. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:2810 +#: ../NEWS:3096 msgid "" ":gh:`153404`: :class:`urllib.robotparser.RobotFileParser` now silently " "ignores a ``Crawl-delay`` or ``Request-rate`` value written with non-decimal " @@ -4879,7 +5357,7 @@ msgid "" "file." msgstr "" -#: ../NEWS:2815 +#: ../NEWS:3101 msgid "" ":gh:`153291`: Fix a data race in :func:`readline.get_completer` " "and :func:`readline.get_pre_input_hook` on the :term:`free-threaded `_ to " "version 2.8.2." msgstr "" -#: ../NEWS:2933 +#: ../NEWS:3219 msgid "" ":gh:`151987`: The :meth:`tarfile.TarFile.extract` method now applies the " "given filter when it extracts a link target from the archive as a fallback." msgstr "" -#: ../NEWS:2937 +#: ../NEWS:3223 msgid "" ":gh:`151981`: In :mod:`tarfile`, seeking a stream now stops when end of the " "stream is reached." msgstr "" -#: ../NEWS:2940 +#: ../NEWS:3226 msgid "" ":gh:`151558`: Fixed an vulnerability in the :mod:`tarfile` ``data`` and " "``tar`` extraction filters where crafted archives could create a symlink " @@ -5066,7 +5544,7 @@ msgid "" "of :cve:`2025-4330`." msgstr "" -#: ../NEWS:2945 +#: ../NEWS:3231 msgid "" ":gh:`150743`: :mod:`http.client` now limits the number of chunked-response " "trailer lines it will read " @@ -5077,39 +5555,39 @@ msgid "" "was in use. Reported by ``@YLChen-007`` via GHSA-w4q2-g22w-6fr4." msgstr "" -#: ../NEWS:2953 +#: ../NEWS:3239 msgid "" ":gh:`143927`: Normalize all line endings (CR, CRLF, and LF) to LF+TAB when " "writing multi-line configparser values." msgstr "" -#: ../NEWS:2959 +#: ../NEWS:3245 msgid "" ":gh:`153298`: Fixes a data race in :class:`types.GenericAlias` " "``__parameters__`` initialization on free-threading builds." msgstr "" -#: ../NEWS:2962 +#: ../NEWS:3248 msgid "" ":gh:`153205`: Fix a potential :exc:`SystemError` during vector calls when " "memory allocation fails. A :exc:`MemoryError` is now raised instead." msgstr "" -#: ../NEWS:2965 +#: ../NEWS:3251 msgid "" ":gh:`152682`: Fix NULL pointer dereference in :func:`compile` when a " "reserved name (e.g. ``__classdict__``) is used as a type parameter name and " "memory allocation fails while formatting the error message." msgstr "" -#: ../NEWS:2969 +#: ../NEWS:3255 msgid "" ":gh:`152635`: Fix a crash caused when running out of memory creating " "a :mod:`!_interpchannels` channel. Now a :exc:`MemoryError` is correctly " "raised." msgstr "" -#: ../NEWS:2973 +#: ../NEWS:3259 msgid "" ":gh:`152405`: Do not expose the internal mapping " "of :class:`types.MappingProxyType` when performing rich-compare operations " @@ -5118,57 +5596,57 @@ msgid "" "instance, but its copy, when dealing with custom types." msgstr "" -#: ../NEWS:2979 +#: ../NEWS:3265 msgid "" ":gh:`152492`: :type:`collections.OrderedDict` ``update`` method can now " "accept :type:`frozendict` as an argument." msgstr "" -#: ../NEWS:2982 +#: ../NEWS:3268 msgid "" ":gh:`152375`: Fix undefined behaviour when a :mod:`sys.monitoring` callback " "raised an exception while the program was following a branch or loop." msgstr "" -#: ../NEWS:2985 +#: ../NEWS:3271 msgid "" ":gh:`152235`: Defer GC tracking " "of :meth:`set.intersection`, :meth:`set.difference`, :meth:`set.symmetric_difference`, :meth:`set.union` " "and ``set.__sub__``. Patch by Donghee Na." msgstr "" -#: ../NEWS:2989 +#: ../NEWS:3275 msgid "" ":gh:`152235`: Defer GC tracking of a :class:`set` or :class:`frozenset` to " "the end of its construction from iterable. Patch by Donghee Na." msgstr "" -#: ../NEWS:2992 +#: ../NEWS:3278 msgid "" ":gh:`152228`: Fix an assertion failure when python is built in a debug mode " "that happened in :meth:`str.replace` under a limited memory situation." msgstr "" -#: ../NEWS:2995 +#: ../NEWS:3281 msgid "" ":gh:`151722`: :meth:`!frozendict.fromkeys` now only tracks " "the :class:`frozendict` in the garbage collector once the dictionary is " "fully initialized. Patch by Donghee Na and Victor Stinner." msgstr "" -#: ../NEWS:2999 +#: ../NEWS:3285 msgid "" ":gh:`151763`: Fixes possible crash on :class:`types.CodeType` deallocation." msgstr "" -#: ../NEWS:3001 +#: ../NEWS:3287 msgid "" ":gh:`152020`: On the free-threaded build, :func:`asyncio.all_tasks` no " "longer loses eager-started tasks when called from a thread other than the " "one running the event loop." msgstr "" -#: ../NEWS:3005 +#: ../NEWS:3291 msgid "" ":gh:`151763`: Fix a potential crash " "in :func:`compile`, :func:`exec`, :func:`eval` and :func:`ast.parse` when an " @@ -5176,41 +5654,41 @@ msgid "" "exception." msgstr "" -#: ../NEWS:3009 +#: ../NEWS:3295 msgid "" ":gh:`151912`: Fixed a crash in ``type()`` when selecting a metaclass whose " "``tp_new`` slot is ``NULL``. Such metaclasses are now rejected with " "``TypeError`` instead of causing a NULL pointer dereference." msgstr "" -#: ../NEWS:3013 +#: ../NEWS:3299 msgid "" ":gh:`151773`: Fix a crash in :func:`contextvars.ContextVar.set` when memory " "allocation fails." msgstr "" -#: ../NEWS:3016 +#: ../NEWS:3302 msgid "" ":gh:`151672`: Fix an inconsistency where calling ``__lazy_import__`` with a " "string ``fromlist`` would return a :class:`types.LazyImportType` that " "resolves to the named member, rather than the module being imported." msgstr "" -#: ../NEWS:3020 +#: ../NEWS:3306 msgid "" ":gh:`151619`: Fix an issue where using non-module global or builtin " "namespaces (such as dictionaries passed to :func:`exec`) could cause cached " "global loads to produce unresolved :ref:`lazy imports `." msgstr "" -#: ../NEWS:3025 +#: ../NEWS:3311 msgid "" ":gh:`151126`: Fix a crash when sharing :class:`memoryview` objects between " "interpreters fails due to running out of memory. It now raises a " "proper :exc:`MemoryError`." msgstr "" -#: ../NEWS:3029 +#: ../NEWS:3315 msgid "" ":gh:`151644`: Fix a data race in :func:`sys.setdlopenflags` " "and :func:`sys.getdlopenflags` when called concurrently in the free-threaded " @@ -5218,51 +5696,51 @@ msgid "" "``_PyImport_SetDLOpenFlags`` functions now use atomic load/store operations." msgstr "" -#: ../NEWS:3035 +#: ../NEWS:3321 msgid "" ":gh:`151126`: Avoid possible crash in ``_winapi.c`` where a device has no " "memory left. Now it properly raises a :exc:`MemoryError`. Patch by Ivy Xu." msgstr "" -#: ../NEWS:3038 +#: ../NEWS:3324 msgid "" ":gh:`151029`: On Linux, fix :func:`sys.remote_exec` unable to find remote " "writable memory when ``libpython`` replaced on disk." msgstr "" -#: ../NEWS:3041 +#: ../NEWS:3327 msgid "" ":gh:`150459`: Fix :exc:`SyntaxError` error message for ``from x lazy import " "y``. Raise :exc:`SyntaxWarning` on ``from . lazy import x`` (with whitespace " "between the dots and a module named ``lazy``)." msgstr "" -#: ../NEWS:3045 +#: ../NEWS:3331 msgid "" ":gh:`150858`: Fix a data race while changing ``__qualname__`` of a type " "concurrently on free-threaded builds." msgstr "" -#: ../NEWS:3048 +#: ../NEWS:3334 msgid "" ":gh:`144774`: Fix data race in :class:`BaseException` when an exception is " "copied while being mutated." msgstr "" -#: ../NEWS:3051 +#: ../NEWS:3337 msgid "" ":gh:`150411`: Fix a data race in the free-threaded build " "when :func:`gc.get_count` reads the young generation allocation count while " "another thread updates it." msgstr "" -#: ../NEWS:3055 +#: ../NEWS:3341 msgid "" ":gh:`149689`: Fix missing error propagation in parser action helpers when " "memory allocation fails. Patch by Thomas Kowalski." msgstr "" -#: ../NEWS:3058 +#: ../NEWS:3344 msgid "" ":gh:`149162`: Fix a potential deadlock " "in :c:func:`PyUnicode_InternFromString` and other interning functions in " @@ -5270,25 +5748,25 @@ msgid "" "initializers." msgstr "" -#: ../NEWS:3063 +#: ../NEWS:3349 msgid ":gh:`148825`: Fix build error if specialization is disabled." msgstr "" -#: ../NEWS:3068 +#: ../NEWS:3354 msgid "" ":gh:`153695`: Hashing a :class:`sqlite3.Row` that contains an unhashable " "value now raises :exc:`TypeError` instead of :exc:`SystemError`. Patch by " "tonghuaroot." msgstr "" -#: ../NEWS:3072 +#: ../NEWS:3358 msgid "" ":gh:`153658`: Fix :meth:`sqlite3.Connection.iterdump` " "raising :exc:`sqlite3.OperationalError` when a table name contains a single " "quote. Patch by tonghuaroot." msgstr "" -#: ../NEWS:3076 +#: ../NEWS:3362 msgid "" ":gh:`85943`: Fix :mod:`struct` functions raising :exc:`BytesWarning` under " "the ``-bb`` command line option when a :class:`str` format is used after an " @@ -5296,7 +5774,7 @@ msgid "" "longer mixes :class:`str` and :class:`bytes` keys." msgstr "" -#: ../NEWS:3081 +#: ../NEWS:3367 msgid "" ":gh:`151292`: Store the sample count in :mod:`profiling.sampling` binary " "format, as a 64-bit integer, widening from previously used 32-bit integer. " @@ -5305,46 +5783,46 @@ msgid "" "Pawłowski-Wieroński." msgstr "" -#: ../NEWS:3087 +#: ../NEWS:3373 msgid "" ":gh:`153417`: Error messages from :meth:`imaplib.IMAP4.select` " "and :meth:`imaplib.IMAP4.uid` no longer raise :exc:`BytesWarning` " "under :option:`!-bb` when the mailbox or command argument is :class:`bytes`." msgstr "" -#: ../NEWS:3091 +#: ../NEWS:3377 msgid "" ":gh:`153406`: :func:`email.utils.parsedate_to_datetime` now " "raises :exc:`ValueError` instead of :exc:`OverflowError` when the parsed " "year or timezone offset is out of range, matching its documented behavior." msgstr "" -#: ../NEWS:3095 +#: ../NEWS:3381 msgid "" ":gh:`153333`: The ``readprofile`` method of :class:`tkinter.Tk` now reads " "the user's profile scripts using the encoding declared in the file, instead " "of the locale encoding." msgstr "" -#: ../NEWS:3099 +#: ../NEWS:3385 msgid "" ":gh:`153083`: Defer GC tracking of an :class:`array.array` to the end of its " "construction. Patch by Donghee Na." msgstr "" -#: ../NEWS:3102 +#: ../NEWS:3388 msgid "" ":gh:`153292`: Fix data race in repr of :class:`threading.RLock` in free-" "threading build." msgstr "" -#: ../NEWS:3105 +#: ../NEWS:3391 msgid "" ":gh:`153293`: Fix the live sampling profiler TUI keeping stale aggregated " "opcode statistics after a stats reset." msgstr "" -#: ../NEWS:3108 +#: ../NEWS:3394 msgid "" ":gh:`143990`: A :class:`tkinter.font.Font` created from a named font, " "including by :meth:`~tkinter.font.Font.copy`, now copies its configured " @@ -5352,37 +5830,37 @@ msgid "" "preserving a size specified in pixels (a negative size)." msgstr "" -#: ../NEWS:3113 +#: ../NEWS:3399 msgid "" ":gh:`148286`: Fix undefined behavior " "in :attr:`compression.zstd.ZstdDecompressor.unused_data` when a complete " "frame was decompressed in a single call." msgstr "" -#: ../NEWS:3117 +#: ../NEWS:3403 msgid ":gh:`153210`: Fix crash on :mod:`array` import under a memory pressure." msgstr "" -#: ../NEWS:3119 +#: ../NEWS:3405 msgid "" ":gh:`153200`: Fix :func:`math.isqrt` returning an incorrect result for " "arguments not less than 2**64 that are instances of an :class:`int` subclass " "with an overridden comparison operator." msgstr "" -#: ../NEWS:3123 +#: ../NEWS:3409 msgid "" ":gh:`153068`: Fix :meth:`!cProfile.Profile.enable` to no longer overwrite " "errors from :mod:`sys.monitoring`." msgstr "" -#: ../NEWS:3126 +#: ../NEWS:3412 msgid "" ":gh:`153062`: Fix a crash when concurrently iterating " "an :func:`itertools.tee` iterator on the free-threaded build." msgstr "" -#: ../NEWS:3129 +#: ../NEWS:3415 msgid "" ":gh:`153056`: Fix :class:`string.Template` raising a " "spurious :exc:`ValueError` when the *pattern* attribute is a compiled " @@ -5390,7 +5868,7 @@ msgid "" "threaded build this also occurred as a data race on the first concurrent use." msgstr "" -#: ../NEWS:3134 +#: ../NEWS:3420 msgid "" ":gh:`143921`: Narrow the control character check in :mod:`imaplib` commands: " "only NUL, CR and LF are now rejected. Other control characters are valid in " @@ -5398,27 +5876,27 @@ msgid "" "they are now accepted and sent quoted." msgstr "" -#: ../NEWS:3139 +#: ../NEWS:3425 msgid "" ":gh:`153037`: Fix :class:`~compression.zstd.ZstdFile` " "raising :exc:`AttributeError` instead of :exc:`io.UnsupportedOperation` when " "iterating over a file that is not open for reading." msgstr "" -#: ../NEWS:3143 +#: ../NEWS:3429 msgid "" ":gh:`135661`: Fix :class:`html.parser.HTMLParser`: an abruptly closed empty " "comment (```` or ````) no longer extends up to a later ``-->`` in " "the same :meth:`~html.parser.HTMLParser.feed` call." msgstr "" -#: ../NEWS:3147 +#: ../NEWS:3433 msgid "" ":gh:`152851`: Prevent a crash when allocation fails while copying " "a :func:`BLAKE-2s/2b ` object. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:3150 +#: ../NEWS:3436 msgid "" ":gh:`54930`: Error responses of :class:`http.server.BaseHTTPRequestHandler` " "to malformed request lines now include a status line and headers instead of " @@ -5426,7 +5904,7 @@ msgid "" "word ``GET`` request line) now receives an HTTP/0.9 style response." msgstr "" -#: ../NEWS:3155 +#: ../NEWS:3441 msgid "" ":gh:`119592`: Fix :class:`concurrent.futures.ProcessPoolExecutor` stranding " "submitted work forever when a worker process exited upon reaching its " @@ -5441,26 +5919,26 @@ msgid "" "crash the executor management thread." msgstr "" -#: ../NEWS:3167 +#: ../NEWS:3453 msgid "" ":gh:`150579`: :mod:`concurrent.futures` now uses lazy imports for its " "executor submodules instead of a module ``__getattr__`` hook." msgstr "" -#: ../NEWS:3170 +#: ../NEWS:3456 msgid "" ":gh:`152951`: :class:`collections.deque` prevent rare crash when calling " "``extend`` under high memory pressure conditions." msgstr "" -#: ../NEWS:3173 +#: ../NEWS:3459 msgid "" ":gh:`150880`: Normalize non-extended Windows paths before appending the " "wildcard used by ``os.listdir()`` and ``os.scandir()``, making paths with " "trailing spaces behave consistently with other filesystem APIs." msgstr "" -#: ../NEWS:3177 +#: ../NEWS:3463 msgid "" ":gh:`152068`: Fixes a bug when a line was split (particularly on macOS " "Terminal.app) in the middle of a colorized keyword, causing the ANSI Color " @@ -5468,27 +5946,27 @@ msgid "" "colored when it shouldn't" msgstr "" -#: ../NEWS:3182 +#: ../NEWS:3468 msgid "" ":gh:`152849`: Out-of-range float and integer timestamps now " "raise :exc:`OverflowError` with the same message. Patch by tonghuaroot." msgstr "" -#: ../NEWS:3185 +#: ../NEWS:3471 msgid "" ":gh:`152847`: Reject a POSIX TZ transition rule with non-digit characters in " "the day-of-year field in the pure-Python :mod:`zoneinfo` parser. Patch by " "tonghuaroot." msgstr "" -#: ../NEWS:3189 +#: ../NEWS:3475 msgid "" ":gh:`152718`: Fix unbounded memory allocation in " "the :mod:`profiling.sampling` binary profile reader when a file declares " "more string or frame entries than it contains." msgstr "" -#: ../NEWS:3193 +#: ../NEWS:3479 msgid "" ":gh:`108280`: Connecting :mod:`imaplib` to a server that does not send a " "valid IMAP4 greeting (for example a POP3 server answering on the IMAP port) " @@ -5496,7 +5974,7 @@ msgid "" "``imaplib.IMAP4.error: None``." msgstr "" -#: ../NEWS:3198 +#: ../NEWS:3484 msgid "" ":gh:`63121`: :mod:`imaplib` now refreshes the cached capability list after a " "successful :meth:`~imaplib.IMAP4.login` " @@ -5507,7 +5985,7 @@ msgid "" "greeting are now also used, avoiding a redundant ``CAPABILITY`` command." msgstr "" -#: ../NEWS:3207 +#: ../NEWS:3493 msgid "" ":gh:`88574`: :mod:`imaplib` no longer fails when a server sends a spurious " "blank line after the counted data of a literal, including after a literal " @@ -5515,7 +5993,7 @@ msgid "" "Such blank lines are now skipped without swallowing the following line." msgstr "" -#: ../NEWS:3212 +#: ../NEWS:3498 msgid "" ":gh:`152502`: Detect the :mod:`curses` mouse interface " "(:func:`~curses.getmouse`, the ``BUTTON*`` constants, and others) with a " @@ -5525,13 +6003,13 @@ msgid "" "``windows-curses``)." msgstr "" -#: ../NEWS:3219 +#: ../NEWS:3505 msgid "" ":gh:`151842`: Fix a crash in :func:`!_interpreters.capture_exception` " "when :exc:`MemoryError` happens. Patch by Amrutha Modela." msgstr "" -#: ../NEWS:3222 +#: ../NEWS:3508 msgid "" ":gh:`40038`: :mod:`imaplib` now again quotes command arguments when " "necessary, for example mailbox names containing a space. Such quoting was " @@ -5541,7 +6019,7 @@ msgid "" "unchanged, so code that quotes arguments itself keeps working." msgstr "" -#: ../NEWS:3229 +#: ../NEWS:3515 msgid "" ":gh:`50966`: Fix unbounded recursion in :mod:`turtle` when a mouse event " "handler that moves the turtle is reentered while the screen is being " @@ -5549,7 +6027,7 @@ msgid "" "previously crash the interpreter." msgstr "" -#: ../NEWS:3234 +#: ../NEWS:3520 msgid "" ":gh:`152569`: Fix :func:`asyncio.wait` leaking waiting tasks via the await-" "graph when racing a future that never resolves. The waiting task is now " @@ -5557,7 +6035,7 @@ msgid "" "returns, even for pending futures." msgstr "" -#: ../NEWS:3239 +#: ../NEWS:3525 msgid "" ":gh:`110357`: Importing :mod:`hashlib` no longer logs an error to stderr " "when a normally guaranteed hash algorithm is unavailable in the current " @@ -5567,14 +6045,14 @@ msgid "" "clear :exc:`ValueError`." msgstr "" -#: ../NEWS:3246 +#: ../NEWS:3532 msgid "" ":gh:`152356`: Fix a hang in ``profiling.sampling run --blocking`` on Windows " "when the target process exits. The profiler now finalizes binary profiles " "instead of continuing to sample the exited process." msgstr "" -#: ../NEWS:3250 +#: ../NEWS:3536 msgid "" ":gh:`78335`: Update the docstrings of :mod:`tkinter` and :mod:`tkinter.ttk` " "widget classes to list all supported widget options, including options added " @@ -5582,20 +6060,20 @@ msgid "" "previously had no option list at all." msgstr "" -#: ../NEWS:3255 +#: ../NEWS:3541 msgid "" ":gh:`151126`: Fix two crashes in :mod:`tkinter` and :mod:`socket` modules " "initialization under a memory pressure. Sets missing :exc:`MemoryError`." msgstr "" -#: ../NEWS:3258 +#: ../NEWS:3544 msgid "" ":gh:`133031`: :class:`curses.textpad.Textbox` now enters and reads back the " "non-ASCII characters of an 8-bit locale encoding, instead of mangling them " "with a 7-bit mask." msgstr "" -#: ../NEWS:3262 +#: ../NEWS:3548 msgid "" ":gh:`71880`: :class:`curses.textpad.Textbox` now lets the lower-right cell " "of the window be edited. Writing it with :meth:`~curses.window.addch` would " @@ -5604,7 +6082,7 @@ msgid "" "which keeps the cursor in place." msgstr "" -#: ../NEWS:3268 +#: ../NEWS:3554 msgid "" ":gh:`83274`: Deallocating a :mod:`tkinter` application from a thread other " "than the one it was created in no longer crashes the interpreter. The " @@ -5612,14 +6090,14 @@ msgid "" "reported." msgstr "" -#: ../NEWS:3273 +#: ../NEWS:3559 msgid "" ":gh:`152305`: Fix the pure-Python :meth:`datetime.time.strftime` " "implementation raising :exc:`AttributeError` for the year directives. Patch " "by tonghuaroot." msgstr "" -#: ../NEWS:3277 +#: ../NEWS:3563 msgid "" ":gh:`88758`: :meth:`!tkinter.Misc.focus_get`, :meth:`!" "focus_displayof`, :meth:`!focus_lastfor` and :meth:`!winfo_containing` now " @@ -5627,21 +6105,21 @@ msgid "" "created by :mod:`tkinter` (for example a torn-off menu)." msgstr "" -#: ../NEWS:3282 +#: ../NEWS:3568 msgid "" ":gh:`38464`: :meth:`!tkinter.Misc.nametowidget` now resolves the auto-" "generated names of cloned menus (a menu used as a menubar or a cascade) back " "to the original widget." msgstr "" -#: ../NEWS:3286 +#: ../NEWS:3572 msgid "" ":gh:`152248`: Make the C and pure-Python :mod:`zoneinfo` parsers validate " "POSIX TZ abbreviations consistently, rejecting unquoted abbreviations with " "non-letter characters and empty quoted abbreviations. Patch by tonghuaroot." msgstr "" -#: ../NEWS:3291 +#: ../NEWS:3577 msgid "" ":gh:`80937`: Fix a memory leak in :mod:`tkinter` when a Tcl command created " "with ``createcommand`` was not explicitly removed before the interpreter was " @@ -5649,14 +6127,14 @@ msgid "" "reference cycle." msgstr "" -#: ../NEWS:3296 +#: ../NEWS:3582 msgid "" ":gh:`152246`: Fix the pure-Python :mod:`zoneinfo` parser accepting an " "invalid POSIX TZ transition rule with a non-period separator. Patch by " "tonghuaroot." msgstr "" -#: ../NEWS:3300 +#: ../NEWS:3586 msgid "" ":gh:`151496`: Fixed ``profiling.sampling --gecko`` with ``--async-aware`` by " "flattening async task stacks before generating Gecko samples. ``--binary`` " @@ -5664,7 +6142,7 @@ msgid "" "data." msgstr "" -#: ../NEWS:3305 +#: ../NEWS:3591 msgid "" ":gh:`139816`: Fix a hang in :mod:`tkinter` on interactive Python built " "without :mod:`readline`. An exception raised in a callback no longer causes " @@ -5672,7 +6150,7 @@ msgid "" "callbacks now keep running until input is actually available on stdin." msgstr "" -#: ../NEWS:3311 +#: ../NEWS:3597 msgid "" ":gh:`139145`: Fix a busy loop in :mod:`tkinter` on interactive Python. When " "a Tcl command running its own event loop (such as ``vwait`` or :meth:`!" @@ -5681,7 +6159,7 @@ msgid "" "is available. Based on a patch by Michiel de Hoon." msgstr "" -#: ../NEWS:3317 +#: ../NEWS:3603 msgid "" ":gh:`152212`: Fix the pure-Python :mod:`zoneinfo` parser accepting a POSIX " "TZ string with a ``std`` abbreviation but no offset. This is invalid per " @@ -5689,13 +6167,13 @@ msgid "" "tonghuaroot." msgstr "" -#: ../NEWS:3322 +#: ../NEWS:3608 msgid "" ":gh:`152156`: Fix a possible crash in :func:`concurrent.interpreters.create` " "under limited memory conditions." msgstr "" -#: ../NEWS:3325 +#: ../NEWS:3611 msgid "" ":gh:`152157`: The C implementations " "of :meth:`~datetime.datetime.fromisoformat` " @@ -5703,46 +6181,46 @@ msgid "" "is not followed by any fractional digit before a timezone designator." msgstr "" -#: ../NEWS:3330 +#: ../NEWS:3616 msgid "" ":gh:`151763`: Fix crash in :func:`!_interpqueues.create` " "whe :exc:`MemoryError` happens on queue creation." msgstr "" -#: ../NEWS:3333 +#: ../NEWS:3619 msgid "" ":gh:`151669`: On Windows, when populating tar archives from filesystem " "content, to conform to the tar format standard, backslashes in symlink " "targets are be replaced by slashes." msgstr "" -#: ../NEWS:3337 +#: ../NEWS:3623 msgid "" ":gh:`105895`: Add :keyword:`match` and :keyword:`case` to the list of " "supported topics by :func:`help`." msgstr "" -#: ../NEWS:3340 +#: ../NEWS:3626 msgid "" ":gh:`151378`: Fix a bug in the binary collector in Tachyon that caused " "unbounded memory growth while profiling a thread that stayed asleep. Patch " "by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:3344 +#: ../NEWS:3630 msgid "" ":gh:`152079`: Fix :meth:`datetime.datetime.fromisoformat` in the C " "implementation dropping the sub-second part of a UTC offset whose whole-" "second part is zero, matching the pure-Python implementation." msgstr "" -#: ../NEWS:3348 +#: ../NEWS:3634 msgid "" ":gh:`152052`: The :mod:`json` C accelerator now correctly reports an " "unterminated string for a ``\\uXXXX`` escape at the end of the input." msgstr "" -#: ../NEWS:3351 +#: ../NEWS:3637 msgid "" ":gh:`152060`: Fix :meth:`datetime.datetime.fromisoformat` " "raising :exc:`AssertionError` instead of :exc:`ValueError` for some " @@ -5750,61 +6228,61 @@ msgid "" "implementation." msgstr "" -#: ../NEWS:3355 +#: ../NEWS:3641 msgid "" ":gh:`127802`: The deprecated :class:`tkinter.Variable` methods :meth:`!" "trace_variable`, :meth:`!trace`, :meth:`!trace_vdelete` and :meth:`!" "trace_vinfo` are now scheduled for removal in Python 3.17." msgstr "" -#: ../NEWS:3359 +#: ../NEWS:3645 msgid "" ":gh:`126219`: Fixed a crash in :class:`tkinter.Tk` when *className* contains " "a non-BMP character and tkinter is built against Tcl/Tk 8.x. Such a name is " "now rejected with a :exc:`ValueError`." msgstr "" -#: ../NEWS:3363 +#: ../NEWS:3649 msgid "" ":gh:`86165`: Fix :func:`imaplib.Time2Internaldate` to use the local timezone " "offset for ``time.struct_time`` values with ``tm_gmtoff`` set to ``None``, " "as returned by ``datetime.datetime.timetuple()``. Contributed by Xiao Yuan." msgstr "" -#: ../NEWS:3368 +#: ../NEWS:3654 msgid "" ":gh:`151814`: Fix unbounded memory growth in :class:`io.TextIOWrapper` when " "repeatedly writing an empty string." msgstr "" -#: ../NEWS:3371 +#: ../NEWS:3657 msgid "" ":gh:`151596`: Add missing ``size`` positional argument to the pure-Python " "implementation of :meth:`io.TextIOBase.readline`." msgstr "" -#: ../NEWS:3374 +#: ../NEWS:3660 msgid "" ":gh:`151640`: Fix a data race in :class:`io.BytesIO` in free-threaded builds " "when whole-buffer reads or peeks, or :meth:`~io.BytesIO.getvalue`, share the " "internal buffer with concurrent writes." msgstr "" -#: ../NEWS:3378 +#: ../NEWS:3664 msgid "" ":gh:`151613`: Fix another way the Tachyon profiler frame cache could produce " "impossible mixed stack traces when ``_PyInterpreterFrame`` addresses are " "reused, by validating cached frame anchors with a sequence counter." msgstr "" -#: ../NEWS:3382 +#: ../NEWS:3668 msgid "" ":gh:`148660`: Fix a crash in :meth:`!collections.OrderedDict.copy` when a " "key's ``__eq__`` or a subclass method mutates the dict during the copy. Now " "raises :exc:`RuntimeError` instead, as iteration does." msgstr "" -#: ../NEWS:3386 +#: ../NEWS:3672 msgid "" ":gh:`151497`: Opening a :mod:`tarfile` archive no longer attempts to pre-" "allocate a huge buffer when a crafted or truncated member claims an " @@ -5813,7 +6291,7 @@ msgid "" "longer trigger memory exhaustion." msgstr "" -#: ../NEWS:3392 +#: ../NEWS:3678 msgid "" ":gh:`151416`: Fix a crash in :func:`os.spawnv` and :func:`os.spawnve` when " "an *argv* item's :meth:`~os.PathLike.__fspath__` method mutates the *argv* " @@ -5822,32 +6300,32 @@ msgid "" "embedded null, are no longer replaced with a generic :exc:`TypeError`." msgstr "" -#: ../NEWS:3398 +#: ../NEWS:3684 msgid "" ":gh:`150994`: Make the type annotations in the private ``_colorize`` module " "resolvable." msgstr "" -#: ../NEWS:3401 +#: ../NEWS:3687 msgid "" ":gh:`150583`: Correctly set the default compression level " "in :mod:`compression.zstd` when passing a digested dictionary during " "compression." msgstr "" -#: ../NEWS:3405 +#: ../NEWS:3691 msgid "" ":gh:`150641`: Fix bug where :func:`typing.evaluate_forward_ref` with the " "``STRING`` format could leak internal names used by the annotation machinery." msgstr "" -#: ../NEWS:3409 +#: ../NEWS:3695 msgid "" ":gh:`149816`: Fix a potential use after free condition " "in :func:`pickle.dumps` in free-threaded mode when serializing lists." msgstr "" -#: ../NEWS:3412 +#: ../NEWS:3698 msgid "" ":gh:`47005`: Fix :meth:`!urllib.request.AbstractHTTPHandler.do_open` to give " "regular headers set via :meth:`~urllib.request.Request.add_header` priority " @@ -5856,14 +6334,14 @@ msgid "" "and :meth:`~urllib.request.Request.header_items`." msgstr "" -#: ../NEWS:3418 +#: ../NEWS:3704 msgid "" ":gh:`140729`: Fix a pickling error in the ``cProfile`` module when profiling " "a script that uses :class:`multiprocessing.Process` with the ``spawn`` and " "``forkserver`` start methods." msgstr "" -#: ../NEWS:3422 +#: ../NEWS:3708 msgid "" ":gh:`115634`: Fix a deadlock " "in :class:`concurrent.futures.ProcessPoolExecutor` when using " @@ -5873,19 +6351,19 @@ msgid "" "Mohammed." msgstr "" -#: ../NEWS:3429 +#: ../NEWS:3715 msgid "" ":gh:`79638`: Disallow all access in :mod:`urllib.robotparser` if the " "``robots.txt`` file is unreachable due to server or network errors." msgstr "" -#: ../NEWS:3432 +#: ../NEWS:3718 msgid "" ":gh:`105708`: Accept an uppercase V prefix in IPvFuture addresses " "in :func:`urllib.parse.urlsplit`." msgstr "" -#: ../NEWS:3438 +#: ../NEWS:3724 msgid "" ":gh:`151626`: Fix several tests in ``test.test_inspect``, " "``test.test_import``, ``test.test_importlib``, ``test.test_py_compile`` and " @@ -5894,25 +6372,25 @@ msgid "" "pycache prefix where they assume the default ``__pycache__`` bytecode layout." msgstr "" -#: ../NEWS:3444 +#: ../NEWS:3730 msgid "" ":gh:`151096`: Fix ``test_embed`` failing when CPython is configured with a " "split exec prefix (``--exec-prefix`` differing from ``--prefix``)." msgstr "" -#: ../NEWS:3450 +#: ../NEWS:3736 msgid "" ":gh:`126877`: Fix the :program:`configure` check for Tcl/Tk which could " "wrongly succeed with optimizing compilers when the libraries are missing." msgstr "" -#: ../NEWS:3453 +#: ../NEWS:3739 msgid "" ":gh:`153438`: Update Windows build and installer tooling and documentation " "to use the current download URL for ``nuget.exe``." msgstr "" -#: ../NEWS:3456 +#: ../NEWS:3742 msgid "" ":gh:`152870`: Fix a compilation error in the :mod:`decimal` C extension " "(``_decimal``) when it is built with ``EXTRA_FUNCTIONALITY``. " @@ -5921,7 +6399,7 @@ msgid "" "``_impl`` function." msgstr "" -#: ../NEWS:3462 +#: ../NEWS:3748 msgid "" ":gh:`152769`: Enable the :ref:`perf profiler ` trampoline on " "Alpine Linux with the musl C library on ``x86_64`` and ``aarch64``. The " @@ -5929,7 +6407,7 @@ msgid "" "the same assembly trampoline used for glibc is reused for musl." msgstr "" -#: ../NEWS:3467 +#: ../NEWS:3753 msgid "" ":gh:`152502`: The :mod:`curses` module now detects ``set_escdelay()``, " "``set_tabsize()`` and the ``ESCDELAY`` and ``TABSIZE`` variables " @@ -5938,7 +6416,7 @@ msgid "" "curses implementations such as NetBSD curses that provide them." msgstr "" -#: ../NEWS:3476 +#: ../NEWS:3762 msgid "" ":gh:`140146`: Prevent :mod:`tkinter` from hanging on Windows if stdin is " "redirected to a pipe in an interactive session. This is helpful for testing " @@ -5946,79 +6424,79 @@ msgid "" "cpython test suite." msgstr "" -#: ../NEWS:3484 +#: ../NEWS:3770 msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 9.0.4." msgstr "" -#: ../NEWS:3486 +#: ../NEWS:3772 msgid "" ":gh:`152023`: Update macOS installer builds to SQLite 3.53.3. Enable " "median() and percentile() functions." msgstr "" -#: ../NEWS:3492 +#: ../NEWS:3778 msgid "" ":gh:`82183`: When the shell is busy running code, using \"Run... " "Customized\" with \"Restart shell\" unchecked now reports that the shell is " "executing instead of restarting it anyway." msgstr "" -#: ../NEWS:3496 +#: ../NEWS:3782 msgid "" ":gh:`83653`: Blanking an integer entry in IDLE's Settings dialog, such as " "\"Auto squeeze min lines\", no longer saves an empty string as an invalid " "configuration value." msgstr "" -#: ../NEWS:3500 +#: ../NEWS:3786 msgid "" ":gh:`65339`: Saving the IDLE Shell or an Output window now defaults to a " "``.txt`` extension and lists text files before Python files, since their " "content is not Python source." msgstr "" -#: ../NEWS:3504 +#: ../NEWS:3790 msgid "" ":gh:`80504`: The \"In files:\" field of IDLE's Find in Files dialog now " "always contains a full directory path, even for an unsaved editor or the " "Shell. This shows in the grep output which directory was searched." msgstr "" -#: ../NEWS:3508 +#: ../NEWS:3794 msgid "" ":gh:`134300`: Do not add the ``idlelib`` directory to the path of the IDLE " "user process. User code run in IDLE can no longer import ``idlelib`` " "submodules as top-level modules, such as ``import help``." msgstr "" -#: ../NEWS:3512 +#: ../NEWS:3798 msgid "" ":gh:`89360`: Fix a rare crash in the IDLE editor when the completion window " "is closed: deleting a key binding for a sequence that is not bound to the " "virtual event is now ignored instead of raising a ``ValueError``." msgstr "" -#: ../NEWS:3516 +#: ../NEWS:3802 msgid "" ":gh:`71956`: Fix Replace All in the IDLE editor's Replace dialog when the " "search direction is \"Up\" and \"Wrap around\" is off: it now replaces all " "matches above the current position instead of only the first one." msgstr "" -#: ../NEWS:3520 +#: ../NEWS:3806 msgid "" ":gh:`152728`: Move functions run.fix_scaling, editor.fixwordbreaks (as " "fix_word_breaks) and pyshell.fix_x11_paste to idlelib.util." msgstr "" -#: ../NEWS:3523 +#: ../NEWS:3809 msgid "" ":gh:`66331`: Set the ``WM_CLASS`` window property of IDLE's windows to " "``Idle`` on X11, so that window managers group and label them correctly " "instead of using the default ``Toplevel``." msgstr "" -#: ../NEWS:3527 +#: ../NEWS:3813 msgid "" ":gh:`85320`: IDLE now reads and writes its configuration files and the " "breakpoints file using UTF-8 instead of the locale encoding. This keeps non-" @@ -6026,35 +6504,35 @@ msgid "" "files portable between environments." msgstr "" -#: ../NEWS:3535 +#: ../NEWS:3821 msgid "" ":gh:`152132`: Fix :c:func:`Py_RunMain` to return an exit code, rather than " "calling :c:func:`Py_Exit`, when running a script, a command, or the REPL. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:3539 +#: ../NEWS:3825 msgid "" ":gh:`145633`: :c:func:`PyFloat_Pack8` and ``PyFloat_Unpack*`` functions are " "no longer guaranteed to always succeed on CPython." msgstr "" -#: ../NEWS:3542 +#: ../NEWS:3828 msgid "" ":gh:`153300`: :c:func:`PyConfig_Set()` now also set global configuration " "variables. For example, ``PyConfig_Set(\"inspect\", value)`` now also " "sets :c:var:`Py_InspectFlag`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3548 +#: ../NEWS:3834 msgid "Python 3.15.0 beta 3" msgstr "" -#: ../NEWS:3550 +#: ../NEWS:3836 msgid "*Release date: 2026-06-23*" msgstr "" -#: ../NEWS:3555 +#: ../NEWS:3841 msgid "" ":gh:`151544`: :file:`Modules/Setup.local` is no longer used as a landmark to " "discover whether Python is running in a source tree, as it could potentially " @@ -6062,68 +6540,68 @@ msgid "" "indicator of running in a source tree." msgstr "" -#: ../NEWS:3560 +#: ../NEWS:3846 msgid ":gh:`151159`: Update macOS installer to use OpenSSL 3.5.7." msgstr "" -#: ../NEWS:3562 +#: ../NEWS:3848 msgid ":gh:`151159`: Update Android and iOS installers to use OpenSSL 3.5.7." msgstr "" -#: ../NEWS:3564 +#: ../NEWS:3850 msgid "" ":gh:`150599`: Fix a possible stack buffer overflow in :mod:`bz2` when " "a :class:`bz2.BZ2Decompressor` is reused after a decompression error. The " "decompressor now becomes unusable after libbz2 reports an error." msgstr "" -#: ../NEWS:3568 +#: ../NEWS:3854 msgid "" ":gh:`149835`: :func:`shutil.move` now resolves symlinks " "via :func:`os.path.realpath` when checking whether the destination is inside " "the source directory, preventing a symlink-based bypass of that guard." msgstr "" -#: ../NEWS:3575 +#: ../NEWS:3861 msgid "" ":gh:`151905`: Fix OOM error handling in :c:func:`PyFrame_GetBack` to " "propagate exceptions instead of masking them as None." msgstr "" -#: ../NEWS:3578 +#: ../NEWS:3864 msgid "" ":gh:`151722`: Defer GC tracking of :class:`frozendict` to end of " "construction. Patch by Donghee Na." msgstr "" -#: ../NEWS:3581 +#: ../NEWS:3867 msgid "" ":gh:`151546`: Fix the stack limit check if Python is linked to musl (ex: " "Alpine Linux). Use the stack size set by the linker to compute the stack " "limits. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3585 +#: ../NEWS:3871 msgid "" ":gh:`151510`: Fix a crash in :func:`!__lazy_import__` when called without an " "explicit ``globals`` argument and without a current Python frame." msgstr "" -#: ../NEWS:3588 +#: ../NEWS:3874 msgid "" ":gh:`151461`: Fix direct execution of files with invalid source encodings to " "report the underlying codec lookup or decoding error instead of the generic " "``SyntaxError: encoding problem`` message. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:3593 +#: ../NEWS:3879 msgid "" ":gh:`151218`: :c:func:`PyConfig_Set` and :func:`sys.set_int_max_str_digits` " "now replace :data:`sys.flags` (create a new object), instead of " "modifying :data:`sys.flags` in-place. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3597 +#: ../NEWS:3883 msgid "" ":gh:`151297`: Fix an invalid pointer dereference that could occur when " "calling :c:func:`PyObject_Realloc` with a NULL pointer in :term:`free-" @@ -6131,56 +6609,56 @@ msgid "" "``mimalloc``." msgstr "" -#: ../NEWS:3602 +#: ../NEWS:3888 msgid "" ":gh:`151253`: If ``import encodings`` (first import) fails at Python " "startup, dump the Python path configuration to help users debugging their " "configuration. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3606 +#: ../NEWS:3892 msgid "" ":gh:`151238`: Fix a crash when compiling a concatenated f-string or t-string " "if an error occurs when processing one of it's parts." msgstr "" -#: ../NEWS:3609 +#: ../NEWS:3895 msgid "" ":gh:`151112`: Fix a crash in the compiler that could occur when running out " "of memory." msgstr "" -#: ../NEWS:3612 +#: ../NEWS:3898 msgid "" ":gh:`151126`: Fix a crash, when there's no memory left on a device, which " "happened in: code compilation, :mod:`!_interpchannels` module, :func:`!" "_winapi.CreateProcess` function." msgstr "" -#: ../NEWS:3616 +#: ../NEWS:3902 msgid "Now these places raise proper :exc:`MemoryError` errors." msgstr "" -#: ../NEWS:3618 +#: ../NEWS:3904 msgid "" ":gh:`150902`: Apply an existing optimization of PyCriticalSection (single " "mutex) to PyCriticalSection2: avoid acquiring the same locks that the " "current CS has already acquired." msgstr "" -#: ../NEWS:3622 +#: ../NEWS:3908 msgid "" ":gh:`151065`: Fix memory leak when using the :ref:`mimalloc memory allocator " "`." msgstr "" -#: ../NEWS:3625 +#: ../NEWS:3911 msgid "" ":gh:`150988`: Fix a reference leak in :exc:`OSError` when attributes are set " "before ``super().__init__()``." msgstr "" -#: ../NEWS:3628 +#: ../NEWS:3914 msgid "" ":gh:`150723`: Fix perf jitdump timestamps on macOS. Events were stamped " "using ``CLOCK_MONOTONIC``, but macOS profilers timestamp their samples with " @@ -6188,7 +6666,7 @@ msgid "" "lining up with the samples, so no Python frame could be resolved." msgstr "" -#: ../NEWS:3633 +#: ../NEWS:3919 msgid "" ":gh:`150723`: Fix malformed perf jitdump thread ids on macOS. The " "``thread_id`` field of the ``JR_CODE_LOAD`` record was written as a 64-bit " @@ -6197,7 +6675,7 @@ msgid "" "frames." msgstr "" -#: ../NEWS:3639 +#: ../NEWS:3925 msgid "" ":gh:`150700`: Fix a :exc:`SystemError` when compiling a class-scope " "comprehension containing a ``lambda`` that references ``__class__``, " @@ -6205,58 +6683,58 @@ msgid "" "Sławecki." msgstr "" -#: ../NEWS:3644 +#: ../NEWS:3930 msgid "" ":gh:`150633`: Fix the frozen importer accepting module names with embedded " "null bytes, which caused it to bypass the :data:`sys.modules` cache and " "create duplicate module objects." msgstr "" -#: ../NEWS:3648 +#: ../NEWS:3934 msgid "" ":gh:`148613`: Fix a data race in the free-threaded build " "between :func:`gc.set_threshold` and garbage collection scheduling during " "object allocation." msgstr "" -#: ../NEWS:3652 +#: ../NEWS:3938 msgid "" ":gh:`150207`: Fix a crash when a memory allocation fails during tokenizer " "initialization. A proper :exc:`MemoryError` is now raised instead." msgstr "" -#: ../NEWS:3655 +#: ../NEWS:3941 msgid "" ":gh:`149805`: Fix a :exc:`SystemError` when compiling a compiling " "``__classdict__`` class annotation. Found by OSS-Fuzz in :oss-" "fuzz:`512907042`." msgstr "" -#: ../NEWS:3659 +#: ../NEWS:3945 msgid ":gh:`149321`: Do not support ``none`` as a lazy imports mode." msgstr "" -#: ../NEWS:3664 +#: ../NEWS:3950 msgid "" ":gh:`75666`: Fix a reference leak in :mod:`tkinter`: the Tcl commands " "created for event callbacks are now deleted when a binding is replaced or " "unbound." msgstr "" -#: ../NEWS:3667 +#: ../NEWS:3953 msgid "" ":gh:`151770`: Fix :meth:`datetime.datetime.fromisoformat` " "raising :exc:`AssertionError` instead of :exc:`ValueError` for an out-of-" "range month combined with a ``24:00`` time." msgstr "" -#: ../NEWS:3671 +#: ../NEWS:3957 msgid "" ":gh:`151665`: :func:`inspect.signature` now works on the lazy evaluators of " "type aliases and type parameters instead of raising :exc:`ValueError`." msgstr "" -#: ../NEWS:3674 +#: ../NEWS:3960 msgid "" ":gh:`151695`: Fix a use-after-free in the :mod:`curses` module. The " "encoding of the initial screen, used by :func:`curses.unctrl` " @@ -6265,7 +6743,7 @@ msgid "" "deallocated." msgstr "" -#: ../NEWS:3680 +#: ../NEWS:3966 msgid "" ":gh:`151436`: Fix skewed stack trackes in the Tachyon profiler when caching " "is enabled and when generators and coroutines are profiled, by updating " @@ -6274,7 +6752,7 @@ msgid "" "Wieroński." msgstr "" -#: ../NEWS:3686 +#: ../NEWS:3972 msgid "" ":gh:`151426`: Fix impossible stack traces (callers and callees cross called, " "orphans and incorrect lines) in the Tachyon profiler when caching frames, by " @@ -6282,7 +6760,7 @@ msgid "" "miss. Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:3691 +#: ../NEWS:3977 msgid "" ":gh:`151403`: Fixed a crash in :class:`subprocess.Popen` (and " "``_posixsubprocess.fork_exec``) when an ``argv`` " @@ -6290,36 +6768,36 @@ msgid "" "sequence being converted." msgstr "" -#: ../NEWS:3696 +#: ../NEWS:3982 msgid "" ":gh:`151390`: Colorize ``match`` in the :term:`REPL` when followed by a " "unary ``+`` or ``-`` operator. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:3699 +#: ../NEWS:3985 msgid "" ":gh:`151126`: Fix crash on unset :exc:`MemoryError` on allocation failure " "in :func:`ctypes.get_errno`." msgstr "" -#: ../NEWS:3702 +#: ../NEWS:3988 msgid ":gh:`151337`: Avoid possible memory leak in ``tkinter.c`` on Windows." msgstr "" -#: ../NEWS:3704 +#: ../NEWS:3990 msgid "" ":gh:`151126`: Fix a crash when :exc:`MemoryError` in :func:`!" "os._path_splitroot` was not set properly." msgstr "" -#: ../NEWS:3707 +#: ../NEWS:3993 msgid "" ":gh:`149671`: Restore compatibility with setuptools ``-nspkg.pth`` files in " "the :mod:`site` module. Inject ``sitedir`` variable in the frame which " "executes pth code. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3711 +#: ../NEWS:3997 msgid "" ":gh:`151295`: Fixed a crash (use-after-free) in :meth:`bytes.join` " "and :meth:`bytearray.join` that could occur if an " @@ -6327,13 +6805,13 @@ msgid "" "joined. The mutation is now reported as a :exc:`RuntimeError` instead." msgstr "" -#: ../NEWS:3716 +#: ../NEWS:4002 msgid "" ":gh:`109940`: Fix Windows :mod:`venv` activation in ``cmd.exe`` to respect " "``VIRTUAL_ENV_DISABLE_PROMPT``." msgstr "" -#: ../NEWS:3719 +#: ../NEWS:4005 msgid "" ":gh:`150771`: Fix :mod:`email` messages created with ``shift_jis`` or ``euc-" "jp`` charsets. ``set_content()`` now stores the payload using the output " @@ -6341,33 +6819,33 @@ msgid "" "raises :exc:`UnicodeEncodeError`." msgstr "" -#: ../NEWS:3724 +#: ../NEWS:4010 msgid "" ":gh:`151039`: Fix a crash when static :mod:`datetime` types outlive the " "``_datetime`` module." msgstr "" -#: ../NEWS:3727 +#: ../NEWS:4013 msgid "" ":gh:`151021`: Fix :meth:`mmap.mmap.find` and :meth:`~mmap.mmap.rfind` to " "return ``-1`` when searching for an empty subsequence with a start position " "past the end of the mapping." msgstr "" -#: ../NEWS:3731 +#: ../NEWS:4017 msgid "" ":gh:`62825`: Encodings \"KS_C_5601-1987\", \"KS X 1001\", etc are now " "aliases of \"CP949\" instead of \"EUC-KR\"." msgstr "" -#: ../NEWS:3734 +#: ../NEWS:4020 msgid "" ":gh:`150913`: Fix :class:`sqlite3.Blob` slice assignment to " "raise :exc:`TypeError` and :exc:`IndexError` for type and size mismatches " "respectively, even when the target slice is empty." msgstr "" -#: ../NEWS:3741 +#: ../NEWS:4027 msgid "" ":gh:`150662`: Fix the ``--gecko`` collector in :mod:`profiling.sampling` " "that kept every sample in memory. It now writes sample and marker data to " @@ -6375,69 +6853,69 @@ msgid "" "the end. Patch by Pablo Galindo and Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:3746 +#: ../NEWS:4032 msgid "" ":gh:`150750`: Fix a race condition in :meth:`collections.deque.index` with " "free-threading." msgstr "" -#: ../NEWS:3749 +#: ../NEWS:4035 msgid "" ":gh:`148932`: Fix ``profiling.sampling`` on Windows virtual environments to " "resolve the actual Python PID from a virtual environment shim." msgstr "" -#: ../NEWS:3752 +#: ../NEWS:4038 msgid ":gh:`149816`: Fix race condition in :attr:`ssl.SSLContext.sni_callback`" msgstr "" -#: ../NEWS:3754 +#: ../NEWS:4040 msgid "" ":gh:`53144`: The :mod:`email` package now supports all aliases of Python " "codecs and uses MIME/IANA names for all IANA registered charsets." msgstr "" -#: ../NEWS:3757 +#: ../NEWS:4043 msgid "" ":gh:`149891`: Add support for more encoding aliases `officially registered " "in IANA `__." msgstr "" -#: ../NEWS:3761 +#: ../NEWS:4047 msgid "" ":gh:`149473`: Calling ``os.environ.clear()`` now emits ``os._clearenv`` " "auditing event. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3764 +#: ../NEWS:4050 msgid "" ":gh:`148954`: Fix XML injection vulnerability in :func:`xmlrpc.client.dumps` " "where the ``methodname`` was not being escaped before interpolation into the " "XML body." msgstr "" -#: ../NEWS:3768 +#: ../NEWS:4054 msgid "" ":gh:`143988`: Fixed crashes in :meth:`socket.socket.sendmsg` " "and :meth:`socket.socket.recvmsg_into` that could occur if buffer sequences " "are concurrently mutated." msgstr "" -#: ../NEWS:3772 +#: ../NEWS:4058 msgid "" ":gh:`120665`: Fixed an issue where ``unittest`` loaders would load and " "instantiate :class:`unittest.TestCase`-derived subclasses that are also " "abstract base classes, which can't be instantiated." msgstr "" -#: ../NEWS:3776 +#: ../NEWS:4062 msgid "" ":gh:`91099`: :meth:`imaplib.IMAP4.login` now raises exceptions " "with :class:`str` instead of :class:`bytes`. Patch by Florian Best." msgstr "" -#: ../NEWS:3779 +#: ../NEWS:4065 msgid "" ":gh:`101267`: When a worker process terminates " "unexpectedly, :class:`concurrent.futures.ProcessPoolExecutor` now sets a " @@ -6448,7 +6926,7 @@ msgid "" "raised the same object, appending another copy of the traceback to it." msgstr "" -#: ../NEWS:3790 +#: ../NEWS:4076 msgid "" ":gh:`86726`: Greatly expand the :mod:`tkinter` documentation to cover the " "full public API of the package and its submodules. The descriptions are " @@ -6456,104 +6934,104 @@ msgid "" "``versionadded``/``versionchanged`` information." msgstr "" -#: ../NEWS:3795 +#: ../NEWS:4081 msgid "" ":gh:`150319`: Generic builtin and standard library types now document the " "meaning of their type parameters." msgstr "" -#: ../NEWS:3798 +#: ../NEWS:4084 msgid "" ":gh:`109503`: Fix documentation for :func:`shutil.move` on usage " "of :func:`os.rename` since nonatomic move might be used even if the files " "are on the same filesystem. Patch by Fang Li" msgstr "" -#: ../NEWS:3805 +#: ../NEWS:4091 msgid ":gh:`151130`: Add more tests for ``PyWeakref_*`` C API." msgstr "" -#: ../NEWS:3807 +#: ../NEWS:4093 msgid "" ":gh:`150966`: Avoid prematurely terminating failing live sampling profiler " "test targets, which made stderr assertions flaky on ASAN buildbots." msgstr "" -#: ../NEWS:3810 +#: ../NEWS:4096 msgid "" ":gh:`148853`: Fix tests failing on FreeBSD in test.support's " "in_systemd_nspawn_sync_suppressed() due to unreadable /run directory." msgstr "" -#: ../NEWS:3816 +#: ../NEWS:4102 msgid ":gh:`151163`: Updated Android build to include SQLite version 3.53.2." msgstr "" -#: ../NEWS:3821 +#: ../NEWS:4107 msgid ":gh:`151163`: Updated Windows builds to include SQLite version 3.53.2." msgstr "" -#: ../NEWS:3823 +#: ../NEWS:4109 msgid ":gh:`151159`: Updated bundled version of OpenSSL to 3.5.7." msgstr "" -#: ../NEWS:3825 +#: ../NEWS:4111 msgid "" ":gh:`150836`: Make installed tkinter work with Tcl/Tk 9 builds that embed " "the Tk script library in the Tk DLL on Windows." msgstr "" -#: ../NEWS:3831 +#: ../NEWS:4117 msgid ":gh:`151163`: Updated macOS installer to include SQLite version 3.53.2." msgstr "" -#: ../NEWS:3836 +#: ../NEWS:4122 msgid ":issue:`6699`: Warn the user if a file will be overwritten when saving." msgstr "" -#: ../NEWS:3841 +#: ../NEWS:4127 msgid "" ":gh:`141510`: Add :class:`frozendict` to the fast paths " "of :c:func:`PyMapping_GetOptionalItem`, :c:func:`PyMapping_Keys`, :c:func:`PyMapping_Values`, " "and :c:func:`PyMapping_Items`." msgstr "" -#: ../NEWS:3845 +#: ../NEWS:4131 msgid "" ":gh:`123619`: :c:func:`PyUnstable_Object_EnableDeferredRefcount` now returns " "``0`` if the object is not tracked by the garbage collector: " "if :func:`gc.is_tracked` is false. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3849 +#: ../NEWS:4135 msgid "" ":gh:`149044`: Improved error message when specifying non-type base classes " "in :c:macro:`Py_tp_bases`, :c:macro:`Py_tp_base`, and *bases* argument " "to :c:func:`PyType_FromMetaclass` and other ``PyType_From*`` functions." msgstr "" -#: ../NEWS:3853 +#: ../NEWS:4139 msgid "" ":gh:`150907`: Fix ``dynamic_annotations.h`` header file when built with C++ " "and Valgrind: add ``extern \"C++\" scope`` for the C++ template. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:3859 +#: ../NEWS:4145 msgid "Python 3.15.0 beta 2" msgstr "" -#: ../NEWS:3861 +#: ../NEWS:4147 msgid "*Release date: 2026-06-02*" msgstr "" -#: ../NEWS:3866 +#: ../NEWS:4152 msgid "" ":gh:`149698`: Update bundled `libexpat `_ to " "version 2.8.1 for the fix for :cve:`2026-45186`." msgstr "" -#: ../NEWS:3869 +#: ../NEWS:4155 msgid "" ":gh:`87451`: The :mod:`ftplib` module's undocumented ``ftpcp`` function no " "longer trusts the IPv4 address value returned from the source server in " @@ -6564,14 +7042,14 @@ msgid "" "Aurascape AI for the report." msgstr "" -#: ../NEWS:3877 +#: ../NEWS:4163 msgid "" ":gh:`149474`: Fix the binary writer in :mod:`profiling.sampling` not firing " "the audit (:pep:`578`) when creating the output file. The writer and the " "reader now accept any path-like object. Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:3882 +#: ../NEWS:4168 msgid "" ":gh:`149486`: :func:`tarfile.data_filter` now validates link targets using " "the same normalised value that is written to disk, strips trailing " @@ -6581,7 +7059,7 @@ msgid "" "filter." msgstr "" -#: ../NEWS:3889 +#: ../NEWS:4175 msgid "" ":gh:`149079`: Fix a potential denial of service " "in :func:`unicodedata.normalize`. The canonical ordering step of Unicode " @@ -6591,27 +7069,27 @@ msgid "" "counting sort for long runs." msgstr "" -#: ../NEWS:3896 +#: ../NEWS:4182 msgid "" ":gh:`149018`: Improved protection against XML hash-flooding attacks " "in :mod:`xml.parsers.expat` and :mod:`xml.etree.ElementTree` when Python is " "compiled with libExpat 2.8.0 or later." msgstr "" -#: ../NEWS:3903 +#: ../NEWS:4189 msgid "" ":gh:`150374`: Fix double release of the import lock on lazy import " "reification errors." msgstr "" -#: ../NEWS:3906 +#: ../NEWS:4192 msgid "" ":gh:`149156`: Fix an intermittent crash after :func:`os.fork` when perf " "trampoline profiling is enabled and the child returns through trampoline " "frames inherited from the parent process." msgstr "" -#: ../NEWS:3910 +#: ../NEWS:4196 msgid "" ":gh:`149449`: Fix a use-after-free crash when the :mod:`unicodedata` module " "was removed from :data:`sys.modules` and garbage-collected between calls " @@ -6619,110 +7097,110 @@ msgid "" "handler." msgstr "" -#: ../NEWS:3915 +#: ../NEWS:4201 msgid "" ":gh:`150107`: :mod:`asyncio`: ``sendfile()`` and ``sock_sendfile()`` event " "loop methods now call ``file.seek(offset)`` if *file* has a ``seek()`` " "method, even if *offset* is ``0`` (default value)." msgstr "" -#: ../NEWS:3919 +#: ../NEWS:4205 msgid ":gh:`150146`: Fix a crash on a complex type variable substitution." msgstr "" -#: ../NEWS:3921 +#: ../NEWS:4207 msgid "" "``from typing import TypeVar; memoryview[TypeVar(\"\")]" "[*typing.Mapping[..., ...]]`` used to fail due to missing ``NULL`` check on " "``_unpack_args`` C function call." msgstr "" -#: ../NEWS:3925 +#: ../NEWS:4211 msgid "" ":gh:`148587`: :py:attr:`sys.lazy_modules` is now a set instead of a dict as " "initially spelled out in PEP 810." msgstr "" -#: ../NEWS:3928 +#: ../NEWS:4214 msgid "" ":gh:`150042`: Fix refleak in queue.SimpleQueue.put if memory allocation " "fails." msgstr "" -#: ../NEWS:3931 +#: ../NEWS:4217 msgid ":gh:`149590`: Fix crash when faulthandler is imported more than once." msgstr "" -#: ../NEWS:3933 +#: ../NEWS:4219 msgid "" ":gh:`149816`: Fix a race condition in ``_PyBytes_FromList`` in free-" "threading mode." msgstr "" -#: ../NEWS:3936 +#: ../NEWS:4222 msgid "" ":gh:`149816`: Fix a race condition in :class:`memoryview` with free-" "threading." msgstr "" -#: ../NEWS:3939 +#: ../NEWS:4225 msgid "" ":gh:`149807`: Fix ``hash(frozendict)``: compute the hash of each ``(key, " "value)`` pair correctly. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3942 +#: ../NEWS:4228 msgid "" ":gh:`149738`: :mod:`sqlite3`: Disallow removing ``row_factory`` and " "``text_factory`` attributes of a connection to prevent a crash on a query." msgstr "" -#: ../NEWS:3945 +#: ../NEWS:4231 msgid "" ":gh:`139808`: Add branch protections for AArch64 (BTI/PAC) in assembly code " "used by :option:`-X perf_jit <-X>` (Linux perf profiler integration)." msgstr "" -#: ../NEWS:3948 +#: ../NEWS:4234 msgid ":gh:`149676`: Fix ``frozendict | frozendict`` hash." msgstr "" -#: ../NEWS:3950 +#: ../NEWS:4236 msgid "" ":gh:`148829`: :class:`sentinel` objects now support a ``repr=`` argument and " "their :attr:`~sentinel.__module__` attribute is writable." msgstr "" -#: ../NEWS:3953 +#: ../NEWS:4239 msgid "" ":gh:`149642`: Allow imports inside ``exec()`` calls within functions under " "``PYTHON_LAZY_IMPORTS=all``." msgstr "" -#: ../NEWS:3956 +#: ../NEWS:4242 msgid "" ":gh:`144957`: Fix lazy ``from`` imports of module attributes provided by " "module-level ``__getattr__``." msgstr "" -#: ../NEWS:3959 +#: ../NEWS:4245 msgid "" ":gh:`149459`: Fix a crash in the JIT optimizer when a specialized " "``LOAD_SPECIAL`` guard deoptimized after inserting the synthetic ``NULL`` " "stack entry." msgstr "" -#: ../NEWS:3963 +#: ../NEWS:4249 msgid "" ":gh:`148450`: Fix ``abc.register()`` so it invalidates type version tags for " "registered classes." msgstr "" -#: ../NEWS:3969 +#: ../NEWS:4255 msgid ":gh:`150685`: Update bundled pip to 26.1.2" msgstr "" -#: ../NEWS:3971 +#: ../NEWS:4257 msgid "" ":gh:`150228`: The new :class:`site.StartupState` class lets callers batch-" "process :pep:`829` startup configuration files across multiple site " @@ -6735,34 +7213,34 @@ msgid "" "site.StartupState` instead." msgstr "" -#: ../NEWS:3983 +#: ../NEWS:4269 msgid "" ":gh:`150406`: Fix a possible crash occurring during :mod:`socket` module " "initialization when the system is out of memory on platforms without a " "reentrant ``gethostbyname``." msgstr "" -#: ../NEWS:3987 +#: ../NEWS:4273 msgid "" ":gh:`150372`: :mod:`readline`: Fix a potential crash during tab completion " "caused by an out-of-memory error during module initialization." msgstr "" -#: ../NEWS:3990 +#: ../NEWS:4276 msgid "" ":gh:`150157`: Fix a crash in free-threaded builds that occurs when pickling " "by name objects without a ``__module__`` attribute while :data:`sys.modules` " "is concurrently being modified." msgstr "" -#: ../NEWS:3994 +#: ../NEWS:4280 msgid "" ":gh:`150175`: Fix race condition in :class:`unittest.mock.ThreadingMock` " "where concurrent calls could lose increments to ``call_count`` and other " "attributes due to a missing lock in ``_increment_mock_call``." msgstr "" -#: ../NEWS:3998 +#: ../NEWS:4284 msgid "" ":gh:`84353`: Preserve non-UTF-8 encoded filenames when appending to " "a :class:`zipfile.ZipFile`. Previously, non-ASCII names stored in a legacy " @@ -6771,43 +7249,43 @@ msgid "" "stored as UTF-8." msgstr "" -#: ../NEWS:4004 +#: ../NEWS:4290 msgid "" ":gh:`149189`: Revert the changes to :mod:`pprint` defaults. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:4007 +#: ../NEWS:4293 msgid ":gh:`149995`: Update various docstrings in :mod:`typing`." msgstr "" -#: ../NEWS:4009 +#: ../NEWS:4295 msgid "" ":gh:`88726`: The :mod:`email` package now uses standard MIME charset names " "\"gb2312\" and \"big5\" instead of non-standard names \"eucgb2312_cn\" and " "\"big5_tw\"." msgstr "" -#: ../NEWS:4013 +#: ../NEWS:4299 msgid "" ":gh:`149571`: Fix the C implementation " "of :meth:`xml.etree.ElementTree.Element.itertext`: it no longer emits text " "for comments and processing instructions." msgstr "" -#: ../NEWS:4017 +#: ../NEWS:4303 msgid "" ":gh:`149921`: Fix reference leaks in error paths of the :mod:`!" "_interpchannels` and :mod:`!_interpqueues` extension modules." msgstr "" -#: ../NEWS:4020 +#: ../NEWS:4306 msgid "" ":gh:`142349`: Add :keyword:`lazy` to the list of support topic " "by :func:`help`." msgstr "" -#: ../NEWS:4023 +#: ../NEWS:4309 msgid "" ":gh:`149819`: Fix regression in :func:`site.addsitedir` where ``.pth`` files " "were no longer processed in Python subprocesses. This happened " @@ -6815,20 +7293,20 @@ msgid "" "the parent process, causing ``addsitedir`` to skip ``.pth`` processing." msgstr "" -#: ../NEWS:4028 +#: ../NEWS:4314 msgid "" ":gh:`149816`: Fix a race condition in ``_random.Random.__init__`` method in " "free-threading mode." msgstr "" -#: ../NEWS:4031 +#: ../NEWS:4317 msgid "" ":gh:`149801`: Add IANA registered names and aliases with leading zeros " "before number (like IBM00858, CP00858, IBM01140, CP01140) for corresponding " "codecs." msgstr "" -#: ../NEWS:4035 +#: ../NEWS:4321 msgid "" ":gh:`149718`: Coalesce consecutive identical stack frames in Tachyon, so " "aggregating collectors (pstats, collapsed, flamegraph, gecko) receive one " @@ -6836,13 +7314,13 @@ msgid "" "Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4040 +#: ../NEWS:4326 msgid "" ":gh:`149701`: Fix bad return code from Lib/venv/bin/activate if hashing is " "disabled" msgstr "" -#: ../NEWS:4043 +#: ../NEWS:4329 msgid "" ":gh:`149504`: Fix :func:`site.addsitedir` to allow re-entrant calls from " "within startup files. Previously, a ``.pth`` file containing an ``import`` " @@ -6852,7 +7330,7 @@ msgid "" "with``." msgstr "" -#: ../NEWS:4050 +#: ../NEWS:4336 msgid "" ":gh:`149584`: Fix excessive overhead in the Tachyon profiler when inspecting " "a remote process by avoiding repeated remote page-cache scans, batching " @@ -6860,17 +7338,17 @@ msgid "" "Pablo Galindo and Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4055 +#: ../NEWS:4341 msgid ":gh:`139489`: Add :func:`xml.is_valid_text` to ``xml.__all__``." msgstr "" -#: ../NEWS:4057 +#: ../NEWS:4343 msgid "" ":gh:`149614`: Fix a regression that broke the ability to " "deepcopy :class:`argparse.ArgumentParser` instances." msgstr "" -#: ../NEWS:4060 +#: ../NEWS:4346 msgid "" ":gh:`112821`: In the REPL, autocompletion might run arbitrary code in the " "getter of a descriptor. If that getter raised an exception, autocompletion " @@ -6878,19 +7356,19 @@ msgid "" "works as expected for these objects." msgstr "" -#: ../NEWS:4065 +#: ../NEWS:4351 msgid "" ":gh:`149534`: Fix merging of :class:`collections.defaultdict` " "and :class:`frozendict`." msgstr "" -#: ../NEWS:4068 +#: ../NEWS:4354 msgid "" ":gh:`149388`: Make :class:`!asyncio.windows_utils.PipeHandle` closing " "idempotent." msgstr "" -#: ../NEWS:4071 +#: ../NEWS:4357 msgid "" ":gh:`149489`: Fix :mod:`~xml.etree.ElementTree` serialization to HTML. The " "content of comments, processing instructions and elements \"xmp\", " @@ -6899,19 +7377,19 @@ msgid "" "support of empty attributes (with value ``None``)." msgstr "" -#: ../NEWS:4077 +#: ../NEWS:4363 msgid "" ":gh:`149056`: Fix :func:`json.load` not forwarding the *array_hook* argument " "to :func:`json.loads`. Patch by Thomas Kowalski." msgstr "" -#: ../NEWS:4080 +#: ../NEWS:4366 msgid "" ":gh:`149046`: :mod:`io`: Fix :class:`io.StringIO` serialization: no longer " "call ``str(obj)`` on :class:`str` subclasses. Patch by Thomas Kowalski." msgstr "" -#: ../NEWS:4083 +#: ../NEWS:4369 msgid "" ":gh:`148441`: :mod:`xml.parsers.expat`: prevent a crash " "in :meth:`~xml.parsers.expat.xmlparser.CharacterDataHandler` when the " @@ -6919,13 +7397,13 @@ msgid "" "`." msgstr "" -#: ../NEWS:4088 +#: ../NEWS:4374 msgid "" ":gh:`146452`: Fix segfault in :mod:`pickle` when pickling a dictionary " "concurrently mutated by another thread in the free-threaded build." msgstr "" -#: ../NEWS:4091 +#: ../NEWS:4377 msgid "" ":gh:`86533`: The :func:`os.makedirs` function and :meth:`pathlib.Path.mkdir` " "method now have a *parent_mode* parameter to specify the mode for " @@ -6933,13 +7411,13 @@ msgid "" "to match the behavior from Python 3.6 and earlier for :func:`os.makedirs`." msgstr "" -#: ../NEWS:4096 +#: ../NEWS:4382 msgid "" ":gh:`134261`: zip: On reproducible builds, ZipFile uses UTC instead of the " "local time when writing file datetimes to avoid underflows." msgstr "" -#: ../NEWS:4099 +#: ../NEWS:4385 msgid "" ":gh:`133998`: Fix :exc:`struct.error` exception when creating a file " "with :class:`gzip.GzipFile` or compressing data with :func:`gzip.compress` " @@ -6948,7 +7426,7 @@ msgid "" "argument is outside the range ``0`` to ``2**32-1``." msgstr "" -#: ../NEWS:4105 +#: ../NEWS:4391 msgid "" ":gh:`128110`: Fix bug in the parsing of :mod:`email` address headers that " "could result in extraneous spaces in the decoded text when using a modern " @@ -6957,25 +7435,25 @@ msgid "" "unstructured headers like *Subject*)." msgstr "" -#: ../NEWS:4111 +#: ../NEWS:4397 msgid "" ":gh:`107398`: Fix :mod:`tarfile` stream mode exception when process the file " "with the gzip extra field." msgstr "" -#: ../NEWS:4114 +#: ../NEWS:4400 msgid "" ":gh:`121109`: Fix :mod:`tarfile` performance issue when reading archives in " "streaming mode (e.g. ``r|*``)." msgstr "" -#: ../NEWS:4117 +#: ../NEWS:4403 msgid "" ":issue:`45509`: Gzip headers are now checked for corrupted NAME, COMMENT and " "HCRC fields." msgstr "" -#: ../NEWS:4123 +#: ../NEWS:4409 msgid "" ":gh:`150387`: Fix hang in " "``test.test_profiling.test_sampling_profiler.test_live_collector_ui.TestLiveModeErrors.test_run_failed_script_live`` " @@ -6984,36 +7462,36 @@ msgid "" "the post-finished input loop." msgstr "" -#: ../NEWS:4129 +#: ../NEWS:4415 msgid "" ":gh:`149776`: Fix test_socket on Linux kernel 7.1 and newer: skip UDP Lite " "tests if it's not supported. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4135 +#: ../NEWS:4421 msgid "" ":gh:`148294`: Corrected the use of ``AC_PATH_TOOL`` in ``configure.ac`` to " "allow a C++ compiler to be found on :envvar:`!PATH`." msgstr "" -#: ../NEWS:4138 +#: ../NEWS:4424 msgid "" ":gh:`148260`: On Linux when Python is linked to the musl C library, use a " "thread stack size of at least 1 MiB instead of musl default which is 128 " "kiB. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4145 +#: ../NEWS:4431 msgid "" ":gh:`149786`: Fixes virtual environment launchers on Windows free-threaded " "builds." msgstr "" -#: ../NEWS:4148 +#: ../NEWS:4434 msgid ":gh:`124111`: Updated Windows builds to use Tcl/Tk 9.0.3." msgstr "" -#: ../NEWS:4150 +#: ../NEWS:4436 msgid "" ":gh:`138489`: Windows distributions now include a :file:`build-details.json` " "file (see :pep:`739`). The legacy installer does not install it, but all " @@ -7021,36 +7499,36 @@ msgid "" "``PC\\layout`` script will include one." msgstr "" -#: ../NEWS:4155 +#: ../NEWS:4441 msgid ":gh:`149029`: Update Windows installer to ship with SQLite 3.53.1." msgstr "" -#: ../NEWS:4160 +#: ../NEWS:4446 msgid "" ":gh:`150644`: When system logging is enabled (with " "``config.use_system_logger``, messages are now tagged as public. This allows " "the macOS 26 system logger to view messages without special configuration." msgstr "" -#: ../NEWS:4165 +#: ../NEWS:4451 msgid "" ":gh:`149029`: Update macOS installer to ship with SQLite version 3.53.1." msgstr "" -#: ../NEWS:4170 +#: ../NEWS:4456 msgid "" ":gh:`150258`: Update the tooltip on the Tachyon flame graph to show both " "absolute and relative percentages." msgstr "" -#: ../NEWS:4176 +#: ../NEWS:4462 msgid "" ":gh:`149725`: Add :c:func:`PySentinel_CheckExact` for " "exact :class:`sentinel` type tests to accompany the " "existing :c:func:`PySentinel_Check`." msgstr "" -#: ../NEWS:4179 +#: ../NEWS:4465 msgid "" ":gh:`145235`: " "Made :c:func:`PyDict_AddWatcher`, :c:func:`PyDict_ClearWatcher`, :c:func:`PyDict_Watch`, " @@ -7058,46 +7536,46 @@ msgid "" "threading>` build." msgstr "" -#: ../NEWS:4186 +#: ../NEWS:4472 msgid "Python 3.15.0 beta 1" msgstr "" -#: ../NEWS:4188 +#: ../NEWS:4474 msgid "*Release date: 2026-05-07*" msgstr "" -#: ../NEWS:4193 +#: ../NEWS:4479 msgid ":gh:`149254`: Update Android and iOS installer to use OpenSSL 3.5.6." msgstr "" -#: ../NEWS:4195 +#: ../NEWS:4481 msgid "" ":gh:`149017`: Update bundled `libexpat `_ to " "version 2.8.0." msgstr "" -#: ../NEWS:4198 +#: ../NEWS:4484 msgid "" ":gh:`148252`: Fixed string table and sample record bounds checks in :mod:`!" "_remote_debugging` when decoding certain ``.pyb`` inputs on 32-bit builds. " "Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4202 +#: ../NEWS:4488 msgid "" ":gh:`90309`: Base64-encode values when embedding cookies to JavaScript using " "the :meth:`http.cookies.BaseCookie.js_output` method to avoid injection and " "escaping." msgstr "" -#: ../NEWS:4206 +#: ../NEWS:4492 msgid "" ":gh:`148808`: Added buffer boundary check when using ``nbytes`` parameter " "with :meth:`!asyncio.AbstractEventLoop.sock_recvfrom_into`. Only relevant " "for Windows and the :class:`asyncio.ProactorEventLoop`." msgstr "" -#: ../NEWS:4210 +#: ../NEWS:4496 msgid "" ":gh:`148395`: Fix a dangling input pointer " "in :class:`lzma.LZMADecompressor`, :class:`bz2.BZ2Decompressor`, and " @@ -7107,27 +7585,27 @@ msgid "" "buffer." msgstr "" -#: ../NEWS:4217 +#: ../NEWS:4503 msgid "" ":gh:`148252`: Fixed stack depth calculation in :mod:`!_remote_debugging` " "when decoding certain ``.pyb`` inputs on 32-bit builds. Issue originally " "identified and diagnosed by Tristan Madani (@TristanInSec on GitHub)." msgstr "" -#: ../NEWS:4221 +#: ../NEWS:4507 msgid "" ":gh:`148178`: Hardened :mod:`!_remote_debugging` by validating remote debug " "offset tables before using them to size memory reads or interpret remote " "layouts." msgstr "" -#: ../NEWS:4225 +#: ../NEWS:4511 msgid "" ":gh:`148169`: A bypass in :mod:`webbrowser` allowed URLs prefixed with " "``%action`` to pass the dash-prefix safety check." msgstr "" -#: ../NEWS:4228 +#: ../NEWS:4514 msgid "" ":gh:`146581`: Fix vulnerability in :func:`shutil.unpack_archive` for ZIP " "files on Windows which allowed to write files outside of the destination " @@ -7136,7 +7614,7 @@ msgid "" "\"foo..bar\") are no longer skipped." msgstr "" -#: ../NEWS:4234 +#: ../NEWS:4520 msgid "" ":gh:`137586`: Fix a PATH-injection vulnerability in :mod:`webbrowser` on " "macOS where ``osascript`` was invoked without an absolute path. The " @@ -7144,7 +7622,7 @@ msgid "" "dependency on ``osascript`` entirely." msgstr "" -#: ../NEWS:4239 +#: ../NEWS:4525 msgid "" ":gh:`146333`: Fix quadratic backtracking " "in :class:`configparser.RawConfigParser` option parsing regexes (``OPTCRE`` " @@ -7152,13 +7630,13 @@ msgid "" "characters could cause excessive CPU usage." msgstr "" -#: ../NEWS:4244 +#: ../NEWS:4530 msgid "" ":gh:`146211`: Reject CR/LF characters in tunnel request headers for the " "HTTPConnection.set_tunnel() method." msgstr "" -#: ../NEWS:4250 +#: ../NEWS:4536 msgid "" ":gh:`148940`: Revert the process size based deferral of garbage collection " "(:gh:`133464`). The performance issue this change resolves is also fixed " @@ -7168,25 +7646,25 @@ msgid "" "This change applies to the free-threaded GC only." msgstr "" -#: ../NEWS:4257 +#: ../NEWS:4543 msgid "" ":gh:`149243`: Check for recursion limits in ``CALL_ALLOC_AND_ENTER_INIT`` " "opcode." msgstr "" -#: ../NEWS:4260 +#: ../NEWS:4546 msgid "" ":gh:`126910`: Add support for unwinding JIT frames using GNU backtrace. " "Patch by Diego Russo and Pablo Galindo" msgstr "" -#: ../NEWS:4263 +#: ../NEWS:4549 msgid "" ":gh:`149171`: Allow assignment to the ``__module__`` attribute " "of :class:`typing.TypeAliasType` instances." msgstr "" -#: ../NEWS:4266 +#: ../NEWS:4552 msgid "" ":gh:`149122`: Fix a crash in optimized calls " "to :func:`all`, :func:`any`, :func:`tuple`, :func:`list`, and :func:`set` " @@ -7195,11 +7673,11 @@ msgid "" "crashing." msgstr "" -#: ../NEWS:4271 +#: ../NEWS:4557 msgid ":gh:`149049`: Fix stack underflow for ``BINARY_OP`` in tier 2." msgstr "" -#: ../NEWS:4273 +#: ../NEWS:4559 msgid "" ":gh:`83065`: Fix a deadlock that could occur when one thread is importing a " "submodule (for example ``import pkg.sub.mod``) while another thread is " @@ -7209,7 +7687,7 @@ msgid "" "so the two threads serialise instead of raising ``_DeadlockError``." msgstr "" -#: ../NEWS:4280 +#: ../NEWS:4566 msgid "" ":gh:`113956`: Fix a data race in :func:`sys.intern` in the free-threaded " "build when interning a string owned by another thread. An interned copy " @@ -7217,13 +7695,13 @@ msgid "" "immortalize the original." msgstr "" -#: ../NEWS:4285 +#: ../NEWS:4571 msgid "" ":gh:`148850`: Fix the memory sanitizer false positive " "in :func:`os.getrandom`." msgstr "" -#: ../NEWS:4288 +#: ../NEWS:4574 msgid "" ":gh:`148820`: Fix a race in :c:type:`!_PyRawMutex` on the free-threaded " "build where a ``Py_PARK_INTR`` return from ``_PySemaphore_Wait`` could let " @@ -7232,43 +7710,43 @@ msgid "" "error." msgstr "" -#: ../NEWS:4294 +#: ../NEWS:4580 msgid "" ":gh:`148829`: Add :class:`sentinel`, implementing :pep:`661`. PEP by Tal " "Einat; patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:4297 +#: ../NEWS:4583 msgid ":gh:`146270`: Fix a sequential consistency bug in ``structmember.c``." msgstr "" -#: ../NEWS:4299 +#: ../NEWS:4585 msgid "" ":gh:`148766`: The interpreter help (such as ``python --help``) is now in " "color. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:4302 +#: ../NEWS:4588 msgid "" ":gh:`148571`: Fix a crash in the JIT optimizer when specialized opcode " "families inherited incompatible recorded operand layouts." msgstr "" -#: ../NEWS:4305 +#: ../NEWS:4591 msgid "" ":gh:`148653`: Forbid :mod:`marshalling ` recursive code " "objects, :class:`slice` and :class:`frozendict` objects which cannot be " "correctly unmarshalled." msgstr "" -#: ../NEWS:4309 +#: ../NEWS:4595 msgid "" ":gh:`142516`: Forward-port the generational cycle garbage collector to the " "default 3.15 build, replacing the incremental collector while leaving the " "free-threaded collector unchanged." msgstr "" -#: ../NEWS:4313 +#: ../NEWS:4599 msgid "" ":gh:`146462`: Added ``PyTypeObject.tp_basicsize``, " "``PyTypeObject.tp_dictoffset``, and ``PyHeapTypeObject.ht_cached_keys`` " @@ -7276,20 +7754,20 @@ msgid "" "only dict introspection tools." msgstr "" -#: ../NEWS:4318 +#: ../NEWS:4604 msgid "" ":gh:`145239`: Unary plus is now accepted in :keyword:`match` literal " "patterns, mirroring the existing support for unary minus. Patch by Bartosz " "Sławecki." msgstr "" -#: ../NEWS:4322 +#: ../NEWS:4608 msgid "" ":gh:`148515`: Fix a bug in the JIT optimizer reading operands for uops with " "multiple caches." msgstr "" -#: ../NEWS:4325 +#: ../NEWS:4611 msgid "" ":gh:`148390`: Fix an undefined behavior in :class:`memoryview` when using " "the native boolean format (``?``) in :meth:`~memoryview.cast`. Previously, " @@ -7298,26 +7776,26 @@ msgid "" "*b*. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4331 +#: ../NEWS:4617 msgid "" ":gh:`148418`: Fix a possible reference leak in a corrupted ``TYPE_CODE`` " "marshal stream." msgstr "" -#: ../NEWS:4334 +#: ../NEWS:4620 msgid "" ":gh:`148393`: Fix data races " "between :c:func:`PyDict_Watch` / :c:func:`PyDict_Unwatch` and concurrent " "dict mutation in the :term:`free-threaded build`." msgstr "" -#: ../NEWS:4338 +#: ../NEWS:4624 msgid "" ":gh:`148398`: Fix a bug in the JIT optimizer where class attribute loads " "were not invalidated after type mutation." msgstr "" -#: ../NEWS:4341 +#: ../NEWS:4627 msgid "" ":gh:`146527`: Add a ``GCMonitor`` class with a ``get_gc_stats`` method to " "the :mod:`!_remote_debugging` module to allow reading GC statistics from an " @@ -7325,33 +7803,33 @@ msgid "" "functionality. Patch by Sergey Miryanov and Pablo Galindo." msgstr "" -#: ../NEWS:4346 +#: ../NEWS:4632 msgid "" ":gh:`148284`: Fix high stack consumption in Python's interpreter loop on " "Clang 22 by setting function limits for inlining when building with computed " "gotos." msgstr "" -#: ../NEWS:4350 +#: ../NEWS:4636 msgid "" ":gh:`148037`: Remove critical section from :c:func:`!PyCode_Addr2Line` in " "free-threading." msgstr "" -#: ../NEWS:4353 +#: ../NEWS:4639 msgid "" ":gh:`115802`: Improve JIT code generation on Linux AArch64 by reducing the " "indirect call to external symbols. Patch by Diego Russo." msgstr "" -#: ../NEWS:4356 +#: ../NEWS:4642 msgid "" ":gh:`148189`: Repaired undercount of bytes in type-specific free lists " "reported by sys._debugmallocstats(). For types that participate in cyclic " "garbage collection, it was missing two pointers used by GC." msgstr "" -#: ../NEWS:4360 +#: ../NEWS:4646 msgid "" ":gh:`148222`: Fix vectorcall support in :class:`types.GenericAlias` when the " "underlying type does not support the vectorcall protocol. Fix possible leaks " @@ -7359,18 +7837,18 @@ msgid "" "memory error." msgstr "" -#: ../NEWS:4365 +#: ../NEWS:4651 msgid ":gh:`148208`: Fix recursion depth leak in :c:func:`PyObject_Print`" msgstr "" -#: ../NEWS:4367 +#: ../NEWS:4653 msgid "" ":gh:`95004`: The specializing interpreter now specializes " "for :class:`enum.Enum` improving performance and scaling in free-threading. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:4371 +#: ../NEWS:4657 msgid "" ":gh:`149202`: Enable frame pointers by default for GCC-compatible CPython " "builds, including ``-mno-omit-leaf-frame-pointer``, ``-marm`` on 32-bit ARM, " @@ -7380,46 +7858,46 @@ msgid "" "configure`` to opt out." msgstr "" -#: ../NEWS:4378 +#: ../NEWS:4664 msgid "" ":gh:`148014`: Accept a function name in :option:`-X presite <-X>` command " "line option and :envvar:`PYTHON_PRESITE` environment variable. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:4382 +#: ../NEWS:4668 msgid "" ":gh:`147998`: Fixed a memory leak in interpreter helper calls so cleanup " "works when an operation falls across interpreter boundaries. Patch by " "Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4386 +#: ../NEWS:4672 msgid "" ":gh:`146455`: Fix O(N²) compile-time regression in constant folding after it " "was moved from AST to CFG optimizer." msgstr "" -#: ../NEWS:4389 +#: ../NEWS:4675 msgid "" ":gh:`146306`: Specialize float true division in the tier 2 optimizer with " "inplace mutation for uniquely-referenced operands." msgstr "" -#: ../NEWS:4392 +#: ../NEWS:4678 msgid "" ":gh:`142186`: Global :mod:`sys.monitoring` events can now be turned on and " "disabled on a per code object basis. Returning ``DISABLE`` from a callback " "disables the event for the entire code object (for the current tool)." msgstr "" -#: ../NEWS:4396 +#: ../NEWS:4682 msgid "" ":gh:`126910`: Add support for unwinding JIT frames using GDB. Patch by Diego " "Russo and Pablo Galindo." msgstr "" -#: ../NEWS:4399 +#: ../NEWS:4685 msgid "" ":gh:`146031`: The unstable API _PyInterpreterState_SetEvalFrameFunc has a " "companion function _PyInterpreterState_SetEvalFrameAllowSpecialization to " @@ -7429,23 +7907,23 @@ msgid "" "inlined dispatch." msgstr "" -#: ../NEWS:4406 +#: ../NEWS:4692 msgid "" ":gh:`145278`: The :mod:`encodings` is now partially frozen, including the " "``aliases`` and ``utf_8`` submodules." msgstr "" -#: ../NEWS:4409 +#: ../NEWS:4695 msgid "The :mod:`linecache` is now frozen." msgstr "" -#: ../NEWS:4411 +#: ../NEWS:4697 msgid "" ":gh:`134584`: Optimize and eliminate redundant ref-counting for " "``MAKE_FUNCTION`` in the JIT." msgstr "" -#: ../NEWS:4414 +#: ../NEWS:4700 msgid "" ":gh:`143886`: Reorder function annotations so positional-only arguments are " "returned before other arguments. This fixes " @@ -7453,26 +7931,26 @@ msgid "" "only arguments." msgstr "" -#: ../NEWS:4419 +#: ../NEWS:4705 msgid "" ":gh:`98894`: Restore ``function__entry`` and ``function__return`` DTrace/" "SystemTap probes that were broken since Python 3.11." msgstr "" -#: ../NEWS:4422 +#: ../NEWS:4708 msgid "" ":gh:`116021`: Support for creating instances of abstract AST nodes from " "the :mod:`ast` module is deprecated and scheduled for removal in Python " "3.20. Patch by Brian Schubert." msgstr "" -#: ../NEWS:4426 +#: ../NEWS:4712 msgid "" ":gh:`137814`: Fix the ``__qualname__`` attribute of ``__annotate__`` " "functions on functions." msgstr "" -#: ../NEWS:4429 +#: ../NEWS:4715 msgid "" ":gh:`137600`: :mod:`ast`: The constructors of AST nodes now raise " "a :exc:`TypeError` when a required argument is omitted or when a keyword " @@ -7481,71 +7959,71 @@ msgid "" "by Brian Schubert." msgstr "" -#: ../NEWS:4435 +#: ../NEWS:4721 msgid "" ":gh:`137293`: Fix :exc:`SystemError` when searching ELF Files " "in :func:`sys.remote_exec`." msgstr "" -#: ../NEWS:4438 +#: ../NEWS:4724 msgid ":gh:`135357`: Add support for :data:`!socket.SO_PASSRIGHTS` on Linux." msgstr "" -#: ../NEWS:4440 +#: ../NEWS:4726 msgid "" ":gh:`134690`: Removed deprecated in :pep:`626` since Python 3.12 :attr:`!" "codeobject.co_lnotab` from :class:`types.CodeType`." msgstr "" -#: ../NEWS:4443 +#: ../NEWS:4729 msgid "" ":gh:`100239`: Specialize ``BINARY_OP`` for concatenation of lists and " "tuples, and propagate the result type through ``_BINARY_OP_EXTEND`` in the " "tier 2 optimizer so that follow-up type guards can be eliminated." msgstr "" -#: ../NEWS:4450 +#: ../NEWS:4736 msgid "" ":gh:`148823`: Defer the import of ``_colorize`` in ``argparse`` until needed " "for coloring output." msgstr "" -#: ../NEWS:4453 +#: ../NEWS:4739 msgid "" ":gh:`141560`: Add an *annotation_format* parameter " "to :func:`inspect.getfullargspec`." msgstr "" -#: ../NEWS:4456 +#: ../NEWS:4742 msgid "" ":gh:`139489`: Add the :func:`xml.is_valid_text` function, which allows to " "check whether a string can be used in the XML document." msgstr "" -#: ../NEWS:4459 +#: ../NEWS:4745 msgid "" ":gh:`142389`: Add backticks to stdlib argparse help to display in colour. " "Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:4462 +#: ../NEWS:4748 msgid ":gh:`149377`: Update bundled pip to 26.1.1" msgstr "" -#: ../NEWS:4464 +#: ../NEWS:4750 msgid "" ":gh:`142389`: Add backtick markup support in :mod:`argparse` option help " "text to highlight inline code when color output is enabled. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:4468 +#: ../NEWS:4754 msgid "" ":gh:`148675`: Remove ``F`` and ``D`` formats from :mod:`array` " "and :class:`memoryview`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4471 +#: ../NEWS:4757 msgid "" ":gh:`149342`: Fix :mod:`!_remote_debugging` binary writing so that sampling " "a thread whose Python frame stack is empty (for example while it is in a C " @@ -7555,7 +8033,7 @@ msgid "" "buffer. Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4478 +#: ../NEWS:4764 msgid "" ":gh:`149010`: The ``inspect`` module CLI now reports as much information as " "it has available for non-source modules when ``--details`` is specified, and " @@ -7565,36 +8043,36 @@ msgid "" "value rather than a class or function definition." msgstr "" -#: ../NEWS:4485 +#: ../NEWS:4771 msgid "" ":gh:`146609`: Use :mod:`argparse` for colour help :mod:`timeit` CLI. Patch " "by Hugo van Kemenade." msgstr "" -#: ../NEWS:4488 +#: ../NEWS:4774 msgid "" ":gh:`142389`: Add backticks for colour to regrtest and pdb's help " "description. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:4491 +#: ../NEWS:4777 msgid "" ":gh:`144384`: Lazily import :mod:`!_colorize`. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:4493 +#: ../NEWS:4779 msgid "" ":gh:`149321`: Fix import cycles exposed by running standard library modules " "with ``-X lazy_imports=none``." msgstr "" -#: ../NEWS:4496 +#: ../NEWS:4782 msgid "" ":gh:`145378`: Generate consistent colors for :mod:`pdb` commands " "in :mod:`pdb` REPL." msgstr "" -#: ../NEWS:4499 +#: ../NEWS:4785 msgid "" ":gh:`149296`: Add a ``dump`` subcommand to :mod:`profiling.sampling` that " "prints a single traceback-style snapshot of a running process's Python " @@ -7603,13 +8081,13 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:4505 +#: ../NEWS:4791 msgid "" ":gh:`143231`: A *module* attribute has been added to :class:`!" "warnings.WarningMessage`." msgstr "" -#: ../NEWS:4508 +#: ../NEWS:4794 msgid "" ":gh:`148675`: :mod:`ctypes`: Change " "the :py:attr:`~ctypes._SimpleCData._type_` " @@ -7619,26 +8097,26 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:4515 +#: ../NEWS:4801 msgid "" ":gh:`148675`: The :data:`array.typecodes` type changed from :class:`str` " "to :class:`tuple` to support type codes longer than 1 character (``Zf`` and " "``Zd``). Patch by Victor Stinner." msgstr "" -#: ../NEWS:4519 +#: ../NEWS:4805 msgid "" ":gh:`149221`: Catch rare math domain error " "for :func:`random.binomialvariate`." msgstr "" -#: ../NEWS:4522 +#: ../NEWS:4808 msgid "" ":gh:`149231`: In :mod:`tomllib`, the number of parts in TOML keys is now " "limited." msgstr "" -#: ../NEWS:4525 +#: ../NEWS:4811 msgid "" ":gh:`143231`: :func:`unittest.TestCase.assertWarns` " "and :func:`unittest.TestCase.assertWarnsRegex` no longer swallow warnings " @@ -7646,7 +8124,7 @@ msgid "" "are now supported." msgstr "" -#: ../NEWS:4530 +#: ../NEWS:4816 msgid "" ":gh:`149214`: Fix :mod:`!_remote_debugging` misreading non-ASCII Unicode " "strings (Latin-1, BMP and non-BMP) from a remote process. Filenames and " @@ -7655,7 +8133,7 @@ msgid "" "introspection." msgstr "" -#: ../NEWS:4536 +#: ../NEWS:4822 msgid "" ":gh:`149189`: :mod:`pprint` now uses modern defaults: ``indent=4`` and " "``width=88``, and the default ``compact=False`` output is now formatted " @@ -7666,32 +8144,32 @@ msgid "" "van Kemenade." msgstr "" -#: ../NEWS:4544 +#: ../NEWS:4830 msgid "" ":gh:`149173`: Fix inverted :envvar:`PYTHON_BASIC_REPL` environment check in " "``pdb._pyrepl_available``." msgstr "" -#: ../NEWS:4547 +#: ../NEWS:4833 msgid "" ":gh:`149117`: Fix :func:`runpy.run_module` and :func:`runpy.run_path` to set " "the :attr:`~ImportError.name` attribute on the :exc:`ImportError` they raise." msgstr "" -#: ../NEWS:4551 +#: ../NEWS:4837 msgid "" ":gh:`149148`: :mod:`ensurepip`: Upgrade bundled pip to 26.1. This version " "fixes the :cve:`2026-3219` vulnerability. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4554 +#: ../NEWS:4840 msgid "" ":gh:`149009`: Validate that :mod:`profiling.sampling` binary profiles do not " "contain more unique (thread, interpreter) pairs than declared in the header. " "Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4558 +#: ../NEWS:4844 msgid "" ":gh:`148292`: :mod:`ssl`: Update :class:`ssl.SSLSocket` " "and :class:`ssl.SSLObject` for OpenSSL 4. The classes now remember if they " @@ -7704,34 +8182,34 @@ msgid "" "EOF. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4567 +#: ../NEWS:4853 msgid "" ":gh:`149085`: Add a *max_threads* keyword argument " "to :func:`faulthandler.dump_traceback`, :func:`faulthandler.dump_traceback_later`, :func:`faulthandler.enable`, " "and :func:`faulthandler.register`." msgstr "" -#: ../NEWS:4572 +#: ../NEWS:4858 msgid "" ":gh:`148641`: :func:`pkgutil.resolve_name` gets a new optional, keyword-only " "argument called ``strict``. The default is ``False`` for backward " "compatibility." msgstr "" -#: ../NEWS:4576 +#: ../NEWS:4862 msgid "" ":gh:`148093`: Fix an out-of-bounds read of one byte " "in :func:`binascii.a2b_uu`. Raise :exc:`binascii.Error`, instead of reading " "past the buffer end." msgstr "" -#: ../NEWS:4580 +#: ../NEWS:4866 msgid "" ":gh:`149083`: :data:`dataclasses.MISSING` and :data:`dataclasses.KW_ONLY` " "are now instances of :class:`sentinel`." msgstr "" -#: ../NEWS:4583 +#: ../NEWS:4869 msgid "" ":gh:`148914`: Fix memoization of in-band :class:`~pickle.PickleBuffer` in " "the Python implementation of :mod:`pickle`. Previously, identical :class:`!" @@ -7740,27 +8218,27 @@ msgid "" "following references to ``b''`` were unpickled as an empty bytearray object." msgstr "" -#: ../NEWS:4590 +#: ../NEWS:4876 msgid "" ":gh:`149026`: Add colour to :mod:`pickletools` CLI output. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:4593 +#: ../NEWS:4879 msgid "" ":gh:`148991`: Add colour to :mod:`tokenize` CLI output. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:4596 +#: ../NEWS:4882 msgid ":gh:`138907`: Support :rfc:`9309` in :mod:`urllib.robotparser`." msgstr "" -#: ../NEWS:4598 +#: ../NEWS:4884 msgid ":gh:`148981`: Add *color* parameter to :func:`ast.dump`." msgstr "" -#: ../NEWS:4600 +#: ../NEWS:4886 msgid "" ":gh:`148849`: Deprecate :meth:`http.cookies.Morsel.js_output` " "and :meth:`http.cookies.BaseCookie.js_output`, which will be removed in " @@ -7768,7 +8246,7 @@ msgid "" "or :meth:`http.cookies.BaseCookie.output` instead." msgstr "" -#: ../NEWS:4605 +#: ../NEWS:4891 msgid "" ":gh:`146311`: Add a *canonical* keyword-only parameter to the base32, " "base64, base85, ascii85, and Z85 decoders in :mod:`base64` " @@ -7780,14 +8258,14 @@ msgid "" "and produced no output bytes." msgstr "" -#: ../NEWS:4614 +#: ../NEWS:4900 msgid "" ":gh:`148947`: Fix crash in :deco:`dataclasses.dataclass` with ``slots=True`` " "that occurred when a function found within the class had an empty " "``__class__`` cell." msgstr "" -#: ../NEWS:4618 +#: ../NEWS:4904 msgid "" ":gh:`148680`: ``ForwardRef`` objects that contain internal names to " "represent known objects now show the ``type_repr`` of the known object " @@ -7795,7 +8273,7 @@ msgid "" "strings." msgstr "" -#: ../NEWS:4622 +#: ../NEWS:4908 msgid "" ":gh:`124397`: The threading module added tooling to support concurrent " "iterator " @@ -7803,82 +8281,82 @@ msgid "" "and :func:`threading.concurrent_tee`." msgstr "" -#: ../NEWS:4627 +#: ../NEWS:4913 msgid "" ":gh:`148801`: :mod:`xml.etree.ElementTree`: Fix a crash " "in :meth:`Element.__deepcopy__ ` on deeply nested trees." msgstr "" -#: ../NEWS:4630 +#: ../NEWS:4916 msgid "" ":gh:`148735`: :mod:`xml.etree.ElementTree`: Fix a use-after-free " "in :meth:`Element.findtext ` when " "the element tree is mutated concurrently during the search." msgstr "" -#: ../NEWS:4634 +#: ../NEWS:4920 msgid "" ":gh:`148740`: Fix usage for :mod:`uuid` command-line interface to support a " "custom namespace be provided for uuid3 and uuid5." msgstr "" -#: ../NEWS:4637 +#: ../NEWS:4923 msgid "" ":gh:`148688`: :mod:`bz2`, :mod:`compression.zstd`, :mod:`lzma`, :mod:`zlib`: " "Fix a double free on memory allocation failure. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4640 +#: ../NEWS:4926 msgid "" ":gh:`148675`: :mod:`array`, :mod:`struct`: Add support for ``Zd`` and ``Zf`` " "formats for double complex and float complex. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4643 +#: ../NEWS:4929 msgid "" ":gh:`148651`: Fix reference leak " "in :class:`compression.zstd.ZstdDecompressor` when an invalid option key is " "passed." msgstr "" -#: ../NEWS:4647 +#: ../NEWS:4933 msgid "" ":gh:`148641`: :pep:`829` (package startup configuration files) implements a " "new format ``.start`` parallel to ``.pth`` files, to replace " "``import`` lines in the latter." msgstr "" -#: ../NEWS:4651 +#: ../NEWS:4937 msgid "" ":gh:`148639`: Implement :pep:`800`, adding the :deco:`typing.disjoint_base` " "decorator. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:4654 +#: ../NEWS:4940 msgid "" ":gh:`148615`: Fix :mod:`pdb` to accept standard -- end of options separator. " "Reported by haampie. Patched by Shrey Naithani." msgstr "" -#: ../NEWS:4657 +#: ../NEWS:4943 msgid "" ":gh:`146553`: Fix infinite loop in :func:`typing.get_type_hints` when " "``__wrapped__`` forms a cycle. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:4660 +#: ../NEWS:4946 msgid "" ":gh:`148599`: Update the :mod:`socket` module's WSA error messages to match " "official documentation." msgstr "" -#: ../NEWS:4663 +#: ../NEWS:4949 msgid "" ":gh:`148508`: An intermittent timing error when running SSL tests on iOS has " "been resolved." msgstr "" -#: ../NEWS:4666 +#: ../NEWS:4952 msgid "" ":gh:`144881`: :mod:`asyncio` debugging tools (``python -m asyncio ps`` and " "``pstree``) now retry automatically on transient errors that can occur when " @@ -7886,7 +8364,7 @@ msgid "" "can be controlled with the ``--retries`` flag. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:4672 +#: ../NEWS:4958 msgid "" ":gh:`148518`: If an email containing an address header that ended in an open " "double quote was parsed with a non-``compat32`` policy, accessing the " @@ -7895,76 +8373,76 @@ msgid "" "as the result." msgstr "" -#: ../NEWS:4678 +#: ../NEWS:4964 msgid "" ":gh:`148464`: Add missing ``__ctype_le/be__`` attributes " "for :class:`~ctypes.c_float_complex` and :class:`~ctypes.c_double_complex`. " "Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:4682 +#: ../NEWS:4968 msgid "" ":gh:`148370`: :mod:`configparser`: prevent quadratic behavior when " "a :exc:`~configparser.ParsingError` is raised after a parser fails to parse " "multiple lines. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4686 +#: ../NEWS:4972 msgid "" ":gh:`121190`: ``importlib.resources.files()`` now emits a more meaningful " "error message when module spec is None (as found in some ``__main__`` " "modules)." msgstr "" -#: ../NEWS:4690 +#: ../NEWS:4976 msgid "" ":gh:`127012`: ``importlib.abc.Traversable.read_text`` now allows/solicits an " "``errors`` parameter." msgstr "" -#: ../NEWS:4693 +#: ../NEWS:4979 msgid "" ":gh:`137855`: Improve import time of :mod:`dataclasses` module by lazy " "importing :mod:`re` and :mod:`copy` modules." msgstr "" -#: ../NEWS:4696 +#: ../NEWS:4982 msgid "" ":gh:`148352`: Add more color to :mod:`calendar`'s CLI output. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:4699 +#: ../NEWS:4985 msgid "" ":gh:`148254`: Use singular \"sec\" instead of \"secs\" in :mod:`timeit` " "verbose output for consistency with other time units." msgstr "" -#: ../NEWS:4702 +#: ../NEWS:4988 msgid ":gh:`130472`: Integrate fancycompleter with import completions." msgstr "" -#: ../NEWS:4704 +#: ../NEWS:4990 msgid "" ":gh:`148241`: :mod:`json`: Fix serialization: no longer call ``str(obj)`` " "on :class:`str` subclasses. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4707 +#: ../NEWS:4993 msgid "" ":gh:`148225`: The :mod:`profiling.sampling` ``replay`` command now rejects " "non-binary profile files with a clear error explaining that replay only " "accepts files created with ``--binary``." msgstr "" -#: ../NEWS:4711 +#: ../NEWS:4997 msgid "" ":gh:`148192`: ``email.generator.Generator._make_boundary`` could fail to " "detect a duplicate boundary string if linesep was not \\n. It now correctly " "detects boundary strings when linesep is \\r\\n as well." msgstr "" -#: ../NEWS:4715 +#: ../NEWS:5001 msgid "" ":gh:`148207`: :class:`typing.TypeVarTuple` now accepts ``bound``, " "``covariant``, ``contravariant``, and ``infer_variance`` parameters, " @@ -7972,26 +8450,26 @@ msgid "" "and :class:`typing.ParamSpec`." msgstr "" -#: ../NEWS:4720 +#: ../NEWS:5006 msgid "" ":gh:`148100`: :term:`Soft deprecate ` :func:`re.match` " "and :meth:`re.Pattern.match` in favour of :func:`re.prefixmatch` " "and :meth:`re.Pattern.prefixmatch`. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:4724 +#: ../NEWS:5010 msgid "" ":gh:`147991`: Improve :mod:`tomllib` import time (up to 10x faster). Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:4727 +#: ../NEWS:5013 msgid "" ":gh:`147957`: Guarantees that :meth:`collections.UserDict.popitem` will pop " "in the same order as the wrapped dictionary rather than an arbitrary order." msgstr "" -#: ../NEWS:4731 +#: ../NEWS:5017 msgid "" ":gh:`146256`: The ``profiling.sampling`` module now supports JSONL output " "format via ``--jsonl``. Each run emits a newline-delimited JSON file that is " @@ -7999,20 +8477,20 @@ msgid "" "consumers. Patch by Maurycy Pawłowski-Wieroński." msgstr "" -#: ../NEWS:4736 +#: ../NEWS:5022 msgid "" ":gh:`146609`: Add colour to :mod:`timeit` CLI output. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:4739 +#: ../NEWS:5025 msgid "" ":gh:`146563`: :mod:`xml.parsers.expat`: add an exception note when a custom " "Expat handler return value cannot be properly interpreted. Patch by Bénédikt " "Tran." msgstr "" -#: ../NEWS:4743 +#: ../NEWS:5029 msgid "" ":gh:`137586`: Add :class:`!MacOS` to :mod:`webbrowser` for macOS, which " "opens URLs via ``/usr/bin/open`` instead of piping AppleScript to " @@ -8020,7 +8498,7 @@ msgid "" "MacOS`." msgstr "" -#: ../NEWS:4747 +#: ../NEWS:5033 msgid "" ":gh:`146406`: Cross-language method suggestions are now shown " "for :exc:`AttributeError` on builtin types and their subclasses. For " @@ -8029,7 +8507,7 @@ msgid "" "``1.0.__or__`` suggests using an ``int``." msgstr "" -#: ../NEWS:4753 +#: ../NEWS:5039 msgid "" ":gh:`146313`: Fix a deadlock in :mod:`multiprocessing`'s resource tracker " "where the parent process could hang indefinitely in :func:`os.waitpid` " @@ -8037,19 +8515,19 @@ msgid "" "held the resource tracker's pipe open." msgstr "" -#: ../NEWS:4758 +#: ../NEWS:5044 msgid "" ":gh:`146292`: Add colour to :mod:`~http.server.BaseHTTPRequestHandler` logs, " "as used by the :mod:`http.server` CLI. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:4761 +#: ../NEWS:5047 msgid "" ":gh:`145917`: Add MIME types for TTC and Haptics formats " "to :mod:`mimetypes`. (Contributed by Charlie Lin in :gh:`145918`.)" msgstr "" -#: ../NEWS:4764 +#: ../NEWS:5050 msgid "" ":gh:`145846`: Fix memory leak in ``_lsprof`` when ``clear()`` is called " "during active profiling with nested calls. ``clearEntries()`` now walks the " @@ -8057,62 +8535,62 @@ msgid "" "top context." msgstr "" -#: ../NEWS:4769 +#: ../NEWS:5055 msgid "" ":gh:`145831`: Fix :func:`!email.quoprimime.decode` leaving a stray ``\\r`` " "when ``eol='\\r\\n'`` by stripping the full *eol* string instead of one " "character." msgstr "" -#: ../NEWS:4773 +#: ../NEWS:5059 msgid "" ":gh:`145378`: Use ``PyREPL`` as the default input console for :mod:`pdb`" msgstr "" -#: ../NEWS:4775 +#: ../NEWS:5061 msgid "" ":gh:`145244`: Fixed a use-after-free in :mod:`json` encoder when a " "``default`` callback mutates the dictionary being serialized." msgstr "" -#: ../NEWS:4778 +#: ../NEWS:5064 msgid "" ":gh:`117716`: Fix :mod:`wave` writing of odd-sized ``data`` chunks by " "appending the required RIFF pad byte and correcting the RIFF chunk size " "field accordingly." msgstr "" -#: ../NEWS:4782 +#: ../NEWS:5068 msgid "" ":gh:`145200`: :mod:`hashlib`: fix a memory leak when allocating or " "initializing an OpenSSL HMAC context fails." msgstr "" -#: ../NEWS:4785 +#: ../NEWS:5071 msgid "" ":gh:`145056`: Add support for :class:`frozendict` " "in :meth:`dataclasses.asdict` and :meth:`dataclasses.astuple`." msgstr "" -#: ../NEWS:4788 +#: ../NEWS:5074 msgid "" ":gh:`145105`: Fix crash in :mod:`csv` reader when iterating with a re-" "entrant iterator that calls :func:`next` on the same reader from within " "``__next__``." msgstr "" -#: ../NEWS:4792 +#: ../NEWS:5078 msgid "" ":gh:`130750`: Restore quoting of choices in :mod:`argparse` error messages " "for improved clarity and consistency with documentation." msgstr "" -#: ../NEWS:4795 +#: ../NEWS:5081 msgid "" ":gh:`137855`: Reduce the import time of :mod:`dataclasses` module by ~20%." msgstr "" -#: ../NEWS:4797 +#: ../NEWS:5083 msgid "" ":gh:`70647`: :meth:`~datetime.datetime.strptime` now " "raises :exc:`ValueError` when the format string contains ``%d`` without a " @@ -8120,7 +8598,7 @@ msgid "" "a :exc:`DeprecationWarning`." msgstr "" -#: ../NEWS:4801 +#: ../NEWS:5087 msgid "" ":gh:`105936`: Attempting to mutate non-field attributes " "of :mod:`dataclasses` with both *frozen* and *slots* being ``True`` now " @@ -8130,23 +8608,23 @@ msgid "" "collected." msgstr "" -#: ../NEWS:4807 +#: ../NEWS:5093 msgid "" ":gh:`142831`: Fix a crash in the :mod:`json` module where a use-after-free " "could occur if the object being encoded is modified during serialization." msgstr "" -#: ../NEWS:4810 +#: ../NEWS:5096 msgid "" ":gh:`108411`: ``typing.IO`` and ``typing.BinaryIO`` method arguments are now " "positional-only." msgstr "" -#: ../NEWS:4813 +#: ../NEWS:5099 msgid ":gh:`130273`: Fix traceback color output with Unicode characters." msgstr "" -#: ../NEWS:4815 +#: ../NEWS:5101 msgid "" ":gh:`142307`: :mod:`imaplib`: deprecate support for :attr:`IMAP4.file " "`. This attribute was never meant to be part of the " @@ -8155,31 +8633,31 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:4821 +#: ../NEWS:5107 msgid "" ":gh:`141449`: Improve tests and documentation for non-function callables " "as :term:`annotate functions `." msgstr "" -#: ../NEWS:4824 +#: ../NEWS:5110 msgid "" ":gh:`140287`: The :mod:`asyncio` REPL now handles exceptions when " "executing :envvar:`PYTHONSTARTUP` scripts. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:4827 +#: ../NEWS:5113 msgid "" ":gh:`139489`: Add the :func:`xml.is_valid_name` function, which allows to " "check whether a string can be used as an element or attribute name in XML." msgstr "" -#: ../NEWS:4830 +#: ../NEWS:5116 msgid "" ":gh:`75707`: Add optional ``mtime`` argument to :func:`tarfile.open`, for " "setting the ``mtime`` header field in ``.tar.gz`` archives." msgstr "" -#: ../NEWS:4833 +#: ../NEWS:5119 msgid "" ":gh:`125862`: The :func:`contextlib.contextmanager` " "and :func:`contextlib.asynccontextmanager` decorators now work correctly " @@ -8187,51 +8665,51 @@ msgid "" "callables are used as decorators." msgstr "" -#: ../NEWS:4838 +#: ../NEWS:5124 msgid "" ":gh:`135528`: :mod:`http.cookiejar`: add \"tv\", \"or\", \"nom\", \"sch\", " "and \"web\" to the default list of supported country code second-level " "domains." msgstr "" -#: ../NEWS:4841 +#: ../NEWS:5127 msgid "" ":gh:`135056`: Add a ``-H`` or ``--header`` CLI option to :program:`python -m " "http.server`. Contributed by Anton I. Sipos." msgstr "" -#: ../NEWS:4844 +#: ../NEWS:5130 msgid ":gh:`134551`: Add t-strings support to pprint functions" msgstr "" -#: ../NEWS:4846 +#: ../NEWS:5132 msgid "" ":gh:`133956`: Fix bug where :func:`@dataclass ` " "wouldn't detect ``ClassVar`` fields if ``ClassVar`` was re-exported from a " "module other than :mod:`typing`." msgstr "" -#: ../NEWS:4850 +#: ../NEWS:5136 msgid "" ":gh:`132631`: Fix \"I/O operation on closed file\" when parsing JSON Lines " "file with :mod:`JSON CLI `." msgstr "" -#: ../NEWS:4853 +#: ../NEWS:5139 msgid "" ":gh:`108951`: :mod:`asyncio`: Add :meth:`TaskGroup.cancel " "` which cancels unfinished tasks and exits the " "group without raising :exc:`asyncio.CancelledError`." msgstr "" -#: ../NEWS:4857 +#: ../NEWS:5143 msgid "" ":gh:`123853`: Update the table of Windows language code identifiers (LCIDs) " "used by :func:`locale.getdefaultlocale` on Windows to protocol version 16.0 " "(2024-04-23)." msgstr "" -#: ../NEWS:4861 +#: ../NEWS:5147 msgid "" ":gh:`122476`: The :mod:`email` module no longer incorrectly uses :rfc:`2047` " "encoding for a mailbox with non-ASCII characters in its local-part. Under a " @@ -8243,7 +8721,7 @@ msgid "" "as Unicode characters." msgstr "" -#: ../NEWS:4870 +#: ../NEWS:5156 msgid "" ":gh:`83938`: The :mod:`email` module no longer incorrectly uses :rfc:`2047` " "encoding for a mailbox with non-ASCII characters in its domain. Under a " @@ -8256,7 +8734,7 @@ msgid "" "characters." msgstr "" -#: ../NEWS:4880 +#: ../NEWS:5166 msgid "" ":gh:`81074`: The :mod:`email` module no longer treats email addresses with " "non-ASCII characters as defects when parsing a Unicode string or in the " @@ -8266,43 +8744,43 @@ msgid "" "Address ``username`` parameter." msgstr "" -#: ../NEWS:4886 +#: ../NEWS:5172 msgid "" "The (undocumented) :exc:`!email.errors.NonASCIILocalPartDefect` is no longer " "used and should be considered deprecated." msgstr "" -#: ../NEWS:4889 +#: ../NEWS:5175 msgid "" ":gh:`70039`: Fixed bug where :meth:`smtplib.SMTP.starttls` could fail " "if :meth:`smtplib.SMTP.connect` is called explicitly rather than implicitly." msgstr "" -#: ../NEWS:4892 +#: ../NEWS:5178 msgid "" ":gh:`113471`: Allow :mod:`http.server` to set a default content-type when " "serving files with an unknown or missing extension." msgstr "" -#: ../NEWS:4895 +#: ../NEWS:5181 msgid "" ":gh:`83281`: :mod:`email`: improve handling trailing garbage in address " "lists to avoid throwing AttributeError in certain edge cases" msgstr "" -#: ../NEWS:4898 +#: ../NEWS:5184 msgid "" ":gh:`96894`: Do not turn echo off for subsequent commands in batch " "activators (``activate.bat`` and ``deactivate.bat``) of :mod:`venv`." msgstr "" -#: ../NEWS:4904 +#: ../NEWS:5190 msgid "" ":gh:`148663`: Document that :class:`calendar.IllegalMonthError` is a " "subclass of both :exc:`ValueError` and :exc:`IndexError` since Python 3.12." msgstr "" -#: ../NEWS:4907 +#: ../NEWS:5193 msgid "" ":gh:`146646`: Document " "that :func:`glob.glob`, :func:`glob.iglob`, :meth:`pathlib.Path.glob`, " @@ -8310,33 +8788,33 @@ msgid "" "raised from scanning the filesystem." msgstr "" -#: ../NEWS:4914 +#: ../NEWS:5200 msgid "" ":gh:`149425`: Increase time delta in " "``test.test_zipfile.test_core.OtherTests.test_write_without_source_date_epoch``" msgstr "" -#: ../NEWS:4917 +#: ../NEWS:5203 msgid ":gh:`148600`: Add OpenSSL 4.0.0 support to test configurations." msgstr "" -#: ../NEWS:4922 +#: ../NEWS:5208 msgid "" ":gh:`149353`: Avoid unnecessary JIT-related rebuilds during ``make install`` " "after ``--enable-optimizations`` builds." msgstr "" -#: ../NEWS:4925 +#: ../NEWS:5211 msgid "" ":gh:`149351`: Avoid possible broken macOS framework install names when " "DESTDIR is specified during builds." msgstr "" -#: ../NEWS:4928 +#: ../NEWS:5214 msgid ":gh:`149252`: Update to WASI SDK 33." msgstr "" -#: ../NEWS:4930 +#: ../NEWS:5216 msgid "" ":gh:`148690`: Windows free-threaded builds now output to a different default " "path with default filenames, for example, ``PCbuild/amd64t/python.exe`` " @@ -8344,19 +8822,19 @@ msgid "" "been updated to ensure compatibility of generated layouts." msgstr "" -#: ../NEWS:4935 +#: ../NEWS:5221 msgid "" ":gh:`146475`: Block Apple Clang from being used to build the JIT as it ships " "without required LLVM tools." msgstr "" -#: ../NEWS:4938 +#: ../NEWS:5224 msgid "" ":gh:`148644`: Errors during the PGO training job on Windows are no longer " "ignored, and a non-zero return code will cause the build to fail." msgstr "" -#: ../NEWS:4941 +#: ../NEWS:5227 msgid "" ":gh:`148535`: No longer use the ``gcc -fprofile-update=atomic`` flag on " "i686. The flag has been added to fix a random GCC internal error on PGO " @@ -8366,36 +8844,36 @@ msgid "" "fprofile-update=atomic`` on i686 anymore. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4948 +#: ../NEWS:5234 msgid ":gh:`148483`: Use ``Py_GCC_ATTRIBUTE(unused)`` for stop_tracing label." msgstr "" -#: ../NEWS:4950 +#: ../NEWS:5236 msgid "" ":gh:`148474`: Fixed compilation of :file:`Python/pystrhex.c` with older " "clang versions." msgstr "" -#: ../NEWS:4953 +#: ../NEWS:5239 msgid "" ":gh:`146445`: The Android build tools have been moved to the Platforms " "folder." msgstr "" -#: ../NEWS:4956 +#: ../NEWS:5242 msgid "" ":gh:`146264`: Fix static module builds on non-WASI targets by linking HACL " "dependencies as static libraries when ``MODULE_BUILDTYPE=static``, " "preventing duplicate ``_Py_LibHacl_*`` symbol errors at link time." msgstr "" -#: ../NEWS:4960 +#: ../NEWS:5246 msgid "" ":gh:`138451`: Allow for custom LLVM path using ``LLVM_TOOLS_INSTALL_DIR`` " "during JIT build." msgstr "" -#: ../NEWS:4963 +#: ../NEWS:5249 msgid "" ":gh:`133312`: Add a new ``./configure`` option :option:`--enable-static-" "libpython-for-interpreter` which, when used with :option:`--enable-shared`, " @@ -8406,58 +8884,58 @@ msgid "" "library but also get a shared library for use by other programs." msgstr "" -#: ../NEWS:4975 +#: ../NEWS:5261 msgid ":gh:`149254`: Updated bundled version of OpenSSL to 3.5.6." msgstr "" -#: ../NEWS:4977 +#: ../NEWS:5263 msgid "" ":gh:`148690`: Non-freethreaded builds on Windows now support extensions " "linked to ``python3t.dll``, and will include a copy of that library in " "normal installs that references the non-freethreaded runtime." msgstr "" -#: ../NEWS:4981 +#: ../NEWS:5267 msgid "" ":gh:`146458`: Fix incorrect REPL height and width tracking on console window " "resize on Windows." msgstr "" -#: ../NEWS:4987 +#: ../NEWS:5273 msgid "" ":gh:`142295`: For Python macOS framework builds, update Info.plist files to " "be more compliant with current Apple guidelines. Original patch contributed " "by Martinus Verburg." msgstr "" -#: ../NEWS:4991 +#: ../NEWS:5277 msgid ":gh:`149254`: Update macOS installer to use OpenSSL 3.5.6." msgstr "" -#: ../NEWS:4996 +#: ../NEWS:5282 msgid "" ":gh:`94523`: Detect file if modified at local disk and prompt to ask " "refresh. Patch by Shixian Li." msgstr "" -#: ../NEWS:4999 +#: ../NEWS:5285 msgid ":gh:`139551`: Support rendering :exc:`BaseExceptionGroup` in IDLE." msgstr "" -#: ../NEWS:5001 +#: ../NEWS:5287 msgid "" ":gh:`89520`: Make IDLE extension configuration look at user config files, " "allowing user-installed extensions to have settings and key bindings defined " "in ~/.idlerc." msgstr "" -#: ../NEWS:5008 +#: ../NEWS:5294 msgid "" ":gh:`149225`: :c:type:`PyCriticalSection` and related functions are added to " "the Stable ABI." msgstr "" -#: ../NEWS:5011 +#: ../NEWS:5297 msgid "" ":gh:`149216`: :c:type:`PyType_WatchCallback` callbacks registered " "via :c:func:`PyType_AddWatcher` are now also invoked when a watched heap " @@ -8466,62 +8944,62 @@ msgid "" "its address was reused." msgstr "" -#: ../NEWS:5017 +#: ../NEWS:5303 msgid ":gh:`149101`: Implement :pep:`788`." msgstr "" -#: ../NEWS:5019 +#: ../NEWS:5305 msgid ":gh:`149044`: Implement :pep:`820`: Unified slot system for the C API." msgstr "" -#: ../NEWS:5021 +#: ../NEWS:5307 msgid "" ":gh:`148267`: Using :c:macro:`Py_LIMITED_API` on a non-Windows free-threaded " "build no longer needs an extra :c:macro:`Py_GIL_DISABLED`." msgstr "" -#: ../NEWS:5024 +#: ../NEWS:5310 msgid "" ":gh:`145559`: Rename ``_Py_DumpTraceback`` and ``_Py_DumpTracebackThreads`` " "to :c:func:`PyUnstable_DumpTraceback` " "and :c:func:`PyUnstable_DumpTracebackThreads`." msgstr "" -#: ../NEWS:5028 +#: ../NEWS:5314 msgid "" ":gh:`146636`: Implement :pep:`803` -- ``abi3t``: Stable ABI for Free-" "Threaded Builds." msgstr "" -#: ../NEWS:5031 +#: ../NEWS:5317 msgid "" ":gh:`146302`: :c:func:`Py_IsInitialized` no longer returns true until " "initialization has fully completed, including import of the :mod:`site` " "module. The underlying runtime flags now use atomic operations." msgstr "" -#: ../NEWS:5035 +#: ../NEWS:5321 msgid "" ":gh:`146063`: Add :c:func:`PyObject_CallFinalizerFromDealloc` function to " "the limited C API. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5038 +#: ../NEWS:5324 msgid "" ":gh:`145921`: Add functions that are guaranteed to be safe for use " "in :c:member:`~PyTypeObject.tp_traverse` " "handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:func:`PyType_GetModuleState_DuringGC`, :c:func:`PyModule_GetState_DuringGC`, :c:func:`PyModule_GetToken_DuringGC`, :c:func:`PyType_GetBaseByToken_DuringGC`, :c:func:`PyType_GetModule_DuringGC`, :c:func:`PyType_GetModuleByToken_DuringGC`." msgstr "" -#: ../NEWS:5051 +#: ../NEWS:5337 msgid "Python 3.15.0 alpha 8" msgstr "" -#: ../NEWS:5053 +#: ../NEWS:5339 msgid "*Release date: 2026-04-07*" msgstr "" -#: ../NEWS:5058 +#: ../NEWS:5344 msgid "" ":gh:`145986`: :mod:`xml.parsers.expat`: Fixed a crash caused by unbounded C " "recursion when converting deeply nested XML content models " @@ -8529,7 +9007,7 @@ msgid "" "addresses :cve:`2026-4224`." msgstr "" -#: ../NEWS:5063 +#: ../NEWS:5349 msgid "" ":gh:`145599`: Reject control characters " "in :class:`http.cookies.Morsel` :meth:`~http.cookies.Morsel.update` " @@ -8537,33 +9015,33 @@ msgid "" "addresses :cve:`2026-3644`." msgstr "" -#: ../NEWS:5068 +#: ../NEWS:5354 msgid "" ":gh:`143930`: Reject leading dashes in URLs passed " "to :func:`webbrowser.open`." msgstr "" -#: ../NEWS:5074 +#: ../NEWS:5360 msgid "" ":gh:`148157`: Fix an unlikely crash when parsing an invalid type comments " "for function parameters. Found by OSS Fuzz in :oss-fuzz:`492782951`." msgstr "" -#: ../NEWS:5077 +#: ../NEWS:5363 msgid "" ":gh:`100239`: Propagate result type and uniqueness information through " "``_BINARY_OP_EXTEND`` in the tier 2 optimizer, enabling elimination of " "downstream type guards and selection of inplace float operations." msgstr "" -#: ../NEWS:5081 +#: ../NEWS:5367 msgid "" ":gh:`148144`: Initialize ``_PyInterpreterFrame.visited`` when copying " "interpreter frames so incremental GC does not read an uninitialized byte " "from generator and frame-object copies." msgstr "" -#: ../NEWS:5085 +#: ../NEWS:5371 msgid "" ":gh:`148072`: Cache ``pickle.dumps`` and ``pickle.loads`` per interpreter in " "the XIData framework, avoiding repeated module lookups on every cross-" @@ -8572,73 +9050,73 @@ msgid "" "(``list``, ``dict``) by 1.7x--3.3x." msgstr "" -#: ../NEWS:5091 +#: ../NEWS:5377 msgid "" ":gh:`148110`: Fix :func:`sys.set_lazy_imports_filter` so relative lazy " "imports pass the resolved imported module name to the filter callback. Patch " "by Pablo Galindo." msgstr "" -#: ../NEWS:5095 +#: ../NEWS:5381 msgid "" ":gh:`148083`: Constant-fold ``_CONTAINS_OP_SET`` for :class:`frozenset`. " "Patch by Donghee Na." msgstr "" -#: ../NEWS:5098 +#: ../NEWS:5384 msgid "" ":gh:`144319`: Fix a bug that could cause applications with specific " "allocation patterns to leak memory via Huge Pages if compiled with Huge Page " "support. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:5102 +#: ../NEWS:5388 msgid "" ":gh:`147985`: Make :c:func:`PySet_Contains` attempt a lock-free lookup, " "similar to :meth:`!set.__contains__`. This avoids acquiring the set object " "mutex in the normal case." msgstr "" -#: ../NEWS:5106 +#: ../NEWS:5392 msgid "" ":gh:`147856`: Allow the *count* argument of :meth:`bytes.replace` to be a " "keyword." msgstr "" -#: ../NEWS:5109 +#: ../NEWS:5395 msgid "" ":gh:`146615`: Fix a crash in :meth:`~object.__get__` " "for :c:expr:`METH_METHOD` descriptors when an invalid (non-type) object is " "passed as the second argument. Patch by Steven Sun." msgstr "" -#: ../NEWS:5113 +#: ../NEWS:5399 msgid "" ":gh:`146306`: Optimize compact integer arithmetic in the JIT by mutating " "uniquely-referenced operands in place, avoiding allocation of a new int " "object. Speeds up the pyperformance ``spectral_norm`` benchmark by ~10%." msgstr "" -#: ../NEWS:5117 +#: ../NEWS:5403 msgid "" ":gh:`146587`: Fix type slot assignment incase of multiple slots for same " "name in type object implementation. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:5120 +#: ../NEWS:5406 msgid "" ":gh:`126910`: Set frame pointers in ``aarch64-unknown-linux-gnu`` JIT code, " "allowing most native profilers and debuggers to unwind through them. Patch " "by Diego Russo" msgstr "" -#: ../NEWS:5124 +#: ../NEWS:5410 msgid "" ":gh:`146388`: Adds a null check to handle when the JIT optimizer runs out of " "space when dealing with contradictions in ``make_bottom``." msgstr "" -#: ../NEWS:5127 +#: ../NEWS:5413 msgid "" ":gh:`146308`: Fixed multiple error handling issues in the :mod:`!" "_remote_debugging` module including a double-free in code object caching, " @@ -8648,119 +9126,119 @@ msgid "" "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:5134 +#: ../NEWS:5420 msgid "" ":gh:`146306`: Optimize float arithmetic in the JIT by mutating uniquely-" "referenced operands in place, avoiding allocation of a new float object. " "Speeds up the pyperformance ``nbody`` benchmark by ~19%." msgstr "" -#: ../NEWS:5138 +#: ../NEWS:5424 msgid "" ":gh:`146128`: Fix a bug which could cause constant values to be partially " "corrupted in AArch64 JIT code. This issue is theoretical, and hasn't " "actually been observed in unmodified Python interpreters." msgstr "" -#: ../NEWS:5142 +#: ../NEWS:5428 msgid "" ":gh:`146250`: Fixed a memory leak in :exc:`SyntaxError` when re-initializing " "it." msgstr "" -#: ../NEWS:5145 +#: ../NEWS:5431 msgid "" ":gh:`146245`: Fixed reference leaks in :mod:`socket` when audit hooks raise " "exceptions in :func:`socket.getaddrinfo` and :meth:`!socket.sendto`." msgstr "" -#: ../NEWS:5148 +#: ../NEWS:5434 msgid "" ":gh:`146151`: :class:`memoryview` now supports the :c:expr:`float complex` " "and :c:expr:`double complex` C types: formatting characters ``'F'`` and " "``'D'`` respectively. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:5152 +#: ../NEWS:5438 msgid "" ":gh:`146196`: Fix potential Undefined Behavior " "in :c:func:`PyUnicodeWriter_WriteASCII` by adding a zero-length check. Patch " "by Shamil Abdulaev." msgstr "" -#: ../NEWS:5156 +#: ../NEWS:5442 msgid "" ":gh:`146227`: Fix wrong type in ``_Py_atomic_load_uint16`` in the C11 " "atomics backend (``pyatomic_std.h``), which used a 32-bit atomic load " "instead of 16-bit. Found by Mohammed Zuhaib." msgstr "" -#: ../NEWS:5160 +#: ../NEWS:5446 msgid "" ":gh:`146205`: Fixed a bug " "where :meth:`select.epoll.close`, :meth:`select.kqueue.close`, " "and :meth:`select.devpoll.close` silently ignored errors." msgstr "" -#: ../NEWS:5164 +#: ../NEWS:5450 msgid ":gh:`146199`: Comparison of code objects now handles errors correctly." msgstr "" -#: ../NEWS:5166 +#: ../NEWS:5452 msgid "" ":gh:`145667`: Remove the ``GET_ITER_YIELD_FROM`` instruction, modifying " "``SEND`` to pair with ``GET_ITER`` when compiling ``yield from`` expressions." msgstr "" -#: ../NEWS:5170 +#: ../NEWS:5456 msgid "" ":gh:`146192`: Add Base32 support to :mod:`binascii` and improve the " "performance of the Base32 converters in :mod:`base64`. Patch by James Seo." msgstr "" -#: ../NEWS:5173 +#: ../NEWS:5459 msgid "" ":gh:`135871`: Improve multithreaded scaling of PyMutex in low-contention " "scenarios by reloading the lock's internal state, without slowing down high-" "contention scenarios." msgstr "" -#: ../NEWS:5177 +#: ../NEWS:5463 msgid "" ":gh:`146096`: Fixed segmentation fault when called repr for " "BaseExceptionGroup with empty or 1-size tuple args." msgstr "" -#: ../NEWS:5180 +#: ../NEWS:5466 msgid "" ":gh:`146056`: Fix :func:`repr` for lists and tuples containing ``NULL``\\ s." msgstr "" -#: ../NEWS:5182 +#: ../NEWS:5468 msgid "" ":gh:`145059`: Fixed :py:attr:`sys.lazy_modules` to include lazy modules " "without submodules. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:5185 +#: ../NEWS:5471 msgid "" ":gh:`146041`: Fix free-threading scaling bottleneck in :func:`sys.intern` " "and :c:func:`PyObject_SetAttr` by avoiding the interpreter-wide lock when " "the string is already interned and immortalized." msgstr "" -#: ../NEWS:5189 +#: ../NEWS:5475 msgid "" ":gh:`145990`: ``python --help-env`` sections are now sorted by environment " "variable name." msgstr "" -#: ../NEWS:5192 +#: ../NEWS:5478 msgid "" ":gh:`145990`: ``python --help-xoptions`` is now sorted by ``-X`` option name." msgstr "" -#: ../NEWS:5194 +#: ../NEWS:5480 msgid "" ":gh:`145876`: :exc:`AttributeError`\\ s and :exc:`KeyError`\\ s raised " "in :meth:`!keys` or :meth:`!__getitem__` during dictionary unpacking " @@ -8768,108 +9246,108 @@ msgid "" "by :exc:`TypeError`." msgstr "" -#: ../NEWS:5199 +#: ../NEWS:5485 msgid "" ":gh:`127958`: Support tracing from function entrypoints in the JIT. Patch by " "Ken Jin." msgstr "" -#: ../NEWS:5202 +#: ../NEWS:5488 msgid ":gh:`145376`: Fix GC tracking in ``structseq.__replace__()``." msgstr "" -#: ../NEWS:5204 +#: ../NEWS:5490 msgid "" ":gh:`145792`: Fix out-of-bounds access when invoking faulthandler on a " "CPython build compiled without support for VLAs." msgstr "" -#: ../NEWS:5207 +#: ../NEWS:5493 msgid "" ":gh:`142183`: Avoid a pathological case where repeated calls at a specific " "stack depth could be significantly slower." msgstr "" -#: ../NEWS:5210 +#: ../NEWS:5496 msgid "" ":gh:`145779`: Improve scaling of :func:`classmethod` " "and :func:`staticmethod` calls in the free-threaded build by avoiding the " "descriptor ``__get__`` call." msgstr "" -#: ../NEWS:5214 +#: ../NEWS:5500 msgid "" ":gh:`145783`: Fix an unlikely crash in the parser when certain errors were " "erroneously not propagated. Found by OSS Fuzz in :oss-fuzz:`491369109`." msgstr "" -#: ../NEWS:5217 +#: ../NEWS:5503 msgid "" ":gh:`145685`: Improve scaling of type attribute lookups in the :term:`free-" "threaded build` by avoiding contention on the internal type lock." msgstr "" -#: ../NEWS:5221 +#: ../NEWS:5507 msgid "" ":gh:`145713`: Make :meth:`bytearray.resize` thread-safe in the free-threaded " "build by using a critical section and calling the lock-held variant of the " "resize function." msgstr "" -#: ../NEWS:5225 +#: ../NEWS:5511 msgid "" ":gh:`145036`: In free-threaded build, fix race condition when " "calling :meth:`!__sizeof__` on a :class:`list`" msgstr "" -#: ../NEWS:5228 +#: ../NEWS:5514 msgid "" ":gh:`134584`: Eliminate redundant refcounting for ``MATCH_CLASS`` in the JIT." msgstr "" -#: ../NEWS:5230 +#: ../NEWS:5516 msgid "" ":gh:`69605`: Add :mod:`math.integer` to :term:`REPL` auto-completion of " "imports." msgstr "" -#: ../NEWS:5233 +#: ../NEWS:5519 msgid "" ":gh:`131798`: Optimize ``_ITER_CHECK_RANGE`` and ``_ITER_CHECK_LIST`` in the " "JIT" msgstr "" -#: ../NEWS:5236 +#: ../NEWS:5522 msgid "" ":gh:`143414`: Add tracking to the JIT optimizer to determine whether a " "reference is uniquely owned or shared" msgstr "" -#: ../NEWS:5239 +#: ../NEWS:5525 msgid "" ":gh:`143636`: Fix a crash when calling :class:`SimpleNamespace.__replace__() " "` on non-namespace instances. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5243 +#: ../NEWS:5529 msgid "" ":gh:`126910`: Set frame pointers in ``x86_64-unknown-linux-gnu`` JIT code, " "allowing most native profilers and debuggers to unwind through them." msgstr "" -#: ../NEWS:5246 +#: ../NEWS:5532 msgid "" ":gh:`140594`: Fix an out of bounds read when a single NUL character is read " "from the standard input. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:5249 +#: ../NEWS:5535 msgid "" ":gh:`140870`: Add support for module attributes in the :term:`REPL` auto-" "completion of imports." msgstr "" -#: ../NEWS:5255 +#: ../NEWS:5541 msgid "" ":gh:`144503`: Fix a regression introduced in 3.14.3 and 3.13.12 where " "the :mod:`multiprocessing` ``forkserver`` start method would fail " @@ -8879,14 +9357,14 @@ msgid "" "command string, avoiding the operating system's per-argument length limit." msgstr "" -#: ../NEWS:5262 +#: ../NEWS:5548 msgid "" ":gh:`148153`: :func:`base64.b32encode` now always raises :exc:`ValueError` " "instead of :exc:`AssertionError` for the value of *map01* with invalid " "length." msgstr "" -#: ../NEWS:5266 +#: ../NEWS:5552 msgid "" ":gh:`73613`: Add the *padded* parameter in functions related to Base32 and " "Base64 codecs in the :mod:`binascii` and :mod:`base64` modules. In the " @@ -8896,13 +9374,13 @@ msgid "" "in :func:`base64.urlsafe_b64decode` by default." msgstr "" -#: ../NEWS:5273 +#: ../NEWS:5559 msgid "" ":gh:`146613`: :mod:`itertools`: Fix a crash in :func:`itertools.groupby` " "when the grouper iterator is concurrently mutated." msgstr "" -#: ../NEWS:5276 +#: ../NEWS:5562 msgid "" ":gh:`147944`: Accepted range for the *bytes_per_sep* argument " "of :meth:`bytes.hex`, :meth:`bytearray.hex`, :meth:`memoryview.hex`, " @@ -8910,13 +9388,13 @@ msgid "" "and ``-sys.maxsize`` is now valid." msgstr "" -#: ../NEWS:5281 +#: ../NEWS:5567 msgid "" ":gh:`146080`: :mod:`ssl`: fix a crash when an SNI callback tries to use an " "SSL object that has already been garbage-collected. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5285 +#: ../NEWS:5571 msgid "" ":gh:`146556`: Fix :func:`annotationlib.get_annotations` hanging indefinitely " "when called with ``eval_str=True`` on a callable that has a circular " @@ -8925,21 +9403,21 @@ msgid "" "found so far, mirroring the approach of :func:`inspect.unwrap`." msgstr "" -#: ../NEWS:5291 +#: ../NEWS:5577 msgid "" ":gh:`146090`: :mod:`sqlite3`: fix a crash " "when :meth:`sqlite3.Connection.create_collation` fails with `SQLITE_BUSY " "`__. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5295 +#: ../NEWS:5581 msgid "" ":gh:`146090`: :mod:`sqlite3`: properly raise :exc:`MemoryError` instead " "of :exc:`SystemError` when a context callback fails to be allocated. Patch " "by Bénédikt Tran." msgstr "" -#: ../NEWS:5299 +#: ../NEWS:5585 msgid "" ":gh:`146507`: Make :meth:`asyncio.SelectorEventLoop` stream " "transport's :meth:`~asyncio.WriteTransport.get_write_buffer_size` O(1) by " @@ -8947,26 +9425,26 @@ msgid "" "call." msgstr "" -#: ../NEWS:5303 +#: ../NEWS:5589 msgid "" ":gh:`145056`: Fix merging of :class:`collections.OrderedDict` " "and :class:`frozendict`." msgstr "" -#: ../NEWS:5306 +#: ../NEWS:5592 msgid "" ":gh:`145056`: Add support for merging :class:`collections.UserDict` " "and :class:`frozendict`." msgstr "" -#: ../NEWS:5309 +#: ../NEWS:5595 msgid "" ":gh:`145633`: Fix ``struct.pack('f', float)``: use :c:func:`PyFloat_Pack4` " "to raise :exc:`OverflowError`. Patch by Sergey B Kirpichev and Victor " "Stinner." msgstr "" -#: ../NEWS:5313 +#: ../NEWS:5599 msgid "" ":gh:`146440`: :mod:`json`: Add the *array_hook* parameter " "to :func:`~json.load` and :func:`~json.loads` functions: allow a callback " @@ -8976,7 +9454,7 @@ msgid "" "immutable Python structure representing the JSON data." msgstr "" -#: ../NEWS:5320 +#: ../NEWS:5606 msgid "" ":gh:`146431`: Add the *wrapcol* parameter to :mod:`base64` " "functions :func:`~base64.b16encode`, :func:`~base64.b32encode`, :func:`~base64.b32hexencode`, :func:`~base64.b85encode` " @@ -8989,38 +9467,38 @@ msgid "" "and :func:`~binascii.a2b_base85`." msgstr "" -#: ../NEWS:5332 +#: ../NEWS:5618 msgid "" ":gh:`146310`: The :mod:`ensurepip` module no longer looks for ``pip-*.whl`` " "wheel packages in the current directory." msgstr "" -#: ../NEWS:5335 +#: ../NEWS:5621 msgid "" ":gh:`141510`: Support :class:`frozendict` in :mod:`plistlib`, for " "serialization only. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:5338 +#: ../NEWS:5624 msgid "" ":gh:`146238`: Support half-floats (type code ``'e'`` of the :mod:`struct` " "module) in the :mod:`array` module. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:5341 +#: ../NEWS:5627 msgid "" ":gh:`140947`: Fix incorrect contextvars handling in server tasks created " "by :mod:`asyncio`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:5344 +#: ../NEWS:5630 msgid "" ":gh:`146151`: Support the :c:expr:`float complex` and :c:expr:`double " "complex` C types in the :mod:`array` module: formatting characters ``'F'`` " "and ``'D'`` respectively. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:5348 +#: ../NEWS:5634 msgid "" ":gh:`143387`: In importlib.metadata, when a distribution file is corrupt and " "there is no metadata file, calls to ``Distribution.metadata()`` (including " @@ -9031,63 +9509,63 @@ msgid "" "returned and would be indistinguishable from the presence of an empty file." msgstr "" -#: ../NEWS:5357 +#: ../NEWS:5643 msgid "" ":gh:`146228`: Cached FastPath objects in importlib.metadata are now cleared " "on fork, avoiding broken references to zip files during fork." msgstr "" -#: ../NEWS:5360 +#: ../NEWS:5646 msgid "" ":gh:`146171`: Nested :exc:`AttributeError` suggestions now include property-" "backed attributes on nested objects without executing the property getter." msgstr "" -#: ../NEWS:5364 +#: ../NEWS:5650 msgid "" ":gh:`145410`: On Windows, :func:`sysconfig.get_platform` now gets the " "platform from the ``_sysconfig`` module instead of " "parsing :data:`sys.version` string. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5368 +#: ../NEWS:5654 msgid "" ":gh:`146091`: Fix a bug in :func:`termios.tcsetwinsize` where passing a " "sequence that raises an exception in ``__getitem__`` would cause " "a :exc:`SystemError` instead of propagating the original exception." msgstr "" -#: ../NEWS:5372 +#: ../NEWS:5658 msgid "" ":gh:`146083`: Update bundled `libexpat `_ to " "version 2.7.5." msgstr "" -#: ../NEWS:5375 +#: ../NEWS:5661 msgid "" ":gh:`146076`: :mod:`zoneinfo`: fix crashes when deleting ``_weak_cache`` " "from a :class:`zoneinfo.ZoneInfo` subclass." msgstr "" -#: ../NEWS:5378 +#: ../NEWS:5664 msgid "" ":gh:`123471`: Make concurrent iteration over :class:`itertools.zip_longest` " "safe under free-threading." msgstr "" -#: ../NEWS:5381 +#: ../NEWS:5667 msgid "" ":gh:`146075`: Errors when calling :func:`functools.partial` with a malformed " "keyword will no longer crash the interpreter." msgstr "" -#: ../NEWS:5384 +#: ../NEWS:5670 msgid "" ":gh:`146054`: Limit the size of :func:`encodings.search_function` cache. " "Found by OSS Fuzz in :oss-fuzz:`493449985`." msgstr "" -#: ../NEWS:5387 +#: ../NEWS:5673 msgid "" ":gh:`146004`: All :option:`-X` options from the Python command line are now " "propagated to child processes spawned by :mod:`multiprocessing`, not just a " @@ -9101,7 +9579,7 @@ msgid "" "``warn_default_encoding``." msgstr "" -#: ../NEWS:5398 +#: ../NEWS:5684 msgid "" ":gh:`145980`: Added the *alphabet* parameter " "in :func:`~binascii.b2a_base64`, :func:`~binascii.a2b_base64`, :func:`~binascii.b2a_base85` " @@ -9109,26 +9587,26 @@ msgid "" "the :mod:`binascii` module. Removed :func:`!b2a_z85` and :func:`!a2b_z85`." msgstr "" -#: ../NEWS:5403 +#: ../NEWS:5689 msgid "" ":gh:`145968`: Fix translation in :func:`base64.b64decode` when altchars " "overlaps with the standard ones." msgstr "" -#: ../NEWS:5406 +#: ../NEWS:5692 msgid "" ":gh:`145966`: Non-:exc:`AttributeError` exceptions raised during dialect " "attribute lookup in :mod:`csv` are no longer silently suppressed." msgstr "" -#: ../NEWS:5409 +#: ../NEWS:5695 msgid "" ":gh:`145883`: :mod:`zoneinfo`: Fix heap buffer overflow reads from malformed " "TZif data. Found by OSS Fuzz, issues :oss-fuzz:`492245058` and :oss-" "fuzz:`492230068`." msgstr "" -#: ../NEWS:5413 +#: ../NEWS:5699 msgid "" ":gh:`145850`: Changed some implementation details in :class:`struct.Struct`: " "calling it with non-ASCII string format will now raise a :exc:`ValueError` " @@ -9138,7 +9616,7 @@ msgid "" "an :exc:`AttributeError` instead of :exc:`RuntimeError`." msgstr "" -#: ../NEWS:5420 +#: ../NEWS:5706 msgid "" ":gh:`123720`: asyncio: Fix :func:`asyncio.Server.serve_forever` shutdown " "regression. Since 3.12, cancelling ``serve_forever()`` could hang waiting " @@ -9148,7 +9626,7 @@ msgid "" "observe EOF." msgstr "" -#: ../NEWS:5427 +#: ../NEWS:5713 msgid "" ":gh:`138122`: The ``profiling.sampling`` module now supports differential " "flamegraph visualization via ``--diff-flamegraph`` to compare two profiling " @@ -9157,29 +9635,29 @@ msgid "" "between runs." msgstr "" -#: ../NEWS:5433 +#: ../NEWS:5719 msgid "" ":gh:`145754`: Request signature during mock autospec with ``FORWARDREF`` " "annotation format. This prevents runtime errors when an annotation uses a " "name that is not defined at runtime." msgstr "" -#: ../NEWS:5437 +#: ../NEWS:5723 msgid "" ":gh:`145750`: Avoid undefined behaviour from signed integer overflow when " "parsing format strings in the :mod:`struct` module. Found by OSS Fuzz " "in :oss-fuzz:`488466741`." msgstr "" -#: ../NEWS:5441 +#: ../NEWS:5727 msgid ":gh:`145719`: Add ``application/efi`` MIME type to :mod:`mimetypes`." msgstr "" -#: ../NEWS:5443 +#: ../NEWS:5729 msgid ":gh:`145717`: Add a few Microsoft-specific MIME types." msgstr "" -#: ../NEWS:5445 +#: ../NEWS:5731 msgid "" ":gh:`145703`: :mod:`asyncio`: Make sure that :meth:`loop.call_at " "` and :meth:`loop.call_later " @@ -9187,27 +9665,27 @@ msgid "" "resolution becomes too small." msgstr "" -#: ../NEWS:5450 +#: ../NEWS:5736 msgid "" ":gh:`145697`: Add ``application/sql`` and ``application/vnd.sqlite3`` into " "``mimetypes``." msgstr "" -#: ../NEWS:5453 +#: ../NEWS:5739 msgid "" ":gh:`145492`: Fix infinite recursion in :class:`collections.defaultdict` " "``__repr__`` when a ``defaultdict`` contains itself. Based on analysis by " "KowalskiThomas in :gh:`145492`." msgstr "" -#: ../NEWS:5457 +#: ../NEWS:5743 msgid "" ":gh:`145650`: Add :meth:`~object.__repr__` support " "to :class:`logging.Formatter` and :class:`logging.Filter`, showing the " "format string and filter name respectively." msgstr "" -#: ../NEWS:5461 +#: ../NEWS:5747 msgid "" ":gh:`145587`: Resolved a performance regression in " "``multiprocessing.connection.wait`` on Windows that caused infinite busy " @@ -9215,25 +9693,25 @@ msgid "" "to the OS to conserve CPU resources. Patch By Shrey Naithani" msgstr "" -#: ../NEWS:5466 +#: ../NEWS:5752 msgid "" ":gh:`145616`: Detect Android sysconfig ABI correctly on 32-bit ARM Android " "on 64-bit ARM kernel" msgstr "" -#: ../NEWS:5469 +#: ../NEWS:5755 msgid "" ":gh:`145546`: Fix ``unittest.util.sorted_list_difference()`` to deduplicate " "remaining elements when one input list is exhausted before the other." msgstr "" -#: ../NEWS:5472 +#: ../NEWS:5758 msgid "" ":gh:`145446`: Now :mod:`functools` is safer in free-threaded build when " "using keywords in :func:`functools.partial`" msgstr "" -#: ../NEWS:5475 +#: ../NEWS:5761 msgid "" ":gh:`145264`: Base64 decoder " "(see :func:`binascii.a2b_base64`, :func:`base64.b64decode`, etc) no longer " @@ -9243,7 +9721,7 @@ msgid "" "data." msgstr "" -#: ../NEWS:5481 +#: ../NEWS:5767 msgid "" ":gh:`145035`: Allows omitting the internal library ``_pyrepl`` with limited " "loss of functionality. This allows complete removal of the modern REPL, " @@ -9251,7 +9729,7 @@ msgid "" "distributions." msgstr "" -#: ../NEWS:5486 +#: ../NEWS:5772 msgid "" ":gh:`144270`: Made the *tag* parameter " "of :class:`xml.etree.ElementTree.Element` and the *parent* and *tag* " @@ -9259,7 +9737,7 @@ msgid "" "matching the behavior of the C accelerator." msgstr "" -#: ../NEWS:5491 +#: ../NEWS:5777 msgid "" ":gh:`144984`: Fix crash " "in :meth:`xml.parsers.expat.xmlparser.ExternalEntityParserCreate` when an " @@ -9267,26 +9745,26 @@ msgid "" "double-decrement the parent parser's reference count." msgstr "" -#: ../NEWS:5496 +#: ../NEWS:5782 msgid "" ":gh:`144975`: :meth:`wave.Wave_write.setframerate` now validates the frame " "rate after rounding to an integer, preventing values like ``0.5`` from being " "accepted and causing confusing errors later. Patch by Michiel Beijen." msgstr "" -#: ../NEWS:5501 +#: ../NEWS:5787 msgid "" ":gh:`140715`: Add ``%n`` and ``%t`` support " "to :meth:`~datetime.datetime.strptime`." msgstr "" -#: ../NEWS:5504 +#: ../NEWS:5790 msgid "" ":gh:`144259`: Fix inconsistent display of long multiline pasted content in " "the REPL." msgstr "" -#: ../NEWS:5507 +#: ../NEWS:5793 msgid "" ":gh:`140814`: :func:`multiprocessing.freeze_support` no longer sets the " "default start method as a side effect, which previously caused a " @@ -9294,33 +9772,33 @@ msgid "" "raise :exc:`RuntimeError`." msgstr "" -#: ../NEWS:5512 +#: ../NEWS:5798 msgid "" ":gh:`123471`: Make concurrent iteration over :class:`itertools.accumulate` " "safe under free-threading." msgstr "" -#: ../NEWS:5515 +#: ../NEWS:5801 msgid "" ":gh:`143715`: Calling the ``Struct.__new__()`` without required argument now " "is deprecated. Calling :meth:`~object.__init__` method on " "initialized :class:`~struct.Struct` objects is deprecated." msgstr "" -#: ../NEWS:5519 +#: ../NEWS:5805 msgid "" ":gh:`142763`: Fix a race condition between :class:`zoneinfo.ZoneInfo` " "creation and :func:`zoneinfo.ZoneInfo.clear_cache` that could " "raise :exc:`KeyError`." msgstr "" -#: ../NEWS:5523 +#: ../NEWS:5809 msgid "" ":gh:`141707`: Don't change :class:`tarfile.TarInfo` type from ``AREGTYPE`` " "to ``DIRTYPE`` when parsing GNU long name or link headers." msgstr "" -#: ../NEWS:5526 +#: ../NEWS:5812 msgid "" ":gh:`138577`: :func:`getpass.getpass` with non-empty ``echo_char`` now " "handles keyboard shortcuts including Ctrl+A/E (cursor movement), Ctrl+K/U " @@ -9329,32 +9807,32 @@ msgid "" "non-canonical mode. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:5532 +#: ../NEWS:5818 msgid "" ":gh:`140049`: :func:`traceback.format_exception_only` now colorizes " "exception notes." msgstr "" -#: ../NEWS:5535 +#: ../NEWS:5821 msgid "" ":gh:`139933`: Improve :exc:`AttributeError` suggestions for classes with a " "custom :meth:`~object.__dir__` method returning a list of unsortable values. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5539 +#: ../NEWS:5825 msgid "" ":gh:`139633`: The :mod:`netrc` security check is now run once per parse " "rather than once per entry." msgstr "" -#: ../NEWS:5542 +#: ../NEWS:5828 msgid "" ":gh:`130472`: Add fancycompleter and enable it by default when using pyrepl. " "This gives colored tab completion." msgstr "" -#: ../NEWS:5545 +#: ../NEWS:5831 msgid "" ":gh:`112632`: Add an *expand* keyword argument " "for :func:`pprint.pprint`, :func:`pprint.pformat`, :func:`pprint.pp` by " @@ -9362,44 +9840,44 @@ msgid "" "Stefan Todoran and Semyon Moroz." msgstr "" -#: ../NEWS:5550 +#: ../NEWS:5836 msgid "" ":gh:`66419`: Optional argument with :ref:`nargs` equals to " "``argparse.REMAINDER`` now consumes all remaining arguments including " "``'--'``." msgstr "" -#: ../NEWS:5554 +#: ../NEWS:5840 msgid "" ":gh:`60729`: Add support for floating point audio wave files in :mod:`wave`." msgstr "" -#: ../NEWS:5556 +#: ../NEWS:5842 msgid "" ":issue:`36461`: Make the target time of :meth:`timeit.Timer.autorange` " "configurable and add ``--target-time`` option to the command-line interface " "of :mod:`timeit`." msgstr "" -#: ../NEWS:5563 +#: ../NEWS:5849 msgid "" ":gh:`126676`: Expand :mod:`argparse` documentation for ``type=bool`` with a " "demonstration of the surprising behavior and pointers to common alternatives." msgstr "" -#: ../NEWS:5567 +#: ../NEWS:5853 msgid "" ":gh:`145649`: Fix text wrapping and formatting of ``-X`` option descriptions " "in the :manpage:`python(1)` man page by using proper roff markup." msgstr "" -#: ../NEWS:5573 +#: ../NEWS:5859 msgid "" ":gh:`144418`: The Android testbed's emulator RAM has been increased from 2 " "GB to 4 GB." msgstr "" -#: ../NEWS:5576 +#: ../NEWS:5862 msgid "" ":gh:`146202`: Fix a race condition in regrtest: make sure that the temporary " "directory is created in the worker process. Previously, temp_cwd() could " @@ -9407,48 +9885,48 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:5584 +#: ../NEWS:5870 msgid "" ":gh:`146541`: The Android testbed can now be built for 32-bit ARM and x86 " "targets." msgstr "" -#: ../NEWS:5587 +#: ../NEWS:5873 msgid "" ":gh:`146498`: The iOS XCframework build script now ensures libpython isn't " "included in installed app content, and is more robust in identifying " "standard library binary content that requires processing." msgstr "" -#: ../NEWS:5591 +#: ../NEWS:5877 msgid "" ":gh:`146450`: The Android build script was modified to improve parity with " "other platform build scripts." msgstr "" -#: ../NEWS:5594 +#: ../NEWS:5880 msgid "" ":gh:`146446`: The clean target for the Apple/iOS XCframework build script is " "now more selective when targeting a single architecture." msgstr "" -#: ../NEWS:5597 +#: ../NEWS:5883 msgid "" ":gh:`146444`: The Apple/iOS build script has been moved to the Platforms " "directory." msgstr "" -#: ../NEWS:5600 +#: ../NEWS:5886 msgid "" ":gh:`146210`: Fix building the jit stencils on Windows when the interpreter " "is built with a different clang version. Patch by Chris Eibl." msgstr "" -#: ../NEWS:5603 +#: ../NEWS:5889 msgid ":gh:`145844`: Update to WASI SDK 32." msgstr "" -#: ../NEWS:5605 +#: ../NEWS:5891 msgid "" ":gh:`145801`: When Python build is optimized with GCC using PGO, use ``-" "fprofile-update=atomic`` option to use atomic operations when updating " @@ -9456,161 +9934,161 @@ msgid "" "corruption which can cause random GCC crashes. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5611 +#: ../NEWS:5897 msgid ":gh:`138850`: Add :option:`--disable-epoll` to ``configure``" msgstr "" -#: ../NEWS:5613 +#: ../NEWS:5899 msgid "" ":gh:`145633`: Remove support for ancient ARM platforms (ARMv4L and ARMv5L " "OABI boards), using mixed-endian representation for doubles. Patch by " "Sergey B Kirpichev." msgstr "" -#: ../NEWS:5617 +#: ../NEWS:5903 msgid ":gh:`85277`: Fix building without ``stropts.h`` or empty ``stropts.h``" msgstr "" -#: ../NEWS:5622 +#: ../NEWS:5908 msgid "" ":gh:`140131`: Fix REPL cursor position on Windows when module completion " "suggestion line hits console width." msgstr "" -#: ../NEWS:5628 +#: ../NEWS:5914 msgid "" ":gh:`137586`: Invoke :program:`osascript` with absolute path " "in :mod:`webbrowser` and :mod:`!turtledemo`." msgstr "" -#: ../NEWS:5634 +#: ../NEWS:5920 msgid "" ":gh:`135953`: Properly identify the main thread in the Gecko profiler " "collector by using a status flag from the interpreter state instead of " "relying on :func:`threading.main_thread` in the collector process." msgstr "" -#: ../NEWS:5638 +#: ../NEWS:5924 msgid "" ":gh:`145976`: Remove :file:`Misc/indent.pro`, a configuration file for " "GNU :manpage:`indent(1)`." msgstr "" -#: ../NEWS:5641 +#: ../NEWS:5927 msgid ":gh:`145976`: Remove :file:`Misc/vgrindefs` and :file:`Misc/Porting`." msgstr "" -#: ../NEWS:5646 +#: ../NEWS:5932 msgid "" ":gh:`146636`: The :c:data:`Py_mod_abi` slot is now mandatory for modules " "created from a slots array (using :c:func:`PyModule_FromSlotsAndSpec` or " "the :c:func:`PyModExport_* ` export hook)." msgstr "" -#: ../NEWS:5650 +#: ../NEWS:5936 msgid "" ":gh:`146175`: The following macros are :term:`soft " "deprecated`: :c:macro:`Py_ALIGNED`, :c:macro:`PY_FORMAT_SIZE_T`, :c:macro:`Py_LL`, :c:macro:`Py_ULL`, :c:macro:`PY_LONG_LONG`, :c:macro:`PY_LLONG_MIN`, :c:macro:`PY_LLONG_MAX`, :c:macro:`PY_ULLONG_MAX`, :c:macro:`PY_INT32_T`, :c:macro:`PY_UINT32_T`, :c:macro:`PY_INT64_T`, :c:macro:`PY_UINT64_T`, :c:macro:`PY_SIZE_MAX`, :c:macro:`Py_UNICODE_SIZE`, :c:macro:`Py_VA_COPY`." msgstr "" -#: ../NEWS:5657 +#: ../NEWS:5943 msgid "" "The macro :c:macro:`Py_UNICODE_WIDE`, which was scheduled for removal, " "is :term:`soft deprecated` instead." msgstr "" -#: ../NEWS:5660 +#: ../NEWS:5946 msgid "" ":gh:`146143`: :c:func:`PyUnicodeWriter_WriteUCS4` now accepts a pointer to a " "constant buffer of ``Py_UCS4``." msgstr "" -#: ../NEWS:5663 +#: ../NEWS:5949 msgid "" ":gh:`146056`: :c:func:`PyUnicodeWriter_WriteRepr` now supports ``NULL`` " "argument." msgstr "" -#: ../NEWS:5666 +#: ../NEWS:5952 msgid "" ":gh:`145010`: Use GCC dialect alternatives for inline assembly in " "``object.h`` so that the Python headers compile correctly with ``-" "masm=intel``." msgstr "" -#: ../NEWS:5672 +#: ../NEWS:5958 msgid "Python 3.15.0 alpha 7" msgstr "" -#: ../NEWS:5674 +#: ../NEWS:5960 msgid "*Release date: 2026-03-10*" msgstr "" -#: ../NEWS:5679 +#: ../NEWS:5965 msgid "" ":gh:`145731`: Fix negative timestamp during DST on Windows. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:5682 +#: ../NEWS:5968 msgid "" ":gh:`145307`: Defers loading of the ``psapi.dll`` module until it is used " "by :func:`ctypes.util.dllist`." msgstr "" -#: ../NEWS:5685 +#: ../NEWS:5971 msgid ":gh:`144551`: Updated bundled version of OpenSSL to 3.5.5." msgstr "" -#: ../NEWS:5690 +#: ../NEWS:5976 msgid "" ":gh:`144741`: Fix ``test_frame_pointer_unwind`` when Python is built " "with :option:`--enable-shared`. Classify also libpython frames as " "``\"python\"``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5694 +#: ../NEWS:5980 msgid "" ":gh:`144739`: When Python was compiled with system expat older then 2.7.2 " "but tests run with newer expat, still skip :class:`!" "test.test_pyexpat.MemoryProtectionTest`." msgstr "" -#: ../NEWS:5701 +#: ../NEWS:5987 msgid "" ":gh:`145506`: Fixes :cve:`2026-2297` by ensuring that " "``SourcelessFileLoader`` uses :func:`io.open_code` when opening ``.pyc`` " "files." msgstr "" -#: ../NEWS:5705 +#: ../NEWS:5991 msgid "" ":gh:`144370`: Disallow usage of control characters in status " "in :mod:`wsgiref.handlers` to prevent HTTP header injections. Patch by " "Benedikt Johannes." msgstr "" -#: ../NEWS:5712 +#: ../NEWS:5998 msgid "" ":gh:`145623`: Fix crash in :mod:`struct` when calling :func:`repr` or " "``__sizeof__()`` on an uninitialized :class:`struct.Struct` object created " "via ``Struct.__new__()`` without calling ``__init__()``." msgstr "" -#: ../NEWS:5716 +#: ../NEWS:6002 msgid "" ":gh:`145551`: Fix InvalidStateError when cancelling process created " "by :func:`asyncio.create_subprocess_exec` " "or :func:`asyncio.create_subprocess_shell`. Patch by Daan De Meyer." msgstr "" -#: ../NEWS:5720 +#: ../NEWS:6006 msgid "" ":gh:`141510`: :mod:`marshal` now supports :class:`frozendict` objects. The " "marshal format version was increased to 6. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5723 +#: ../NEWS:6009 msgid "" ":gh:`145417`: :mod:`venv`: Prevent incorrect preservation of SELinux context " "when copying the ``Activate.ps1`` script. The script inherited the SELinux " @@ -9618,7 +10096,7 @@ msgid "" "destination project directory." msgstr "" -#: ../NEWS:5728 +#: ../NEWS:6014 msgid "" ":gh:`145335`: ``os.listdir(-1)`` and ``os.scandir(-1)`` now fail with " "``OSError(errno.EBADF)`` rather than listing the current directory. " @@ -9627,158 +10105,158 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:5734 +#: ../NEWS:6020 msgid "" ":gh:`145376`: Fix double free and null pointer dereference in unusual error " "scenarios in :mod:`hashlib` and :mod:`hmac` modules." msgstr "" -#: ../NEWS:5737 +#: ../NEWS:6023 msgid "" ":gh:`145301`: :mod:`hmac`: fix a crash when the initialization of the " "underlying C extension module fails." msgstr "" -#: ../NEWS:5740 +#: ../NEWS:6026 msgid "" ":gh:`145301`: :mod:`hashlib`: fix a crash when the initialization of the " "underlying C extension module fails." msgstr "" -#: ../NEWS:5743 +#: ../NEWS:6029 msgid "" ":gh:`76007`: The ``version`` attribute of the :mod:`tarfile` module is " "deprecated and slated for removal in Python 3.20." msgstr "" -#: ../NEWS:5746 +#: ../NEWS:6032 msgid "" ":gh:`145158`: Avoid undefined behaviour from signed integer overflow when " "parsing format strings in the :mod:`struct` module." msgstr "" -#: ../NEWS:5749 +#: ../NEWS:6035 msgid "" ":gh:`123853`: Removed Windows 95 compatibility " "for :func:`locale.getdefaultlocale`." msgstr "" -#: ../NEWS:5752 +#: ../NEWS:6038 msgid "" ":gh:`66802`: Add :func:`unicodedata.block` function to return the `Unicode " "block `_ of a character." msgstr "" -#: ../NEWS:5757 +#: ../NEWS:6043 msgid "" ":gh:`145033`: Add :data:`typing.TypeForm`, implementing :pep:`747`. Patch by " "Jelle Zijlstra." msgstr "" -#: ../NEWS:5760 +#: ../NEWS:6046 msgid "" ":gh:`141510`: :func:`dataclasses.field`: if *metadata* is ``None``, use an " "empty :class:`frozendict`, instead of a :func:`~types.MappingProxyType` of " "an empty :class:`dict`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5764 +#: ../NEWS:6050 msgid "" ":gh:`145006`: Add :exc:`ModuleNotFoundError` hints when a module for a " "different ABI exists." msgstr "" -#: ../NEWS:5767 +#: ../NEWS:6053 msgid "" ":gh:`141510`: ``ParameterizedMIMEHeader.params`` " "of :mod:`email.headerregistry` is now a :class:`frozendict` instead of " "a :class:`types.MappingProxyType`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5771 +#: ../NEWS:6057 msgid "" ":gh:`134872`: Add valid import name suggestions " "on :exc:`ModuleNotFoundError`." msgstr "" -#: ../NEWS:5774 +#: ../NEWS:6060 msgid "" ":gh:`88091`: Fix :func:`unicodedata.decomposition` for Hangul characters." msgstr "" -#: ../NEWS:5776 +#: ../NEWS:6062 msgid "" ":gh:`144986`: Fix a memory leak in :func:`atexit.register`. Patch by Shamil " "Abdulaev." msgstr "" -#: ../NEWS:5779 +#: ../NEWS:6065 msgid "" ":gh:`144777`: Fix data races in :class:`io.IncrementalNewlineDecoder` in " "the :term:`free-threaded build`." msgstr "" -#: ../NEWS:5782 +#: ../NEWS:6068 msgid "" ":gh:`144809`: Make :class:`collections.deque` copy atomic in the :term:`free-" "threaded build`." msgstr "" -#: ../NEWS:5785 +#: ../NEWS:6071 msgid "" ":gh:`141510`: The :mod:`copy` module now supports the :class:`frozendict` " "type. Patch by Pieter Eendebak based on work by Victor Stinner." msgstr "" -#: ../NEWS:5788 +#: ../NEWS:6074 msgid "" ":gh:`141510`: The :mod:`json` module now supports the :class:`frozendict` " "type. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5791 +#: ../NEWS:6077 msgid "" ":gh:`144835`: Added missing explanations for some parameters " "in :func:`glob.glob` and :func:`glob.iglob`." msgstr "" -#: ../NEWS:5794 +#: ../NEWS:6080 msgid "" ":gh:`144833`: Fixed a use-after-free in :mod:`ssl` when ``SSL_new()`` " "returns NULL in ``newPySSLSocket()``. The error was reported via a dangling " "pointer after the object had already been freed." msgstr "" -#: ../NEWS:5798 +#: ../NEWS:6084 msgid "" ":gh:`140715`: Add ``'%D'`` support to :meth:`~datetime.datetime.strptime`." msgstr "" -#: ../NEWS:5800 +#: ../NEWS:6086 msgid "" ":gh:`144782`: Fix :class:`argparse.ArgumentParser` to be :mod:`pickleable " "`." msgstr "" -#: ../NEWS:5803 +#: ../NEWS:6089 msgid "" ":gh:`144763`: Fix a race condition in :mod:`tracemalloc`: it no longer " "detaches the attached thread state to acquire its internal lock. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:5807 +#: ../NEWS:6093 msgid "" ":gh:`142224`: :func:`unicodedata.bidirectional` now return the correct " "default bidi class for unassigned code points." msgstr "" -#: ../NEWS:5810 +#: ../NEWS:6096 msgid ":gh:`117865`: Reduce the import time of :mod:`inspect` module by ~20%." msgstr "" -#: ../NEWS:5812 +#: ../NEWS:6098 msgid "" ":gh:`144156`: Fix the folding of headers by the :mod:`email` library " "when :rfc:`2047` encoded words are used. Now whitespace is correctly " @@ -9787,14 +10265,14 @@ msgid "" "previous failures to preserve whitespace." msgstr "" -#: ../NEWS:5818 +#: ../NEWS:6104 msgid "" ":gh:`66305`: Fixed a hang on Windows in the :mod:`tempfile` module when " "trying to create a temporary file or subdirectory in a non-writable " "directory." msgstr "" -#: ../NEWS:5822 +#: ../NEWS:6108 msgid "" ":gh:`144615`: Methods directly decorated " "with :deco:`functools.singledispatchmethod` now dispatch on the second " @@ -9802,21 +10280,21 @@ msgid "" "Bartosz Sławecki." msgstr "" -#: ../NEWS:5827 +#: ../NEWS:6113 msgid "" ":gh:`144321`: The functional syntax for creating :class:`typing.NamedTuple` " "classes now supports passing any :term:`iterable` of fields and types. " "Previously, only sequences were supported." msgstr "" -#: ../NEWS:5831 +#: ../NEWS:6117 msgid "" ":gh:`144475`: Calling :func:`repr` on :func:`functools.partial` is now safer " "when the partial object's internal attributes are replaced while the string " "representation is being generated." msgstr "" -#: ../NEWS:5835 +#: ../NEWS:6121 msgid "" ":gh:`144285`: Attribute suggestions in :exc:`AttributeError` tracebacks are " "now formatted differently to make them easier to understand, for example: " @@ -9824,70 +10302,70 @@ msgid "" "Sławecki." msgstr "" -#: ../NEWS:5840 +#: ../NEWS:6126 msgid "" ":gh:`144316`: Fix crash in ``_remote_debugging`` that caused " "``test_external_inspection`` to intermittently fail. Patch by Taegyun Kim." msgstr "" -#: ../NEWS:5843 +#: ../NEWS:6129 msgid "" ":gh:`143637`: Fixed a crash in socket.sendmsg() that could occur if " "ancillary data is mutated re-entrantly during argument parsing." msgstr "" -#: ../NEWS:5846 +#: ../NEWS:6132 msgid "" ":gh:`140652`: Fix a crash in :func:`!_interpchannels.list_all` after closing " "a channel." msgstr "" -#: ../NEWS:5849 +#: ../NEWS:6135 msgid "" ":gh:`143698`: Allow *scheduler* and *setpgroup* arguments to be " "explicitly :const:`None` when calling :func:`os.posix_spawn` " "or :func:`os.posix_spawnp`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5853 +#: ../NEWS:6139 msgid "" ":gh:`143698`: Raise :exc:`TypeError` instead of :exc:`SystemError` when the " "*scheduler* in :func:`os.posix_spawn` or :func:`os.posix_spawnp` is not a " "tuple. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5857 +#: ../NEWS:6143 msgid "" ":gh:`142516`: :mod:`ssl`: fix reference leaks in :class:`ssl.SSLContext` " "objects. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5860 +#: ../NEWS:6146 msgid "" ":gh:`85809`: Added :term:`path-like object` support " "for :func:`shutil.make_archive`." msgstr "" -#: ../NEWS:5863 +#: ../NEWS:6149 msgid "" ":gh:`143304`: Fix :class:`ctypes.CDLL` to honor the ``handle`` parameter on " "POSIX systems." msgstr "" -#: ../NEWS:5866 +#: ../NEWS:6152 msgid "" ":gh:`142781`: :mod:`zoneinfo`: fix a crash when " "instantiating :class:`~zoneinfo.ZoneInfo` objects for which the internal " "class-level cache is inconsistent." msgstr "" -#: ../NEWS:5870 +#: ../NEWS:6156 msgid "" ":gh:`142787`: Fix assertion failure in :mod:`sqlite3` blob subscript when " "slicing with indices that result in an empty slice." msgstr "" -#: ../NEWS:5873 +#: ../NEWS:6159 msgid "" ":gh:`142352`: Fix :meth:`asyncio.StreamWriter.start_tls` to transfer " "buffered data from :class:`~asyncio.StreamReader` to the SSL layer, " @@ -9895,7 +10373,7 @@ msgid "" "when implementing PROXY protocol support)." msgstr "" -#: ../NEWS:5878 +#: ../NEWS:6164 msgid "" ":gh:`139899`: Introduced :meth:`importlib.abc.MetaPathFinder.discover` " "and :meth:`importlib.abc.PathEntryFinder.discover` to allow module and " @@ -9903,30 +10381,30 @@ msgid "" "based imports." msgstr "" -#: ../NEWS:5883 +#: ../NEWS:6169 msgid "" ":gh:`137335`: Get rid of any possibility of a name conflict for named pipes " "in :mod:`multiprocessing` and :mod:`asyncio` on Windows, no matter how small." msgstr "" -#: ../NEWS:5887 +#: ../NEWS:6173 msgid "" ":gh:`135883`: Fix :mod:`sqlite3`'s :ref:`interactive shell ` " "keeping part of previous commands when scrolling history." msgstr "" -#: ../NEWS:5890 +#: ../NEWS:6176 msgid "" ":gh:`124748`: Improve :exc:`TypeError` error message when :meth:`!" "weakref.WeakKeyDictionary.update` is used with keyword-only parameters." msgstr "" -#: ../NEWS:5894 +#: ../NEWS:6180 msgid "" ":gh:`80667`: Add support for Tangut Ideographs names in :mod:`unicodedata`." msgstr "" -#: ../NEWS:5896 +#: ../NEWS:6182 msgid "" ":issue:`42353`: The :mod:`re` module gains a new :func:`re.prefixmatch` " "function as an explicit spelling of what has to date always been known " @@ -9934,7 +10412,7 @@ msgid "" "a :meth:`re.Pattern.prefixmatch` method." msgstr "" -#: ../NEWS:5901 +#: ../NEWS:6187 msgid "" "Why? Explicit is better than implicit. Other widely used languages all use " "the term \"match\" to mean what Python uses the term \"search\" for. The " @@ -9943,123 +10421,123 @@ msgid "" "industry." msgstr "" -#: ../NEWS:5907 +#: ../NEWS:6193 msgid "We do not plan to deprecate and remove the older ``match`` name." msgstr "" -#: ../NEWS:5909 +#: ../NEWS:6195 msgid "" ":issue:`40243`: Fix :meth:`!unicodedata.ucd_3_2_0.numeric` for non-decimal " "values." msgstr "" -#: ../NEWS:5912 +#: ../NEWS:6198 msgid "" ":issue:`40212`: Re-enable :func:`os.posix_fallocate` " "and :func:`os.posix_fadvise` on AIX." msgstr "" -#: ../NEWS:5915 +#: ../NEWS:6201 msgid "" ":issue:`3405`: Add support for user data of Tk virtual events and detail for " "``Enter``, ``Leave``, ``FocusIn``, ``FocusOut``, and ``ConfigureRequest`` " "events to :mod:`tkinter`." msgstr "" -#: ../NEWS:5919 +#: ../NEWS:6205 msgid "" ":issue:`32234`: :class:`mailbox.Mailbox` instances can now be used as a " "context manager. The Mailbox is locked on context entry and unlocked and " "closed at context exit." msgstr "" -#: ../NEWS:5926 +#: ../NEWS:6212 msgid "" ":gh:`145450`: Document missing public :class:`wave.Wave_write` getter " "methods." msgstr "" -#: ../NEWS:5929 +#: ../NEWS:6215 msgid "" ":gh:`110937`: Document rest of full " "public :class:`importlib.metadata.Distribution` API. Also add the (already " "documented) :class:`~importlib.metadata.PackagePath` to ``__all__``." msgstr "" -#: ../NEWS:5933 +#: ../NEWS:6219 msgid "" ":gh:`136246`: A new \"Improve this page\" link is available in the left-hand " "sidebar of the docs, offering links to create GitHub issues, discussion " "forum posts, or pull requests." msgstr "" -#: ../NEWS:5940 +#: ../NEWS:6226 msgid "" ":gh:`145701`: Fix :exc:`SystemError` when ``__classdict__`` or " "``__conditional_annotations__`` is in a class-scope inlined comprehension. " "Found by OSS Fuzz in :oss-fuzz:`491105000`." msgstr "" -#: ../NEWS:5944 +#: ../NEWS:6230 msgid "" ":gh:`145615`: Fixed a memory leak in the :term:`free-threaded build` where " "mimalloc pages could become permanently unreclaimable until the owning " "thread exited." msgstr "" -#: ../NEWS:5948 +#: ../NEWS:6234 msgid "" ":gh:`116738`: Make :meth:`!mmap.mmap.set_name` thread-safe on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:5951 +#: ../NEWS:6237 msgid "" ":gh:`145566`: In the free threading build, skip the stop-the-world pause " "when reassigning ``__class__`` on a newly created object." msgstr "" -#: ../NEWS:5954 +#: ../NEWS:6240 msgid "" ":gh:`143055`: Fix crash in AST unparser when unparsing dict comprehension " "unpacking. Found by OSS Fuzz in :oss-fuzz:`489790200`." msgstr "" -#: ../NEWS:5957 +#: ../NEWS:6243 msgid "" ":gh:`145335`: Fix a crash in :func:`os.pathconf` when called with ``-1`` as " "the path argument." msgstr "" -#: ../NEWS:5960 +#: ../NEWS:6246 msgid ":gh:`145376`: Fix reference leaks in various unusual error scenarios." msgstr "" -#: ../NEWS:5962 +#: ../NEWS:6248 msgid "" ":gh:`145234`: Fixed a ``SystemError`` in the parser when an encoding cookie " "(for example, UTF-7) decodes to carriage returns (``\\r``). Newlines are now " "normalized after decoding in the string tokenizer." msgstr "" -#: ../NEWS:5966 +#: ../NEWS:6252 msgid "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:5968 +#: ../NEWS:6254 msgid "" ":gh:`145275`: Added the :option:`-X pathconfig_warnings<-X>` " "and :envvar:`PYTHON_PATHCONFIG_WARNINGS` options, allowing to disable " "warnings from :ref:`sys-path-init`." msgstr "" -#: ../NEWS:5972 +#: ../NEWS:6258 msgid "" ":gh:`145273`: A warning is now shown during :ref:`sys-path-init` if it can't " "find a valid standard library." msgstr "" -#: ../NEWS:5975 +#: ../NEWS:6261 msgid "" ":gh:`145241`: Specialized the parser error for when ``with`` items are " "followed by a trailing comma (for example, ``with item,:``), raising a " @@ -10067,36 +10545,36 @@ msgid "" "Sławecki." msgstr "" -#: ../NEWS:5980 +#: ../NEWS:6266 msgid "" ":gh:`130555`: Fix use-after-free in :meth:`dict.clear` when the dictionary " "values are embedded in an object and a destructor causes re-entrant mutation " "of the dictionary." msgstr "" -#: ../NEWS:5984 +#: ../NEWS:6270 msgid "" ":gh:`145197`: Fix JIT trace crash when recording function from cleared " "generator frame." msgstr "" -#: ../NEWS:5987 +#: ../NEWS:6273 msgid "" ":gh:`145187`: Fix compiler assertion fail when a type parameter bound " "contains an invalid expression in a conditional block." msgstr "" -#: ../NEWS:5990 +#: ../NEWS:6276 msgid "" ":gh:`145142`: Fix a crash in the free-threaded build when the dictionary " "argument to :meth:`str.maketrans` is concurrently modified." msgstr "" -#: ../NEWS:5993 +#: ../NEWS:6279 msgid ":gh:`145118`: :meth:`str.maketrans` now accepts :class:`frozendict`." msgstr "" -#: ../NEWS:5995 +#: ../NEWS:6281 msgid "" ":gh:`144015`: Speed " "up :meth:`bytes.hex`, :meth:`bytearray.hex`, :func:`binascii.hexlify`, " @@ -10106,70 +10584,70 @@ msgid "" "inputs such as hashlib hex digests, and up to 8x faster for larger data." msgstr "" -#: ../NEWS:6002 +#: ../NEWS:6288 msgid "" ":gh:`145118`: :func:`type` now accepts :class:`frozendict` as an argument." msgstr "" -#: ../NEWS:6004 +#: ../NEWS:6290 msgid "" ":gh:`145064`: Fix JIT optimizer assertion failure during " "``CALL_ALLOC_AND_ENTER_INIT`` side exit." msgstr "" -#: ../NEWS:6007 +#: ../NEWS:6293 msgid "" ":gh:`145055`: :func:`exec` and :func:`eval` now accept :class:`frozendict` " "for *globals*. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6010 +#: ../NEWS:6296 msgid "" ":gh:`145058`: Fix a crash when :func:`!__lazy_import__` is passed a non-" "string argument, by raising an :exc:`TypeError` instead." msgstr "" -#: ../NEWS:6013 +#: ../NEWS:6299 msgid "" ":gh:`144995`: Optimize :class:`memoryview` comparison: a :class:`memoryview` " "is equal to itself, there is no need to compare values. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:6017 +#: ../NEWS:6303 msgid "" ":gh:`141510`: Update specializer to support frozendict. Patch by Donghee Na." msgstr "" -#: ../NEWS:6019 +#: ../NEWS:6305 msgid "" ":gh:`141510`: Optimize :meth:`!frozendict.fromkeys` to avoid unnecessary " "thread-safety operations in frozendict cases. Patch by Donghee Na." msgstr "" -#: ../NEWS:6022 +#: ../NEWS:6308 msgid "" ":gh:`100239`: Speedup ``BINARY_OP_EXTEND`` for exact floats and medium-size " "integers by up to 15%. Patch by Chris Eibl." msgstr "" -#: ../NEWS:6025 +#: ../NEWS:6311 msgid "" ":gh:`144914`: Use ``mimalloc`` for raw memory allocations such as " "via :c:func:`PyMem_RawMalloc` for better performance on :term:`free-threaded " "builds `. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:6029 +#: ../NEWS:6315 msgid ":gh:`144872`: Fix heap buffer overflow in the parser found by OSS-Fuzz." msgstr "" -#: ../NEWS:6031 +#: ../NEWS:6317 msgid "" ":gh:`144766`: Fix a crash in fork child process when perf support is enabled." msgstr "" -#: ../NEWS:6033 +#: ../NEWS:6319 msgid "" ":gh:`144759`: Fix undefined behavior in the lexer when ``start`` and " "``multi_line_start`` pointers are ``NULL`` in " @@ -10178,84 +10656,84 @@ msgid "" "(``NULL - valid_pointer``) is now guarded with explicit ``NULL`` checks." msgstr "" -#: ../NEWS:6039 +#: ../NEWS:6325 msgid "" ":gh:`141510`: Add built-in :class:`frozendict` type. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6041 +#: ../NEWS:6327 msgid "" ":gh:`144681`: Fix a JIT assertion failure when a conditional branch jumps to " "the same target as the fallthrough path." msgstr "" -#: ../NEWS:6044 +#: ../NEWS:6330 msgid "" ":gh:`143300`: Add :c:func:`PyUnstable_SetImmortal` C-API function to mark " "objects as :term:`immortal`." msgstr "" -#: ../NEWS:6047 +#: ../NEWS:6333 msgid "" ":gh:`144702`: Clarify the error message raised when a class pattern is used " "to match on a non-class object." msgstr "" -#: ../NEWS:6050 +#: ../NEWS:6336 msgid "" ":gh:`144569`: Optimize ``BINARY_SLICE`` for list, tuple, and unicode by " "avoiding temporary ``slice`` object creation." msgstr "" -#: ../NEWS:6053 +#: ../NEWS:6339 msgid "" ":gh:`144438`: Align the QSBR thread state array to a 64-byte cache line " "boundary to avoid false sharing in the :term:`free-threaded build`." msgstr "" -#: ../NEWS:6056 +#: ../NEWS:6342 msgid "" ":gh:`142349`: Implement :pep:`810`. Patch by Pablo Galindo and Dino Viehland." msgstr "" -#: ../NEWS:6058 +#: ../NEWS:6344 msgid "" ":gh:`141226`: Deprecate :pep:`456` support for providing an external " "definition of the string hashing scheme. Removal is scheduled for Python " "3.19. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6062 +#: ../NEWS:6348 msgid "" ":gh:`138912`: Improve :opcode:`MATCH_CLASS` performance by up to 52% in " "certain cases. Patch by Marc Mueller." msgstr "" -#: ../NEWS:6065 +#: ../NEWS:6351 msgid "" ":gh:`130327`: Fix erroneous clearing of an object's :attr:`~object.__dict__` " "if overwritten at runtime." msgstr "" -#: ../NEWS:6068 +#: ../NEWS:6354 msgid "" ":gh:`80667`: Literals using the ``\\N{name}`` escape syntax can now " "construct CJK ideographs and Hangul syllables using case-insensitive names." msgstr "" -#: ../NEWS:6074 +#: ../NEWS:6360 msgid "" ":gh:`142417`: Restore private provisional ``_Py_InitializeMain()`` function " "removed in Python 3.14. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6077 +#: ../NEWS:6363 msgid "" ":gh:`144748`: :c:func:`PyErr_CheckSignals` now raises the exception " "scheduled by :c:func:`PyThreadState_SetAsyncExc`, if any." msgstr "" -#: ../NEWS:6080 +#: ../NEWS:6366 msgid "" ":gh:`144981`: " "Made :c:func:`PyUnstable_Code_SetExtra`, :c:func:`PyUnstable_Code_GetExtra`, " @@ -10263,48 +10741,48 @@ msgid "" "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:6085 +#: ../NEWS:6371 msgid "" ":gh:`141510`: Add the following functions for the new :class:`frozendict` " "type:" msgstr "" -#: ../NEWS:6088 +#: ../NEWS:6374 msgid ":c:func:`PyAnyDict_Check`" msgstr "" -#: ../NEWS:6089 +#: ../NEWS:6375 msgid ":c:func:`PyAnyDict_CheckExact`" msgstr "" -#: ../NEWS:6090 +#: ../NEWS:6376 msgid ":c:func:`PyFrozenDict_Check`" msgstr "" -#: ../NEWS:6091 +#: ../NEWS:6377 msgid ":c:func:`PyFrozenDict_CheckExact`" msgstr "" -#: ../NEWS:6092 +#: ../NEWS:6378 msgid ":c:func:`PyFrozenDict_New`" msgstr "" -#: ../NEWS:6094 ../NEWS:10505 ../NEWS:12419 ../NEWS:12983 ../NEWS:13773 -#: ../NEWS:16553 ../NEWS:16563 ../NEWS:16634 ../NEWS:16648 ../NEWS:16678 -#: ../NEWS:17491 ../NEWS:17500 ../NEWS:19015 ../NEWS:20474 ../NEWS:22950 -#: ../NEWS:22978 ../NEWS:22989 ../NEWS:28240 ../NEWS:31972 ../NEWS:32000 -#: ../NEWS:32780 ../NEWS:33909 ../NEWS:35055 ../NEWS:35111 +#: ../NEWS:6380 ../NEWS:10791 ../NEWS:12705 ../NEWS:13269 ../NEWS:14059 +#: ../NEWS:16839 ../NEWS:16849 ../NEWS:16920 ../NEWS:16934 ../NEWS:16964 +#: ../NEWS:17777 ../NEWS:17786 ../NEWS:19301 ../NEWS:20760 ../NEWS:23236 +#: ../NEWS:23264 ../NEWS:23275 ../NEWS:28526 ../NEWS:32258 ../NEWS:32286 +#: ../NEWS:33066 ../NEWS:34195 ../NEWS:35341 ../NEWS:35397 msgid "Patch by Victor Stinner." msgstr "" -#: ../NEWS:6096 +#: ../NEWS:6382 msgid "" ":gh:`121617`: ``Python.h`` now also includes ```` in the limited C " "API version 3.11 and newer to fix the :c:macro:`Py_CLEAR` macro which uses " "``memcpy()``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6100 +#: ../NEWS:6386 msgid "" ":gh:`144175`: Add :c:func:`PyArg_ParseArray` " "and :c:func:`PyArg_ParseArrayAndKeywords` functions to parse arguments of " @@ -10312,63 +10790,63 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:6108 +#: ../NEWS:6394 msgid "" ":gh:`144533`: Use wasmtime's ``--argv0`` to auto-discover sysconfig in WASI " "builds" msgstr "" -#: ../NEWS:6111 +#: ../NEWS:6397 msgid "" ":gh:`145110`: Fix targets \"Clean\" and \"CLeanAll\" in case of PGO builds " "on Windows. Patch by Chris Eibl." msgstr "" -#: ../NEWS:6114 +#: ../NEWS:6400 msgid "" ":gh:`144679`: When building with Visual Studio 2026 (Version 18), use " "PlatformToolSet v145 by default. Patch by Chris Eibl." msgstr "" -#: ../NEWS:6117 +#: ../NEWS:6403 msgid ":gh:`144675`: Update to WASI SDK 30." msgstr "" -#: ../NEWS:6119 +#: ../NEWS:6405 msgid "" ":gh:`136677`: Introduce executable specific linker flags to ``./configure``." msgstr "" -#: ../NEWS:6123 +#: ../NEWS:6409 msgid "Python 3.15.0 alpha 6" msgstr "" -#: ../NEWS:6125 +#: ../NEWS:6411 msgid "*Release date: 2026-02-11*" msgstr "" -#: ../NEWS:6130 +#: ../NEWS:6416 msgid "" ":gh:`144648`: Allowed _remote_debugging to build on more OS versions by " "using proc_listpids() rather than proc_listallpids()." msgstr "" -#: ../NEWS:6133 +#: ../NEWS:6419 msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 9.0.3." msgstr "" -#: ../NEWS:6135 +#: ../NEWS:6421 msgid ":gh:`144551`: Update macOS installer to use OpenSSL 3.5.5." msgstr "" -#: ../NEWS:6140 +#: ../NEWS:6426 msgid "" ":gh:`80620`: Support negative timestamps " "in :func:`time.gmtime`, :func:`time.localtime`, and various :mod:`datetime` " "functions." msgstr "" -#: ../NEWS:6146 +#: ../NEWS:6432 msgid "" ":gh:`144415`: The Android testbed now distinguishes between stdout/stderr " "messages which were triggered by a newline, and those triggered by a manual " @@ -10376,14 +10854,14 @@ msgid "" "content." msgstr "" -#: ../NEWS:6151 +#: ../NEWS:6437 msgid "" ":gh:`65784`: Add support for parametrized resource ``wantobjects`` in " "regrtests, which allows to run Tkinter tests with the specified value " "of :data:`!tkinter.wantobjects`, for example ``-u wantobjects=0``." msgstr "" -#: ../NEWS:6158 +#: ../NEWS:6444 msgid "" ":gh:`144125`: :mod:`~email.generator.BytesGenerator` will now refuse to " "serialize (write) headers that are unsafely folded or delimited; " @@ -10391,7 +10869,7 @@ msgid "" "Bas Bloemsaat and Petr Viktorin in :gh:`121650`)." msgstr "" -#: ../NEWS:6163 +#: ../NEWS:6449 msgid "" ":gh:`143935`: Fixed a bug in the folding of comments when flattening an " "email message using a modern email policy. Comments consisting of a very " @@ -10401,36 +10879,36 @@ msgid "" "enabled header injection with carefully crafted inputs." msgstr "" -#: ../NEWS:6170 +#: ../NEWS:6456 msgid ":gh:`143925`: Reject control characters in ``data:`` URL media types." msgstr "" -#: ../NEWS:6172 +#: ../NEWS:6458 msgid ":gh:`143923`: Reject control characters in POP3 commands." msgstr "" -#: ../NEWS:6174 +#: ../NEWS:6460 msgid ":gh:`143921`: Reject control characters in IMAP commands." msgstr "" -#: ../NEWS:6176 +#: ../NEWS:6462 msgid "" ":gh:`143919`: Reject control characters in :class:`http.cookies.Morsel` " "fields and values." msgstr "" -#: ../NEWS:6179 +#: ../NEWS:6465 msgid "" ":gh:`143916`: Reject C0 control characters within wsgiref.headers.Headers " "fields, values, and parameters." msgstr "" -#: ../NEWS:6185 +#: ../NEWS:6471 msgid "" ":gh:`144538`: Bump the version of pip bundled in ensurepip to version 26.0.1" msgstr "" -#: ../NEWS:6187 +#: ../NEWS:6473 msgid "" ":gh:`144493`: Improve an exception error message in " "``_overlapped.BindLocal()`` that is raised " @@ -10439,7 +10917,7 @@ msgid "" "address family." msgstr "" -#: ../NEWS:6193 +#: ../NEWS:6479 msgid "" ":gh:`144386`: Add support for arbitrary descriptors :meth:`!" "__enter__`, :meth:`!__exit__`, :meth:`!__aenter__`, and :meth:`!__aexit__` " @@ -10447,20 +10925,20 @@ msgid "" "consistency with the :keyword:`with` and :keyword:`async with` statements." msgstr "" -#: ../NEWS:6198 +#: ../NEWS:6484 msgid "" ":gh:`123471`: Make concurrent iteration " "over :class:`itertools.combinations_with_replacement` " "and :class:`itertools.permutations` safe under free-threading." msgstr "" -#: ../NEWS:6202 +#: ../NEWS:6488 msgid "" ":gh:`74453`: Deprecate :func:`os.path.commonprefix` in favor " "of :func:`os.path.commonpath` for path segment prefixes." msgstr "" -#: ../NEWS:6205 +#: ../NEWS:6491 msgid "" "The :func:`os.path.commonprefix` function is being deprecated due to having " "a misleading name and module. The function is not safe to use for path " @@ -10469,95 +10947,95 @@ msgid "" "Python programs by using this function." msgstr "" -#: ../NEWS:6211 +#: ../NEWS:6497 msgid "" ":gh:`144380`: Improve performance of :class:`io.BufferedReader` line " "iteration by ~49%." msgstr "" -#: ../NEWS:6214 +#: ../NEWS:6500 msgid "" ":gh:`144363`: Update bundled `libexpat `_ to " "2.7.4" msgstr "" -#: ../NEWS:6217 +#: ../NEWS:6503 msgid "" ":gh:`140824`: When :mod:`faulthandler` dumps the list of third-party " "extension modules, ignore sub-modules of stdlib packages. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:6221 +#: ../NEWS:6507 msgid "" ":gh:`144206`: Improve error messages for buffer overflow " "in :func:`fcntl.fcntl` and :func:`fcntl.ioctl`." msgstr "" -#: ../NEWS:6224 +#: ../NEWS:6510 msgid "" ":gh:`144264`: Speed up Base64 decoding of data containing ignored characters " "(both in non-strict mode and with an explicit *ignorechars* argument). It is " "now up to 2 times faster for multiline Base64 data." msgstr "" -#: ../NEWS:6228 +#: ../NEWS:6514 msgid "" ":gh:`144249`: Add filename context to :exc:`OSError` exceptions raised " "by :func:`ssl.SSLContext.load_cert_chain`, allowing users to have more " "context." msgstr "" -#: ../NEWS:6232 +#: ../NEWS:6518 msgid "" ":gh:`132888`: Fix incorrect use of :func:`ctypes.GetLastError` and add " "missing error checks for Windows API calls in :mod:`!" "_pyrepl.windows_console`." msgstr "" -#: ../NEWS:6236 +#: ../NEWS:6522 msgid ":gh:`142956`: Updated :mod:`tomllib` to parse TOML 1.1.0." msgstr "" -#: ../NEWS:6238 +#: ../NEWS:6524 msgid "" ":gh:`144217`: :mod:`mimetypes`: Add support for DICOM files (for medical " "imaging) with the official MIME type ``application/dicom``. Patch by " "Benedikt Johannes." msgstr "" -#: ../NEWS:6242 +#: ../NEWS:6528 msgid "" ":gh:`144212`: Mime type ``image/jxl`` is now supported by :mod:`mimetypes`." msgstr "" -#: ../NEWS:6244 +#: ../NEWS:6530 msgid "" ":gh:`143594`: Add :meth:`symtable.Function.get_cells` " "and :meth:`symtable.Symbol.is_cell` methods." msgstr "" -#: ../NEWS:6247 +#: ../NEWS:6533 msgid "" ":gh:`144169`: Fix three crashes when non-string keyword arguments are " "supplied to objects in the :mod:`ast` module." msgstr "" -#: ../NEWS:6250 +#: ../NEWS:6536 msgid "" ":gh:`144128`: Fix a crash in :meth:`array.array.fromlist` when an " "element's :meth:`~object.__index__` method mutates the input list during " "conversion." msgstr "" -#: ../NEWS:6253 +#: ../NEWS:6539 msgid "" ":gh:`144100`: Fixed a crash in ctypes when using a deprecated " "``POINTER(str)`` type in ``argtypes``. Instead of aborting, ctypes now " "raises a proper Python exception when the pointer target type is unresolved." msgstr "" -#: ../NEWS:6258 +#: ../NEWS:6544 msgid "" ":gh:`143658`: :mod:`importlib.metadata`: Use :meth:`str.lower` " "and :meth:`str.replace` to further improve performance of :meth:`!" @@ -10565,13 +11043,13 @@ msgid "" "Schreiner." msgstr "" -#: ../NEWS:6263 +#: ../NEWS:6549 msgid "" ":gh:`144050`: Fix :func:`stat.filemode` in the pure-Python implementation to " "avoid misclassifying invalid mode values as block devices." msgstr "" -#: ../NEWS:6266 +#: ../NEWS:6552 msgid "" ":gh:`83069`: :meth:`subprocess.Popen.wait`: when ``timeout`` is not " "``None``, an efficient event-driven mechanism now waits for process " @@ -10583,7 +11061,7 @@ msgid "" "blocking call and short sleeps). Patch by Giampaolo Rodola." msgstr "" -#: ../NEWS:6275 +#: ../NEWS:6561 msgid "" ":gh:`144030`: The Python implementation of :func:`functools.lru_cache` " "differed from the default C implementation in that it did not check that its " @@ -10591,69 +11069,69 @@ msgid "" "a :exc:`TypeError`." msgstr "" -#: ../NEWS:6280 +#: ../NEWS:6566 msgid "" ":gh:`144001`: Added the *ignorechars* parameter " "in :func:`binascii.a2b_base64` and :func:`base64.b64decode`." msgstr "" -#: ../NEWS:6283 +#: ../NEWS:6569 msgid "" ":gh:`144023`: Fixed validation of file descriptor 0 in posix functions when " "used with follow_symlinks parameter." msgstr "" -#: ../NEWS:6286 +#: ../NEWS:6572 msgid "" ":gh:`143999`: Fix an issue where :func:`inspect.getgeneratorstate` " "and :func:`inspect.getcoroutinestate` could fail for generators wrapped " "by :func:`types.coroutine` in the suspended state." msgstr "" -#: ../NEWS:6290 +#: ../NEWS:6576 msgid "" ":gh:`143952`: Fixed :mod:`asyncio` debugging tools to work with new remote " "debugging API. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:6293 +#: ../NEWS:6579 msgid "" ":gh:`143904`: :func:`struct.pack_into` now raises OverflowError instead of " "IndexError for too large *offset* argument." msgstr "" -#: ../NEWS:6296 +#: ../NEWS:6582 msgid "" ":gh:`143897`: Remove the :meth:`!isxidstart` and :meth:`!isxidcontinue` " "methods of :data:`unicodedata.ucd_3_2_0`. They are now only exposed " "as :func:`unicodedata.isxidstart` and :func:`unicodedata.isxidcontinue`." msgstr "" -#: ../NEWS:6300 +#: ../NEWS:6586 msgid "" ":gh:`143831`: :class:`annotationlib.ForwardRef` objects are now hashable " "when created from annotation scopes with closures. Previously, hashing such " "objects would throw an exception. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:6304 +#: ../NEWS:6590 msgid "" ":gh:`143874`: Fixed a bug in :mod:`pdb` where expression results were not " "sent back to remote client." msgstr "" -#: ../NEWS:6307 +#: ../NEWS:6593 msgid "" ":gh:`143754`: Add new :mod:`tkinter` widget methods :meth:`!" "pack_content`, :meth:`!place_content` and :meth:`!grid_content` which are " "alternative spelling of old :meth:`!*_slaves` methods." msgstr "" -#: ../NEWS:6311 +#: ../NEWS:6597 msgid ":gh:`143756`: Fix potential thread safety issues in :mod:`ssl` module." msgstr "" -#: ../NEWS:6313 +#: ../NEWS:6599 msgid "" ":gh:`132604`: Previously, :class:`~typing.Protocol` classes that were not " "decorated with :deco:`~typing.runtime_checkable`, but that inherited from " @@ -10663,70 +11141,70 @@ msgid "" "Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:6320 +#: ../NEWS:6606 msgid "" ":gh:`143543`: Fix a crash in itertools.groupby that could occur when a user-" "defined :meth:`~object.__eq__` method re-enters the iterator during key " "comparison." msgstr "" -#: ../NEWS:6324 +#: ../NEWS:6610 msgid "" ":gh:`143689`: Fix :meth:`io.BufferedReader.read1` state cleanup on buffer " "allocation failure." msgstr "" -#: ../NEWS:6327 +#: ../NEWS:6613 msgid "" ":gh:`143602`: Fix a inconsistency issue in :meth:`~io.RawIOBase.write` that " "leads to unexpected buffer overwrite by deduplicating the buffer exports." msgstr "" -#: ../NEWS:6330 +#: ../NEWS:6616 msgid "" ":gh:`142434`: Use ``ppoll()`` if available in :func:`select.poll` to have a " "timeout resolution of 1 nanosecond, instead of a resolution of 1 ms. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:6334 +#: ../NEWS:6620 msgid "" ":gh:`140557`: :class:`array.array` buffers now have the same alignment when " "empty as when allocated. Unaligned buffers can still be created by slicing." msgstr "" -#: ../NEWS:6338 +#: ../NEWS:6624 msgid "" ":gh:`143423`: Fix free-threaded build detection in the sampling profiler " "when Py_GIL_DISABLED is set to 0." msgstr "" -#: ../NEWS:6341 +#: ../NEWS:6627 msgid "" ":gh:`101178`: Add Ascii85, Base85, and Z85 support to :mod:`binascii` and " "improve the performance of the base-85 converters in :mod:`base64`." msgstr "" -#: ../NEWS:6344 +#: ../NEWS:6630 msgid "" ":gh:`142966`: Fix :func:`!ctypes.POINTER.set_type` not updating the format " "string to match the type." msgstr "" -#: ../NEWS:6347 +#: ../NEWS:6633 msgid "" ":gh:`142555`: :mod:`array`: fix a crash in ``a[i] = v`` when converting *i* " "to an index via :meth:`i.__index__ ` or :meth:`i.__float__ " "` mutates the array." msgstr "" -#: ../NEWS:6351 +#: ../NEWS:6637 msgid "" ":gh:`142438`: Fix _decimal builds configured with EXTRA_FUNCTIONALITY by " "correcting the Context.apply wrapper to pass the right argument." msgstr "" -#: ../NEWS:6354 +#: ../NEWS:6640 msgid "" ":gh:`141860`: Add an ``on_error`` keyword-only parameter " "to :func:`multiprocessing.set_forkserver_preload` to control how import " @@ -10735,7 +11213,7 @@ msgid "" "(raise exception). Contributed by Nick Neumann and Gregory P. Smith." msgstr "" -#: ../NEWS:6360 +#: ../NEWS:6646 msgid "" ":gh:`125346`: Accepting ``+`` and ``/`` characters with an alternative " "alphabet in :func:`base64.b64decode` and :func:`base64.urlsafe_b64decode` is " @@ -10743,12 +11221,12 @@ msgid "" "mode and discarded in the non-strict mode." msgstr "" -#: ../NEWS:6365 +#: ../NEWS:6651 msgid "" ":gh:`140715`: Add ``'%F'`` support to :meth:`~datetime.datetime.strptime`." msgstr "" -#: ../NEWS:6367 +#: ../NEWS:6653 msgid "" ":gh:`67041`: Add the *missing_as_none* parameter " "to :func:`~urllib.parse.urlparse`, :func:`~urllib.parse.urlsplit` " @@ -10758,24 +11236,24 @@ msgid "" "between empty and not defined URI components and preserve empty components." msgstr "" -#: ../NEWS:6374 +#: ../NEWS:6660 msgid "" ":gh:`77188`: The :mod:`pickle` module now properly handles name-mangled " "private methods." msgstr "" -#: ../NEWS:6380 +#: ../NEWS:6666 msgid "" ":gh:`143774`: Better explain the operation of Format / Format Paragraph." msgstr "" -#: ../NEWS:6385 +#: ../NEWS:6671 msgid "" ":gh:`134584`: Optimize and eliminate ref-counting in " "``_BINARY_OP_SUBSCR_LIST_SLICE``" msgstr "" -#: ../NEWS:6388 +#: ../NEWS:6674 msgid "" ":gh:`144563`: Fix interaction of the Tachyon profiler and :mod:`ctypes` and " "other modules that load the Python shared library (if present) in an " @@ -10783,41 +11261,41 @@ msgid "" "information to be confused. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6393 +#: ../NEWS:6679 msgid "" ":gh:`144601`: Fix crash when importing a module whose ``PyInit`` function " "raises an exception from a subinterpreter." msgstr "" -#: ../NEWS:6396 +#: ../NEWS:6682 msgid "" ":gh:`144549`: Fix building the tail calling interpreter on Visual Studio " "2026 with free-threading." msgstr "" -#: ../NEWS:6399 +#: ../NEWS:6685 msgid "" ":gh:`144513`: Fix potential deadlock when using critical sections during " "stop-the-world pauses in the free-threaded build." msgstr "" -#: ../NEWS:6402 +#: ../NEWS:6688 msgid ":gh:`131798`: Optimise ``_GUARD_TOS_SLICE`` in the JIT." msgstr "" -#: ../NEWS:6404 +#: ../NEWS:6690 msgid "" ":gh:`144330`: Move ``classmethod`` and ``staticmethod`` initialization from " "``__init__()`` to ``__new__()``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6407 +#: ../NEWS:6693 msgid "" ":gh:`144446`: Fix data races in the free-threaded build when reading frame " "object attributes while another thread is executing the frame." msgstr "" -#: ../NEWS:6410 +#: ../NEWS:6696 msgid "" ":gh:`120321`: Add ``gi_state``, ``cr_state``, and ``ag_state`` attributes to " "generators, coroutines, and async generators that return the current state " @@ -10826,123 +11304,123 @@ msgid "" "and :func:`~inspect.getasyncgenstate` now return these attributes directly." msgstr "" -#: ../NEWS:6417 +#: ../NEWS:6703 msgid ":gh:`141563`: Fix thread safety of :c:macro:`! PyDateTime_IMPORT`." msgstr "" -#: ../NEWS:6419 +#: ../NEWS:6705 msgid "" ":gh:`144280`: Fix a bug in JIT where the predicate symbol had no truthiness" msgstr "" -#: ../NEWS:6421 +#: ../NEWS:6707 msgid "" ":gh:`140550`: In :c:member:`PyModuleDef.m_slots`, allow slots that repeat " "information present in :c:type:`PyModuleDef`." msgstr "" -#: ../NEWS:6424 +#: ../NEWS:6710 msgid "" ":gh:`139103`: Improve scaling of :func:`~collections.namedtuple` " "instantiation in the free-threaded build." msgstr "" -#: ../NEWS:6427 +#: ../NEWS:6713 msgid "" ":gh:`144307`: Prevent a reference leak in module teardown at interpreter " "finalization." msgstr "" -#: ../NEWS:6430 +#: ../NEWS:6716 msgid "" ":gh:`144319`: Add huge pages support for the pymalloc allocator. Patch by " "Pablo Galindo" msgstr "" -#: ../NEWS:6433 +#: ../NEWS:6719 msgid "" ":gh:`120321`: Made ``gi_yieldfrom`` thread-safe in the free-threading build " "by using a lightweight lock on the frame state." msgstr "" -#: ../NEWS:6436 +#: ../NEWS:6722 msgid "" ":gh:`144194`: Fix error handling in perf jitdump initialization on memory " "allocation failure." msgstr "" -#: ../NEWS:6439 +#: ../NEWS:6725 msgid "" ":gh:`143962`: Name suggestion for not normalized name suggests now the " "normalized name or the closest name to the normalized name. If the suggested " "name is not ASCII, include also its ASCII representation." msgstr "" -#: ../NEWS:6443 +#: ../NEWS:6729 msgid "" ":gh:`144157`: :meth:`bytes.translate` now allows the compiler to unroll its " "loop more usefully for a 2x speedup in the common no-deletions specified " "case." msgstr "" -#: ../NEWS:6447 +#: ../NEWS:6733 msgid "" ":gh:`144068`: Fix JIT tracer memory leak, ensure the JIT tracer state is " "freed when daemon threads are cleaned up during interpreter shutdown." msgstr "" -#: ../NEWS:6450 +#: ../NEWS:6736 msgid "" ":gh:`144012`: Check if the result is ``NULL`` in ``BINARY_OP_EXTENT`` opcode." msgstr "" -#: ../NEWS:6452 +#: ../NEWS:6738 msgid "" ":gh:`144007`: Eliminate redundant refcounting in the JIT for ``BINARY_OP``." msgstr "" -#: ../NEWS:6454 +#: ../NEWS:6740 msgid "" ":gh:`144005`: Eliminate redundant refcounting from ``BINARY_OP_EXTEND``." msgstr "" -#: ../NEWS:6456 +#: ../NEWS:6742 msgid "" ":gh:`143939`: Fix erroneous \"cannot reuse already awaited coroutine\" error " "that could occur when a generator was run during the process of clearing a " "coroutine's frame." msgstr "" -#: ../NEWS:6460 +#: ../NEWS:6746 msgid "" ":gh:`141805`: Fix crash in :class:`set` when objects with the same hash are " "concurrently added to the set after removing an element with the same hash " "while the set still contains elements with the same hash." msgstr "" -#: ../NEWS:6464 +#: ../NEWS:6750 msgid ":gh:`143670`: Fixes a crash in ``ga_repr_items_list`` function." msgstr "" -#: ../NEWS:6466 +#: ../NEWS:6752 msgid "" ":gh:`143650`: Fix race condition in :mod:`importlib` where a thread could " "receive a stale module reference when another thread's import fails." msgstr "" -#: ../NEWS:6469 +#: ../NEWS:6755 msgid "" ":gh:`143569`: Generator expressions in 3.15 now conform to the documented " "behavior when the iterable does not support iteration. This matches the " "behavior in 3.14 and earlier" msgstr "" -#: ../NEWS:6473 +#: ../NEWS:6759 msgid "" ":gh:`143192`: Improve performance of bitwise operations on multi-digit ints." msgstr "" -#: ../NEWS:6475 +#: ../NEWS:6761 msgid "" ":gh:`132657`: If we are specializing to ``LOAD_GLOBAL_MODULE`` or " "``LOAD_ATTR_MODULE``, try to enable deferred reference counting for the " @@ -10952,13 +11430,13 @@ msgid "" "will be deallocated by the GC, rather than by :c:func:`Py_DECREF`." msgstr "" -#: ../NEWS:6482 +#: ../NEWS:6768 msgid "" ":gh:`143055`: Implement :pep:`798` (Unpacking in Comprehensions). Patch by " "Adam Hartz." msgstr "" -#: ../NEWS:6485 +#: ../NEWS:6771 msgid "" ":gh:`142037`: Improve error messages for printf-style formatting. For errors " "in the format string, always include the position of the start of the format " @@ -10968,50 +11446,50 @@ msgid "" "error)." msgstr "" -#: ../NEWS:6492 +#: ../NEWS:6778 msgid "" ":gh:`140557`: :class:`bytearray` buffers now have the same alignment when " "empty as when allocated. Unaligned buffers can still be created by slicing." msgstr "" -#: ../NEWS:6496 +#: ../NEWS:6782 msgid "" ":gh:`140232`: Frozenset objects with immutable elements are no longer " "tracked by the garbage collector." msgstr "" -#: ../NEWS:6499 +#: ../NEWS:6785 msgid "" ":gh:`115231`: Setup ``__module__`` attribute for built-in static methods. " "Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:6505 +#: ../NEWS:6791 msgid "" ":gh:`143869`: " "Added :c:func:`PyLong_GetNativeLayout`, :c:struct:`PyLongLayout`, :c:struct:`PyLongExport`, :c:func:`PyLong_Export`, :c:func:`PyLong_FreeExport`, :c:struct:`PyLongWriter`, :c:func:`PyLongWriter_Create`, :c:func:`PyLongWriter_Finish` " "and :c:func:`PyLongWriter_Discard` to the limited API." msgstr "" -#: ../NEWS:6512 +#: ../NEWS:6798 msgid "" ":gh:`141070`: Renamed :c:func:`!PyUnstable_Object_Dump` " "to :c:func:`PyObject_Dump`." msgstr "" -#: ../NEWS:6518 +#: ../NEWS:6804 msgid "" ":gh:`140421`: Disable the perf trampoline on older macOS versions where it " "cannot be built." msgstr "" -#: ../NEWS:6521 +#: ../NEWS:6807 msgid "" ":gh:`144309`: Build Python with POSIX 2024, instead of POSIX 2008. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:6524 +#: ../NEWS:6810 msgid "" ":gh:`144278`: Enables defining the ``_PY_IMPL_NAME`` and " "``_PY_IMPL_CACHE_TAG`` preprocessor definitions to " @@ -11021,70 +11499,70 @@ msgid "" "of ``.pyc`` files." msgstr "" -#: ../NEWS:6531 +#: ../NEWS:6817 msgid "" ":gh:`143960`: Add support for OpenSSL 3.6, drop EOL 3.2. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:6534 +#: ../NEWS:6820 msgid "" ":gh:`143941`: Move WASI-related files to :file:`Platforms/WASI`. Along the " "way, leave a deprecated :file:`Tools/wasm/wasi/__main__.py` behind for " "backwards-compatibility." msgstr "" -#: ../NEWS:6538 +#: ../NEWS:6824 msgid "" ":gh:`143842`: Prevent static builds from clashing with curses by making the " "optimizer COLORS table static." msgstr "" -#: ../NEWS:6543 +#: ../NEWS:6829 msgid "Python 3.15.0 alpha 5" msgstr "" -#: ../NEWS:6545 +#: ../NEWS:6831 msgid "*Release date: 2026-01-14*" msgstr "" -#: ../NEWS:6550 +#: ../NEWS:6836 msgid "" ":gh:`143082`: Fix :mod:`pdb` arrow key history not working when ``stdin`` is " "``sys.stdin``." msgstr "" -#: ../NEWS:6553 +#: ../NEWS:6839 msgid "" ":gh:`128067`: Fix a bug in PyREPL on Windows where output without a trailing " "newline was overwritten by the next prompt." msgstr "" -#: ../NEWS:6559 +#: ../NEWS:6845 msgid "" ":gh:`142095`: Make gdb 'py-bt' command use frame from thread local state " "when available. Patch by Sam Gross and Victor Stinner." msgstr "" -#: ../NEWS:6565 +#: ../NEWS:6851 msgid "" ":gh:`143460`: Skip tests relying on infinite recusion if stack size is " "unlimited." msgstr "" -#: ../NEWS:6568 +#: ../NEWS:6854 msgid "" ":gh:`143553`: Add support for parametrized resources, such as ``-u " "xpickle=2.7``." msgstr "" -#: ../NEWS:6571 +#: ../NEWS:6857 msgid "" ":issue:`31391`: Forward-port test_xpickle from Python 2 to Python 3 and add " "the resource back to test's command line." msgstr "" -#: ../NEWS:6577 +#: ../NEWS:6863 msgid "" ":gh:`143706`: Fix :mod:`multiprocessing` forkserver so that :data:`sys.argv` " "is correctly set before ``__main__`` is preloaded. " @@ -11094,7 +11572,7 @@ msgid "" "thanks!" msgstr "" -#: ../NEWS:6583 +#: ../NEWS:6869 msgid "" ":gh:`143638`: Forbid reentrant calls of the :class:`pickle.Pickler` " "and :class:`pickle.Unpickler` methods for the C implementation. Previously, " @@ -11102,48 +11580,48 @@ msgid "" "of the same object raise :exc:`RuntimeError`." msgstr "" -#: ../NEWS:6588 +#: ../NEWS:6874 msgid "" ":gh:`143658`: :mod:`importlib.metadata`: Use :meth:`str.translate` to " "improve performance of :meth:`!importlib.metadata.Prepared.normalize`. Patch " "by Hugo van Kemenade and Henry Schreiner." msgstr "" -#: ../NEWS:6592 +#: ../NEWS:6878 msgid "" ":gh:`78724`: Raise :exc:`RuntimeError`'s when user attempts to call methods " "on half-initialized :class:`~struct.Struct` objects, For example, created by " "``Struct.__new__(Struct)``. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:6596 +#: ../NEWS:6882 msgid "" ":gh:`143196`: Fix crash when the internal encoder object returned by " "undocumented function :func:`!json.encoder.c_make_encoder` was called with " "non-zero second (*_current_indent_level*) argument." msgstr "" -#: ../NEWS:6600 +#: ../NEWS:6886 msgid "" ":gh:`143191`: :func:`_thread.stack_size` now raises :exc:`ValueError` if the " "stack size is too small. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6603 +#: ../NEWS:6889 msgid "" ":gh:`143547`: Fix :func:`sys.unraisablehook` when the hook raises an " "exception and changes :func:`sys.unraisablehook`: hold a strong reference to " "the old hook. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6607 +#: ../NEWS:6893 msgid "" ":gh:`139686`: Revert 0a97941245f1dda6d838f9aaf0512104e5253929 and " "57db12514ac686f0a752ec8fe1c08b6daa0c6219 which made importlib.reload a no-op " "for lazy modules; caused Buildbot failures." msgstr "" -#: ../NEWS:6611 +#: ../NEWS:6897 msgid "" ":gh:`143517`: :func:`annotationlib.get_annotations` no longer raises " "a :exc:`SyntaxError` when evaluating a stringified starred annotation that " @@ -11151,66 +11629,66 @@ msgid "" "Bartosz Sławecki." msgstr "" -#: ../NEWS:6616 +#: ../NEWS:6902 msgid ":gh:`143474`: Add :data:`os.RWF_ATOMIC` constant for Linux 6.11+." msgstr "" -#: ../NEWS:6618 +#: ../NEWS:6904 msgid ":gh:`143445`: Speed up :func:`copy.deepcopy` by 1.04x." msgstr "" -#: ../NEWS:6620 +#: ../NEWS:6906 msgid "" ":gh:`143378`: Fix use-after-free crashes when a :class:`~io.BytesIO` object " "is concurrently mutated during :meth:`~io.RawIOBase.write` " "or :meth:`~io.IOBase.writelines`." msgstr "" -#: ../NEWS:6624 +#: ../NEWS:6910 msgid "" ":gh:`143368`: Fix endless retry loop in :mod:`profiling.sampling` blocking " "mode when threads cannot be seized due to ``EPERM``. Such threads are now " "skipped instead of causing repeated error messages. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:6629 +#: ../NEWS:6915 msgid "" ":gh:`143346`: Fix incorrect wrapping of the Base64 data in :class:`!" "plistlib._PlistWriter` when the indent contains a mix of tabs and spaces." msgstr "" -#: ../NEWS:6633 +#: ../NEWS:6919 msgid "" ":gh:`140025`: :mod:`queue`: Fix :meth:`!SimpleQueue.__sizeof__` computation." msgstr "" -#: ../NEWS:6635 +#: ../NEWS:6921 msgid "" ":gh:`143310`: :mod:`tkinter`: fix a crash when a Python :class:`list` is " "mutated during the conversion to a Tcl object (e.g., when setting a Tcl " "variable). Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6639 +#: ../NEWS:6925 msgid "" ":gh:`143309`: Fix a crash in :func:`os.execve` on non-Windows platforms when " "given a custom environment mapping which is then mutated during parsing. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6643 +#: ../NEWS:6929 msgid "" ":gh:`143308`: :mod:`pickle`: fix use-after-free crashes when " "a :class:`~pickle.PickleBuffer` is concurrently mutated by a custom buffer " "callback during pickling. Patch by Bénédikt Tran and Aaron Wieczorek." msgstr "" -#: ../NEWS:6647 +#: ../NEWS:6933 msgid "" ":gh:`142939`: Performance optimisations for :func:`difflib.get_close_matches`" msgstr "" -#: ../NEWS:6649 +#: ../NEWS:6935 msgid "" ":gh:`124951`: The base64 implementation behind " "the :mod:`binascii`, :mod:`base64`, and related codec has been optimized for " @@ -11218,33 +11696,33 @@ msgid "" "platforms." msgstr "" -#: ../NEWS:6653 +#: ../NEWS:6939 msgid "" ":gh:`143237`: Fix support of named pipes in the rotating :mod:`logging` " "handlers." msgstr "" -#: ../NEWS:6656 +#: ../NEWS:6942 msgid "" ":gh:`143249`: Fix possible buffer leaks in Windows overlapped I/O on error " "handling." msgstr "" -#: ../NEWS:6659 +#: ../NEWS:6945 msgid "" ":gh:`143241`: :mod:`zoneinfo`: fix infinite loop " "in :meth:`ZoneInfo.from_file ` when parsing a " "malformed TZif file. Patch by Fatih Celik." msgstr "" -#: ../NEWS:6663 +#: ../NEWS:6949 msgid "" ":gh:`142830`: :mod:`sqlite3`: fix use-after-free crashes when the " "connection's callbacks are mutated during a callback execution. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:6667 +#: ../NEWS:6953 msgid "" ":gh:`143200`: :mod:`xml.etree.ElementTree`: fix use-after-free crashes " "in :meth:`~object.__getitem__` and :meth:`~object.__setitem__` methods " @@ -11252,50 +11730,50 @@ msgid "" "mutated. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6672 +#: ../NEWS:6958 msgid "" ":gh:`143214`: Add the *wrapcol* parameter in :func:`binascii.b2a_base64` " "and :func:`base64.b64encode`." msgstr "" -#: ../NEWS:6675 +#: ../NEWS:6961 msgid "" ":gh:`142195`: Updated timeout evaluation logic in :mod:`subprocess` to be " "compatible with deterministic environments like Shadow where time moves " "exactly as requested." msgstr "" -#: ../NEWS:6679 +#: ../NEWS:6965 msgid "" ":gh:`140739`: Fix several crashes due to reading invalid memory in the new " "Tachyon sampling profiler. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:6682 +#: ../NEWS:6968 msgid "" ":gh:`142164`: Fix the ctypes bitfield overflow error message to report the " "correct offset and size calculation." msgstr "" -#: ../NEWS:6685 +#: ../NEWS:6971 msgid "" ":gh:`143145`: Fixed a possible reference leak in ctypes when constructing " "results with multiple output parameters on error." msgstr "" -#: ../NEWS:6688 +#: ../NEWS:6974 msgid "" ":gh:`143103`: Add padding support to :func:`base64.z85encode` via the " "``pad`` parameter." msgstr "" -#: ../NEWS:6691 +#: ../NEWS:6977 msgid "" ":gh:`130796`: Undeprecate the :func:`locale.getdefaultlocale` function. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:6694 +#: ../NEWS:6980 msgid "" ":gh:`74902`: Add the :func:`~unicodedata.iter_graphemes` function in " "the :mod:`unicodedata` module to iterate over grapheme clusters according to " @@ -11306,14 +11784,14 @@ msgid "" "properties of the character which are related to the above algorithm." msgstr "" -#: ../NEWS:6703 +#: ../NEWS:6989 msgid "" ":gh:`143004`: Fix a potential use-after-free " "in :meth:`collections.Counter.update` when user code mutates the Counter " "during an update." msgstr "" -#: ../NEWS:6707 +#: ../NEWS:6993 msgid "" ":gh:`140648`: The :mod:`asyncio` REPL now respects the :option:`-I` flag " "(isolated mode). Previously, it would load and " @@ -11321,30 +11799,30 @@ msgid "" "Bartosz Sławecki." msgstr "" -#: ../NEWS:6712 +#: ../NEWS:6998 msgid "" ":gh:`142991`: Fixed socket operations such as recvfrom() and sendto() for " "FreeBSD divert(4) socket." msgstr "" -#: ../NEWS:6715 +#: ../NEWS:7001 msgid "" ":gh:`116738`: Make the attributes in :mod:`lzma` thread-safe on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:6718 +#: ../NEWS:7004 msgid "" ":gh:`142950`: Fix regression in :mod:`argparse` where format specifiers in " "help strings raised :exc:`ValueError`." msgstr "" -#: ../NEWS:6721 +#: ../NEWS:7007 msgid "" ":gh:`142881`: Fix concurrent and reentrant call of :func:`atexit.unregister`." msgstr "" -#: ../NEWS:6723 +#: ../NEWS:7009 msgid "" ":gh:`142615`: Fix possible crashes when initializing :class:`asyncio.Task` " "or :class:`asyncio.Future` multiple times. These classes can now be " @@ -11352,7 +11830,7 @@ msgid "" "RuntimeError. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:6728 +#: ../NEWS:7014 msgid "" ":gh:`142517`: The non-``compat32`` :mod:`email` policies now correctly " "handle refolding encoded words that contain bytes that can not be decoded in " @@ -11360,7 +11838,7 @@ msgid "" "exception during folding." msgstr "" -#: ../NEWS:6733 +#: ../NEWS:7019 msgid "" ":gh:`138122`: The Tachyon profiler's live TUI now integrates with the " "experimental :mod:`!_colorize` theming system. Users can customize colors " @@ -11369,31 +11847,31 @@ msgid "" "backgrounds. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:6739 +#: ../NEWS:7025 msgid "" ":gh:`142306`: Improve errors for :meth:`Element.remove " "`." msgstr "" -#: ../NEWS:6742 +#: ../NEWS:7028 msgid "" ":gh:`63016`: Add a ``flags`` parameter to :meth:`mmap.mmap.flush` to control " "synchronization behavior." msgstr "" -#: ../NEWS:6745 +#: ../NEWS:7031 msgid "" ":gh:`139262`: Some keystrokes can be swallowed in the new ``PyREPL`` on " "Windows, especially when used together with the ALT key. Fix by Chris Eibl." msgstr "" -#: ../NEWS:6749 +#: ../NEWS:7035 msgid "" ":gh:`138897`: Improved :data:`license`/:data:`copyright`/:data:`credits` " "display in the :term:`REPL`: now uses a pager." msgstr "" -#: ../NEWS:6752 +#: ../NEWS:7038 msgid "" ":gh:`135852`: Add :func:`!_winapi.RegisterEventSource`, :func:`!" "_winapi.DeregisterEventSource` and :func:`!_winapi.ReportEvent`. Using these " @@ -11401,104 +11879,104 @@ msgid "" "pywin32`." msgstr "" -#: ../NEWS:6757 +#: ../NEWS:7043 msgid "" ":gh:`109263`: Starting a process from spawn context " "in :mod:`multiprocessing` no longer sets the start method globally." msgstr "" -#: ../NEWS:6760 +#: ../NEWS:7046 msgid "" ":gh:`132715`: Skip writing objects during marshalling once a failure has " "occurred." msgstr "" -#: ../NEWS:6766 +#: ../NEWS:7052 msgid ":gh:`140806`: Add documentation for :func:`enum.bin`." msgstr "" -#: ../NEWS:6771 +#: ../NEWS:7057 msgid "" ":gh:`134584`: Eliminate redundant refcounting from ``_CONTAINS_OP``, " "``_CONTAINS_OP_SET`` and ``_CONTAINS_OP_DICT``." msgstr "" -#: ../NEWS:6774 +#: ../NEWS:7060 msgid "" ":gh:`143604`: Fix a reference counting issue in the JIT tracer where the " "current executor could be prematurely freed during tracing." msgstr "" -#: ../NEWS:6777 +#: ../NEWS:7063 msgid "" ":gh:`143469`: Enable :opcode:`!LOAD_ATTR_MODULE` specialization even " "if :func:`!__getattr__` is defined in module." msgstr "" -#: ../NEWS:6780 +#: ../NEWS:7066 msgid ":gh:`134584`: Eliminate redundant refcounting from ``TO_BOOL_STR``." msgstr "" -#: ../NEWS:6782 +#: ../NEWS:7068 msgid "" ":gh:`143377`: Fix a crash in :func:`!_interpreters.capture_exception` when " "the exception is incorrectly formatted. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6785 +#: ../NEWS:7071 msgid "" ":gh:`139757`: Add ``BINARY_OP_SUBSCR_USTR_INT`` to specialize reading an " "ASCII character from any string. Patch by Chris Eibl." msgstr "" -#: ../NEWS:6788 +#: ../NEWS:7074 msgid "" ":gh:`141504`: Factor out tracing and optimization heuristics into a single " "object. Patch by Donghee Na." msgstr "" -#: ../NEWS:6791 +#: ../NEWS:7077 msgid "" ":gh:`142982`: Specialize :opcode:`CALL_FUNCTION_EX` for Python and non-" "Python callables." msgstr "" -#: ../NEWS:6794 +#: ../NEWS:7080 msgid "" ":gh:`136924`: The interactive help mode in the :term:`REPL` no longer " "incorrectly syntax highlights text input as Python code. Contributed by Olga " "Matoula." msgstr "" -#: ../NEWS:6798 +#: ../NEWS:7084 msgid "" ":gh:`139757`: Fix unintended bytecode specialization for non-ascii string. " "Patch by Donghee Na, Ken Jin and Chris Eibl." msgstr "" -#: ../NEWS:6801 +#: ../NEWS:7087 msgid "" ":gh:`143361`: Add ``PY_VECTORCALL_ARGUMENTS_OFFSET`` to " "``_Py_CallBuiltinClass_StackRefSteal`` to avoid redundant allocations" msgstr "" -#: ../NEWS:6804 +#: ../NEWS:7090 msgid "" ":gh:`131798`: The JIT optimizer now understands more generator instructions." msgstr "" -#: ../NEWS:6806 +#: ../NEWS:7092 msgid ":gh:`134584`: Eliminate redundant refcounting from ``_LOAD_ATTR_SLOT``." msgstr "" -#: ../NEWS:6808 +#: ../NEWS:7094 msgid "" ":gh:`143189`: Fix crash when inserting a non-:class:`str` key into a split " "table dictionary when the key matches an existing key in the split table but " "has no corresponding value in the dict." msgstr "" -#: ../NEWS:6812 +#: ../NEWS:7098 msgid "" ":gh:`143228`: Fix use-after-free in perf trampoline when toggling profiling " "while threads are running or during interpreter finalization with daemon " @@ -11507,192 +11985,192 @@ msgid "" "Galindo" msgstr "" -#: ../NEWS:6818 +#: ../NEWS:7104 msgid "" ":gh:`142664`: Fix a use-after-free crash in :meth:`memoryview.__hash__ " "` when the ``__hash__`` method of the referenced object " "mutates that object or the view. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6822 +#: ../NEWS:7108 msgid "" ":gh:`142557`: Fix a use-after-free crash in :ref:`bytearray.__mod__ ` when the :class:`!bytearray` is mutated while formatting the " "``%``-style arguments. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6826 +#: ../NEWS:7112 msgid "" ":gh:`143195`: Fix use-after-free crashes in :meth:`bytearray.hex` " "and :meth:`memoryview.hex` when the separator's :meth:`~object.__len__` " "mutates the original object. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6830 +#: ../NEWS:7116 msgid "" ":gh:`143183`: Fix a bug in the JIT when dealing with unsupported control-" "flow or operations." msgstr "" -#: ../NEWS:6833 +#: ../NEWS:7119 msgid "" ":gh:`142975`: Fix crash after unfreezing all objects tracked by the garbage " "collector on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:6836 +#: ../NEWS:7122 msgid "" ":gh:`143135`: Set :data:`sys.flags.inspect` to ``1`` " "when :envvar:`PYTHONINSPECT` is ``0``. Previously, it was set to ``0`` in " "this case." msgstr "" -#: ../NEWS:6840 +#: ../NEWS:7126 msgid ":gh:`143123`: Protect the JIT against recursive tracing." msgstr "" -#: ../NEWS:6842 +#: ../NEWS:7128 msgid "" ":gh:`143092`: Fix a crash in the JIT when dealing with ``list.append(x)`` " "style code." msgstr "" -#: ../NEWS:6845 +#: ../NEWS:7131 msgid "" ":gh:`143003`: Fix an overflow of the shared empty buffer " "in :meth:`bytearray.extend` when ``__length_hint__()`` returns 0 for non-" "empty iterator." msgstr "" -#: ../NEWS:6849 +#: ../NEWS:7135 msgid "" ":gh:`143006`: Fix a possible assertion error when comparing negative non-" "integer ``float`` and ``int`` with the same number of bits in the integer " "part." msgstr "" -#: ../NEWS:6853 +#: ../NEWS:7139 msgid ":gh:`116738`: Fix thread safety of :func:`contextvars.Context.run`." msgstr "" -#: ../NEWS:6855 +#: ../NEWS:7141 msgid "" ":gh:`142829`: Fix a use-after-free crash in :class:`contextvars.Context` " "comparison when a custom ``__eq__`` method modifies the context " "via :meth:`~contextvars.ContextVar.set`." msgstr "" -#: ../NEWS:6859 +#: ../NEWS:7145 msgid "" ":gh:`142863`: Generate optimized bytecode when calling :class:`list` " "or :class:`set` with generator expression." msgstr "" -#: ../NEWS:6862 +#: ../NEWS:7148 msgid "" ":gh:`41779`: Allowed defining any :ref:`__slots__ ` for a class " "derived from :class:`tuple` (including classes created " "by :func:`collections.namedtuple`)." msgstr "" -#: ../NEWS:6866 +#: ../NEWS:7152 msgid "" ":gh:`69605`: Fix edge-cases around already imported modules in " "the :term:`REPL` auto-completion of imports." msgstr "" -#: ../NEWS:6869 +#: ../NEWS:7155 msgid "" ":gh:`138568`: Adjusted the built-in :func:`help` function so that empty " "inputs are ignored in interactive mode." msgstr "" -#: ../NEWS:6872 +#: ../NEWS:7158 msgid "" ":gh:`131798`: Remove bounds check when indexing into tuples with a constant " "index." msgstr "" -#: ../NEWS:6875 +#: ../NEWS:7161 msgid "" ":gh:`134584`: Eliminate redundant refcounting from ``_CALL_TYPE_1``. Patch " "by Tomas Roun" msgstr "" -#: ../NEWS:6878 +#: ../NEWS:7164 msgid "" ":gh:`132108`: Speed up :meth:`int.from_bytes` when passed object " "supports :ref:`buffer protocol `, like :class:`bytearray` by " "~1.2x." msgstr "" -#: ../NEWS:6881 +#: ../NEWS:7167 msgid "" ":gh:`128334`: Make the :class:`slice` class subscriptable at runtime to be " "consistent with typing implementation." msgstr "" -#: ../NEWS:6887 +#: ../NEWS:7173 msgid "" ":gh:`141671`: :c:macro:`PyMODINIT_FUNC` (and the " "new :c:macro:`PyMODEXPORT_FUNC`) now adds a linkage declaration " "(``__declspec(dllexport)``) on Windows." msgstr "" -#: ../NEWS:6893 +#: ../NEWS:7179 msgid "Python 3.15.0 alpha 4" msgstr "" -#: ../NEWS:6895 +#: ../NEWS:7181 msgid "*Release date: 2026-01-13*" msgstr "" -#: ../NEWS:6900 +#: ../NEWS:7186 msgid "" ":gh:`142836`: Accommodated Solaris in " "``test_pdb.test_script_target_anonymous_pipe``." msgstr "" -#: ../NEWS:6906 +#: ../NEWS:7192 msgid "" ":gh:`122431`: Corrected the error message " "in :func:`readline.append_history_file` to state that ``nelements`` must be " "non-negative instead of positive." msgstr "" -#: ../NEWS:6910 +#: ../NEWS:7196 msgid "" ":gh:`143046`: The :mod:`asyncio` REPL no longer prints copyright and version " "messages in the quiet mode (:option:`-q`). Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:6913 +#: ../NEWS:7199 msgid "" ":gh:`80744`: Fix issue where ``pdb`` would read a ``.pdbrc`` twice if " "launched from the home directory" msgstr "" -#: ../NEWS:6916 +#: ../NEWS:7202 msgid "" ":gh:`138122`: Add blocking mode to Tachyon for accurate stack traces in " "applications with many generators or fast-changing call stacks. Patch by " "Pablo Galindo." msgstr "" -#: ../NEWS:6920 +#: ../NEWS:7206 msgid "" ":gh:`143010`: Fixed a bug in :mod:`mailbox` where the precise timing of an " "external event could result in the library opening an existing file instead " "of a file it expected to create." msgstr "" -#: ../NEWS:6924 +#: ../NEWS:7210 msgid "" ":gh:`112127`: Fix possible use-after-free in :func:`atexit.unregister` when " "the callback is unregistered during comparison." msgstr "" -#: ../NEWS:6927 +#: ../NEWS:7213 msgid "" ":gh:`138122`: Fix incomplete stack traces in the Tachyon profiler's frame " "cache when profiling code with deeply nested generators. The frame cache now " @@ -11700,35 +12178,35 @@ msgid "" "broken flamegraphs. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:6932 +#: ../NEWS:7218 msgid "" ":gh:`142834`: Change the :mod:`pdb` ``commands`` command to use the last " "available breakpoint instead of failing when the most recently created " "breakpoint was deleted." msgstr "" -#: ../NEWS:6936 +#: ../NEWS:7222 msgid "" ":gh:`142783`: Fix zoneinfo use-after-free with descriptor _weak_cache. a " "descriptor as _weak_cache could cause crashes during object creation. The " "fix ensures proper reference counting for descriptor-provided objects." msgstr "" -#: ../NEWS:6940 +#: ../NEWS:7226 msgid "" ":gh:`76007`: Deprecate ``VERSION`` from :mod:`xml.etree.ElementTree` and " "``version`` from :mod:`!xml.sax.expatreader` and :mod:`xml.sax.handler`. " "Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:6944 +#: ../NEWS:7230 msgid "" ":gh:`142784`: The :mod:`asyncio` REPL now properly closes the loop upon the " "end of interactive session. Previously, it could cause surprising warnings. " "Contributed by Bartosz Sławecki." msgstr "" -#: ../NEWS:6948 +#: ../NEWS:7234 msgid "" ":gh:`138122`: Add binary output format to :mod:`profiling.sampling` for " "compact storage of profiling data. The new ``--binary`` option captures " @@ -11736,7 +12214,7 @@ msgid "" "``replay`` command. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6953 +#: ../NEWS:7239 msgid "" ":gh:`142495`: :class:`collections.defaultdict` now " "prioritizes :meth:`~object.__setitem__` when inserting default values from " @@ -11744,13 +12222,13 @@ msgid "" "would overwrite a value set before ``default_factory`` returns." msgstr "" -#: ../NEWS:6958 +#: ../NEWS:7244 msgid "" ":gh:`142654`: Show the clearer error message when using " "``profiling.sampling`` on an unknown PID." msgstr "" -#: ../NEWS:6961 +#: ../NEWS:7247 msgid "" ":gh:`142560`: Fix use-after-free in :class:`bytearray` search-like methods " "(:meth:`~bytearray.find`, :meth:`~bytearray.count`, :meth:`~bytearray.index`, :meth:`~bytearray.rindex`, " @@ -11761,20 +12239,20 @@ msgid "" "used for this." msgstr "" -#: ../NEWS:6970 +#: ../NEWS:7256 msgid "" ":gh:`142419`: :meth:`mmap.mmap.set_name` method added to annotate an " "anonymous memory map if Linux kernel supports ``PR_SET_VMA_ANON_NAME`` " "(Linux 5.17 or newer). Patch by Donghee Na." msgstr "" -#: ../NEWS:6974 +#: ../NEWS:7260 msgid "" ":gh:`139971`: :mod:`pydoc`: Ensure that the link to the online documentation " "of a :term:`stdlib` module is correct." msgstr "" -#: ../NEWS:6977 +#: ../NEWS:7263 msgid "" ":gh:`124098`: Fix issue where methods in handlers that lacked the protocol " "name but matched a valid base handler method (e.g., ``_open()`` or " @@ -11783,83 +12261,83 @@ msgid "" "Mattei." msgstr "" -#: ../NEWS:6983 +#: ../NEWS:7269 msgid "" ":gh:`136282`: Add support for :const:`~configparser.UNNAMED_SECTION` when " "creating a section via the mapping protocol access" msgstr "" -#: ../NEWS:6989 +#: ../NEWS:7275 msgid "" ":gh:`143057`: Avoid locking in :c:func:`PyTraceMalloc_Track` " "and :c:func:`PyTraceMalloc_Untrack` when :mod:`tracemalloc` is not enabled." msgstr "" -#: ../NEWS:6992 +#: ../NEWS:7278 msgid "" ":gh:`139109`: Add missing terminator in certain cases when tracing in the " "new JIT compiler." msgstr "" -#: ../NEWS:6995 +#: ../NEWS:7281 msgid "" ":gh:`142961`: Fix a segfault in the JIT when constant folding ``len(tuple)``." msgstr "" -#: ../NEWS:6997 +#: ../NEWS:7283 msgid ":gh:`142776`: Fix a file descriptor leak in import.c" msgstr "" -#: ../NEWS:6999 +#: ../NEWS:7285 msgid ":gh:`139757`: Fix building JIT stencils on free-threaded builds." msgstr "" -#: ../NEWS:7001 +#: ../NEWS:7287 msgid "" ":gh:`129068`: Make concurrent iteration over the same range iterator thread-" "safe in the free threading build." msgstr "" -#: ../NEWS:7004 +#: ../NEWS:7290 msgid "" ":gh:`142543`: Fix a stack overflow on Clang JIT build configurations with " "full LTO." msgstr "" -#: ../NEWS:7007 +#: ../NEWS:7293 msgid ":gh:`142448`: Fix a bug when using monitoring with the JIT." msgstr "" -#: ../NEWS:7009 +#: ../NEWS:7295 msgid "" ":gh:`142766`: Clear the frame of a generator when :meth:`generator.close` is " "called." msgstr "" -#: ../NEWS:7012 +#: ../NEWS:7298 msgid "" ":gh:`134584`: Eliminate redundant refcounting from " "``_LOAD_ATTR_INSTANCE_VALUE``." msgstr "" -#: ../NEWS:7015 +#: ../NEWS:7301 msgid "" ":gh:`134584`: Eliminate redundant refcounting from ``_STORE_ATTR_WITH_HINT``." msgstr "" -#: ../NEWS:7017 +#: ../NEWS:7303 msgid "" ":gh:`142476`: Fix a memory leak in the experimental Tier 2 optimizer when " "creating executors. Patched by Shamil Abdulaev." msgstr "" -#: ../NEWS:7020 +#: ../NEWS:7306 msgid "" ":gh:`100964`: Fix reference cycle in exhausted generator frames. Patch by " "Savannah Ostrowski." msgstr "" -#: ../NEWS:7023 +#: ../NEWS:7309 msgid "" ":gh:`139922`: Allow building CPython with the tail calling interpreter on " "Visual Studio 2026 MSVC. This provides a performance gain over the prior " @@ -11867,15 +12345,15 @@ msgid "" "help from the MSVC team including Hulon Jenkins." msgstr "" -#: ../NEWS:7030 +#: ../NEWS:7316 msgid "Python 3.15.0 alpha 3" msgstr "" -#: ../NEWS:7032 +#: ../NEWS:7318 msgid "*Release date: 2025-12-16*" msgstr "" -#: ../NEWS:7037 +#: ../NEWS:7323 msgid "" ":gh:`141692`: Each slice of an iOS XCframework now contains a ``lib`` folder " "that contains a symlink to the libpython dylib. This allows binary modules " @@ -11883,33 +12361,33 @@ msgid "" "linking." msgstr "" -#: ../NEWS:7045 +#: ../NEWS:7331 msgid "" ":gh:`140381`: Fix flaky test_profiling tests on i686 and s390x architectures " "by increasing slow_fibonacci call frequency from every 5th iteration to " "every 2nd iteration." msgstr "" -#: ../NEWS:7049 +#: ../NEWS:7335 msgid "" ":gh:`140210`: Make ``test_sysconfig.test_parse_makefile_renamed_vars`` less " "fragile by clearing the environment variables before parsing the Makefile." msgstr "" -#: ../NEWS:7055 +#: ../NEWS:7341 msgid "" ":gh:`142145`: Remove quadratic behavior in ``xml.minidom`` node ID cache " "clearing." msgstr "" -#: ../NEWS:7058 +#: ../NEWS:7344 msgid "" ":gh:`42400`: Fix buffer overflow in ``_Py_wrealpath()`` for paths exceeding " "``MAXPATHLEN`` bytes by using dynamic memory allocation instead of fixed-" "size buffer. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:7062 +#: ../NEWS:7348 msgid "" ":gh:`119451`: Fix a potential memory denial of service in " "the :mod:`http.client` module. When connecting to a malicious server, it " @@ -11918,7 +12396,7 @@ msgid "" "(OOM) killed processes or containers, or even system crashes." msgstr "" -#: ../NEWS:7068 +#: ../NEWS:7354 msgid "" ":gh:`119342`: Fix a potential memory denial of service in " "the :mod:`plistlib` module. When reading a Plist file received from " @@ -11928,7 +12406,7 @@ msgid "" "crashes." msgstr "" -#: ../NEWS:7077 +#: ../NEWS:7363 msgid "" ":gh:`142754`: Add the *ownerDocument* attribute to :mod:`xml.dom.minidom` " "elements and attributes created by directly instantiating the ``Element`` or " @@ -11937,38 +12415,38 @@ msgid "" "used instead." msgstr "" -#: ../NEWS:7083 +#: ../NEWS:7369 msgid "" ":gh:`142594`: Fix crash in ``TextIOWrapper.close()`` when the underlying " "buffer's ``closed`` property calls :meth:`~io.TextIOBase.detach`." msgstr "" -#: ../NEWS:7086 +#: ../NEWS:7372 msgid "" ":gh:`76007`: Deprecate ``__version__`` from :mod:`ctypes`. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:7089 +#: ../NEWS:7375 msgid "" ":gh:`76007`: Deprecate ``__version__`` from :mod:`wsgiref.simple_server`. " "Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:7092 +#: ../NEWS:7378 msgid "" ":gh:`142651`: :mod:`unittest.mock`: fix a thread safety issue " "where :attr:`Mock.call_count ` may return " "inaccurate values when the mock is called concurrently from multiple threads." msgstr "" -#: ../NEWS:7097 +#: ../NEWS:7383 msgid "" ":gh:`76007`: Deprecate ``__version__`` from :mod:`http.server`. Patch by " "Hugo van Kemenade." msgstr "" -#: ../NEWS:7100 +#: ../NEWS:7386 msgid "" ":gh:`138122`: Add ``--subprocesses`` flag to :mod:`profiling.sampling` CLI " "to automatically profile subprocesses spawned by the target. When enabled, " @@ -11979,46 +12457,46 @@ msgid "" "or other subprocess-based parallelism. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:7108 +#: ../NEWS:7394 msgid "" ":gh:`142595`: Added type check during initialization of the :mod:`decimal` " "module to prevent a crash in case of broken stdlib. Patch by Sergey B " "Kirpichev." msgstr "" -#: ../NEWS:7112 +#: ../NEWS:7398 msgid "" ":gh:`142556`: Fix crash when a task gets re-registered during finalization " "in :mod:`asyncio`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:7115 +#: ../NEWS:7401 msgid "" ":gh:`138122`: Add ``--mode=exception`` to the sampling profiler to capture " "samples only from threads with an active exception, useful for analyzing " "exception handling overhead. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:7119 +#: ../NEWS:7405 msgid "" ":gh:`142539`: :mod:`traceback`: Fix location of carets " "in :exc:`SyntaxError`\\s when the source contains wide characters." msgstr "" -#: ../NEWS:7122 +#: ../NEWS:7408 msgid "" ":gh:`123241`: Avoid reference count operations in garbage collection " "of :mod:`ctypes` objects." msgstr "" -#: ../NEWS:7125 +#: ../NEWS:7411 msgid "" ":gh:`142451`: :mod:`hmac`: correctly copy :class:`~hmac.HMAC` attributes for " "objects copied through :meth:`HMAC.copy() `. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:7129 +#: ../NEWS:7415 msgid "" ":gh:`138122`: The ``profiling.sampling`` flamegraph profiler now supports " "inverted flamegraph view that aggregates all leaf nodes. In a standard " @@ -12031,17 +12509,17 @@ msgid "" "called from." msgstr "" -#: ../NEWS:7139 +#: ../NEWS:7425 msgid "" ":gh:`112527`: The help text for required options in :mod:`argparse` no " "longer extended with \" (default: None)\"." msgstr "" -#: ../NEWS:7142 +#: ../NEWS:7428 msgid ":gh:`142438`: Fixed a possible leaked GIL in _PySSL_keylog_callback." msgstr "" -#: ../NEWS:7144 +#: ../NEWS:7430 msgid "" ":gh:`138122`: Add bytecode-level instruction profiling to the sampling " "profiler via the new ``--opcodes`` flag. When enabled, the profiler captures " @@ -12050,20 +12528,20 @@ msgid "" "flamegraph, gecko, and live output formats. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:7151 +#: ../NEWS:7437 msgid "" ":gh:`142389`: Add backtick markup support in :mod:`argparse` description and " "epilog text to highlight inline code when color output is enabled." msgstr "" -#: ../NEWS:7154 +#: ../NEWS:7440 msgid "" ":gh:`142346`: Fix usage formatting for mutually exclusive groups " "in :mod:`argparse` when they are preceded by positional arguments or " "followed or intermixed with other optional arguments." msgstr "" -#: ../NEWS:7158 +#: ../NEWS:7444 msgid "" ":gh:`142374`: Fix cumulative percentage calculation for recursive functions " "in the new sampling profiler. When profiling recursive functions, cumulative " @@ -12075,70 +12553,70 @@ msgid "" "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:7167 +#: ../NEWS:7453 msgid "" ":gh:`142315`: Pdb can now run scripts from anonymous pipes used in process " "substitution. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:7170 +#: ../NEWS:7456 msgid "" ":gh:`64532`: Subparser help now includes required optional arguments from " "the parent parser in the usage, making it clearer what arguments are needed " "to run a subcommand. Patch by Savannah Ostrowski." msgstr "" -#: ../NEWS:7174 +#: ../NEWS:7460 msgid "" ":gh:`142207`: Fix: profiling.sampling may cause assertion ``!(has_gil && " "gil_requested)``" msgstr "" -#: ../NEWS:7177 +#: ../NEWS:7463 msgid "" ":gh:`142332`: Fix usage formatting for positional arguments in mutually " "exclusive groups in :mod:`argparse`. in :mod:`argparse`." msgstr "" -#: ../NEWS:7180 +#: ../NEWS:7466 msgid "" ":gh:`142282`: Fix :func:`winreg.QueryValueEx` to not accidentally read " "garbage buffer under race condition." msgstr "" -#: ../NEWS:7183 +#: ../NEWS:7469 msgid "" ":gh:`142318`: Fix typing ``'q'`` at the help of the interactive tachyon " "profiler exiting the profiler." msgstr "" -#: ../NEWS:7186 +#: ../NEWS:7472 msgid "" ":gh:`75949`: Fix :mod:`argparse` to preserve ``|`` separators in mutually " "exclusive groups when the usage line wraps due to length." msgstr "" -#: ../NEWS:7189 +#: ../NEWS:7475 msgid "" ":gh:`142267`: Improve :mod:`argparse` performance by caching the formatter " "used for argument validation." msgstr "" -#: ../NEWS:7192 +#: ../NEWS:7478 msgid "" ":gh:`139862`: Remove ``color`` parameter from :class:`!" "argparse.HelpFormatter` constructor. Color is controlled " "by :class:`~argparse.ArgumentParser`." msgstr "" -#: ../NEWS:7196 +#: ../NEWS:7482 msgid "" ":gh:`68552`: ``MisplacedEnvelopeHeaderDefect`` and ``Missing header name`` " "defects are now correctly passed to the ``handle_defect`` method of " "``policy`` in :class:`~email.parser.FeedParser`." msgstr "" -#: ../NEWS:7200 +#: ../NEWS:7486 msgid "" ":gh:`142206`: The resource tracker in the :mod:`multiprocessing` module can " "now understand messages from older versions of itself. This avoids issues " @@ -12146,38 +12624,38 @@ msgid "" "upgrades are not tested.)" msgstr "" -#: ../NEWS:7205 +#: ../NEWS:7491 msgid "" ":gh:`142214`: Fix two regressions in :mod:`dataclasses` in Python 3.14.1 " "related to annotations." msgstr "" -#: ../NEWS:7208 +#: ../NEWS:7494 msgid "" "An exception is no longer raised if ``slots=True`` is used and the " "``__init__`` method does not have an ``__annotate__`` attribute (likely " "because ``init=False`` was used)." msgstr "" -#: ../NEWS:7212 +#: ../NEWS:7498 msgid "" "An exception is no longer raised if annotations are requested on the " "``__init__`` method and one of the fields is not present in the class " "annotations. This can occur in certain dynamic scenarios." msgstr "" -#: ../NEWS:7216 ../NEWS:34398 +#: ../NEWS:7502 ../NEWS:34684 msgid "Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:7218 +#: ../NEWS:7504 msgid "" ":gh:`142203`: Remove the *debug_override* parameter " "from :func:`importlib.util.cache_from_source` which has been deprecated " "since Python 3.5." msgstr "" -#: ../NEWS:7222 +#: ../NEWS:7508 msgid "" ":gh:`138122`: The ``_remote_debugging`` module now implements frame caching " "in the ``RemoteUnwinder`` class to reduce memory reads when profiling remote " @@ -12186,19 +12664,19 @@ msgid "" "performance for deep call stacks." msgstr "" -#: ../NEWS:7228 +#: ../NEWS:7514 msgid "" ":gh:`116738`: Fix :mod:`cmath` data race when initializing trigonometric " "tables with subinterpreters." msgstr "" -#: ../NEWS:7231 +#: ../NEWS:7517 msgid "" ":gh:`141982`: Allow :mod:`pdb` to set breakpoints on async functions with " "function names." msgstr "" -#: ../NEWS:7234 +#: ../NEWS:7520 msgid "" ":gh:`74389`: When the stdin being used by a :class:`subprocess.Popen` " "instance is closed, this is now ignored " @@ -12206,7 +12684,7 @@ msgid "" "inconsistent state." msgstr "" -#: ../NEWS:7239 +#: ../NEWS:7525 msgid "" ":gh:`87512`: Fix :func:`subprocess.Popen.communicate` timeout handling on " "Windows when writing large input. Previously, the timeout was ignored during " @@ -12215,13 +12693,13 @@ msgid "" "background thread, allowing the timeout to be properly enforced." msgstr "" -#: ../NEWS:7246 +#: ../NEWS:7532 msgid "" ":gh:`141939`: Add color to all interpolated values in :mod:`argparse` help, " "like ``%(default)s`` or ``%(choices)s``. Patch by Alex Prengère." msgstr "" -#: ../NEWS:7249 +#: ../NEWS:7535 msgid "" ":gh:`141473`: When :meth:`subprocess.Popen.communicate` was called with " "*input* and a *timeout* and is called for a second time after " @@ -12229,26 +12707,26 @@ msgid "" "it should no longer hang." msgstr "" -#: ../NEWS:7254 +#: ../NEWS:7540 msgid "" ":gh:`141999`: Correctly allow :exc:`KeyboardInterrupt` to stop the process " "when using :mod:`!profiling.sampling`." msgstr "" -#: ../NEWS:7257 +#: ../NEWS:7543 msgid "" ":gh:`142006`: Fix a bug in the :mod:`email.policy.default` folding algorithm " "which incorrectly resulted in a doubled newline when a line ending at " "exactly max_line_length was followed by an unfoldable token." msgstr "" -#: ../NEWS:7261 +#: ../NEWS:7547 msgid "" ":gh:`141968`: Remove data copy from :mod:`re` compilation of regexes with " "large charsets by using :meth:`bytearray.take_bytes`." msgstr "" -#: ../NEWS:7264 +#: ../NEWS:7550 msgid "" ":gh:`141968`: Remove data copy " "from :mod:`encodings.idna` :meth:`~codecs.Codec.encode` " @@ -12256,38 +12734,38 @@ msgid "" "using :meth:`bytearray.take_bytes`." msgstr "" -#: ../NEWS:7268 +#: ../NEWS:7554 msgid "" ":gh:`141968`: Remove data copy from :mod:`codecs` ``punycode`` encoding by " "using :meth:`bytearray.take_bytes`." msgstr "" -#: ../NEWS:7271 +#: ../NEWS:7557 msgid "" ":gh:`141968`: Remove data copy from :func:`wave.Wave_read.readframes` " "and :func:`wave.Wave_write.writeframes` by " "using :meth:`bytearray.take_bytes`." msgstr "" -#: ../NEWS:7274 +#: ../NEWS:7560 msgid "" ":gh:`141968`: Remove a data copy from :func:`base64.b32decode` " "and :func:`base64.b32encode` by using :meth:`bytearray.take_bytes`." msgstr "" -#: ../NEWS:7277 +#: ../NEWS:7563 msgid "" ":gh:`59000`: Fix :mod:`pdb` breakpoint resolution for class methods when the " "module defining the class is not imported." msgstr "" -#: ../NEWS:7280 +#: ../NEWS:7566 msgid "" ":gh:`116738`: Fix thread safety issue with :mod:`re` scanner objects in free-" "threaded builds." msgstr "" -#: ../NEWS:7283 +#: ../NEWS:7569 msgid "" ":gh:`138122`: The ``profiling.sampling`` flamegraph profiler now displays " "thread status statistics showing the percentage of time threads spend " @@ -12297,30 +12775,30 @@ msgid "" "per-thread metrics." msgstr "" -#: ../NEWS:7290 +#: ../NEWS:7576 msgid "" ":gh:`141781`: Fixed an issue where pdb.line_prefix assignment was ignored if " "assigned after the module was imported." msgstr "" -#: ../NEWS:7293 +#: ../NEWS:7579 msgid "" ":gh:`141863`: Update :ref:`asyncio-streams` to " "use :meth:`bytearray.take_bytes` for a over 10% performance improvement on " "pyperformance asyncio_tcp benchmark." msgstr "" -#: ../NEWS:7297 +#: ../NEWS:7583 msgid ":gh:`141817`: Add :data:`!socket.IPV6_HDRINCL` constant." msgstr "" -#: ../NEWS:7299 +#: ../NEWS:7585 msgid "" ":gh:`105836`: Fix :meth:`asyncio.run_coroutine_threadsafe` leaving " "underlying cancelled asyncio task running." msgstr "" -#: ../NEWS:7302 +#: ../NEWS:7588 msgid "" ":gh:`141570`: Support :term:`file-like object` raising :exc:`OSError` " "from :meth:`~io.IOBase.fileno` in color detection " @@ -12328,25 +12806,25 @@ msgid "" "redirected." msgstr "" -#: ../NEWS:7307 +#: ../NEWS:7593 msgid "" ":gh:`141679`: Add colour to defaults in :mod:`argparse` help. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:7310 +#: ../NEWS:7596 msgid "" ":gh:`141686`: Break reference cycles created by each call " "to :func:`json.dump` or :meth:`json.JSONEncoder.iterencode`." msgstr "" -#: ../NEWS:7313 +#: ../NEWS:7599 msgid "" ":gh:`141659`: Fix bad file descriptor errors from ``_posixsubprocess`` on " "AIX." msgstr "" -#: ../NEWS:7316 +#: ../NEWS:7602 msgid "" ":gh:`141645`: Add a new ``--live`` mode to the tachyon profiler in :mod:`!" "profiling.sampling` module. This mode consist of a live TUI that displays " @@ -12354,31 +12832,31 @@ msgid "" "``top``. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:7321 +#: ../NEWS:7607 msgid "" ":gh:`141615`: Check ``stdin`` instead of ``stdout`` for ``use_rawinput`` " "in :mod:`pdb`." msgstr "" -#: ../NEWS:7324 +#: ../NEWS:7610 msgid "" ":gh:`69113`: Fix :mod:`doctest` to correctly report line numbers for " "doctests in ``__test__`` dictionary when formatted as triple-quoted strings " "by finding unique lines in the string and matching them in the source file." msgstr "" -#: ../NEWS:7328 +#: ../NEWS:7614 msgid ":gh:`141600`: Fix musl version detection on Void Linux." msgstr "" -#: ../NEWS:7330 +#: ../NEWS:7616 msgid "" ":gh:`48752`: Add :func:`readline.get_pre_input_hook` function to retrieve " "the current pre-input hook. This allows applications to save and restore the " "hook without overwriting user settings. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:7334 +#: ../NEWS:7620 msgid "" ":gh:`141565`: Add async-aware profiling to the Tachyon sampling profiler. " "The profiler now reconstructs and displays async task hierarchies in " @@ -12386,34 +12864,34 @@ msgid "" "Ostrowski and Pablo Galindo Salgado." msgstr "" -#: ../NEWS:7339 +#: ../NEWS:7625 msgid "" ":gh:`60107`: Remove a copy from :meth:`io.RawIOBase.read`. If the underlying " "I/O class keeps a reference to the mutable memory, raise " "a :exc:`BufferError`." msgstr "" -#: ../NEWS:7343 +#: ../NEWS:7629 msgid "" ":gh:`116738`: Make csv module thread-safe on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:7346 +#: ../NEWS:7632 msgid "" ":gh:`140911`: :mod:`collections`: Ensure that the methods " "``UserString.rindex()`` and ``UserString.index()`` " "accept :class:`collections.UserString` instances as the sub argument." msgstr "" -#: ../NEWS:7350 +#: ../NEWS:7636 msgid "" ":gh:`140875`: Fix handling of unclosed character references (named and " "numerical) followed by the end of file in :class:`html.parser.HTMLParser` " "with ``convert_charrefs=False``." msgstr "" -#: ../NEWS:7354 +#: ../NEWS:7640 msgid "" ":gh:`140677`: Add heatmap visualization mode to the Tachyon sampling " "profiler. The new ``--heatmap`` output format provides a line-by-line view " @@ -12421,19 +12899,19 @@ msgid "" "interactive call graph navigation between callers and callees." msgstr "" -#: ../NEWS:7359 +#: ../NEWS:7645 msgid "" ":gh:`139946`: Distinguish stdout and stderr when colorizing output in " "argparse module." msgstr "" -#: ../NEWS:7362 +#: ../NEWS:7648 msgid "" ":gh:`76007`: :mod:`pydoc`: Fix :exc:`DeprecationWarning` being raised when " "generating doc for :term:`stdlib` modules." msgstr "" -#: ../NEWS:7365 +#: ../NEWS:7651 msgid "" ":gh:`138697`: Fix inferring *dest* from a single-dash long option " "in :mod:`argparse`. If a short option and a single-dash long option are " @@ -12441,26 +12919,26 @@ msgid "" "long option." msgstr "" -#: ../NEWS:7370 +#: ../NEWS:7656 msgid "" ":gh:`138525`: Add support for single-dash long options and alternate prefix " "characters in :class:`argparse.BooleanOptionalAction`." msgstr "" -#: ../NEWS:7373 +#: ../NEWS:7659 msgid "" ":gh:`79986`: Add parsing for ``References`` and ``In-Reply-To`` headers to " "the :mod:`email` library that parses the header content as lists of message " "id tokens. This prevents them from being folded incorrectly." msgstr "" -#: ../NEWS:7377 +#: ../NEWS:7663 msgid "" ":gh:`135559`: Flag: a ``dir()`` on a ``Flag`` enumeration now shows non-" "canonical members. (i.e. aliases)." msgstr "" -#: ../NEWS:7380 +#: ../NEWS:7666 msgid "" ":gh:`134453`: Fixed :func:`subprocess.Popen.communicate` ``input=`` handling " "of :class:`memoryview` instances that were non-byte shaped on POSIX " @@ -12468,11 +12946,11 @@ msgid "" "truncating the input. Windows platforms did not have this bug." msgstr "" -#: ../NEWS:7385 +#: ../NEWS:7671 msgid ":gh:`127930`: Add ``__all__`` to :mod:`tkinter.simpledialog`." msgstr "" -#: ../NEWS:7387 +#: ../NEWS:7673 msgid "" ":gh:`115952`: Fix a potential memory denial of service in the :mod:`pickle` " "module. When reading a pickled data received from untrusted source, it could " @@ -12483,12 +12961,12 @@ msgid "" "killed processes or containers, or even system crashes." msgstr "" -#: ../NEWS:7395 +#: ../NEWS:7681 msgid "" ":issue:`40350`: Fix support for namespace packages in :mod:`modulefinder`." msgstr "" -#: ../NEWS:7400 +#: ../NEWS:7686 msgid "" ":gh:`141994`: :mod:`xml.sax.handler`: Make Documentation " "of :data:`xml.sax.handler.feature_external_ges` warn of opening up to " @@ -12496,43 +12974,43 @@ msgid "" "XML_external_entity_attack>`_. Patch by Sebastian Pipping." msgstr "" -#: ../NEWS:7409 +#: ../NEWS:7695 msgid "" ":gh:`134584`: Eliminate redundant refcounting from " "``_STORE_ATTR_INSTANCE_VALUE``." msgstr "" -#: ../NEWS:7412 +#: ../NEWS:7698 msgid "" ":gh:`142718`: JIT: Fix segfault caused by not flushing the stack to memory " "at side exits." msgstr "" -#: ../NEWS:7415 +#: ../NEWS:7701 msgid "" ":gh:`142737`: Tracebacks will be displayed in fallback mode even " "if :func:`io.open` is lost. Previously, this would crash the interpreter. " "Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:7419 +#: ../NEWS:7705 msgid "" ":gh:`116738`: Make the attributes in :mod:`bz2` thread-safe on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:7422 +#: ../NEWS:7708 msgid "" ":gh:`134584`: Eliminate redundant refcounting from ``_CALL_LIST_APPEND``." msgstr "" -#: ../NEWS:7424 +#: ../NEWS:7710 msgid "" ":gh:`142554`: Fix a crash in :func:`divmod` when :func:`!_pylong.int_divmod` " "does not return a tuple of length two exactly. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:7427 +#: ../NEWS:7713 msgid "" ":gh:`142531`: Fix a free-threaded GC performance regression. If there are " "many untracked tuples, the GC will run too often, resulting in poor " @@ -12541,25 +13019,25 @@ msgid "" "free-threaded GC must scan those too." msgstr "" -#: ../NEWS:7433 +#: ../NEWS:7719 msgid "" ":gh:`142402`: Fix reference counting when adjacent literal parts are merged " "while constructing :class:`string.templatelib.Template`, preventing the " "displaced string object from leaking." msgstr "" -#: ../NEWS:7437 +#: ../NEWS:7723 msgid "" ":gh:`116738`: Make the attributes in :mod:`zlib` thread-safe on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:7440 +#: ../NEWS:7726 msgid "" ":gh:`142343`: Fix SIGILL crash on m68k due to incorrect assembly constraint." msgstr "" -#: ../NEWS:7442 +#: ../NEWS:7728 msgid "" ":gh:`142236`: Improve the \"Perhaps you forgot a comma?\" syntax error for " "multi-line string concatenations to point to the last string instead of the " @@ -12567,7 +13045,7 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:7447 +#: ../NEWS:7733 msgid "" ":gh:`142236`: Fix incorrect keyword suggestions for syntax errors " "in :mod:`traceback`. The keyword typo suggestion mechanism would incorrectly " @@ -12575,13 +13053,13 @@ msgid "" "than containing an actual typo. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:7452 +#: ../NEWS:7738 msgid "" ":gh:`142305`: Decrease the size of the generated stencils and the runtime " "JIT code. Patch by Diego Russo." msgstr "" -#: ../NEWS:7455 +#: ../NEWS:7741 msgid "" ":gh:`135379`: Implement a limited form of register allocation known as \"top " "of stack caching\" in the JIT. It works by keeping 0-3 of the top items in " @@ -12591,78 +13069,78 @@ msgid "" "spilling or reloading values when needed." msgstr "" -#: ../NEWS:7462 +#: ../NEWS:7748 msgid "" ":gh:`142276`: Fix missing type watcher when promoting attribute loads to " "constants in the JIT. Patch by Ken Jin. Reproducer by Yuancheng Jiang." msgstr "" -#: ../NEWS:7465 +#: ../NEWS:7751 msgid "" ":gh:`142218`: Fix crash when inserting into a split table dictionary with a " "non :class:`str` key that matches an existing key." msgstr "" -#: ../NEWS:7468 +#: ../NEWS:7754 msgid "" ":gh:`141976`: Check against abstract stack overflow in the JIT optimizer." msgstr "" -#: ../NEWS:7470 +#: ../NEWS:7756 msgid "" ":gh:`97850`: Remove all ``*.load_module()`` usage and definitions from the " "import system and importlib. The method has been deprecated in favor of " "``importlib.abc.Loader.exec_module()`` since Python 3.4." msgstr "" -#: ../NEWS:7474 +#: ../NEWS:7760 msgid "" ":gh:`142048`: Fix quadratically increasing garbage collection delays in free-" "threaded build." msgstr "" -#: ../NEWS:7477 +#: ../NEWS:7763 msgid ":gh:`65961`: Stop setting ``__cached__`` on modules." msgstr "" -#: ../NEWS:7479 +#: ../NEWS:7765 msgid "" ":gh:`141770`: Annotate anonymous mmap usage only when supported by the Linux " "kernel and if ``-X dev`` is used or Python is built in debug mode. Patch by " "Donghee Na." msgstr "" -#: ../NEWS:7483 +#: ../NEWS:7769 msgid "" ":gh:`142029`: Raise :exc:`ModuleNotFoundError` instead of crashing when a " "nonexistent module is used as a name in ``_imp.create_builtin()``." msgstr "" -#: ../NEWS:7486 +#: ../NEWS:7772 msgid "" ":gh:`142029`: Raise :exc:`ValueError` instead of crashing when empty string " "is used as a name in ``_imp.create_builtin()``." msgstr "" -#: ../NEWS:7489 +#: ../NEWS:7775 msgid "" ":gh:`141976`: Protect against specialization failures in the tracing JIT " "compiler for performance reasons." msgstr "" -#: ../NEWS:7492 +#: ../NEWS:7778 msgid "" ":gh:`141861`: Fix invalid memory read in the ``ENTER_EXECUTOR`` instruction." msgstr "" -#: ../NEWS:7494 +#: ../NEWS:7780 msgid "" ":gh:`141930`: When importing a module, use Python's regular file object to " "ensure that writes to ``.pyc`` files are complete or an appropriate error is " "raised." msgstr "" -#: ../NEWS:7498 +#: ../NEWS:7784 msgid "" ":gh:`138122`: Add incomplete sample detection to prevent corrupted profiling " "data. Each thread state now contains an embedded base frame (sentinel at the " @@ -12673,38 +13151,38 @@ msgid "" "included as spurious data." msgstr "" -#: ../NEWS:7506 +#: ../NEWS:7792 msgid "" ":gh:`120158`: Fix inconsistent state when enabling or disabling monitoring " "events too many times." msgstr "" -#: ../NEWS:7509 +#: ../NEWS:7795 msgid "" ":gh:`140638`: Expose a ``\"candidates\"`` stat in :func:`gc.get_stats` " "and :data:`gc.callbacks`." msgstr "" -#: ../NEWS:7512 +#: ../NEWS:7798 msgid "" ":gh:`141780`: Fix :c:macro:`Py_mod_gil` with API added " "in :pep:`793`: :c:func:`!PyModule_FromSlotsAndSpec` and ``PyModExport`` hooks" msgstr "" -#: ../NEWS:7515 +#: ../NEWS:7801 msgid "" ":gh:`141732`: Ensure the :meth:`~object.__repr__` for :exc:`ExceptionGroup` " "and :exc:`BaseExceptionGroup` does not change when the exception sequence " "that was original passed in to its constructor is subsequently mutated." msgstr "" -#: ../NEWS:7519 +#: ../NEWS:7805 msgid "" ":gh:`140638`: Expose a ``\"duration\"`` stat in :func:`gc.get_stats` " "and :data:`gc.callbacks`." msgstr "" -#: ../NEWS:7522 +#: ../NEWS:7808 msgid "" ":gh:`139653`: Only raise a ``RecursionError`` or trigger a fatal error if " "the stack pointer is both below the limit pointer *and* above the stack " @@ -12712,68 +13190,68 @@ msgid "" "positives when user-space threads swap stacks." msgstr "" -#: ../NEWS:7527 +#: ../NEWS:7813 msgid "" ":gh:`41779`: Allowed defining the *__dict__* and " "*__weakref__* :ref:`__slots__ ` for any class." msgstr "" -#: ../NEWS:7530 +#: ../NEWS:7816 msgid "" ":gh:`139103`: Improve multithreaded scaling of dataclasses on the free-" "threaded build." msgstr "" -#: ../NEWS:7533 +#: ../NEWS:7819 msgid "" ":gh:`141589`: Change ``backoff counter`` to use prime numbers instead of " "powers of 2. Use only 3 bits for ``counter`` and 13 bits for ``value``. This " "allows to support values up to 8191. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:7537 +#: ../NEWS:7823 msgid "" ":gh:`137007`: Fix a bug during JIT compilation failure which caused garbage " "collection debug assertions to fail." msgstr "" -#: ../NEWS:7540 +#: ../NEWS:7826 msgid "" ":gh:`132657`: For the free-threaded build, avoid locking the :class:`set` " "object for the ``__contains__`` method." msgstr "" -#: ../NEWS:7543 +#: ../NEWS:7829 msgid ":gh:`134584`: Eliminate redundant refcounting from ``_CALL_STR_1``." msgstr "" -#: ../NEWS:7545 +#: ../NEWS:7831 msgid ":gh:`134584`: Eliminate redundant refcounting from ``_CALL_BUILTIN_O``." msgstr "" -#: ../NEWS:7547 +#: ../NEWS:7833 msgid "" ":gh:`134584`: Eliminate redundant refcounting from ``_CALL_TUPLE_1``. Patch " "by Noam Cohen" msgstr "" -#: ../NEWS:7553 +#: ../NEWS:7839 msgid "" ":gh:`142589`: Fix :c:func:`PyUnstable_Object_IsUniqueReferencedTemporary()` " "handling of tagged ints on the interpreter stack." msgstr "" -#: ../NEWS:7556 +#: ../NEWS:7842 msgid "" ":gh:`142571`: :c:func:`!PyUnstable_CopyPerfMapFile` now checks that opening " "the file succeeded before flushing." msgstr "" -#: ../NEWS:7559 +#: ../NEWS:7845 msgid ":gh:`142225`: Fixed the :c:macro:`PyABIInfo_VAR` macro." msgstr "" -#: ../NEWS:7561 +#: ../NEWS:7847 msgid "" ":gh:`141049`: :c:func:`!_PyObject_CallMethodId`, :c:func:`!" "_PyObject_GetAttrId` and :c:func:`!_PyUnicode_FromId` are deprecated since " @@ -12783,13 +13261,13 @@ msgid "" "or :c:func:`PyObject_GetAttr`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7568 +#: ../NEWS:7854 msgid "" ":gh:`142163`: Fix the ``HAVE_THREAD_LOCAL`` macro being defined without the " "``Py_BUILD_CORE`` macro set after including :file:`Python.h`." msgstr "" -#: ../NEWS:7571 +#: ../NEWS:7857 msgid "" ":gh:`137422`: Fix :term:`free threading` race condition " "in :c:func:`PyImport_AddModuleRef`. It was previously possible for two calls " @@ -12797,35 +13275,35 @@ msgid "" "in :data:`sys.modules`." msgstr "" -#: ../NEWS:7576 +#: ../NEWS:7862 msgid ":gh:`141726`: Add :c:func:`PyDict_SetDefaultRef` to the Stable ABI." msgstr "" -#: ../NEWS:7578 +#: ../NEWS:7864 msgid "" ":gh:`140042`: Removed the sqlite3_shutdown call that could cause closing " "connections for sqlite when used with multiple sub interpreters." msgstr "" -#: ../NEWS:7581 +#: ../NEWS:7867 msgid "" ":gh:`141070`: Add :c:func:`!PyUnstable_Object_Dump` to dump an object to " "``stderr``. It should only be used for debugging. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7584 +#: ../NEWS:7870 msgid "" ":gh:`139165`: Expose the functions :c:func:`Py_SIZE`, :c:func:`Py_IS_TYPE` " "and :c:func:`Py_SET_SIZE` in the Stable ABI." msgstr "" -#: ../NEWS:7590 +#: ../NEWS:7876 msgid "" ":gh:`131372`: Add ``LDVERSION`` and ``EXE`` to the ``base_interpreter`` " "value of ``build-details.json``." msgstr "" -#: ../NEWS:7593 +#: ../NEWS:7879 msgid "" ":gh:`142454`: When calculating the digest of the JIT stencils input, sort " "the hashed files by filenames before adding their content to the hasher. " @@ -12833,33 +13311,33 @@ msgid "" "independent on filesystem order." msgstr "" -#: ../NEWS:7598 +#: ../NEWS:7884 msgid "" ":gh:`131372`: ``build-details.py`` will only be installed as part of the " "main install (``make install``). ``make altinstall`` will no longer include " "it." msgstr "" -#: ../NEWS:7601 +#: ../NEWS:7887 msgid "" ":gh:`142234`: Allow ``--enable-wasm-dynamic-linking`` for WASI. While " "CPython doesn't directly support it so external/downstream users do not have " "to patch in support for the flag." msgstr "" -#: ../NEWS:7605 +#: ../NEWS:7891 msgid "" ":gh:`142050`: Fixed a bug where JIT stencils produced on Windows contained " "debug data. Patch by Chris Eibl." msgstr "" -#: ../NEWS:7608 +#: ../NEWS:7894 msgid "" ":gh:`141808`: Do not generate the jit stencils twice in case of PGO builds " "on Windows." msgstr "" -#: ../NEWS:7611 +#: ../NEWS:7897 msgid "" ":gh:`141926`: ``RUNSHARED`` is no longer cleared when cross-compiling. " "Previously, ``RUNSHARED`` was cleared when cross-compiling, which breaks PGO " @@ -12867,7 +13345,7 @@ msgid "" "is otherwise executable (e.g., via transparent emulation)." msgstr "" -#: ../NEWS:7616 +#: ../NEWS:7902 msgid "" ":gh:`141808`: When running ``make clean-retain-profile``, keep the generated " "JIT stencils. That way, the stencils are not generated twice when Profile-" @@ -12875,7 +13353,7 @@ msgid "" "their own pre-built JIT stencils." msgstr "" -#: ../NEWS:7621 +#: ../NEWS:7907 msgid "" ":gh:`141784`: Fix ``_remote_debugging_module.c`` compilation on 32-bit " "Linux. Include Python.h before system headers to make sure that " @@ -12883,11 +13361,11 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:7626 +#: ../NEWS:7912 msgid ":gh:`141172`: Update to WASI SDK 29." msgstr "" -#: ../NEWS:7628 +#: ../NEWS:7914 msgid "" ":gh:`139707`: Add configure option :option:`--with-missing-stdlib-" "config=FILE` allows which distributors to pass a `JSON ` " @@ -12978,20 +13456,20 @@ msgid "" "an iterator." msgstr "" -#: ../NEWS:7695 +#: ../NEWS:7981 msgid "" ":gh:`140938`: The :func:`statistics.stdev` and :func:`statistics.pstdev` " "functions now raise a :exc:`ValueError` when the input contains an infinity " "or a NaN." msgstr "" -#: ../NEWS:7699 +#: ../NEWS:7985 msgid "" ":gh:`124111`: Updated Tcl threading configuration in :mod:`_tkinter` to " "assume that threads are always available in Tcl 9 and later." msgstr "" -#: ../NEWS:7702 +#: ../NEWS:7988 msgid "" ":gh:`137109`: The :mod:`os.fork` and related forking APIs will no longer " "warn in the common case where Linux or macOS platform APIs return the number " @@ -13000,26 +13478,26 @@ msgid "" "thread." msgstr "" -#: ../NEWS:7708 +#: ../NEWS:7994 msgid "" ":gh:`141314`: Fix assertion failure in :meth:`io.TextIOWrapper.tell` when " "reading files with standalone carriage return (``\\r``) line endings." msgstr "" -#: ../NEWS:7711 +#: ../NEWS:7997 msgid "" ":gh:`141311`: Fix assertion failure in :func:`!io.BytesIO.readinto` and " "undefined behavior arising when read position is above capcity " "in :class:`io.BytesIO`." msgstr "" -#: ../NEWS:7715 +#: ../NEWS:8001 msgid "" ":gh:`87710`: :mod:`mimetypes`: Update mime type for ``.ai`` files to " "``application/pdf``." msgstr "" -#: ../NEWS:7718 +#: ../NEWS:8004 msgid "" ":gh:`85524`: Update ``io.FileIO.readall``, an implementation " "of :meth:`io.RawIOBase.readall`, to follow :class:`io.IOBase` guidelines and " @@ -13027,32 +13505,32 @@ msgid "" "than :exc:`OSError`" msgstr "" -#: ../NEWS:7723 +#: ../NEWS:8009 msgid "" ":gh:`141141`: Fix a thread safety issue with :func:`base64.b85decode`. " "Contributed by Benel Tayar." msgstr "" -#: ../NEWS:7726 +#: ../NEWS:8012 msgid "" ":gh:`141018`: :mod:`mimetypes`: Update ``.exe``, ``.dll``, ``.rtf`` and " "(when ``strict=False``) ``.jpg`` to their correct IANA mime type." msgstr "" -#: ../NEWS:7729 +#: ../NEWS:8015 msgid "" ":gh:`137969`: Fix :meth:`annotationlib.ForwardRef.evaluate` " "returning :class:`~annotationlib.ForwardRef` objects which don't update with " "new globals." msgstr "" -#: ../NEWS:7733 +#: ../NEWS:8019 msgid "" ":gh:`75593`: Add support of :term:`path-like objects ` " "and :term:`bytes-like objects ` in :func:`wave.open`." msgstr "" -#: ../NEWS:7736 +#: ../NEWS:8022 msgid "" ":gh:`140797`: The undocumented :class:`!re.Scanner` class now forbids " "regular expressions containing capturing groups in its lexicon patterns. " @@ -13060,103 +13538,103 @@ msgid "" "segmentation fault. Use non-capturing groups (?:...) instead." msgstr "" -#: ../NEWS:7741 +#: ../NEWS:8027 msgid "" ":gh:`125115`: Refactor the :mod:`pdb` parsing issue so positional arguments " "can pass through intuitively." msgstr "" -#: ../NEWS:7744 +#: ../NEWS:8030 msgid "" ":gh:`140815`: :mod:`faulthandler` now detects if a frame or a code object is " "invalid or freed. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7747 +#: ../NEWS:8033 msgid "" ":gh:`100218`: Correctly set :attr:`~OSError.errno` " "when :func:`socket.if_nametoindex` or :func:`socket.if_indextoname` raise " "an :exc:`OSError`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:7751 +#: ../NEWS:8037 msgid "" ":gh:`140734`: :mod:`multiprocessing`: fix off-by-one error when checking the " "length of a temporary socket file path. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:7754 +#: ../NEWS:8040 msgid "" ":gh:`140873`: Add support of non-:term:`descriptor` callables " "in :func:`functools.singledispatchmethod`." msgstr "" -#: ../NEWS:7757 +#: ../NEWS:8043 msgid "" ":gh:`140874`: Bump the version of pip bundled in ensurepip to version 25.3" msgstr "" -#: ../NEWS:7759 +#: ../NEWS:8045 msgid "" ":gh:`140826`: Now :class:`!winreg.HKEYType` objects are compared by their " "underlying Windows registry handle value instead of their object identity." msgstr "" -#: ../NEWS:7762 +#: ../NEWS:8048 msgid "" ":gh:`140808`: The internal class ``mailbox._ProxyFile`` is no longer a " "parameterized generic." msgstr "" -#: ../NEWS:7765 +#: ../NEWS:8051 msgid "" ":gh:`140691`: In :mod:`urllib.request`, when opening a FTP URL fails because " "a data connection cannot be made, the control connection's socket is now " "closed to avoid a :exc:`ResourceWarning`." msgstr "" -#: ../NEWS:7769 +#: ../NEWS:8055 msgid "" ":gh:`103847`: Fix hang when cancelling process created " "by :func:`asyncio.create_subprocess_exec` " "or :func:`asyncio.create_subprocess_shell`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:7773 +#: ../NEWS:8059 msgid "" ":gh:`137821`: Convert ``_json`` module to use Argument Clinic. Patched by " "Yoonho Hann." msgstr "" -#: ../NEWS:7776 +#: ../NEWS:8062 msgid "" ":gh:`140790`: Initialize all Pdb's instance variables in ``__init__``, " "remove some hasattr/getattr" msgstr "" -#: ../NEWS:7779 +#: ../NEWS:8065 msgid "" ":gh:`140766`: Add :func:`enum.show_flag_values` and ``enum.bin`` to " "``enum.__all__``." msgstr "" -#: ../NEWS:7782 +#: ../NEWS:8068 msgid ":gh:`120057`: Add :func:`os.reload_environ` to ``os.__all__``." msgstr "" -#: ../NEWS:7784 +#: ../NEWS:8070 msgid "" ":gh:`140741`: Fix ``profiling.sampling.sample()`` incorrectly handling " "a :exc:`FileNotFoundError` or :exc:`PermissionError`." msgstr "" -#: ../NEWS:7787 +#: ../NEWS:8073 msgid "" ":gh:`140228`: Avoid making unnecessary filesystem calls for frozen modules " "in :mod:`linecache` when the global module cache is not present." msgstr "" -#: ../NEWS:7790 +#: ../NEWS:8076 msgid "" ":gh:`139946`: Error and warning keywords in ``argparse.ArgumentParser`` " "messages are now colorized when color output is enabled, fixing a visual " @@ -13164,40 +13642,40 @@ msgid "" "colorized." msgstr "" -#: ../NEWS:7795 +#: ../NEWS:8081 msgid "" ":gh:`140590`: Fix arguments checking for the :meth:`!" "functools.partial.__setstate__` that may lead to internal state corruption " "and crash. Patch by Sergey Miryanov." msgstr "" -#: ../NEWS:7799 +#: ../NEWS:8085 msgid "" ":gh:`125434`: Display thread name in :mod:`faulthandler` on Windows. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:7802 +#: ../NEWS:8088 msgid "" ":gh:`140634`: Fix a reference counting bug in :meth:`!" "os.sched_param.__reduce__`." msgstr "" -#: ../NEWS:7805 +#: ../NEWS:8091 msgid "" ":gh:`140650`: Fix an issue where closing :class:`io.BufferedWriter` could " "crash if the closed attribute raised an exception on access or could not be " "converted to a boolean." msgstr "" -#: ../NEWS:7809 +#: ../NEWS:8095 msgid "" ":gh:`140633`: Ignore :exc:`AttributeError` when setting a module's " "``__file__`` attribute when loading an extension module packaged as Apple " "Framework." msgstr "" -#: ../NEWS:7813 +#: ../NEWS:8099 msgid "" ":gh:`140601`: :func:`xml.etree.ElementTree.iterparse` now emits " "a :exc:`ResourceWarning` when the iterator is not explicitly closed and was " @@ -13205,84 +13683,84 @@ msgid "" "leaks. Patch by Osama Abdelkader." msgstr "" -#: ../NEWS:7818 +#: ../NEWS:8104 msgid "" ":gh:`140593`: :mod:`xml.parsers.expat`: Fix a memory leak that could affect " "users with :meth:`~xml.parsers.expat.xmlparser.ElementDeclHandler` set to a " "custom element declaration handler. Patch by Sebastian Pipping." msgstr "" -#: ../NEWS:7822 +#: ../NEWS:8108 msgid "" ":gh:`140607`: Inside :meth:`io.RawIOBase.read`, validate that the count of " "bytes returned by :meth:`io.RawIOBase.readinto` is valid (inside the " "provided buffer)." msgstr "" -#: ../NEWS:7826 +#: ../NEWS:8112 msgid "" ":gh:`138162`: Fix :class:`logging.LoggerAdapter` with ``merge_extra=True`` " "and without the *extra* argument." msgstr "" -#: ../NEWS:7829 +#: ../NEWS:8115 msgid "" ":gh:`140481`: Improve error message when trying to iterate a Tk widget, " "image or font." msgstr "" -#: ../NEWS:7832 +#: ../NEWS:8118 msgid "" ":gh:`138774`: :func:`ast.unparse` now generates full source code when " "handling :class:`ast.Interpolation` nodes that do not have a specified " "source." msgstr "" -#: ../NEWS:7836 +#: ../NEWS:8122 msgid "" ":gh:`140474`: Fix memory leak in :class:`array.array` when creating arrays " "from an empty :class:`str` and the ``u`` type code." msgstr "" -#: ../NEWS:7839 +#: ../NEWS:8125 msgid "" ":gh:`140448`: Change the default of ``suggest_on_error`` to ``True`` in " "``argparse.ArgumentParser``." msgstr "" -#: ../NEWS:7842 +#: ../NEWS:8128 msgid "" ":gh:`137530`: :mod:`dataclasses` Fix annotations for generated ``__init__`` " "methods by replacing the annotations that were in-line in the generated " "source code with ``__annotate__`` functions attached to the methods." msgstr "" -#: ../NEWS:7846 +#: ../NEWS:8132 msgid "" ":gh:`140348`: Fix regression in Python 3.14.0 where using the ``|`` operator " "on a :class:`typing.Union` object combined with an object that is not a type " "would raise an error." msgstr "" -#: ../NEWS:7850 +#: ../NEWS:8136 msgid "" ":gh:`76007`: :mod:`decimal`: Deprecate ``__version__`` and replace " "with :data:`decimal.SPEC_VERSION`." msgstr "" -#: ../NEWS:7853 +#: ../NEWS:8139 msgid "" ":gh:`76007`: Deprecate ``__version__`` from :mod:`imaplib`. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:7856 +#: ../NEWS:8142 msgid "" ":gh:`140272`: Fix memory leak in the :meth:`!clear` method of " "the :mod:`dbm.gnu` database." msgstr "" -#: ../NEWS:7859 +#: ../NEWS:8145 msgid "" ":gh:`129117`: :mod:`unicodedata`: Add :func:`~unicodedata.isxidstart` " "and :func:`~unicodedata.isxidcontinue` functions to check whether a " @@ -13290,13 +13768,13 @@ msgid "" "www.unicode.org/reports/tr31/>`_ identifier." msgstr "" -#: ../NEWS:7864 +#: ../NEWS:8150 msgid "" ":gh:`140251`: Colorize the default import statement ``import asyncio`` in " "asyncio REPL." msgstr "" -#: ../NEWS:7867 +#: ../NEWS:8153 msgid "" ":gh:`140212`: Calendar's HTML formatting now accepts year and month as " "options. Previously, running ``python -m calendar -t html 2025 10`` would " @@ -13304,7 +13782,7 @@ msgid "" "calendar for the specified month. Contributed by Pål Grønås Drange." msgstr "" -#: ../NEWS:7872 +#: ../NEWS:8158 msgid "" ":gh:`135801`: Improve filtering by module in :func:`warnings.warn_explicit` " "if no *module* argument is passed. It now tests the module regular " @@ -13314,25 +13792,25 @@ msgid "" "Windows, ``.pyw`` stripped)." msgstr "" -#: ../NEWS:7879 +#: ../NEWS:8165 msgid "" ":gh:`139707`: Improve :exc:`ModuleNotFoundError` error message when " "a :term:`standard library` module is missing." msgstr "" -#: ../NEWS:7882 +#: ../NEWS:8168 msgid "" ":gh:`140041`: Fix import of :mod:`ctypes` on Android and Cygwin when ABI " "flags are present." msgstr "" -#: ../NEWS:7885 +#: ../NEWS:8171 msgid "" ":gh:`140120`: Fixed a memory leak in :mod:`hmac` when it was using the hacl-" "star backend. Discovered by ``@ashm-dev`` using AddressSanitizer." msgstr "" -#: ../NEWS:7888 +#: ../NEWS:8174 msgid "" ":gh:`140141`: The :py:class:`importlib.metadata.PackageNotFoundError` " "traceback raised when ``importlib.metadata.Distribution.from_name`` cannot " @@ -13340,11 +13818,11 @@ msgid "" "exception trace." msgstr "" -#: ../NEWS:7893 +#: ../NEWS:8179 msgid "Contributed by Bartosz Sławecki in :gh:`140142`." msgstr "" -#: ../NEWS:7895 +#: ../NEWS:8181 msgid "" ":gh:`140166`: :mod:`mimetypes`: Per the `IANA assignment `_, update the MIME " @@ -13352,32 +13830,32 @@ msgid "" "texinfo``, instead of ``application/x-texinfo``." msgstr "" -#: ../NEWS:7900 +#: ../NEWS:8186 msgid "" ":gh:`140135`: Speed up :meth:`io.RawIOBase.readall` by using PyBytesWriter " "API (about 4x faster)" msgstr "" -#: ../NEWS:7903 +#: ../NEWS:8189 msgid "" ":gh:`76007`: :mod:`zlib`: Deprecate ``__version__`` and schedule for removal " "in Python 3.20." msgstr "" -#: ../NEWS:7906 +#: ../NEWS:8192 msgid "" ":gh:`136702`: :mod:`encodings`: Deprecate passing a non-ascii *encoding* " "name to :func:`encodings.normalize_encoding` and schedule removal of support " "for Python 3.17." msgstr "" -#: ../NEWS:7910 +#: ../NEWS:8196 msgid "" ":gh:`139940`: Print clearer error message when using ``pdb`` to attach to a " "non-existing process." msgstr "" -#: ../NEWS:7913 +#: ../NEWS:8199 msgid "" ":gh:`139462`: When a child process in " "a :class:`concurrent.futures.ProcessPoolExecutor` terminates abruptly, the " @@ -13385,97 +13863,97 @@ msgid "" "terminated process. Contributed by Jonathan Berg." msgstr "" -#: ../NEWS:7918 +#: ../NEWS:8204 msgid "" ":gh:`63161`: Fix :func:`tokenize.detect_encoding`. Support non-UTF-8 shebang " "and comments if non-UTF-8 encoding is specified. Detect decoding error for " "non-UTF-8 encoding. Detect null bytes in source code." msgstr "" -#: ../NEWS:7922 +#: ../NEWS:8208 msgid "" ":gh:`101828`: Fix ``'shift_jisx0213'``, ``'shift_jis_2004'``, " "``'euc_jisx0213'`` and ``'euc_jis_2004'`` codecs truncating null chars as " "they were treated as part of multi-character sequences." msgstr "" -#: ../NEWS:7926 +#: ../NEWS:8212 msgid ":gh:`139246`: fix: paste zero-width in default repl width is wrong." msgstr "" -#: ../NEWS:7928 +#: ../NEWS:8214 msgid "" ":gh:`83714`: Implement :func:`os.statx` on Linux kernel versions 4.11 and " "later with glibc versions 2.28 and later. Contributed by Jeffrey Bosboom " "and Victor Stinner." msgstr "" -#: ../NEWS:7932 +#: ../NEWS:8218 msgid "" ":gh:`138891`: Fix ``SyntaxError`` when ``inspect.get_annotations(f, " "eval_str=True)`` is called on a function annotated with a :pep:`646` " "``star_expression``" msgstr "" -#: ../NEWS:7936 +#: ../NEWS:8222 msgid "" ":gh:`138859`: Fix generic type parameterization raising a :exc:`TypeError` " "when omitting a :class:`ParamSpec` that has a default which is not a list of " "types." msgstr "" -#: ../NEWS:7940 +#: ../NEWS:8226 msgid "" ":gh:`138764`: Prevent :func:`annotationlib.call_annotate_function` from " "calling ``__annotate__`` functions that don't support " "``VALUE_WITH_FAKE_GLOBALS`` in a fake globals namespace with empty globals." msgstr "" -#: ../NEWS:7945 +#: ../NEWS:8231 msgid "" "Make ``FORWARDREF`` and ``STRING`` annotations fall back to using ``VALUE`` " "annotations in the case that neither their own format, nor " "``VALUE_WITH_FAKE_GLOBALS`` are supported." msgstr "" -#: ../NEWS:7949 +#: ../NEWS:8235 msgid "" ":gh:`138775`: Use of ``python -m`` with :mod:`base64` has been fixed to " "detect input from a terminal so that it properly notices EOF." msgstr "" -#: ../NEWS:7952 +#: ../NEWS:8238 msgid "" ":gh:`98896`: Fix a failure in multiprocessing resource_tracker when " "SharedMemory names contain colons. Patch by Rani Pinchuk." msgstr "" -#: ../NEWS:7955 +#: ../NEWS:8241 msgid "" ":gh:`138425`: Fix partial evaluation of :class:`annotationlib.ForwardRef` " "objects which rely on names defined as globals." msgstr "" -#: ../NEWS:7958 +#: ../NEWS:8244 msgid "" ":gh:`138151`: In :mod:`annotationlib`, improve evaluation of forward " "references to nonlocal variables that are not yet defined when the " "annotations are initially evaluated." msgstr "" -#: ../NEWS:7962 +#: ../NEWS:8248 msgid "" ":gh:`69528`: The :attr:`~io.FileIO.mode` attribute of files opened in the " "``'wb+'`` mode is now ``'wb+'`` instead of ``'rb+'``." msgstr "" -#: ../NEWS:7965 +#: ../NEWS:8251 msgid "" ":gh:`137627`: Speed up :meth:`csv.Sniffer.sniff` delimiter detection by up " "to 1.6x." msgstr "" -#: ../NEWS:7968 +#: ../NEWS:8254 msgid "" ":gh:`55531`: :mod:`encodings`: Improve :func:`~encodings.normalize_encoding` " "performance by implementing the function in C using the private " @@ -13483,57 +13961,57 @@ msgid "" "conversion optional." msgstr "" -#: ../NEWS:7973 +#: ../NEWS:8259 msgid "" ":gh:`136057`: Fixed the bug in :mod:`pdb` and :mod:`bdb` where ``next`` and " "``step`` can't go over the line if a loop exists in the line." msgstr "" -#: ../NEWS:7976 +#: ../NEWS:8262 msgid "" ":gh:`133390`: Support table, index, trigger, view, column, function, and " "schema completion for :mod:`sqlite3`'s :ref:`command-line interface `." msgstr "" -#: ../NEWS:7980 +#: ../NEWS:8266 msgid "" ":gh:`135307`: :mod:`email`: Fix exception in ``set_content()`` when encoding " "text and max_line_length is set to ``0`` or ``None`` (unlimited)." msgstr "" -#: ../NEWS:7983 +#: ../NEWS:8269 msgid "" ":gh:`133789`: Fix unpickling of :mod:`pathlib` objects that were pickled in " "Python 3.13." msgstr "" -#: ../NEWS:7986 +#: ../NEWS:8272 msgid "" ":gh:`133601`: Remove deprecated :func:`!typing.no_type_check_decorator`." msgstr "" -#: ../NEWS:7988 +#: ../NEWS:8274 msgid "" ":gh:`132686`: Add parameters *inherit_class_doc* and *fallback_to_class_doc* " "for :func:`inspect.getdoc`." msgstr "" -#: ../NEWS:7991 +#: ../NEWS:8277 msgid "" ":gh:`131116`: :func:`inspect.getdoc` now correctly returns an inherited " "docstring on :class:`~functools.cached_property` objects if none is given in " "a subclass." msgstr "" -#: ../NEWS:7995 +#: ../NEWS:8281 msgid "" ":gh:`130693`: Add support for ``-nolinestop``, and ``-strictlimits`` options " "to :meth:`!tkinter.Text.search`. Also add the :meth:`!" "tkinter.Text.search_all` method for ``-all`` and ``-overlap`` options." msgstr "" -#: ../NEWS:8000 +#: ../NEWS:8286 msgid "" ":gh:`122255`: In the :mod:`linecache` module and in the Python " "implementation of the :mod:`warnings` module, a ``DeprecationWarning`` is " @@ -13541,41 +14019,41 @@ msgid "" "the C implementation of the :mod:`!warnings` module)." msgstr "" -#: ../NEWS:8005 +#: ../NEWS:8291 msgid "" ":gh:`121011`: :func:`math.log` now supports arbitrary large integer-like " "arguments in the same way as arbitrary large integer arguments." msgstr "" -#: ../NEWS:8008 +#: ../NEWS:8294 msgid "" ":gh:`119668`: Publicly expose and " "document :class:`importlib.machinery.NamespacePath`." msgstr "" -#: ../NEWS:8011 +#: ../NEWS:8297 msgid "" ":gh:`102431`: Clarify constraints for \"logical\" arguments in methods " "of :class:`decimal.Context`." msgstr "" -#: ../NEWS:8014 +#: ../NEWS:8300 msgid ":gh:`81313`: Add the :mod:`math.integer` module (:pep:`791`)." msgstr "" -#: ../NEWS:8019 +#: ../NEWS:8305 msgid "" ":gh:`141579`: Fix :func:`sys.activate_stack_trampoline` to properly support " "the ``perf_jit`` backend. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:8022 +#: ../NEWS:8308 msgid "" ":gh:`114203`: Skip locking if object is already locked by two-mutex critical " "section." msgstr "" -#: ../NEWS:8025 +#: ../NEWS:8311 msgid "" ":gh:`141528`: Suggest " "using :meth:`concurrent.interpreters.Interpreter.close` instead of the " @@ -13583,121 +14061,121 @@ msgid "" "subinterpreters. Patch by Sergey Miryanov." msgstr "" -#: ../NEWS:8029 +#: ../NEWS:8315 msgid "" ":gh:`141367`: Specialize ``CALL_LIST_APPEND`` instruction only for lists, " "not for list subclasses, to avoid unnecessary deopt. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:8032 +#: ../NEWS:8318 msgid "" ":gh:`141312`: Fix the assertion failure in the ``__setstate__`` method of " "the range iterator when a non-integer argument is passed. Patch by Sergey " "Miryanov." msgstr "" -#: ../NEWS:8036 +#: ../NEWS:8322 msgid "" ":gh:`140643`: Add support for ```` and ```` frames to :mod:`!" "profiling.sampling` output to denote active garbage collection and calls to " "native code." msgstr "" -#: ../NEWS:8043 +#: ../NEWS:8329 msgid "" ":gh:`140942`: Add ``.cjs`` to :mod:`mimetypes` to give CommonJS modules a " "MIME type of ``application/node``." msgstr "" -#: ../NEWS:8049 +#: ../NEWS:8335 msgid ":gh:`140479`: Update JIT compilation to use LLVM 21 at build time." msgstr "" -#: ../NEWS:8051 +#: ../NEWS:8337 msgid "" ":gh:`140939`: Fix memory leak when :class:`bytearray` or :class:`bytes` is " "formated with the ``%*b`` format with a large width that results in " "a :exc:`MemoryError`." msgstr "" -#: ../NEWS:8058 +#: ../NEWS:8344 msgid "" ":gh:`140260`: Fix :mod:`struct` data race in endian table initialization " "with subinterpreters. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:8064 +#: ../NEWS:8350 msgid "" ":gh:`140530`: Fix a reference leak when ``raise exc from cause`` fails. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8070 +#: ../NEWS:8356 msgid "" ":gh:`90344`: Replace :class:`io.IncrementalNewlineDecoder` with non " "incremental newline decoders in codebase where :meth:`!" "io.IncrementalNewlineDecoder.decode` was being called once." msgstr "" -#: ../NEWS:8077 +#: ../NEWS:8363 msgid "" ":gh:`140373`: Correctly emit ``PY_UNWIND`` event when generator object is " "closed. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:8080 +#: ../NEWS:8366 msgid "" ":gh:`140729`: Fix pickling error in the sampling profiler when using " "``concurrent.futures.ProcessPoolExecutor`` script can not be properly " "pickled and executed in worker processes." msgstr "" -#: ../NEWS:8084 +#: ../NEWS:8370 msgid "" ":gh:`131527`: Dynamic borrow checking for stackrefs is added to " "``Py_STACKREF_DEBUG`` mode. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:8087 +#: ../NEWS:8373 msgid "" ":gh:`140576`: Fixed crash in :func:`tokenize.generate_tokens` in case of " "specific incorrect input. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:8090 +#: ../NEWS:8376 msgid "" ":gh:`140544`: Speed up accessing interpreter state by caching it in a thread " "local variable. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:8093 +#: ../NEWS:8379 msgid "" ":gh:`140551`: Fixed crash in :class:`dict` if :meth:`dict.clear` is called " "at the lookup stage. Patch by Mikhail Efimov and Inada Naoki." msgstr "" -#: ../NEWS:8096 +#: ../NEWS:8382 msgid "" ":gh:`140517`: Fixed a reference leak when iterating over the result " "of :func:`map` with ``strict=True`` when the input iterables have different " "lengths. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:8100 +#: ../NEWS:8386 msgid "" ":gh:`133467`: Fix race when updating :attr:`!type.__bases__` that could " "allow a read of :attr:`!type.__base__` to observe an inconsistent value on " "the free threaded build." msgstr "" -#: ../NEWS:8104 +#: ../NEWS:8390 msgid "" ":gh:`140471`: Fix potential buffer overflow in :class:`ast.AST` node " "initialization when encountering malformed :attr:`~ast.AST._fields` " "containing non-:class:`str`." msgstr "" -#: ../NEWS:8111 +#: ../NEWS:8397 msgid "" ":gh:`140443`: The logarithm functions (such as :func:`math.log10` " "and :func:`math.log`) may now produce slightly different results for " @@ -13706,7 +14184,7 @@ msgid "" "error and a tighter overall error distribution." msgstr "" -#: ../NEWS:8120 +#: ../NEWS:8406 msgid "" ":gh:`140431`: Fix a crash in Python's :term:`garbage collector ` due to partially initialized :term:`coroutine` objects when " @@ -13714,33 +14192,33 @@ msgid "" "(:func:`sys.set_coroutine_origin_tracking_depth`)." msgstr "" -#: ../NEWS:8125 +#: ../NEWS:8411 msgid "" ":gh:`140476`: Optimize :c:func:`PySet_Add` for :class:`frozenset` " "in :term:`free threaded ` build." msgstr "" -#: ../NEWS:8128 +#: ../NEWS:8414 msgid "" ":gh:`135904`: Add special labels to the assembly created during stencil " "creation to support relocations that the native object file format does not " "support. Specifically, 19 bit branches for AArch64 in Mach-O object files." msgstr "" -#: ../NEWS:8136 +#: ../NEWS:8422 msgid "" ":gh:`140398`: Fix memory leaks in :mod:`readline` " "functions :func:`~readline.read_init_file`, :func:`~readline.read_history_file`, :func:`~readline.write_history_file`, " "and :func:`~readline.append_history_file` when :c:func:`PySys_Audit` fails." msgstr "" -#: ../NEWS:8144 +#: ../NEWS:8430 msgid "" ":gh:`140406`: Fix memory leak when an object's :meth:`~object.__hash__` " "method returns an object that isn't an :class:`int`." msgstr "" -#: ../NEWS:8147 +#: ../NEWS:8433 msgid "" ":gh:`140358`: Restore elapsed time and unreachable object count in GC debug " "output. These were inadvertently removed during a refactor of ``gc.c``. The " @@ -13748,112 +14226,112 @@ msgid "" "unreachable objects. Contributed by Pål Grønås Drange." msgstr "" -#: ../NEWS:8152 +#: ../NEWS:8438 msgid ":gh:`136895`: Update JIT compilation to use LLVM 20 at build time." msgstr "" -#: ../NEWS:8154 +#: ../NEWS:8440 msgid "" ":gh:`139109`: A new tracing frontend for the JIT compiler has been " "implemented. Patch by Ken Jin. Design for CPython by Ken Jin, Mark Shannon " "and Brandt Bucher." msgstr "" -#: ../NEWS:8158 +#: ../NEWS:8444 msgid "" ":gh:`140306`: Fix memory leaks in cross-interpreter channel operations and " "shared namespace handling." msgstr "" -#: ../NEWS:8161 +#: ../NEWS:8447 msgid "" ":gh:`116738`: Make _suggestions module thread-safe on the :term:`free " "threaded ` build." msgstr "" -#: ../NEWS:8164 +#: ../NEWS:8450 msgid ":gh:`140301`: Fix memory leak of ``PyConfig`` in subinterpreters." msgstr "" -#: ../NEWS:8166 +#: ../NEWS:8452 msgid "" ":gh:`140257`: Fix data race between interpreter_clear() and take_gil() on " "eval_breaker during finalization with daemon threads." msgstr "" -#: ../NEWS:8169 +#: ../NEWS:8455 msgid "" ":gh:`139951`: Fixes a regression in GC performance for a growing heap " "composed mostly of small tuples." msgstr "" -#: ../NEWS:8172 +#: ../NEWS:8458 msgid "" "Counts number of actually tracked objects, instead of trackable objects. " "This ensures that untracking tuples has the desired effect of reducing GC " "overhead." msgstr "" -#: ../NEWS:8174 +#: ../NEWS:8460 msgid "" "Does not track most untrackable tuples during creation. This prevents large " "numbers of small tuples causing excessive GCs." msgstr "" -#: ../NEWS:8177 +#: ../NEWS:8463 msgid "" ":gh:`140253`: Wrong placement of a double-star pattern inside a mapping " "pattern now throws a specialized syntax error. Contributed by Bartosz " "Sławecki in :gh:`140253`." msgstr "" -#: ../NEWS:8181 +#: ../NEWS:8467 msgid "" ":gh:`140104`: Fix a bug with exception handling in the JIT. Patch by Ken " "Jin. Bug reported by Daniel Diniz." msgstr "" -#: ../NEWS:8184 +#: ../NEWS:8470 msgid "" ":gh:`140149`: Speed up parsing bytes literals concatenation by using " "PyBytesWriter API and a single memory allocation (about 3x faster)." msgstr "" -#: ../NEWS:8187 +#: ../NEWS:8473 msgid "" ":gh:`140061`: Fixing the checking of whether an object is uniquely " "referenced to ensure free-threaded compatibility. Patch by Sergey Miryanov." msgstr "" -#: ../NEWS:8190 +#: ../NEWS:8476 msgid "" ":gh:`140080`: Fix hang during finalization when attempting to " "call :mod:`atexit` handlers under no memory." msgstr "" -#: ../NEWS:8193 +#: ../NEWS:8479 msgid "" ":gh:`139871`: Update :class:`bytearray` to use a :class:`bytes` under the " "hood as its buffer and add :meth:`bytearray.take_bytes` to take it out." msgstr "" -#: ../NEWS:8196 +#: ../NEWS:8482 msgid ":gh:`140067`: Fix memory leak in sub-interpreter creation." msgstr "" -#: ../NEWS:8198 +#: ../NEWS:8484 msgid "" ":gh:`139914`: Restore support for HP PA-RISC, which has an upwards-growing " "stack." msgstr "" -#: ../NEWS:8201 +#: ../NEWS:8487 msgid "" ":gh:`139817`: Attribute ``__qualname__`` is added " "to :class:`typing.TypeAliasType`. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:8204 +#: ../NEWS:8490 msgid "" ":gh:`135801`: Many functions related to compiling or parsing Python code, " "such as :func:`compile`, :func:`ast.parse`, :func:`symtable.symtable`, " @@ -13862,78 +14340,78 @@ msgid "" "syntax warnings by module name." msgstr "" -#: ../NEWS:8210 +#: ../NEWS:8496 msgid "" ":gh:`139640`: :func:`ast.parse` no longer emits syntax warnings for " "``return``/``break``/``continue`` in ``finally`` (see :pep:`765`) -- they " "are only emitted during compilation." msgstr "" -#: ../NEWS:8214 +#: ../NEWS:8500 msgid "" ":gh:`139640`: Fix swallowing some syntax warnings in different modules if " "they accidentally have the same message and are emitted from the same line. " "Fix duplicated warnings in the ``finally`` block." msgstr "" -#: ../NEWS:8218 +#: ../NEWS:8504 msgid "" ":gh:`139475`: Changes in stackref debugging mode when ``Py_STACKREF_DEBUG`` " "is set. We use the same pattern of refcounting for stackrefs as in " "production build." msgstr "" -#: ../NEWS:8222 +#: ../NEWS:8508 msgid "" ":gh:`139269`: Fix undefined behavior when using unaligned store in JIT's " "``patch_*`` functions." msgstr "" -#: ../NEWS:8225 +#: ../NEWS:8511 msgid "" ":gh:`138944`: Fix :exc:`SyntaxError` message when invalid syntax appears on " "the same line as a valid ``import ... as ...`` or ``from ... import ... " "as ...`` statement. Patch by Brian Schubert." msgstr "" -#: ../NEWS:8229 +#: ../NEWS:8515 msgid "" ":gh:`138857`: Improve :exc:`SyntaxError` message for ``case`` keyword placed " "outside :keyword:`match` body." msgstr "" -#: ../NEWS:8232 +#: ../NEWS:8518 msgid "" ":gh:`131253`: Support the ``--enable-pystats`` build option for the free-" "threaded build." msgstr "" -#: ../NEWS:8235 +#: ../NEWS:8521 msgid "" ":gh:`136327`: Errors when calling functions with invalid values after ``*`` " "and ``**`` now do not include the function name. Patch by Ilia Solin." msgstr "" -#: ../NEWS:8238 +#: ../NEWS:8524 msgid "" ":gh:`134786`: If :c:macro:`Py_TPFLAGS_MANAGED_DICT` " "and :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` are used, " "then :c:macro:`Py_TPFLAGS_HAVE_GC` must be used as well." msgstr "" -#: ../NEWS:8245 +#: ../NEWS:8531 msgid "" ":gh:`141341`: On Windows, rename the ``COMPILER`` macro to ``_Py_COMPILER`` " "to avoid name conflicts. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8248 +#: ../NEWS:8534 msgid "" ":gh:`116146`: Add a new :c:func:`PyImport_CreateModuleFromInitfunc` C-API " "for creating a module from a *spec* and *initfunc*. Patch by Itamar Oren." msgstr "" -#: ../NEWS:8251 +#: ../NEWS:8537 msgid "" ":gh:`141042`: Make qNaN in :c:func:`PyFloat_Pack2` " "and :c:func:`PyFloat_Pack4`, if while conversion to a narrower precision " @@ -13941,37 +14419,37 @@ msgid "" "zero. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:8256 +#: ../NEWS:8542 msgid "" ":gh:`141004`: :c:macro:`!Py_MATH_El` and :c:macro:`!Py_MATH_PIl` are " "deprecated." msgstr "" -#: ../NEWS:8259 +#: ../NEWS:8545 msgid "" ":gh:`141004`: The :c:macro:`!Py_INFINITY` macro is :term:`soft deprecated`." msgstr "" -#: ../NEWS:8261 +#: ../NEWS:8547 msgid "" ":gh:`140556`: :pep:`793`: Add a new entry point for C extension modules, " "``PyModExport_``." msgstr "" -#: ../NEWS:8264 +#: ../NEWS:8550 msgid "" ":gh:`140487`: Fix :c:macro:`Py_RETURN_NOTIMPLEMENTED` in limited C API 3.11 " "and older: don't treat ``Py_NotImplemented`` as immortal. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:8268 +#: ../NEWS:8554 msgid "" ":gh:`140153`: Fix :c:func:`Py_REFCNT` definition on limited C API 3.11-3.13. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8271 +#: ../NEWS:8557 msgid "" ":gh:`139653`: Add :c:func:`PyUnstable_ThreadState_SetStackProtection` " "and :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set " @@ -13979,125 +14457,125 @@ msgid "" "thread state. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8279 +#: ../NEWS:8565 msgid "" ":gh:`140454`: When building the JIT, match the jit_stencils filename " "expectations in Makefile with the generator script. This avoid needless JIT " "recompilation during ``make install``." msgstr "" -#: ../NEWS:8283 +#: ../NEWS:8569 msgid "" ":gh:`140768`: Warn when the WASI SDK version doesn't match what's supported." msgstr "" -#: ../NEWS:8285 +#: ../NEWS:8571 msgid "" ":gh:`140513`: Generate a clear compilation error when " "``_Py_TAIL_CALL_INTERP`` is enabled but either ``preserve_none`` or " "``musttail`` is not supported." msgstr "" -#: ../NEWS:8289 +#: ../NEWS:8575 msgid ":gh:`140475`: Support WASI SDK 25." msgstr "" -#: ../NEWS:8291 +#: ../NEWS:8577 msgid "" ":gh:`140239`: Check ``statx`` availability only on Linux (including Android)." msgstr "" -#: ../NEWS:8293 +#: ../NEWS:8579 msgid ":gh:`140189`: iOS builds were added to CI." msgstr "" -#: ../NEWS:8295 +#: ../NEWS:8581 msgid "" ":gh:`137618`: ``PYTHON_FOR_REGEN`` now requires Python 3.10 to Python 3.15. " "Patch by Adam Turner." msgstr "" -#: ../NEWS:8300 +#: ../NEWS:8586 msgid "Python 3.15.0 alpha 1" msgstr "" -#: ../NEWS:8302 +#: ../NEWS:8588 msgid "*Release date: 2025-10-14*" msgstr "" -#: ../NEWS:8307 +#: ../NEWS:8593 msgid ":gh:`115119`: Update macOS installer to use libmpdecimal 4.0.1." msgstr "" -#: ../NEWS:8309 +#: ../NEWS:8595 msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 9.0.2." msgstr "" -#: ../NEWS:8311 +#: ../NEWS:8597 msgid ":gh:`132339`: Update macOS installer version of OpenSSL to 3.5.4." msgstr "" -#: ../NEWS:8313 +#: ../NEWS:8599 msgid "" ":gh:`137450`: macOS installer shell path management improvements: separate " "the installer ``Shell profile updater`` postinstall script from the ``Update " "Shell Profile.command`` to enable more robust error handling." msgstr "" -#: ../NEWS:8317 +#: ../NEWS:8603 msgid "" ":gh:`137134`: Update macOS installer to ship with SQLite version 3.50.4." msgstr "" -#: ../NEWS:8322 +#: ../NEWS:8608 msgid "" ":gh:`139810`: Installing with ``py install 3[.x]-dev`` will now select final " "versions as well as prereleases." msgstr "" -#: ../NEWS:8325 +#: ../NEWS:8611 msgid ":gh:`139573`: Updated bundled version of OpenSSL to 3.0.18." msgstr "" -#: ../NEWS:8327 +#: ../NEWS:8613 msgid "" ":gh:`138896`: Fix error installing C runtime on non-updated Windows machines" msgstr "" -#: ../NEWS:8329 +#: ../NEWS:8615 msgid ":gh:`138314`: Add :func:`winreg.DeleteTree`." msgstr "" -#: ../NEWS:8331 +#: ../NEWS:8617 msgid "" ":gh:`137136`: Suppress build warnings when build on Windows with ``--" "experimental-jit-interpreter``." msgstr "" -#: ../NEWS:8334 +#: ../NEWS:8620 msgid ":gh:`137134`: Update Windows installer to ship with SQLite 3.50.4." msgstr "" -#: ../NEWS:8336 +#: ../NEWS:8622 msgid "" ":gh:`135099`: Fix a crash that could occur on Windows when a background " "thread waits on a :c:type:`PyMutex` while the main thread is shutting down " "the interpreter." msgstr "" -#: ../NEWS:8340 +#: ../NEWS:8626 msgid "" ":gh:`130727`: Fix a race in internal calls into WMI that can result in an " "\"invalid handle\" exception under high load. Patch by Chris Eibl." msgstr "" -#: ../NEWS:8343 +#: ../NEWS:8629 msgid "" ":gh:`76023`: Make :func:`os.path.realpath` ignore Windows error 1005 when in " "non-strict mode." msgstr "" -#: ../NEWS:8346 +#: ../NEWS:8632 msgid "" ":gh:`133779`: Reverts the change to generate different :file:`pyconfig.h` " "files based on compiler settings, as it was frequently causing extension " @@ -14108,113 +14586,113 @@ msgid "" "with that flag or not." msgstr "" -#: ../NEWS:8354 +#: ../NEWS:8640 msgid "" ":gh:`133626`: Ensures packages are not accidentally bundled into the " "traditional installer." msgstr "" -#: ../NEWS:8357 +#: ../NEWS:8643 msgid "" ":gh:`133580`: Fix :func:`sys.getwindowsversion` failing without setting an " "exception when called on some WinAPI partitions." msgstr "" -#: ../NEWS:8360 +#: ../NEWS:8646 msgid "" ":gh:`133572`: Avoid LsaNtStatus to WinError conversion on unsupported WinAPI " "partitions." msgstr "" -#: ../NEWS:8363 +#: ../NEWS:8649 msgid "" ":gh:`133568`: Fix compile error when using a WinAPI partition that doesn't " "support the RPC runtime library." msgstr "" -#: ../NEWS:8366 +#: ../NEWS:8652 msgid "" ":gh:`133562`: Disable handling of security descriptors by :func:`os.mkdir` " "with mode ``0o700`` on WinAPI partitions that do not support it. This only " "affects custom builds for specialized targets." msgstr "" -#: ../NEWS:8370 +#: ../NEWS:8656 msgid "" ":gh:`133537`: Avoid using console I/O in WinAPI partitions that don’t " "support it" msgstr "" -#: ../NEWS:8373 +#: ../NEWS:8659 msgid "" ":gh:`131942`: Use the Python-specific :c:macro:`Py_DEBUG` macro rather " "than :c:macro:`!_DEBUG` in Windows-related C code. Patch by Xuehai Pan." msgstr "" -#: ../NEWS:8379 +#: ../NEWS:8665 msgid "" ":gh:`139330`: SBOM generation tool didn't cross-check the version and " "checksum values against the ``Modules/expat/refresh.sh`` script, leading to " "the values becoming out-of-date during routine updates." msgstr "" -#: ../NEWS:8383 +#: ../NEWS:8669 msgid "" ":gh:`132006`: XCframeworks now include privacy manifests to satisfy Apple " "App Store submission requirements." msgstr "" -#: ../NEWS:8386 +#: ../NEWS:8672 msgid "" ":gh:`138171`: A script for building an iOS XCframework was added. As part of " "this change, the top level ``iOS`` folder has been moved to be a " "subdirectory of the ``Apple`` folder." msgstr "" -#: ../NEWS:8390 +#: ../NEWS:8676 msgid "" ":gh:`137873`: The iOS test runner has been simplified, resolving some issues " "that have been observed using the runner in GitHub Actions and Azure " "Pipelines test environments." msgstr "" -#: ../NEWS:8394 +#: ../NEWS:8680 msgid "" ":gh:`137484`: Have ``Tools/wasm/wasi`` put the build Python into a directory " "named after the build triple instead of \"build\"." msgstr "" -#: ../NEWS:8397 +#: ../NEWS:8683 msgid "" ":gh:`137025`: The ``wasm_build.py`` script has been removed. ``Tools/wasm/" "emscripten`` and ``Tools/wasm/wasi`` should be used instead, as described in " "the `Dev Guide `__." msgstr "" -#: ../NEWS:8402 +#: ../NEWS:8688 msgid "" ":gh:`137248`: Add a ``--logdir`` option to ``Tools/wasm/wasi`` for " "specifying where to write log files." msgstr "" -#: ../NEWS:8405 +#: ../NEWS:8691 msgid "" ":gh:`137243`: Have Tools/wasm/wasi detect a WASI SDK install in /opt when it " "was directly extracted from a release tarball." msgstr "" -#: ../NEWS:8408 +#: ../NEWS:8694 msgid "" ":gh:`136251`: Fixes and usability improvements for ``Tools/wasm/emscripten/" "web_example``" msgstr "" -#: ../NEWS:8411 +#: ../NEWS:8697 msgid "" ":gh:`135968`: Stubs for ``strip`` are now provided as part of an iOS install." msgstr "" -#: ../NEWS:8413 +#: ../NEWS:8699 msgid "" ":gh:`135379`: The cases generator no longer accepts type annotations on " "stack items. Conversions to non-default types are now done explicitly in " @@ -14222,60 +14700,60 @@ msgid "" "for top-of-stack caching and other future features." msgstr "" -#: ../NEWS:8418 +#: ../NEWS:8704 msgid "" ":gh:`134215`: :term:`REPL` import autocomplete only suggests private modules " "when explicitly specified." msgstr "" -#: ../NEWS:8424 +#: ../NEWS:8710 msgid "" ":gh:`139208`: Fix regrtest ``--fast-ci --verbose``: don't ignore the ``--" "verbose`` option anymore. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8427 +#: ../NEWS:8713 msgid "" ":gh:`138313`: Restore skipped test and add janky workaround to prevent " "select buildbots from failing with a ResourceWarning." msgstr "" -#: ../NEWS:8430 +#: ../NEWS:8716 msgid "" ":gh:`135966`: The iOS testbed now handles the ``app_packages`` folder as a " "site directory." msgstr "" -#: ../NEWS:8433 +#: ../NEWS:8719 msgid "" ":gh:`135494`: Fix regrtest to support excluding tests from ``--pgo`` tests. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8436 +#: ../NEWS:8722 msgid "" ":gh:`132815`: Fix test__opcode: add ``JUMP_BACKWARD`` to specialization " "stats." msgstr "" -#: ../NEWS:8439 +#: ../NEWS:8725 msgid "" ":gh:`135489`: Show verbose output for failing tests during PGO profiling " "step with --enable-optimizations." msgstr "" -#: ../NEWS:8442 +#: ../NEWS:8728 msgid "" ":gh:`135401`: Add a new GitHub CI job to test the :mod:`ssl` module with " "`AWS-LC `_ as the backing cryptography and " "TLS library." msgstr "" -#: ../NEWS:8446 +#: ../NEWS:8732 msgid ":gh:`135120`: Add :func:`!test.support.subTests`." msgstr "" -#: ../NEWS:8448 +#: ../NEWS:8734 msgid "" ":gh:`134567`: Expose log formatter to users in " "TestCase.assertLogs. :func:`unittest.TestCase.assertLogs` will now " @@ -14283,14 +14761,14 @@ msgid "" "output if provided." msgstr "" -#: ../NEWS:8452 +#: ../NEWS:8738 msgid "" ":gh:`133744`: Fix multiprocessing interrupt test. Add an event to " "synchronize the parent process with the child process: wait until the child " "process starts sleeping. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8456 +#: ../NEWS:8742 msgid "" ":gh:`133682`: Fixed test case " "``test.test_annotationlib.TestStringFormat.test_displays`` which ensures " @@ -14298,20 +14776,20 @@ msgid "" "tuples) in string annotations." msgstr "" -#: ../NEWS:8461 +#: ../NEWS:8747 msgid "" ":gh:`133639`: Fix ``TestPyReplAutoindent.test_auto_indent_default()`` " "doesn't run ``input_code``." msgstr "" -#: ../NEWS:8467 +#: ../NEWS:8753 msgid "" ":gh:`139700`: Check consistency of the zip64 end of central directory " "record. Support records with \"zip64 extensible data\" if there are no bytes " "prepended to the ZIP file." msgstr "" -#: ../NEWS:8471 +#: ../NEWS:8757 msgid "" ":gh:`139400`: :mod:`xml.parsers.expat`: Make sure that parent Expat parsers " "are only garbage-collected once they are no longer referenced by subparsers " @@ -14319,7 +14797,7 @@ msgid "" "Patch by Sebastian Pipping." msgstr "" -#: ../NEWS:8477 +#: ../NEWS:8763 msgid "" ":gh:`139283`: :mod:`sqlite3`: correctly handle maximum number of rows to " "fetch in :meth:`Cursor.fetchmany ` and reject " @@ -14327,54 +14805,54 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8482 +#: ../NEWS:8768 msgid "" ":gh:`136053`: :mod:`marshal`: fix a possible crash when " "deserializing :class:`slice` objects." msgstr "" -#: ../NEWS:8485 +#: ../NEWS:8771 msgid "" ":gh:`135661`: Fix parsing start and end tags " "in :class:`html.parser.HTMLParser` according to the HTML5 standard." msgstr "" -#: ../NEWS:8488 +#: ../NEWS:8774 msgid "" "Whitespaces no longer accepted between ```` does not end the script section." msgstr "" -#: ../NEWS:8491 +#: ../NEWS:8777 msgid "" "Vertical tabulation (``\\v``) and non-ASCII whitespaces no longer recognized " "as whitespaces. The only whitespaces are ``\\t\\n\\r\\f`` and space." msgstr "" -#: ../NEWS:8494 +#: ../NEWS:8780 msgid "Null character (U+0000) no longer ends the tag name." msgstr "" -#: ../NEWS:8496 +#: ../NEWS:8782 msgid "" "Attributes and slashes after the tag name in end tags are now ignored, " "instead of terminating after the first ``>`` in quoted attribute value. E.g. " "``\"/>``." msgstr "" -#: ../NEWS:8500 +#: ../NEWS:8786 msgid "" "Multiple slashes and whitespaces between the last attribute and closing " "``>`` are now ignored in both start and end tags. E.g. ````." msgstr "" -#: ../NEWS:8503 +#: ../NEWS:8789 msgid "" "Multiple ``=`` between attribute name and value are no longer collapsed. " "E.g. ```` produces attribute \"foo\" with value \"=bar\"." msgstr "" -#: ../NEWS:8506 +#: ../NEWS:8792 msgid "" ":gh:`135661`: Fix CDATA section parsing in :class:`html.parser.HTMLParser` " "according to the HTML5 standard: ``] ]>`` and ``]] >`` no longer end the " @@ -14383,7 +14861,7 @@ msgid "" "content (SVG or MathML) or as a bogus comment in the HTML namespace." msgstr "" -#: ../NEWS:8513 +#: ../NEWS:8799 msgid "" ":gh:`102555`: Fix comment parsing in :class:`html.parser.HTMLParser` " "according to the HTML5 standard. ``--!>`` now ends the comment. ``-- >`` no " @@ -14391,7 +14869,7 @@ msgid "" "and ``<--->``." msgstr "" -#: ../NEWS:8518 +#: ../NEWS:8804 msgid "" ":gh:`135462`: Fix quadratic complexity in processing specially crafted input " "in :class:`html.parser.HTMLParser`. End-of-file errors are now handled " @@ -14399,65 +14877,65 @@ msgid "" "closed, tags are ignored." msgstr "" -#: ../NEWS:8523 +#: ../NEWS:8809 msgid "" ":gh:`118350`: Fix support of escapable raw text mode (elements \"textarea\" " "and \"title\") in :class:`html.parser.HTMLParser`." msgstr "" -#: ../NEWS:8526 +#: ../NEWS:8812 msgid "" ":gh:`135034`: Fixes multiple issues that allowed ``tarfile`` extraction " "filters (``filter=\"data\"`` and ``filter=\"tar\"``) to be bypassed using " "crafted symlinks and hard links." msgstr "" -#: ../NEWS:8530 +#: ../NEWS:8816 msgid "" "Addresses :cve:`2024-12718`, :cve:`2025-4138`, :cve:`2025-4330`, " "and :cve:`2025-4517`." msgstr "" -#: ../NEWS:8533 +#: ../NEWS:8819 msgid "" ":gh:`133767`: Fix use-after-free in the \"unicode-escape\" decoder with a " "non-\"strict\" error handler." msgstr "" -#: ../NEWS:8536 +#: ../NEWS:8822 msgid "" ":gh:`133623`: Indicate through :data:`ssl.HAS_PSK_TLS13` whether " "the :mod:`ssl` module supports \"External PSKs\" in TLSv1.3, as described in " "RFC 9258. Patch by Will Childs-Klein." msgstr "" -#: ../NEWS:8540 +#: ../NEWS:8826 msgid "" ":gh:`128840`: Short-circuit the processing of long IPv6 addresses early " "in :mod:`ipaddress` to prevent excessive memory consumption and a minor " "denial-of-service." msgstr "" -#: ../NEWS:8547 +#: ../NEWS:8833 msgid "" ":gh:`139482`: Optimize :data:`os.environ.clear() ` by " "calling :manpage:`clearenv(3)` when this function is available. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:8551 +#: ../NEWS:8837 msgid "" ":gh:`139958`: The ``application/toml`` mime type is now supported " "by :mod:`mimetypes`. Patch by Gil Forcada." msgstr "" -#: ../NEWS:8554 +#: ../NEWS:8840 msgid "" ":gh:`139823`: :mod:`ensurepip` now fails with a nicer error message when " "the :mod:`zlib` module is not available." msgstr "" -#: ../NEWS:8557 +#: ../NEWS:8843 msgid "" ":gh:`139905`: Add suggestion to error message for :class:`typing.Generic` " "subclasses when ``cls.__parameters__`` is missing due to a parent class " @@ -14465,38 +14943,38 @@ msgid "" "` in its ``__init_subclass__``." msgstr "" -#: ../NEWS:8562 +#: ../NEWS:8848 msgid "" ":gh:`139894`: Fix incorrect sharing of current task with the child process " "while forking in :mod:`asyncio`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:8565 +#: ../NEWS:8851 msgid "" ":gh:`139845`: Fix to not print KeyboardInterrupt twice in default asyncio " "REPL." msgstr "" -#: ../NEWS:8568 +#: ../NEWS:8854 msgid "" ":gh:`139783`: Fix :func:`inspect.getsourcelines` for the case when a " "decorator is followed by a comment or an empty line." msgstr "" -#: ../NEWS:8571 +#: ../NEWS:8857 msgid "" ":gh:`139809`: Prevent premature colorization of subparser ``prog`` " "in :meth:`argparse.ArgumentParser.add_subparsers` to respect color " "environment variable changes after parser creation." msgstr "" -#: ../NEWS:8575 +#: ../NEWS:8861 msgid "" ":gh:`139736`: Fix excessive indentation in the " "default :mod:`argparse` :class:`!HelpFormatter`. Patch by Alexander Edland." msgstr "" -#: ../NEWS:8578 +#: ../NEWS:8864 msgid "" ":gh:`70765`: :mod:`http.server`: fix default handling of HTTP/0.9 requests " "in :class:`~http.server.BaseHTTPRequestHandler`. Previously, :meth:`!" @@ -14504,36 +14982,36 @@ msgid "" "request although those are not supported in HTTP/0.9. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8584 +#: ../NEWS:8870 msgid "" ":gh:`139322`: Fix :func:`os.getlogin` error handling: fix the error number. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8587 +#: ../NEWS:8873 msgid "" ":gh:`135953`: Add a Gecko format output to the tachyon profiler via ``--" "gecko``." msgstr "" -#: ../NEWS:8590 +#: ../NEWS:8876 msgid "" ":gh:`139184`: :func:`os.forkpty` does now make the returned file descriptor " "non-inheritable." msgstr "" -#: ../NEWS:8593 +#: ../NEWS:8879 msgid "" ":gh:`139391`: Fix an issue when, on non-Windows platforms, it was not " "possible to gracefully exit a ``python -m asyncio`` process suspended by " "Ctrl+Z and later resumed by :manpage:`fg` other than with :manpage:`kill`." msgstr "" -#: ../NEWS:8597 +#: ../NEWS:8883 msgid ":gh:`139374`: :mod:`timeit`: Add color to error tracebacks." msgstr "" -#: ../NEWS:8599 +#: ../NEWS:8885 msgid "" ":gh:`90949`: " "Add :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` " @@ -14543,17 +15021,17 @@ msgid "" "attacks. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8608 +#: ../NEWS:8894 msgid ":gh:`139312`: Upgrade bundled libexpat to 2.7.3" msgstr "" -#: ../NEWS:8610 +#: ../NEWS:8896 msgid "" ":gh:`139289`: Do a real lazy-import on :mod:`rlcompleter` in :mod:`pdb` and " "restore the existing completer after importing :mod:`rlcompleter`." msgstr "" -#: ../NEWS:8613 +#: ../NEWS:8899 msgid "" ":gh:`90949`: " "Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` " @@ -14563,7 +15041,7 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8621 +#: ../NEWS:8907 msgid "" ":gh:`67795`: Functions that take timestamp or timeout arguments now accept " "any real numbers (such as :class:`~decimal.Decimal` " @@ -14571,38 +15049,38 @@ msgid "" "this does not improve precision." msgstr "" -#: ../NEWS:8626 +#: ../NEWS:8912 msgid "" ":gh:`95953`: A CSS class, ``diff_changed``, was added to the changed lines " "in the ``make_table`` output of :class:`difflib.HtmlDiff`. Patch by Katie " "Gardner." msgstr "" -#: ../NEWS:8630 +#: ../NEWS:8916 msgid "" ":gh:`139210`: Fix use-after-free when reporting unknown event " "in :func:`xml.etree.ElementTree.iterparse`. Patch by Ken Jin." msgstr "" -#: ../NEWS:8633 +#: ../NEWS:8919 msgid "" ":gh:`138860`: Lazy import :mod:`rlcompleter` in :mod:`pdb` to avoid deadlock " "in subprocess." msgstr "" -#: ../NEWS:8636 +#: ../NEWS:8922 msgid "" ":gh:`112729`: Fix crash when calling :func:`concurrent.interpreters.create` " "when the process is out of memory." msgstr "" -#: ../NEWS:8639 +#: ../NEWS:8925 msgid "" ":gh:`126016`: Fix an assertion failure when sending :exc:`KeyboardInterrupt` " "to a Python process running a subinterpreter in a separate thread." msgstr "" -#: ../NEWS:8642 +#: ../NEWS:8928 msgid "" ":gh:`118803`: :class:`collections.abc.ByteString` has been removed from " "``collections.abc.__all__``, and :class:`typing.ByteString` has been removed " @@ -14611,7 +15089,7 @@ msgid "" "scheduled for removal in Python 3.17." msgstr "" -#: ../NEWS:8648 +#: ../NEWS:8934 msgid "" "Additionally, the following statements now cause ``DeprecationWarning``\\ s " "to be emitted at runtime: ``from collections.abc import ByteString``, ``from " @@ -14624,50 +15102,50 @@ msgid "" "their respective modules." msgstr "" -#: ../NEWS:8658 +#: ../NEWS:8944 msgid "" ":gh:`135729`: Fix unraisable exception during finalization when " "using :mod:`concurrent.interpreters` in the REPL." msgstr "" -#: ../NEWS:8661 +#: ../NEWS:8947 msgid "" ":gh:`139076`: Fix a bug in the :mod:`pydoc` module that was hiding functions " "in a Python module if they were implemented in an extension module and the " "module did not have ``__all__``." msgstr "" -#: ../NEWS:8665 +#: ../NEWS:8951 msgid ":gh:`139090`: Add :data:`os.RWF_DONTCACHE` constant for Linux 6.14+." msgstr "" -#: ../NEWS:8667 +#: ../NEWS:8953 msgid "" ":gh:`139065`: Fix trailing space before a wrapped long word if the line " "length is exactly *width* in :mod:`textwrap`." msgstr "" -#: ../NEWS:8670 +#: ../NEWS:8956 msgid "" ":gh:`139001`: Fix race condition in :class:`pathlib.Path` on the internal " "``_raw_paths`` field." msgstr "" -#: ../NEWS:8673 +#: ../NEWS:8959 msgid "" ":gh:`138813`: :class:`!multiprocessing.BaseProcess` defaults ``kwargs`` to " "``None`` instead of a shared dictionary." msgstr "" -#: ../NEWS:8676 +#: ../NEWS:8962 msgid ":gh:`138998`: Update bundled libexpat to 2.7.2" msgstr "" -#: ../NEWS:8678 +#: ../NEWS:8964 msgid ":gh:`138993`: Dedent :data:`credits` text." msgstr "" -#: ../NEWS:8680 +#: ../NEWS:8966 msgid "" ":gh:`118803`: Add back :class:`collections.abc.ByteString` " "and :class:`typing.ByteString`. Both had been removed in prior alpha, beta " @@ -14675,56 +15153,56 @@ msgid "" "postponed to Python 3.17." msgstr "" -#: ../NEWS:8685 +#: ../NEWS:8971 msgid "" ":gh:`130567`: Fix possible crash in :func:`locale.strxfrm` due to a platform " "bug on macOS." msgstr "" -#: ../NEWS:8688 +#: ../NEWS:8974 msgid "" ":gh:`137226`: Fix :func:`typing.get_type_hints` calls on " "generic :class:`typing.TypedDict` classes defined with string annotations." msgstr "" -#: ../NEWS:8691 +#: ../NEWS:8977 msgid "" ":gh:`138899`: Executing ``quit`` command in :mod:`pdb` will " "raise :exc:`bdb.BdbQuit` when :mod:`pdb` is started from an asyncio console " "using :func:`breakpoint` or :func:`pdb.set_trace`." msgstr "" -#: ../NEWS:8695 +#: ../NEWS:8981 msgid "" ":gh:`138804`: Raise :exc:`TypeError` instead of :exc:`AttributeError` when " "an argument of incorrect type is passed to :func:`shlex.quote`. This " "restores the behavior of the function prior to 3.14." msgstr "" -#: ../NEWS:8699 +#: ../NEWS:8985 msgid "" ":gh:`138779`: Support device numbers larger than ``2**63-1`` for " "the :attr:`~os.stat_result.st_rdev` field of the :class:`os.stat_result` " "structure." msgstr "" -#: ../NEWS:8703 +#: ../NEWS:8989 msgid "" ":gh:`138682`: Added symmetric difference support " "to :class:`collections.Counter` objects." msgstr "" -#: ../NEWS:8706 +#: ../NEWS:8992 msgid ":gh:`138712`: Add :const:`os.NODEV`." msgstr "" -#: ../NEWS:8708 +#: ../NEWS:8994 msgid "" ":gh:`128636`: Fix crash in PyREPL when os.environ is overwritten with an " "invalid value for mac" msgstr "" -#: ../NEWS:8711 +#: ../NEWS:8997 msgid "" ":gh:`138720`: Fix an issue where :class:`io.BufferedWriter` " "and :class:`io.BufferedRandom` had different definitions of \"closed\" " @@ -14733,41 +15211,41 @@ msgid "" "closed." msgstr "" -#: ../NEWS:8717 +#: ../NEWS:9003 msgid ":gh:`138706`: Update :mod:`unicodedata` database to Unicode 17.0.0." msgstr "" -#: ../NEWS:8719 +#: ../NEWS:9005 msgid "" ":gh:`76007`: Deprecate ``__version__`` from a number of standard library " "modules. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:8722 +#: ../NEWS:9008 msgid "" ":gh:`138535`: Speed up :func:`os.stat` for files with reasonable timestamps. " "Contributed by Jeffrey Bosboom." msgstr "" -#: ../NEWS:8725 +#: ../NEWS:9011 msgid "" ":gh:`116946`: :mod:`curses.panel`: the type " "of :func:`curses.panel.new_panel` is now immutable. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8728 +#: ../NEWS:9014 msgid "" ":gh:`116946`: :mod:`zlib`: the types of :func:`zlib.compressobj` " "and :func:`zlib.decompressobj` are now immutable. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8731 +#: ../NEWS:9017 msgid "" ":gh:`116946`: :mod:`os`: the :class:`os.DirEntry` type and the type " "of :func:`os.scandir` are now immutable. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8734 +#: ../NEWS:9020 msgid "" ":gh:`116946`: :mod:`tkinter`: the types :class:`!_tkinter.Tcl_Obj` (wrapper " "for Tcl objects), :class:`!_tkinter.tktimertoken` (obtained by calling " @@ -14776,20 +15254,20 @@ msgid "" "immutable. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8740 +#: ../NEWS:9026 msgid "" ":gh:`138514`: Raise :exc:`ValueError` when a multi-character string is " "passed to the *echo_char* parameter of :func:`getpass.getpass`. Patch by " "Benjamin Johnson." msgstr "" -#: ../NEWS:8744 +#: ../NEWS:9030 msgid "" ":gh:`137706`: Fix the partial evaluation of annotations that use " "``typing.Annotated[T, x]`` where ``T`` is a forward reference." msgstr "" -#: ../NEWS:8747 +#: ../NEWS:9033 msgid "" ":gh:`88375`: Fix normalization of the ``robots.txt`` rules and URLs in " "the :mod:`urllib.robotparser` module. No longer ignore trailing ``?``. " @@ -14797,23 +15275,23 @@ msgid "" "encoded ones." msgstr "" -#: ../NEWS:8752 +#: ../NEWS:9038 msgid ":gh:`138515`: :mod:`email` is added to Emscripten build." msgstr "" -#: ../NEWS:8754 +#: ../NEWS:9040 msgid "" ":gh:`99948`: :func:`ctypes.util.find_library` now works in Emscripten build." msgstr "" -#: ../NEWS:8756 +#: ../NEWS:9042 msgid "" ":gh:`111788`: Fix parsing errors in the :mod:`urllib.robotparser` module. " "Don't fail trying to parse weird paths. Don't fail trying to decode non-" "UTF-8 ``robots.txt`` files." msgstr "" -#: ../NEWS:8760 +#: ../NEWS:9046 msgid "" ":gh:`138432`: :meth:`zoneinfo.reset_tzpath` will now convert " "any :class:`os.PathLike` objects it receives into strings before adding them " @@ -14823,44 +15301,44 @@ msgid "" "``TypeError``, and present a more informative error message." msgstr "" -#: ../NEWS:8767 +#: ../NEWS:9053 msgid "" ":gh:`132657`: Improve the scaling of :func:`copy.copy` " "and :func:`copy.deepcopy` in the free-threading build." msgstr "" -#: ../NEWS:8770 +#: ../NEWS:9056 msgid "" ":gh:`116946`: The types of :func:`select.poll` and :func:`select.epoll` " "objects are now immutable. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8773 +#: ../NEWS:9059 msgid "" ":gh:`116946`: The :class:`!_random.Random` C type is now immutable. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:8776 +#: ../NEWS:9062 msgid "" ":gh:`57911`: When extracting tar files on Windows, slashes in symlink " "targets will be replaced by backslashes to prevent corrupted links." msgstr "" -#: ../NEWS:8779 +#: ../NEWS:9065 msgid "" ":gh:`138205`: Removed the :meth:`~mmap.mmap.resize` method on platforms that " "don't support the underlying syscall, instead of raising " "a :exc:`SystemError`." msgstr "" -#: ../NEWS:8783 +#: ../NEWS:9069 msgid "" ":gh:`138008`: Fix segmentation faults in the :mod:`ctypes` module due to " "invalid :attr:`~ctypes._CFuncPtr.argtypes`. Patch by Dung Nguyen." msgstr "" -#: ../NEWS:8786 +#: ../NEWS:9072 msgid "" ":gh:`138252`: :mod:`ssl`: :class:`~ssl.SSLContext` objects can now set " "client and server TLS signature algorithms. If Python has been built with " @@ -14868,39 +15346,39 @@ msgid "" "signature algorithms selected on a connection." msgstr "" -#: ../NEWS:8791 +#: ../NEWS:9077 msgid "" ":gh:`138253`: Add the *block* parameter in the :meth:`!put` and :meth:`!get` " "methods of the :mod:`concurrent.interpreters` queues for compatibility with " "the :class:`queue.Queue` interface." msgstr "" -#: ../NEWS:8795 +#: ../NEWS:9081 msgid "" ":gh:`60462`: Fix :func:`locale.strxfrm` on Solaris (and possibly other " "platforms)." msgstr "" -#: ../NEWS:8798 +#: ../NEWS:9084 msgid "" ":gh:`138239`: The REPL now highlights :keyword:`type` as a soft keyword " "in :ref:`type statements `." msgstr "" -#: ../NEWS:8801 +#: ../NEWS:9087 msgid "" ":gh:`78502`: :class:`mmap.mmap` now has a *trackfd* parameter on Windows; if " "it is ``False``, the file handle corresponding to *fileno* will not be " "duplicated." msgstr "" -#: ../NEWS:8805 +#: ../NEWS:9091 msgid "" ":gh:`138204`: Forbid expansion of shared anonymous :mod:`memory maps ` " "on Linux, which caused a bus error." msgstr "" -#: ../NEWS:8808 +#: ../NEWS:9094 msgid "" ":gh:`138010`: Fix an issue where defining a class with " "a :deco:`warnings.deprecated`-decorated base class may not invoke the " @@ -14908,53 +15386,53 @@ msgid "" "inheritance. Patch by Brian Schubert." msgstr "" -#: ../NEWS:8813 +#: ../NEWS:9099 msgid "" ":gh:`134716`: Add support of regular expressions in the :option:`-W` option " "and the :envvar:`PYTHONWARNINGS` environment variable." msgstr "" -#: ../NEWS:8816 +#: ../NEWS:9102 msgid "" ":gh:`138133`: Prevent infinite traceback loop when sending CTRL^C to Python " "through ``strace``." msgstr "" -#: ../NEWS:8819 +#: ../NEWS:9105 msgid "" ":gh:`138122`: Implement :pep:`799` -- A dedicated profiling package for " "organizing Python profiling tools. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:8822 +#: ../NEWS:9108 msgid "" ":gh:`138092`: Fixed a bug in :meth:`mmap.mmap.flush` where calling with only " "an offset parameter would fail." msgstr "" -#: ../NEWS:8825 +#: ../NEWS:9111 msgid "" ":gh:`138044`: Remove compatibility shim for deprecated parameter *package* " "in :func:`importlib.resources.files`. Patch by Semyon Moroz." msgstr "" -#: ../NEWS:8828 +#: ../NEWS:9114 msgid ":gh:`86819`: :mod:`socket`: Add missing constants for ISO-TP sockets." msgstr "" -#: ../NEWS:8830 +#: ../NEWS:9116 msgid "" ":gh:`137884`: Add :func:`threading.get_native_id` support for Illumos/" "Solaris. Patch by Yüce Tekol." msgstr "" -#: ../NEWS:8833 +#: ../NEWS:9119 msgid "" ":gh:`134869`: Fix an issue where pressing Ctrl+C during tab completion in " "the REPL would leave the autocompletion menu in a corrupted state." msgstr "" -#: ../NEWS:8836 +#: ../NEWS:9122 msgid "" ":gh:`137840`: :class:`typing.TypedDict` now supports the ``closed`` and " "``extra_items`` keyword arguments (as described in :pep:`728`) to control " @@ -14962,7 +15440,7 @@ msgid "" "type." msgstr "" -#: ../NEWS:8841 +#: ../NEWS:9127 msgid "" ":gh:`132947`: Applied changes to ``importlib.metadata`` from " "`importlib_metadata 8.7 ` was blocked in one " @@ -15034,33 +15512,33 @@ msgid "" "in another thread." msgstr "" -#: ../NEWS:8882 +#: ../NEWS:9168 msgid "" ":gh:`92936`: Update regex used by ``http.cookies.SimpleCookie`` to handle " "values containing double quotes." msgstr "" -#: ../NEWS:8885 +#: ../NEWS:9171 msgid "" ":gh:`137426`: Remove the code deprecation of " "``importlib.abc.ResourceLoader``. It is documented as deprecated, but left " "for backwards compatibility with other classes in ``importlib.abc``." msgstr "" -#: ../NEWS:8889 +#: ../NEWS:9175 msgid "" ":gh:`137490`: Handle :data:`~errno.ECANCELED` in the same way " "as :data:`~errno.EINTR` in :func:`signal.sigwaitinfo` on NetBSD." msgstr "" -#: ../NEWS:8892 +#: ../NEWS:9178 msgid "" ":gh:`137512`: Add new constants in the :mod:`resource` " "module: :data:`~resource.RLIMIT_NTHR`, :data:`~resource.RLIMIT_UMTXP`, :data:`~resource.RLIMIT_PIPEBUF`, :data:`~resource.RLIMIT_THREADS`, :data:`~resource.RLIM_SAVED_CUR`, " "and :data:`~resource.RLIM_SAVED_MAX`." msgstr "" -#: ../NEWS:8897 +#: ../NEWS:9183 msgid "" ":gh:`137044`: :data:`resource.RLIM_INFINITY` is now always a positive " "integer. On all supported platforms, it is larger than any limited resource " @@ -15068,19 +15546,19 @@ msgid "" "could be negative, such as -1 or -3, depending on platform." msgstr "" -#: ../NEWS:8902 +#: ../NEWS:9188 msgid "" ":gh:`137477`: Fix :func:`!inspect.getblock`, :func:`inspect.getsourcelines` " "and :func:`inspect.getsource` for generator expressions." msgstr "" -#: ../NEWS:8905 +#: ../NEWS:9191 msgid "" ":gh:`137481`: Calendar uses the lengths of the locale's weekdays to decide " "if the width requires abbreviation." msgstr "" -#: ../NEWS:8908 +#: ../NEWS:9194 msgid "" ":gh:`137466`: Remove undocumented :func:`!glob.glob0` and :func:`!" "glob.glob1` functions, which have been deprecated since Python 3.13. " @@ -15088,7 +15566,7 @@ msgid "" "instead." msgstr "" -#: ../NEWS:8912 +#: ../NEWS:9198 msgid "" ":gh:`137044`: Return large limit values as positive integers instead of " "negative integers in :func:`resource.getrlimit`. Accept large values and " @@ -15096,18 +15574,18 @@ msgid "" "in :func:`resource.setrlimit`." msgstr "" -#: ../NEWS:8917 +#: ../NEWS:9203 msgid ":gh:`115766`: Fix :attr:`!ipaddress.IPv4Interface.is_unspecified`." msgstr "" -#: ../NEWS:8919 +#: ../NEWS:9205 msgid "" ":gh:`75989`: :func:`tarfile.TarFile.extractall` " "and :func:`tarfile.TarFile.extract` now overwrite symlinks when extracting " "hardlinks. (Contributed by Alexander Enrique Urieles Nieto in :gh:`75989`.)" msgstr "" -#: ../NEWS:8924 +#: ../NEWS:9210 msgid "" ":gh:`137017`: Fix :obj:`threading.Thread.is_alive` to remain ``True`` until " "the underlying OS thread is fully cleaned up. This avoids false negatives in " @@ -15115,13 +15593,13 @@ msgid "" "premature :obj:`threading.Thread.is_alive` calls." msgstr "" -#: ../NEWS:8929 +#: ../NEWS:9215 msgid "" ":gh:`137273`: Fix debug assertion failure in :func:`locale.setlocale` on " "Windows." msgstr "" -#: ../NEWS:8932 +#: ../NEWS:9218 msgid "" ":gh:`137191`: Fix how type parameters are collected, " "when :class:`typing.Protocol` are specified with explicit parameters. " @@ -15130,87 +15608,87 @@ msgid "" "bug." msgstr "" -#: ../NEWS:8938 +#: ../NEWS:9224 msgid "" ":gh:`137282`: Fix tab completion and :func:`dir` " "on :mod:`concurrent.futures`." msgstr "" -#: ../NEWS:8941 +#: ../NEWS:9227 msgid "" ":gh:`137257`: Bump the version of pip bundled in ensurepip to version 25.2" msgstr "" -#: ../NEWS:8943 +#: ../NEWS:9229 msgid "" ":gh:`137239`: :mod:`heapq`: Update :data:`!heapq.__all__` with ``*_max`` " "functions." msgstr "" -#: ../NEWS:8946 +#: ../NEWS:9232 msgid "" ":gh:`124503`: :func:`ast.literal_eval` is 10-20% faster for small inputs." msgstr "" -#: ../NEWS:8948 +#: ../NEWS:9234 msgid "" ":gh:`137226`: Fix behavior of :meth:`annotationlib.ForwardRef.evaluate` when " "the *type_params* parameter is passed and the name of a type param is also " "present in an enclosing scope." msgstr "" -#: ../NEWS:8952 +#: ../NEWS:9238 msgid "" ":gh:`137197`: :class:`~ssl.SSLContext` objects can now set TLS 1.3 cipher " "suites via :meth:`~ssl.SSLContext.set_ciphersuites`." msgstr "" -#: ../NEWS:8955 +#: ../NEWS:9241 msgid "" ":gh:`81325`: :class:`tarfile.TarFile` now accepts a :term:`path-like ` when working on a tar archive. (Contributed by Alexander " "Enrique Urieles Nieto in :gh:`81325`.)" msgstr "" -#: ../NEWS:8959 +#: ../NEWS:9245 msgid "" ":gh:`137185`: Fix a potential async-signal-safety issue " "in :mod:`faulthandler` when printing C stack traces." msgstr "" -#: ../NEWS:8962 +#: ../NEWS:9248 msgid "" ":gh:`133951`: Remove lib64-lib symlink creation when creating new virtual " "environments in :mod:`venv` module" msgstr "" -#: ../NEWS:8965 +#: ../NEWS:9251 msgid "" ":gh:`130522`: Fix unraisable :exc:`TypeError` raised " "during :term:`interpreter shutdown` in the :mod:`threading` module." msgstr "" -#: ../NEWS:8968 +#: ../NEWS:9254 msgid "" ":gh:`137059`: Fix handling of file URLs with a Windows drive letter in the " "URL authority by :func:`urllib.request.url2pathname`. This fixes a " "regression in earlier pre-releases of Python 3.14." msgstr "" -#: ../NEWS:8972 +#: ../NEWS:9258 msgid "" ":gh:`136980`: Remove unused C tracing code in bdb for event type ``c_call``, " "``c_return`` and ``c_exception``" msgstr "" -#: ../NEWS:8975 +#: ../NEWS:9261 msgid "" ":gh:`130577`: :mod:`tarfile` now validates archives to ensure member offsets " "are non-negative. (Contributed by Alexander Enrique Urieles Nieto " "in :gh:`130577`.)" msgstr "" -#: ../NEWS:8979 +#: ../NEWS:9265 msgid "" ":gh:`136170`: Removed the unreleased ``zipfile.ZipFile.data_offset`` " "property added in 3.14.0a7 as it wasn't fully clear which behavior it should " @@ -15218,14 +15696,14 @@ msgid "" "expect." msgstr "" -#: ../NEWS:8983 +#: ../NEWS:9269 msgid "" ":gh:`121237`: Support ``%:z`` directive " "for :meth:`datetime.datetime.strptime`, :meth:`datetime.time.strptime` " "and :func:`time.strptime`. Patch by Lucas Esposito and Semyon Moroz." msgstr "" -#: ../NEWS:8987 +#: ../NEWS:9273 msgid "" ":gh:`136929`: Ensure that hash functions guaranteed to be always *available* " "exist as attributes of :mod:`hashlib` even if they will not work at runtime " @@ -15234,30 +15712,30 @@ msgid "" "has been built without MD5 support. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:8994 +#: ../NEWS:9280 msgid ":gh:`124621`: pyrepl now works in Emscripten." msgstr "" -#: ../NEWS:8996 +#: ../NEWS:9282 msgid "" ":gh:`136914`: Fix retrieval of :attr:`doctest.DocTest.lineno` for objects " "decorated with :func:`functools.cache` or :class:`functools.cached_property`." msgstr "" -#: ../NEWS:9000 +#: ../NEWS:9286 msgid "" ":gh:`136912`: :func:`hmac.digest` now properly handles large keys and " "messages by falling back to the pure Python implementation when necessary. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9004 +#: ../NEWS:9290 msgid "" ":gh:`83424`: Allows creating a :class:`ctypes.CDLL` without name when " "passing a handle as an argument." msgstr "" -#: ../NEWS:9007 +#: ../NEWS:9293 msgid "" ":gh:`135228`: When :mod:`dataclasses` replaces a class with a slotted " "dataclass, the original class can now be garbage collected again. Earlier " @@ -15265,13 +15743,13 @@ msgid "" "together with the replacement class synthesized by :mod:`dataclasses`." msgstr "" -#: ../NEWS:9012 +#: ../NEWS:9298 msgid "" ":gh:`136874`: Discard URL query and fragment " "in :func:`urllib.request.url2pathname`." msgstr "" -#: ../NEWS:9015 +#: ../NEWS:9301 msgid "" ":gh:`136787`: :mod:`hashlib`: improve exception messages when a hash " "algorithm is not recognized, blocked by the current security policy or " @@ -15279,11 +15757,11 @@ msgid "" "SHAKE). Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9020 +#: ../NEWS:9306 msgid ":gh:`130645`: Enable color help by default in :mod:`argparse`." msgstr "" -#: ../NEWS:9022 +#: ../NEWS:9308 msgid "" ":gh:`131724`: In :mod:`http.client`, a new *max_response_headers* keyword-" "only parameter has been added to :class:`~http.client.HTTPConnection` " @@ -15292,7 +15770,7 @@ msgid "" "service attacks." msgstr "" -#: ../NEWS:9029 +#: ../NEWS:9315 msgid "" ":gh:`135427`: With :option:`-Werror <-W>`, the DeprecationWarning emitted " "by :py:func:`os.fork` and :py:func:`os.forkpty` in mutli-threaded processes " @@ -15300,24 +15778,24 @@ msgid "" "Rani Pinchuk." msgstr "" -#: ../NEWS:9034 +#: ../NEWS:9320 msgid "" ":gh:`136234`: Fix :meth:`asyncio.WriteTransport.writelines` to be robust to " "connection failure, by using the same behavior " "as :meth:`~asyncio.WriteTransport.write`." msgstr "" -#: ../NEWS:9038 +#: ../NEWS:9324 msgid ":gh:`53144`: :mod:`!encodings.aliases`: Add ``latin_N`` aliases" msgstr "" -#: ../NEWS:9040 +#: ../NEWS:9326 msgid "" ":gh:`136669`: :mod:`!_asyncio` is now statically linked for improved " "performance." msgstr "" -#: ../NEWS:9043 +#: ../NEWS:9329 msgid "" ":gh:`136134`: :meth:`!SMTP.auth_cram_md5` now raises " "an :exc:`~smtplib.SMTPException` instead of a :exc:`ValueError` if Python " @@ -15326,89 +15804,89 @@ msgid "" "assumed to support it. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9049 +#: ../NEWS:9335 msgid "" ":gh:`136134`: :meth:`IMAP4.login_cram_md5 ` " "now raises an :exc:`IMAP4.error ` if CRAM-MD5 " "authentication is not supported. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9053 +#: ../NEWS:9339 msgid "" ":gh:`136591`: :mod:`!_hashlib`: avoid using deprecated " "functions :manpage:`ERR_func_error_string` and :manpage:`EVP_MD_CTX_md` when " "using OpenSSL 3.0 and later. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9057 +#: ../NEWS:9343 msgid "" ":gh:`136571`: :meth:`datetime.date.fromisocalendar` can now raise " "OverflowError for out of range arguments." msgstr "" -#: ../NEWS:9060 +#: ../NEWS:9346 msgid ":gh:`136549`: Fix signature of :func:`threading.excepthook`." msgstr "" -#: ../NEWS:9062 +#: ../NEWS:9348 msgid "" ":gh:`136492`: Expose :pep:`667`'s :data:`~types.FrameLocalsProxyType` in " "the :mod:`types` module." msgstr "" -#: ../NEWS:9065 +#: ../NEWS:9351 msgid ":gh:`83336`: ``utf8_sig`` is now aliased to :mod:`encodings.utf_8_sig`" msgstr "" -#: ../NEWS:9067 +#: ../NEWS:9353 msgid "" ":gh:`136523`: Fix :class:`wave.Wave_write` emitting an unraisable when open " "raises." msgstr "" -#: ../NEWS:9070 +#: ../NEWS:9356 msgid ":gh:`136507`: Fix mimetypes CLI to handle multiple file parameters." msgstr "" -#: ../NEWS:9072 +#: ../NEWS:9358 msgid "" ":gh:`52876`: Add missing ``keepends`` (default ``True``) parameter " "to :meth:`!codecs.StreamReaderWriter.readline` and :meth:`!" "codecs.StreamReaderWriter.readlines`." msgstr "" -#: ../NEWS:9076 +#: ../NEWS:9362 msgid "" ":gh:`136470`: Correct :class:`concurrent.futures.InterpreterPoolExecutor`'s " "default thread name." msgstr "" -#: ../NEWS:9079 +#: ../NEWS:9365 msgid "" ":gh:`136476`: Fix a bug that was causing the ``get_async_stack_trace`` " "function to miss some frames in the stack trace." msgstr "" -#: ../NEWS:9082 +#: ../NEWS:9368 msgid "" ":gh:`136434`: Fix docs generation of ``UnboundItem`` " "in :mod:`concurrent.interpreters` when running with :option:`-OO`." msgstr "" -#: ../NEWS:9085 +#: ../NEWS:9371 msgid "" ":gh:`136380`: Raises :exc:`AttributeError` when " "accessing :class:`concurrent.futures.InterpreterPoolExecutor` and " "subinterpreters are not available." msgstr "" -#: ../NEWS:9089 +#: ../NEWS:9375 msgid "" ":gh:`72327`: Suggest using the system command prompt when ``pip install`` is " "typed into the REPL. Patch by Tom Viner, Richard Si, and Brian Schubert." msgstr "" -#: ../NEWS:9092 +#: ../NEWS:9378 msgid "" ":gh:`135953`: Implement a new high-frequency runtime profiler that leverages " "the existing remote debugging functionality to collect detailed execution " @@ -15421,128 +15899,128 @@ msgid "" "applications." msgstr "" -#: ../NEWS:9102 +#: ../NEWS:9388 msgid "" ":gh:`136021`: Make ``type_params`` parameter required in :func:`!" "typing._eval_type` after a deprecation period for not providing this " "parameter. Also remove the :exc:`DeprecationWarning` for the old behavior." msgstr "" -#: ../NEWS:9107 +#: ../NEWS:9393 msgid "" ":gh:`136286`: Fix pickling failures for protocols 0 and 1 for many objects " "related to subinterpreters." msgstr "" -#: ../NEWS:9110 +#: ../NEWS:9396 msgid "" ":gh:`136047`: Fix issues with :mod:`typing` when the C implementation " "of :mod:`abc` is not available." msgstr "" -#: ../NEWS:9113 +#: ../NEWS:9399 msgid "" ":gh:`136316`: Improve support for evaluating nested forward references " "in :func:`typing.evaluate_forward_ref`." msgstr "" -#: ../NEWS:9116 +#: ../NEWS:9402 msgid "" ":gh:`136306`: :mod:`ssl` can now get and set groups used for key agreement." msgstr "" -#: ../NEWS:9118 +#: ../NEWS:9404 msgid "" ":gh:`136156`: :func:`tempfile.TemporaryFile` no longer " "uses :data:`os.O_EXCL` with :data:`os.O_TMPFILE`, so it's possible to use " "``linkat()`` on the file descriptor. Patch by Victor Stinner." msgstr "" -#: ../NEWS:9122 +#: ../NEWS:9408 msgid "" ":gh:`133982`: Update Python implementation of :class:`io.BytesIO` to be " "thread safe." msgstr "" -#: ../NEWS:9125 +#: ../NEWS:9411 msgid "" ":gh:`136193`: Improve :exc:`TypeError` error message, when richcomparing " "two :class:`types.SimpleNamespace` objects." msgstr "" -#: ../NEWS:9128 +#: ../NEWS:9414 msgid "" ":gh:`136097`: Fix potential infinite recursion and KeyError in ``sysconfig --" "generate-posix-vars``." msgstr "" -#: ../NEWS:9131 +#: ../NEWS:9417 msgid "" ":gh:`85702`: If ``zoneinfo._common.load_tzdata`` is given a package without " "a resource a :exc:`zoneinfo.ZoneInfoNotFoundError` is raised rather than " "a :exc:`PermissionError`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:9135 +#: ../NEWS:9421 msgid "" ":gh:`90733`: Improve error messages when reporting invalid parameters " "in :func:`hashlib.scrypt`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9138 +#: ../NEWS:9424 msgid "" ":gh:`134759`: Fix :exc:`UnboundLocalError` " "in :func:`email.message.Message.get_payload` when the payload to decode is " "a :class:`bytes` object. Patch by Kliment Lamonov." msgstr "" -#: ../NEWS:9142 +#: ../NEWS:9428 msgid "" ":gh:`136028`: Fix parsing month names containing \"İ\" (U+0130, LATIN " "CAPITAL LETTER I WITH DOT ABOVE) in :func:`time.strptime`. This affects " "locales az_AZ, ber_DZ, ber_MA and crh_UA." msgstr "" -#: ../NEWS:9146 +#: ../NEWS:9432 msgid "" ":gh:`87135`: Acquiring a :class:`threading.Lock` or :class:`threading.RLock` " "at interpreter shutdown will raise :exc:`PythonFinalizationError` if Python " "can determine that it would otherwise deadlock." msgstr "" -#: ../NEWS:9150 +#: ../NEWS:9436 msgid "" ":gh:`135995`: In the palmos encoding, make byte ``0x9b`` decode to ``›`` " "(U+203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK)." msgstr "" -#: ../NEWS:9153 +#: ../NEWS:9439 msgid "" ":gh:`105456`: Removed :mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!" "sre_parse` modules." msgstr "" -#: ../NEWS:9156 +#: ../NEWS:9442 msgid "" ":gh:`53203`: Fix :func:`time.strptime` for ``%c`` and ``%x`` formats on " "locales byn_ER, wal_ET and lzh_TW, and for ``%X`` format on locales ar_SA, " "bg_BG and lzh_TW." msgstr "" -#: ../NEWS:9160 +#: ../NEWS:9446 msgid "" ":gh:`135878`: Fixes a crash of :class:`types.SimpleNamespace` on :term:`free " "threading` builds, when several threads were calling " "its :meth:`~object.__repr__` method at the same time." msgstr "" -#: ../NEWS:9164 +#: ../NEWS:9450 msgid "" ":gh:`135853`: Add :func:`math.fmax` and :func:`math.fmin` to get the larger " "and smaller of two floating-point values. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9167 +#: ../NEWS:9453 msgid "" ":gh:`135836`: Fix :exc:`IndexError` " "in :meth:`asyncio.loop.create_connection` that could occur when non-" @@ -15550,14 +16028,14 @@ msgid "" "``close()`` raises :exc:`!OSError`." msgstr "" -#: ../NEWS:9171 +#: ../NEWS:9457 msgid "" ":gh:`135853`: :mod:`math`: expose C99 :func:`~math.signbit` function to " "determine whether the sign bit of a floating-point value is set. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:9175 +#: ../NEWS:9461 msgid "" ":gh:`134531`: :mod:`hmac`: use the :manpage:`EVP_MAC(3ssl)` interface for " "HMAC when Python is built with OpenSSL 3.0 and later instead of the " @@ -15565,7 +16043,7 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:9180 +#: ../NEWS:9466 msgid "" ":gh:`135836`: Fix :exc:`IndexError` " "in :meth:`asyncio.loop.create_connection` that could occur when the Happy " @@ -15573,27 +16051,27 @@ msgid "" "attempts." msgstr "" -#: ../NEWS:9184 +#: ../NEWS:9470 msgid "" ":gh:`135855`: Raise :exc:`TypeError` instead of :exc:`SystemError` " "when :func:`!_interpreters.set___main___attrs` is passed a non-dict object. " "Patch by Brian Schubert." msgstr "" -#: ../NEWS:9188 +#: ../NEWS:9474 msgid "" ":gh:`135823`: :mod:`netrc`: improve the error message when the security " "check for the ownership of the default configuration file ``~/.netrc`` " "fails. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9192 +#: ../NEWS:9478 msgid "" ":gh:`135815`: :mod:`netrc`: skip security checks if :func:`os.getuid` is " "missing. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9195 +#: ../NEWS:9481 msgid "" ":gh:`135640`: Address bug where it was possible to " "call :func:`xml.etree.ElementTree.ElementTree.write` on an ElementTree " @@ -15601,12 +16079,12 @@ msgid "" "to ``write`` if it already existed." msgstr "" -#: ../NEWS:9200 +#: ../NEWS:9486 msgid "" ":gh:`90117`: Speed up :mod:`pprint` for :class:`list` and :class:`tuple`." msgstr "" -#: ../NEWS:9202 +#: ../NEWS:9488 msgid "" ":gh:`135759`: :mod:`hashlib`: reject negative digest lengths in OpenSSL-" "based SHAKE objects by raising a :exc:`ValueError`. Previously, negative " @@ -15614,128 +16092,128 @@ msgid "" "a :exc:`SystemError`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9207 +#: ../NEWS:9493 msgid "" ":gh:`123471`: Make concurrent iterations over :class:`itertools.chain` safe " "under :term:`free threading`." msgstr "" -#: ../NEWS:9210 +#: ../NEWS:9496 msgid "" ":gh:`135645`: Added ``supports_isolated_interpreters`` field " "to :data:`sys.implementation`." msgstr "" -#: ../NEWS:9213 +#: ../NEWS:9499 msgid "" ":gh:`135646`: Raise consistent :exc:`NameError` exceptions " "in :func:`annotationlib.ForwardRef.evaluate`" msgstr "" -#: ../NEWS:9216 +#: ../NEWS:9502 msgid "" ":gh:`135557`: Fix races on :mod:`heapq` updates and :class:`list` reads on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:9219 +#: ../NEWS:9505 msgid "" ":gh:`119180`: Only fetch globals and locals if necessary " "in :func:`annotationlib.get_annotations`" msgstr "" -#: ../NEWS:9222 +#: ../NEWS:9508 msgid "" ":gh:`135561`: Fix a crash on DEBUG builds when an HACL* HMAC routine fails. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9225 +#: ../NEWS:9511 msgid "" ":gh:`135386`: Fix opening a :mod:`dbm.sqlite3` database for reading from " "read-only file or directory." msgstr "" -#: ../NEWS:9228 +#: ../NEWS:9514 msgid "" ":gh:`135444`: Fix :meth:`asyncio.DatagramTransport.sendto` to account for " "datagram header size when data cannot be sent." msgstr "" -#: ../NEWS:9231 +#: ../NEWS:9517 msgid "" ":gh:`65697`: :class:`configparser`'s error message when attempting to write " "an invalid key is now more helpful." msgstr "" -#: ../NEWS:9234 +#: ../NEWS:9520 msgid "" ":gh:`135497`: Fix :func:`os.getlogin` failing for longer usernames on BSD-" "based platforms." msgstr "" -#: ../NEWS:9237 +#: ../NEWS:9523 msgid "" ":gh:`135487`: Fix :meth:`!reprlib.Repr.repr_int` when given integers with " "more than :func:`sys.get_int_max_str_digits` digits. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9241 +#: ../NEWS:9527 msgid "" ":gh:`135429`: Fix the argument mismatch in ``_lsprof`` for ``PY_THROW`` " "event." msgstr "" -#: ../NEWS:9244 +#: ../NEWS:9530 msgid "" ":gh:`135368`: Fix :class:`unittest.mock.Mock` generation " "on :func:`dataclasses.dataclass` objects. Now all special attributes are set " "as it was before :gh:`124429`." msgstr "" -#: ../NEWS:9248 +#: ../NEWS:9534 msgid "" ":gh:`135336`: :mod:`json` now encodes strings up to 2.2x faster if they " "consist solely of characters that don’t require escaping." msgstr "" -#: ../NEWS:9251 +#: ../NEWS:9537 msgid "" ":gh:`135335`: :mod:`multiprocessing`: Flush ``stdout`` and ``stderr`` after " "preloading modules in the ``forkserver``." msgstr "" -#: ../NEWS:9254 +#: ../NEWS:9540 msgid "" ":gh:`126631`: Fix :mod:`multiprocessing` ``forkserver`` bug which prevented " "``__main__`` from being preloaded." msgstr "" -#: ../NEWS:9257 +#: ../NEWS:9543 msgid "" ":gh:`133967`: Do not normalize :mod:`locale` name 'C.UTF-8' to 'en_US.UTF-8'." msgstr "" -#: ../NEWS:9259 +#: ../NEWS:9545 msgid "" ":gh:`130870`: Preserve :class:`types.GenericAlias` subclasses " "in :func:`typing.get_type_hints`" msgstr "" -#: ../NEWS:9262 +#: ../NEWS:9548 msgid "" ":gh:`135321`: Raise a correct exception for values greater than 0x7fffffff " "for the ``BINSTRING`` opcode in the C implementation of :mod:`pickle`." msgstr "" -#: ../NEWS:9265 +#: ../NEWS:9551 msgid "" ":gh:`121914`: Changed the names of the symbol tables for lambda expressions " "and generator expressions to \"\" and \"\" respectively to " "avoid conflicts with user-defined names." msgstr "" -#: ../NEWS:9269 +#: ../NEWS:9555 msgid "" ":gh:`135276`: Synchronized zipfile.Path with zipp 3.23, including improved " "performance of :meth:`zipfile.Path.open` for non-reading modes, rely " @@ -15745,7 +16223,7 @@ msgid "" "working with a zipfile on disk." msgstr "" -#: ../NEWS:9276 +#: ../NEWS:9562 msgid "" ":gh:`135234`: :mod:`hashlib`: improve exception messages when an OpenSSL " "function failed. When memory allocation fails on OpenSSL's side, " @@ -15753,7 +16231,7 @@ msgid "" "Bénédikt Tran." msgstr "" -#: ../NEWS:9281 +#: ../NEWS:9567 msgid "" ":gh:`135244`: :mod:`uuid`: when the MAC address cannot be determined, the 48-" "bit node ID is now generated with a cryptographically-secure pseudo-random " @@ -15762,52 +16240,52 @@ msgid "" "and :func:`~uuid.uuid6`." msgstr "" -#: ../NEWS:9287 +#: ../NEWS:9573 msgid "" ":gh:`135241`: The :code:`INT` opcode of the C accelerator :mod:`!_pickle` " "module was updated to look only for \"00\" and \"01\" to push booleans onto " "the stack, aligning with the Python :mod:`pickle` module." msgstr "" -#: ../NEWS:9291 +#: ../NEWS:9577 msgid ":gh:`133934`: Improve :mod:`sqlite3` CLI's ``.help`` message." msgstr "" -#: ../NEWS:9293 +#: ../NEWS:9579 msgid "" ":gh:`135069`: Fix the \"Invalid error handling\" exception in :class:`!" "encodings.idna.IncrementalDecoder` to correctly replace the 'errors' " "parameter." msgstr "" -#: ../NEWS:9297 +#: ../NEWS:9583 msgid "" ":gh:`130662`: Accept leading zeros in precision and width fields " "for :class:`~decimal.Decimal` formatting, for example " "``format(Decimal(1.25), '.016f')``." msgstr "" -#: ../NEWS:9301 +#: ../NEWS:9587 msgid "" ":gh:`130662`: Accept leading zeros in precision and width fields " "for :class:`~fractions.Fraction` formatting, for example " "``format(Fraction(1, 3), '.016f')``." msgstr "" -#: ../NEWS:9305 +#: ../NEWS:9591 msgid "" ":gh:`135004`: Rewrite and cleanup the internal :mod:`!_blake2` module. Some " "exception messages were changed but their types were left untouched. Patch " "by Bénédikt Tran." msgstr "" -#: ../NEWS:9309 +#: ../NEWS:9595 msgid "" ":gh:`134953`: Expand ``_colorize`` theme with ``keyword_constant`` and " "implement in :term:`repl`." msgstr "" -#: ../NEWS:9312 +#: ../NEWS:9598 msgid "" ":gh:`134978`: :mod:`hashlib`: Supporting the ``string`` keyword parameter in " "hash function constructors such as :func:`~hashlib.new` or the direct hash-" @@ -15817,56 +16295,56 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9319 +#: ../NEWS:9605 msgid "" ":gh:`134970`: Fix the \"unknown action\" exception " "in :meth:`argparse.ArgumentParser.add_argument_group` to correctly replace " "the action class." msgstr "" -#: ../NEWS:9323 +#: ../NEWS:9609 msgid "" ":gh:`134718`: By default, omit optional ``Load()`` values " "in :func:`ast.dump`." msgstr "" -#: ../NEWS:9326 +#: ../NEWS:9612 msgid "" ":gh:`134718`: :func:`ast.dump` now only omits ``None`` and ``[]`` values if " "they are default values." msgstr "" -#: ../NEWS:9329 +#: ../NEWS:9615 msgid "" ":gh:`134939`: Add the :mod:`concurrent.interpreters` module. See :pep:`734`." msgstr "" -#: ../NEWS:9331 +#: ../NEWS:9617 msgid "" ":gh:`108885`: Run each example as a subtest in unit tests synthesized " "by :func:`doctest.DocFileSuite` and :func:`doctest.DocTestSuite`. Add " "the :meth:`doctest.DocTestRunner.report_skip` method." msgstr "" -#: ../NEWS:9335 +#: ../NEWS:9621 msgid "" ":gh:`134885`: Fix possible crash in the :mod:`compression.zstd` module " "related to setting parameter types. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:9338 +#: ../NEWS:9624 msgid "" ":gh:`134857`: Improve error report for :mod:`doctest`\\ s run " "with :mod:`unittest`. Remove :mod:`!doctest` module frames from tracebacks " "and redundant newline character from a failure message." msgstr "" -#: ../NEWS:9342 +#: ../NEWS:9628 msgid "" ":gh:`128840`: Fix parsing long IPv6 addresses with embedded IPv4 address." msgstr "" -#: ../NEWS:9344 +#: ../NEWS:9630 msgid "" ":gh:`133579`: :mod:`curses`: Consistently report failures of curses C API " "calls in module-level methods by raising a :exc:`curses.error`. This " @@ -15874,7 +16352,7 @@ msgid "" "and :func:`~curses.unctrl`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9352 +#: ../NEWS:9638 msgid "" ":gh:`133579`: :meth:`curses.window.refresh` " "and :meth:`curses.window.noutrefresh` now raise a :exc:`TypeError` instead " @@ -15882,7 +16360,7 @@ msgid "" "for :ref:`pads `. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9357 +#: ../NEWS:9643 msgid "" ":gh:`133579`: :ref:`curses.window `: Consistently " "report failures of curses C API calls in Window methods by raising " @@ -15891,19 +16369,19 @@ msgid "" "and :meth:`~curses.window.insnstr`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9366 +#: ../NEWS:9652 msgid "" ":gh:`134771`: The ``time_clockid_converter()`` function now selects correct " "type for ``clockid_t`` on Cygwin which fixes a build error." msgstr "" -#: ../NEWS:9369 +#: ../NEWS:9655 msgid "" ":gh:`134637`: Fix performance regression in calling a :mod:`ctypes` function " "pointer in :term:`free threading`." msgstr "" -#: ../NEWS:9372 +#: ../NEWS:9658 msgid "" ":gh:`134696`: Built-in HACL* and OpenSSL implementations of hash function " "constructors now correctly accept the same *documented* named arguments. For " @@ -15912,128 +16390,128 @@ msgid "" "implementation but these calls were not compatible. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9379 +#: ../NEWS:9665 msgid "" ":gh:`132710`: If possible, ensure that :func:`uuid.getnode` returns the same " "result even across different processes. Previously, the result was constant " "only within the same process. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9383 +#: ../NEWS:9669 msgid "" ":gh:`134531`: :mod:`!_hashlib`: Rename internal C functions for :class:`!" "_hashlib.HASH` and :class:`!_hashlib.HASHXOF` objects. Patch by Bénédikt " "Tran." msgstr "" -#: ../NEWS:9387 +#: ../NEWS:9673 msgid "" ":gh:`134698`: Fix a crash when calling methods of :class:`ssl.SSLContext` " "or :class:`ssl.SSLSocket` across multiple threads." msgstr "" -#: ../NEWS:9390 +#: ../NEWS:9676 msgid "" ":gh:`134151`: :mod:`email`: Fix :exc:`TypeError` " "in :func:`email.utils.decode_params` when sorting :rfc:`2231` continuations " "that contain an unnumbered section." msgstr "" -#: ../NEWS:9394 +#: ../NEWS:9680 msgid "" ":gh:`134635`: :mod:`zlib`: Allow to combine Adler-32 and CRC-32 checksums " "via :func:`~zlib.adler32_combine` and :func:`~zlib.crc32_combine`. Patch by " "Callum Attryde and Bénédikt Tran." msgstr "" -#: ../NEWS:9398 +#: ../NEWS:9684 msgid "" ":gh:`134657`: :mod:`asyncio`: Remove some private names from " "``asyncio.__all__``." msgstr "" -#: ../NEWS:9401 +#: ../NEWS:9687 msgid "" ":gh:`134210`: :func:`curses.window.getch` now correctly handles signals. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9404 +#: ../NEWS:9690 msgid "" ":gh:`80334`: :func:`multiprocessing.freeze_support` now checks for work on " "any \"spawn\" start method platform rather than only on Windows." msgstr "" -#: ../NEWS:9407 +#: ../NEWS:9693 msgid "" ":gh:`134582`: Fix tokenize.untokenize() round-trip errors related to t-" "strings braces escaping" msgstr "" -#: ../NEWS:9410 +#: ../NEWS:9696 msgid "" ":gh:`134580`: Improved the styling of HTML diff pages generated by " "the :class:`difflib.HtmlDiff` class, and migrated the output to the HTML5 " "standard." msgstr "" -#: ../NEWS:9414 +#: ../NEWS:9700 msgid "" ":gh:`134565`: :func:`unittest.doModuleCleanups` no longer swallows all but " "first exception raised in the cleanup code, but raises " "a :exc:`ExceptionGroup` if multiple errors occurred." msgstr "" -#: ../NEWS:9418 +#: ../NEWS:9704 msgid "" ":gh:`134546`: Ensure :mod:`pdb` remote debugging script is readable by " "remote Python process." msgstr "" -#: ../NEWS:9421 +#: ../NEWS:9707 msgid "" ":gh:`134451`: Converted ``asyncio.tools.CycleFoundException`` from dataclass " "to a regular exception type." msgstr "" -#: ../NEWS:9424 +#: ../NEWS:9710 msgid "" ":gh:`114177`: Fix :mod:`asyncio` to not close subprocess pipes which would " "otherwise error out when the event loop is already closed." msgstr "" -#: ../NEWS:9427 +#: ../NEWS:9713 msgid "" ":gh:`90871`: Fixed an off by one error concerning the backlog parameter " "in :meth:`~asyncio.loop.create_unix_server`. Contributed by Christian " "Harries." msgstr "" -#: ../NEWS:9431 +#: ../NEWS:9717 msgid ":gh:`134323`: Fix the :meth:`threading.RLock.locked` method." msgstr "" -#: ../NEWS:9433 +#: ../NEWS:9719 msgid "" ":gh:`86802`: Fixed asyncio memory leak in cancelled shield tasks. For " "shielded tasks where the shield was cancelled, log potential exceptions " "through the exception handler. Contributed by Christian Harries." msgstr "" -#: ../NEWS:9437 +#: ../NEWS:9723 msgid "" ":gh:`71189`: Add support of the all-but-last mode " "in :func:`os.path.realpath`." msgstr "" -#: ../NEWS:9440 +#: ../NEWS:9726 msgid "" ":gh:`72902`: Improve speed (x1.1-1.8) of the :class:`~fractions.Fraction` " "constructor for typical inputs " "(:class:`float`'s, :class:`~decimal.Decimal`'s or strings)." msgstr "" -#: ../NEWS:9444 +#: ../NEWS:9730 msgid "" ":gh:`134209`: :mod:`curses`: The :meth:`curses.window.instr` " "and :meth:`curses.window.getstr` methods now allocate their internal buffer " @@ -16041,104 +16519,104 @@ msgid "" "increased from 1023 to 2047." msgstr "" -#: ../NEWS:9449 +#: ../NEWS:9735 msgid "" ":gh:`88994`: Change :func:`datetime.datetime.now` to half-even rounding for " "consistency with :func:`datetime.datetime.fromtimestamp`. Patch by John " "Keith Hohm." msgstr "" -#: ../NEWS:9453 +#: ../NEWS:9739 msgid "" ":gh:`80184`: The default queue size is now ``socket.SOMAXCONN`` " "for :class:`socketserver.TCPServer`." msgstr "" -#: ../NEWS:9456 +#: ../NEWS:9742 msgid "" ":gh:`132983`: Add :mod:`!compression.zstd` version information to " "``test.pythoninfo``." msgstr "" -#: ../NEWS:9459 +#: ../NEWS:9745 msgid "" ":gh:`134235`: Updated tab completion on REPL to include builtin modules. " "Contributed by Tom Wang, Hunter Young" msgstr "" -#: ../NEWS:9462 +#: ../NEWS:9748 msgid "" ":gh:`134152`: Fixed :exc:`UnboundLocalError` that could occur " "during :mod:`email` header parsing if an expected trailing delimiter is " "missing in some contexts." msgstr "" -#: ../NEWS:9466 +#: ../NEWS:9752 msgid "" ":gh:`134152`: :mod:`email`: Fix parsing of email message ID with invalid " "domain." msgstr "" -#: ../NEWS:9469 +#: ../NEWS:9755 msgid "" ":gh:`134168`: :mod:`http.server`: Fix IPv6 address binding and :option:`--" "directory ` handling when using HTTPS." msgstr "" -#: ../NEWS:9472 +#: ../NEWS:9758 msgid "" ":gh:`62184`: Remove import of C implementation of :class:`io.FileIO` from " "Python implementation which has its own implementation" msgstr "" -#: ../NEWS:9475 +#: ../NEWS:9761 msgid "" ":gh:`134087`: Remove support for arbitrary positional or keyword arguments " "in the C implementation of :class:`threading.RLock` objects. This was " "deprecated since Python 3.14. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9479 +#: ../NEWS:9765 msgid "" ":gh:`134173`: Speed up :mod:`asyncio` performance of transferring state from " "thread pool :class:`concurrent.futures.Future` by up to 4.4x. Patch by J. " "Nick Koston." msgstr "" -#: ../NEWS:9483 +#: ../NEWS:9769 msgid "" ":gh:`133982`: Emit :exc:`RuntimeWarning` in the Python implementation " "of :mod:`io` when the :term:`file-like object ` is not closed " "explicitly in the presence of multiple I/O layers." msgstr "" -#: ../NEWS:9487 +#: ../NEWS:9773 msgid "" ":gh:`133890`: The :mod:`tarfile` module now " "handles :exc:`UnicodeEncodeError` in the same way as :exc:`OSError` when " "cannot extract a member." msgstr "" -#: ../NEWS:9490 +#: ../NEWS:9776 msgid "" ":gh:`134097`: Fix interaction of the new :term:`REPL` and :option:`-X " "showrefcount <-X>` command line option." msgstr "" -#: ../NEWS:9493 +#: ../NEWS:9779 msgid "" ":gh:`133889`: The generated directory listing page " "in :class:`http.server.SimpleHTTPRequestHandler` now only shows the decoded " "path component of the requested URL, and not the query and fragment." msgstr "" -#: ../NEWS:9497 +#: ../NEWS:9783 msgid "" ":gh:`134098`: Fix handling paths that end with a percent-encoded slash " "(``%2f`` or ``%2F``) in :class:`http.server.SimpleHTTPRequestHandler`." msgstr "" -#: ../NEWS:9500 +#: ../NEWS:9786 msgid "" ":gh:`132124`: On POSIX-compliant systems, :func:`!" "multiprocessing.util.get_temp_dir` now ignores :envvar:`TMPDIR` (and similar " @@ -16148,34 +16626,34 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:9507 +#: ../NEWS:9793 msgid "" ":gh:`134062`: :mod:`ipaddress`: fix collisions in :meth:`~object.__hash__` " "for :class:`~ipaddress.IPv4Network` and :class:`~ipaddress.IPv6Network` " "objects." msgstr "" -#: ../NEWS:9511 +#: ../NEWS:9797 msgid "" ":gh:`134004`: :mod:`shelve` as well as underlying :mod:`!dbm.dumb` " "and :mod:`!dbm.sqlite` now have :meth:`!reorganize` methods to recover " "unused free space previously occupied by deleted entries." msgstr "" -#: ../NEWS:9515 +#: ../NEWS:9801 msgid "" ":gh:`133970`: Make :class:`!string.templatelib.Template` and :class:`!" "string.templatelib.Interpolation` generic." msgstr "" -#: ../NEWS:9518 +#: ../NEWS:9804 msgid "" ":gh:`71253`: Raise :exc:`ValueError` in :func:`open` if *opener* returns a " "negative file-descriptor in the Python implementation of :mod:`io` to match " "the C implementation." msgstr "" -#: ../NEWS:9522 +#: ../NEWS:9808 msgid "" ":gh:`133960`: Simplify and improve :func:`typing.evaluate_forward_ref`. It " "now no longer raises errors on certain invalid types. In several situations, " @@ -16183,24 +16661,24 @@ msgid "" "unsupported." msgstr "" -#: ../NEWS:9527 +#: ../NEWS:9813 msgid "" ":gh:`133925`: Make the private class ``typing._UnionGenericAlias`` hashable." msgstr "" -#: ../NEWS:9529 +#: ../NEWS:9815 msgid "" ":gh:`133604`: Remove :func:`!platform.java_ver` which was deprecated since " "Python 3.13." msgstr "" -#: ../NEWS:9532 +#: ../NEWS:9818 msgid "" ":gh:`133875`: Removed deprecated :meth:`!pathlib.PurePath.is_reserved`. " "Use :func:`os.path.isreserved` to detect reserved paths on Windows." msgstr "" -#: ../NEWS:9535 +#: ../NEWS:9821 msgid "" ":gh:`133873`: Remove the deprecated ``getmark()``, ``setmark()`` and " "``getmarkers()`` methods of the :class:`~wave.Wave_read` " @@ -16208,33 +16686,33 @@ msgid "" "3.13. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9540 +#: ../NEWS:9826 msgid "" ":gh:`133866`: Remove the undocumented function :func:`!" "ctypes.SetPointerType`, which has been deprecated since Python 3.13. Patch " "by Bénédikt Tran." msgstr "" -#: ../NEWS:9544 +#: ../NEWS:9830 msgid "" ":gh:`133823`: Remove support for ``TD = TypedDict(\"TD\")`` and ``TD = " "TypedDict(\"TD\", None)`` calls for constructing :class:`typing.TypedDict` " "objects with zero field. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9548 +#: ../NEWS:9834 msgid "" ":gh:`125996`: Fix thread safety of :class:`collections.OrderedDict`. Patch " "by Kumar Aditya." msgstr "" -#: ../NEWS:9551 +#: ../NEWS:9837 msgid "" ":gh:`133817`: Remove support for creating :class:`~typing.NamedTuple` " "classes via the undocumented keyword argument syntax. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9554 +#: ../NEWS:9840 msgid "" ":gh:`133653`: Fix :class:`argparse.ArgumentParser` with the " "*formatter_class* argument. Fix TypeError when *formatter_class* is a custom " @@ -16244,72 +16722,72 @@ msgid "" "of :class:`!HelpFormatter`." msgstr "" -#: ../NEWS:9561 +#: ../NEWS:9847 msgid "" ":gh:`133810`: Remove :class:`!http.server.CGIHTTPRequestHandler` and ``--" "cgi`` flag from the :program:`python -m http.server` command-line interface. " "They were deprecated in Python 3.13. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9565 +#: ../NEWS:9851 msgid "" ":gh:`132641`: Fixed a race in :func:`functools.lru_cache` under free-" "threading." msgstr "" -#: ../NEWS:9568 +#: ../NEWS:9854 msgid "" ":gh:`133783`: Fix bug with applying :func:`copy.replace` to :mod:`ast` " "objects. Attributes that default to ``None`` were incorrectly treated as " "required for manually created AST nodes." msgstr "" -#: ../NEWS:9572 +#: ../NEWS:9858 msgid "" ":gh:`133684`: Fix bug where :func:`annotationlib.get_annotations` would " "return the wrong result for certain classes that are part of a class " "hierarchy where ``from __future__ import annotations`` is used." msgstr "" -#: ../NEWS:9576 +#: ../NEWS:9862 msgid "" ":gh:`77057`: Fix handling of invalid markup declarations " "in :class:`html.parser.HTMLParser`." msgstr "" -#: ../NEWS:9579 +#: ../NEWS:9865 msgid "" ":gh:`130328`: Speedup pasting in ``PyREPL`` on Windows in a legacy console. " "Patch by Chris Eibl." msgstr "" -#: ../NEWS:9582 +#: ../NEWS:9868 msgid "" ":gh:`133701`: Fix bug where :class:`typing.TypedDict` classes defined under " "``from __future__ import annotations`` and inheriting from another " "``TypedDict`` had an incorrect ``__annotations__`` attribute." msgstr "" -#: ../NEWS:9586 +#: ../NEWS:9872 msgid "" ":gh:`133656`: Remove deprecated :meth:`!zipimport.zipimporter.load_module`. " "Use :meth:`zipimport.zipimporter.exec_module` instead." msgstr "" -#: ../NEWS:9589 +#: ../NEWS:9875 msgid "" ":gh:`133722`: Added a *color* option to :func:`difflib.unified_diff` that " "colors output similar to :program:`git diff`." msgstr "" -#: ../NEWS:9592 +#: ../NEWS:9878 msgid "" ":gh:`133489`: :func:`random.getrandbits` can now generate more that " "2 :sup:`31` bits. :func:`random.randbytes` can now generate more that 256 " "MiB." msgstr "" -#: ../NEWS:9596 +#: ../NEWS:9882 msgid "" ":gh:`133595`: Clean up :class:`sqlite3.Connection` APIs. All parameters " "of :func:`sqlite3.connect` except *database* are now keyword-only. The first " @@ -16320,7 +16798,7 @@ msgid "" "and :meth:`~sqlite3.Connection.set_trace_callback` is now positional-only." msgstr "" -#: ../NEWS:9604 +#: ../NEWS:9890 msgid "" ":gh:`133581`: Improve unparsing of t-strings in :func:`ast.unparse` and " "``from __future__ import annotations``. Empty t-strings now round-trip " @@ -16328,57 +16806,57 @@ msgid "" "Zijlstra." msgstr "" -#: ../NEWS:9609 +#: ../NEWS:9895 msgid "" ":gh:`133577`: Add parameter ``formatter`` to :func:`logging.basicConfig`." msgstr "" -#: ../NEWS:9611 +#: ../NEWS:9897 msgid "" ":gh:`92897`: Removed the ``check_home`` parameter " "from :func:`sysconfig.is_python_build`, deprecated since Python 3.12." msgstr "" -#: ../NEWS:9614 +#: ../NEWS:9900 msgid "" ":gh:`133551`: Support t-strings (:pep:`750`) in :mod:`annotationlib`. Patch " "by Jelle Zijlstra." msgstr "" -#: ../NEWS:9617 +#: ../NEWS:9903 msgid "" ":gh:`133517`: Remove :func:`os.listdrives`, :func:`os.listvolumes` " "and :func:`os.listmounts` in non Windows desktop builds since the underlying " "functionality is missing." msgstr "" -#: ../NEWS:9621 +#: ../NEWS:9907 msgid "" ":gh:`133439`: Fix dot commands with trailing spaces are mistaken for multi-" "line SQL statements in the sqlite3 command-line interface." msgstr "" -#: ../NEWS:9624 +#: ../NEWS:9910 msgid ":gh:`133447`: Add basic color to :mod:`sqlite3` CLI interface." msgstr "" -#: ../NEWS:9626 +#: ../NEWS:9912 msgid ":gh:`133253`: Fix thread-safety issues in :mod:`linecache`." msgstr "" -#: ../NEWS:9628 +#: ../NEWS:9914 msgid "" ":gh:`133390`: Support keyword completion in the :mod:`sqlite3` command-line " "interface and add :data:`sqlite3.SQLITE_KEYWORDS` constant." msgstr "" -#: ../NEWS:9631 +#: ../NEWS:9917 msgid "" ":gh:`132493`: Avoid accessing ``__annotations__`` unnecessarily " "in :func:`inspect.signature`." msgstr "" -#: ../NEWS:9634 +#: ../NEWS:9920 msgid "" ":gh:`133017`: Improve the error message " "of :func:`multiprocessing.sharedctypes.Array`, :func:`multiprocessing.sharedctypes.RawArray`, :func:`multiprocessing.sharedctypes.Value` " @@ -16386,13 +16864,13 @@ msgid "" "is passed. Patch by Tomas Roun" msgstr "" -#: ../NEWS:9641 +#: ../NEWS:9927 msgid "" ":gh:`132813`: Improve error messages for incorrect types and values " "of :class:`csv.Dialect` attributes." msgstr "" -#: ../NEWS:9644 +#: ../NEWS:9930 msgid "" ":gh:`132969`: Prevent the :class:`~concurrent.futures.ProcessPoolExecutor` " "executor thread, which remains running when :meth:`shutdown(wait=False) " @@ -16404,7 +16882,7 @@ msgid "" "pool." msgstr "" -#: ../NEWS:9653 +#: ../NEWS:9939 msgid "" ":gh:`132876`: ``ldexp()`` on Windows doesn't round subnormal results before " "Windows 11, but should. Python's :func:`math.ldexp` wrapper now does round " @@ -16412,63 +16890,63 @@ msgid "" "on Windows versions before 11." msgstr "" -#: ../NEWS:9658 +#: ../NEWS:9944 msgid "" ":gh:`133009`: :mod:`xml.etree.ElementTree`: Fix a crash " "in :meth:`Element.__deepcopy__ ` when the element is " "concurrently mutated. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:9662 +#: ../NEWS:9948 msgid "" ":gh:`132908`: Add :func:`math.isnormal` and :func:`math.issubnormal` " "functions. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:9665 +#: ../NEWS:9951 msgid "" ":gh:`95380`: :func:`fcntl.fcntl` and :func:`fcntl.ioctl`: Remove the 1024 " "bytes limit on the size of not mutated bytes-like argument." msgstr "" -#: ../NEWS:9668 +#: ../NEWS:9954 msgid "" ":gh:`122781`: Fix ``%z`` directive in :func:`datetime.datetime.strptime` to " "allow for no provided offset as was documented." msgstr "" -#: ../NEWS:9671 +#: ../NEWS:9957 msgid "" ":gh:`123471`: Make concurrent iterations " "over :class:`itertools.combinations` and :class:`itertools.product` safe " "under free-threading." msgstr "" -#: ../NEWS:9674 +#: ../NEWS:9960 msgid "" ":gh:`127081`: Fix libc thread safety issues with :mod:`dbm` by performing " "stateful operations in critical sections." msgstr "" -#: ../NEWS:9677 +#: ../NEWS:9963 msgid "" ":gh:`127081`: Fix libc thread safety issues with :mod:`os` by replacing " "``getlogin`` with ``getlogin_r`` re-entrant version." msgstr "" -#: ../NEWS:9680 +#: ../NEWS:9966 msgid "" ":gh:`127081`: Fix libc thread safety issues with :mod:`pwd` by locking " "access to ``getpwall``." msgstr "" -#: ../NEWS:9683 +#: ../NEWS:9969 msgid "" ":gh:`132551`: Make :class:`io.BytesIO` safe in :term:`free-threaded ` build." msgstr "" -#: ../NEWS:9686 +#: ../NEWS:9972 msgid "" ":gh:`107583`: Fix :class:`!Flag` inversion when flag set has missing values " "(:class:`!IntFlag` still flips all bits); fix negative assigned values " @@ -16476,40 +16954,40 @@ msgid "" "missing values)." msgstr "" -#: ../NEWS:9691 +#: ../NEWS:9977 msgid "" ":gh:`87790`: Support underscore and comma as thousands separators in the " "fractional part for :class:`~fractions.Fraction`'s formatting. Patch by " "Sergey B Kirpichev." msgstr "" -#: ../NEWS:9695 +#: ../NEWS:9981 msgid "" ":gh:`87790`: Support underscore and comma as thousands separators in the " "fractional part for :class:`~decimal.Decimal`'s formatting. Patch by Sergey " "B Kirpichev." msgstr "" -#: ../NEWS:9699 +#: ../NEWS:9985 msgid "" ":gh:`131884`: Fix formatting issues in :func:`json.dump` when both *indent* " "and *skipkeys* are used." msgstr "" -#: ../NEWS:9702 +#: ../NEWS:9988 msgid "" ":gh:`131788`: Make ``ResourceTracker.send`` from :mod:`multiprocessing` re-" "entrant safe" msgstr "" -#: ../NEWS:9705 +#: ../NEWS:9991 msgid "" ":gh:`91349`: Adjust default ``compressionlevel=`` to 6 (down from 9) " "in :mod:`gzip` and :mod:`tarfile`. It is the default level used by most " "compression tools and a better tradeoff between speed and performance." msgstr "" -#: ../NEWS:9709 +#: ../NEWS:9995 msgid "" ":gh:`131146`: " "Fix :class:`calendar.TextCalendar`, :class:`calendar.HTMLCalendar`, and " @@ -16520,13 +16998,13 @@ msgid "" "itself, if the locale supports it." msgstr "" -#: ../NEWS:9717 +#: ../NEWS:10003 msgid "" ":gh:`123471`: Make concurrent iterations over :class:`itertools.cycle` safe " "under free-threading." msgstr "" -#: ../NEWS:9720 +#: ../NEWS:10006 msgid "" ":gh:`130664`: Handle corner-case for :class:`~fractions.Fraction`'s " "formatting: treat zero-padding (preceding the width field by a zero " @@ -16534,76 +17012,76 @@ msgid "" "alignment type of ``'='``, just as in case of :class:`float`'s." msgstr "" -#: ../NEWS:9725 +#: ../NEWS:10011 msgid "" ":gh:`130999`: Avoid exiting the new REPL and offer suggestions even if there " "are non-string candidates when errors occur." msgstr "" -#: ../NEWS:9728 +#: ../NEWS:10014 msgid "" ":gh:`88473`: Implement a fast path for :class:`datetime.date` objects " "in :func:`datetime.date.today` which results in a 5x performance gain while " "proper subclasses retain their previous performance." msgstr "" -#: ../NEWS:9732 +#: ../NEWS:10018 msgid "" ":gh:`126883`: Add check that timezone fields are in range " "for :meth:`datetime.datetime.fromisoformat` " "and :meth:`datetime.time.fromisoformat`. Patch by Semyon Moroz." msgstr "" -#: ../NEWS:9736 +#: ../NEWS:10022 msgid "" ":gh:`125028`: :data:`functools.Placeholder` cannot be passed " "to :func:`functools.partial` as a keyword argument." msgstr "" -#: ../NEWS:9739 +#: ../NEWS:10025 msgid "" ":gh:`125843`: If possible, indicate which :mod:`curses` C function or macro " "is responsible for raising a :exc:`curses.error` exception. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:9743 +#: ../NEWS:10029 msgid "" ":gh:`119109`: :func:`functools.partial` calls are now faster when keyword " "arguments are used." msgstr "" -#: ../NEWS:9746 +#: ../NEWS:10032 msgid "" ":gh:`124033`: ``SimplePath`` is now presented in " "``importlib.metadata.__all__``." msgstr "" -#: ../NEWS:9749 +#: ../NEWS:10035 msgid "" ":gh:`91216`: ``importlib.metadata`` now raises a ``KeyError`` instead of " "returning ``None`` when a key is missing from the metadata." msgstr "" -#: ../NEWS:9752 +#: ../NEWS:10038 msgid "" ":gh:`120492`: ``importlib.metadata`` now prioritizes valid dists to invalid " "dists when retrieving by name." msgstr "" -#: ../NEWS:9755 +#: ../NEWS:10041 msgid "" ":gh:`99631`: The :mod:`shelve` module now accepts custom serialization and " "deserialization functions." msgstr "" -#: ../NEWS:9758 +#: ../NEWS:10044 msgid "" ":gh:`119186`: Slightly speed up :func:`os.walk` by " "calling :func:`os.path.join` less often." msgstr "" -#: ../NEWS:9761 +#: ../NEWS:10047 msgid "" ":gh:`120170`: Fix an issue in the :mod:`!_pickle` extension module in which " "importing :mod:`multiprocessing` could change how pickle identifies which " @@ -16611,18 +17089,18 @@ msgid "" "objects." msgstr "" -#: ../NEWS:9766 +#: ../NEWS:10052 msgid "" ":gh:`118981`: Fix potential hang in ``multiprocessing.popen_spawn_posix`` " "that can happen when the child proc dies early by closing the child fds " "right away." msgstr "" -#: ../NEWS:9770 ../NEWS:21736 +#: ../NEWS:10056 ../NEWS:22022 msgid ":gh:`105497`: Fix flag mask inversion when unnamed flags exist." msgstr "" -#: ../NEWS:9772 +#: ../NEWS:10058 msgid "" ":gh:`99813`: :mod:`ssl` now uses ``SSL_sendfile`` internally when it is " "possible (see :data:`~ssl.OP_ENABLE_KTLS`). The function sends a file more " @@ -16630,54 +17108,54 @@ msgid "" "additional context switches. Patch by Illia Volochii." msgstr "" -#: ../NEWS:9777 +#: ../NEWS:10063 msgid "" ":gh:`62824`: Fix aliases for ``iso8859_8`` encoding. Patch by Dave Goncalves." msgstr "" -#: ../NEWS:9779 +#: ../NEWS:10065 msgid "" ":gh:`86155`: :meth:`html.parser.HTMLParser.close` no longer loses data when " "the ``