diff --git a/c-api/stable.po b/c-api/stable.po index 4a189b6c..ea3cbbb7 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-15 09:12+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" @@ -99,14 +99,15 @@ msgstr "" msgid "" "For simplicity, this document talks about *extensions*, but the Limited API " "and Stable ABI work the same way for all uses of the API – for example, " -"embedding Python." +"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:66 +#: ../../c-api/stable.rst:68 msgid "Limited C API" msgstr "" -#: ../../c-api/stable.rst:68 +#: ../../c-api/stable.rst:70 msgid "" "Python 3.2 introduced the *Limited API*, a subset of Python's C API. " "Extensions that only use the Limited API can be compiled once and be loaded " @@ -114,13 +115,13 @@ msgid "" "below `." msgstr "" -#: ../../c-api/stable.rst:75 +#: ../../c-api/stable.rst:77 msgid "" "Define this macro before including ``Python.h`` to opt in to only use the " "Limited API, and to select the Limited API version." msgstr "" -#: ../../c-api/stable.rst:78 +#: ../../c-api/stable.rst:80 msgid "" "Define ``Py_LIMITED_API`` to the value of :c:macro:`PY_VERSION_HEX` " "corresponding to the lowest Python version your extension supports. The " @@ -128,30 +129,30 @@ msgid "" "specified one onward, and can use Limited API introduced up to that version." msgstr "" -#: ../../c-api/stable.rst:84 +#: ../../c-api/stable.rst:86 msgid "" "Rather than using the ``PY_VERSION_HEX`` macro directly, hardcode a minimum " "minor version (e.g. ``0x030A0000`` for Python 3.10) for stability when " "compiling with future Python versions." msgstr "" -#: ../../c-api/stable.rst:88 +#: ../../c-api/stable.rst:90 msgid "" "You can also define ``Py_LIMITED_API`` to ``3``. This works the same as " "``0x03020000`` (Python 3.2, the version that introduced Limited API)." msgstr "" -#: ../../c-api/stable.rst:95 +#: ../../c-api/stable.rst:97 msgid "Stable ABI" msgstr "" -#: ../../c-api/stable.rst:97 +#: ../../c-api/stable.rst:99 msgid "" "To enable this, Python provides a *Stable ABI*: a set of symbols that will " "remain ABI-compatible across Python 3.x versions." msgstr "" -#: ../../c-api/stable.rst:102 +#: ../../c-api/stable.rst:104 msgid "" "The Stable ABI prevents ABI issues, like linker errors due to missing " "symbols or data corruption due to changes in structure layouts or function " @@ -160,21 +161,21 @@ msgid "" "details." msgstr "" -#: ../../c-api/stable.rst:108 +#: ../../c-api/stable.rst:110 msgid "" "The Stable ABI contains symbols exposed in the :ref:`Limited API `, but also other ones – for example, functions necessary to support " "older versions of the Limited API." msgstr "" -#: ../../c-api/stable.rst:112 +#: ../../c-api/stable.rst:114 msgid "" "On Windows, extensions that use the Stable ABI should be linked against " "``python3.dll`` rather than a version-specific library such as " "``python39.dll``." msgstr "" -#: ../../c-api/stable.rst:116 +#: ../../c-api/stable.rst:118 msgid "" "On some platforms, Python will look for and load shared library files named " "with the ``abi3`` tag (e.g. ``mymodule.abi3.so``). It does not check if such " @@ -183,31 +184,31 @@ msgid "" "not installed for lower versions of Python." msgstr "" -#: ../../c-api/stable.rst:123 +#: ../../c-api/stable.rst:125 msgid "" "All functions in the Stable ABI are present as functions in Python's shared " "library, not solely as macros. This makes them usable from languages that " "don't use the C preprocessor." msgstr "" -#: ../../c-api/stable.rst:129 +#: ../../c-api/stable.rst:131 msgid "Limited API Scope and Performance" msgstr "" -#: ../../c-api/stable.rst:131 +#: ../../c-api/stable.rst:133 msgid "" "The goal for the Limited API is to allow everything that is possible with " "the full C API, but possibly with a performance penalty." msgstr "" -#: ../../c-api/stable.rst:134 +#: ../../c-api/stable.rst:136 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 because it " "can rely on version-specific implementation details of the list object." msgstr "" -#: ../../c-api/stable.rst:139 +#: ../../c-api/stable.rst:141 msgid "" "Without ``Py_LIMITED_API`` defined, some C API functions are inlined or " "replaced by macros. Defining ``Py_LIMITED_API`` disables this inlining, " @@ -215,7 +216,7 @@ msgid "" "reducing performance." msgstr "" -#: ../../c-api/stable.rst:144 +#: ../../c-api/stable.rst:146 msgid "" "By leaving out the ``Py_LIMITED_API`` definition, it is possible to compile " "a Limited API extension with a version-specific ABI. This can improve " @@ -225,11 +226,11 @@ msgid "" "of an upcoming Python version." msgstr "" -#: ../../c-api/stable.rst:153 +#: ../../c-api/stable.rst:157 msgid "Limited API Caveats" msgstr "" -#: ../../c-api/stable.rst:155 +#: ../../c-api/stable.rst:159 msgid "" "Note that compiling with ``Py_LIMITED_API`` is *not* a complete guarantee " "that code conforms to the :ref:`Limited API ` or " @@ -238,7 +239,7 @@ msgid "" "semantics." msgstr "" -#: ../../c-api/stable.rst:160 +#: ../../c-api/stable.rst:164 msgid "" "One issue that ``Py_LIMITED_API`` does not guard against is calling a " "function with arguments that are invalid in a lower Python version. For " @@ -248,19 +249,19 @@ msgid "" "crash. A similar argument works for fields of structs." msgstr "" -#: ../../c-api/stable.rst:167 +#: ../../c-api/stable.rst:171 msgid "" "Another issue is that some struct fields are currently not hidden when " "``Py_LIMITED_API`` is defined, even though they're part of the Limited API." msgstr "" -#: ../../c-api/stable.rst:170 +#: ../../c-api/stable.rst:174 msgid "" "For these reasons, we recommend testing an extension with *all* minor Python " "versions it supports, and preferably to build with the *lowest* such version." msgstr "" -#: ../../c-api/stable.rst:173 +#: ../../c-api/stable.rst:177 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 " @@ -268,7 +269,7 @@ msgid "" "unintentionally, as bugs)." msgstr "" -#: ../../c-api/stable.rst:178 +#: ../../c-api/stable.rst:182 msgid "" "Also note that the Limited API is not necessarily stable: compiling with " "``Py_LIMITED_API`` with Python 3.8 means that the extension will run with " @@ -277,11 +278,11 @@ msgid "" "that the Stable ABI stays stable." msgstr "" -#: ../../c-api/stable.rst:188 +#: ../../c-api/stable.rst:192 msgid "Platform Considerations" msgstr "" -#: ../../c-api/stable.rst:190 +#: ../../c-api/stable.rst:194 msgid "" "ABI stability depends not only on Python, but also on the compiler used, " "lower-level libraries and compiler options. For the purposes of " @@ -289,7 +290,7 @@ msgid "" "usually depend on the OS type and processor architecture" msgstr "" -#: ../../c-api/stable.rst:195 +#: ../../c-api/stable.rst:199 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 " @@ -297,11 +298,11 @@ msgid "" "releases from ``python.org`` and many third-party distributors." msgstr "" -#: ../../c-api/stable.rst:205 +#: ../../c-api/stable.rst:209 msgid "Contents of Limited API" msgstr "" -#: ../../c-api/stable.rst:208 +#: ../../c-api/stable.rst:212 msgid "" "Currently, the :ref:`Limited API ` includes the following " "items:" diff --git a/extending/embedding.po b/extending/embedding.po index e1d520a7..8e20c004 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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" @@ -557,3 +557,226 @@ msgid "" ">>> sysconfig.get_config_var('LINKFORSHARED')\n" "'-Xlinker -export-dynamic'" msgstr "" + +#: ../../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/howto/logging-cookbook.po b/howto/logging-cookbook.po index a2f83738..e3c11625 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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" @@ -444,14 +444,12 @@ msgstr "" #: ../../howto/logging-cookbook.rst:335 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 "" -#: ../../howto/logging-cookbook.rst:341 +#: ../../howto/logging-cookbook.rst:340 msgid "" "{\n" " \"filters\": {\n" @@ -463,11 +461,11 @@ msgid "" "}" msgstr "" -#: ../../howto/logging-cookbook.rst:352 +#: ../../howto/logging-cookbook.rst:351 msgid "and changing the section on the ``stdout`` handler to add it:" msgstr "" -#: ../../howto/logging-cookbook.rst:354 +#: ../../howto/logging-cookbook.rst:353 msgid "" "{\n" " \"stdout\": {\n" @@ -480,13 +478,13 @@ msgid "" "}" msgstr "" -#: ../../howto/logging-cookbook.rst:366 +#: ../../howto/logging-cookbook.rst:365 msgid "" "A filter is just a function, so we can define the ``filter_maker`` (a " "factory function) as follows:" msgstr "" -#: ../../howto/logging-cookbook.rst:369 +#: ../../howto/logging-cookbook.rst:368 msgid "" "def filter_maker(level):\n" " level = getattr(logging, level)\n" @@ -497,7 +495,7 @@ msgid "" " return filter" msgstr "" -#: ../../howto/logging-cookbook.rst:379 +#: ../../howto/logging-cookbook.rst:378 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 " @@ -508,11 +506,11 @@ msgid "" "change that if you define it in a different module." msgstr "" -#: ../../howto/logging-cookbook.rst:387 +#: ../../howto/logging-cookbook.rst:386 msgid "With the filter added, we can run ``main.py``, which in full is:" msgstr "" -#: ../../howto/logging-cookbook.rst:389 +#: ../../howto/logging-cookbook.rst:388 msgid "" "import json\n" "import logging\n" @@ -581,19 +579,19 @@ msgid "" "logging.critical('A CRITICAL message')" msgstr "" -#: ../../howto/logging-cookbook.rst:457 +#: ../../howto/logging-cookbook.rst:456 msgid "And after running it like this:" msgstr "" -#: ../../howto/logging-cookbook.rst:459 +#: ../../howto/logging-cookbook.rst:458 msgid "python main.py 2>stderr.log >stdout.log" msgstr "" -#: ../../howto/logging-cookbook.rst:463 +#: ../../howto/logging-cookbook.rst:462 msgid "We can see the results are as expected:" msgstr "" -#: ../../howto/logging-cookbook.rst:465 +#: ../../howto/logging-cookbook.rst:464 msgid "" "$ more *.log\n" "::::::::::::::\n" @@ -616,15 +614,15 @@ msgid "" "WARNING - A WARNING message" msgstr "" -#: ../../howto/logging-cookbook.rst:489 +#: ../../howto/logging-cookbook.rst:488 msgid "Configuration server example" msgstr "" -#: ../../howto/logging-cookbook.rst:491 +#: ../../howto/logging-cookbook.rst:490 msgid "Here is an example of a module using the logging configuration server::" msgstr "" -#: ../../howto/logging-cookbook.rst:493 +#: ../../howto/logging-cookbook.rst:492 msgid "" "import logging\n" "import logging.config\n" @@ -656,14 +654,14 @@ msgid "" " t.join()" msgstr "" -#: ../../howto/logging-cookbook.rst:522 +#: ../../howto/logging-cookbook.rst:521 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 " "configuration::" msgstr "" -#: ../../howto/logging-cookbook.rst:526 +#: ../../howto/logging-cookbook.rst:525 msgid "" "#!/usr/bin/env python\n" "import socket, sys, struct\n" @@ -683,18 +681,18 @@ msgid "" "print('complete')" msgstr "" -#: ../../howto/logging-cookbook.rst:547 +#: ../../howto/logging-cookbook.rst:546 msgid "Dealing with handlers that block" msgstr "" -#: ../../howto/logging-cookbook.rst:551 +#: ../../howto/logging-cookbook.rst:550 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, " "though of course it also occurs in other scenarios." msgstr "" -#: ../../howto/logging-cookbook.rst:555 +#: ../../howto/logging-cookbook.rst:554 msgid "" "A common culprit which demonstrates sluggish behaviour is " "the :class:`SMTPHandler`: sending emails can take a long time, for a number " @@ -705,21 +703,21 @@ msgid "" "code, below the Python layer, and outside your control)." msgstr "" -#: ../../howto/logging-cookbook.rst:563 +#: ../../howto/logging-cookbook.rst:562 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." msgstr "" -#: ../../howto/logging-cookbook.rst:574 +#: ../../howto/logging-cookbook.rst:573 msgid "" "The second part of the solution is :class:`QueueListener`, which has been " "designed as the counterpart to :class:`QueueHandler`. " @@ -730,7 +728,7 @@ msgid "" "queue and passed to the handlers for processing." msgstr "" -#: ../../howto/logging-cookbook.rst:582 +#: ../../howto/logging-cookbook.rst:581 msgid "" "The advantage of having a separate :class:`QueueListener` class is that you " "can use the same instance to service multiple ``QueueHandlers``. This is " @@ -739,11 +737,11 @@ msgid "" "benefit." msgstr "" -#: ../../howto/logging-cookbook.rst:587 +#: ../../howto/logging-cookbook.rst:586 msgid "An example of using these two classes follows (imports omitted)::" msgstr "" -#: ../../howto/logging-cookbook.rst:589 +#: ../../howto/logging-cookbook.rst:588 msgid "" "que = queue.Queue(-1) # no limit on size\n" "queue_handler = QueueHandler(que)\n" @@ -762,15 +760,15 @@ msgid "" "listener.stop()" msgstr "" -#: ../../howto/logging-cookbook.rst:605 +#: ../../howto/logging-cookbook.rst:604 msgid "which, when run, will produce:" msgstr "" -#: ../../howto/logging-cookbook.rst:607 +#: ../../howto/logging-cookbook.rst:606 msgid "MainThread: Look out!" msgstr "" -#: ../../howto/logging-cookbook.rst:611 +#: ../../howto/logging-cookbook.rst:610 msgid "" "Although the earlier discussion wasn't specifically talking about async " "code, but rather about slow logging handlers, it should be noted that when " @@ -781,7 +779,7 @@ msgid "" "blocking code runs only in the ``QueueListener`` thread." msgstr "" -#: ../../howto/logging-cookbook.rst:619 +#: ../../howto/logging-cookbook.rst:618 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 " @@ -793,13 +791,13 @@ msgid "" "handler if it's appropriate to do so." msgstr "" -#: ../../howto/logging-cookbook.rst:629 +#: ../../howto/logging-cookbook.rst:628 msgid "" "The :class:`QueueListener` can be started (and stopped) via " "the :keyword:`with` statement. For example:" msgstr "" -#: ../../howto/logging-cookbook.rst:633 +#: ../../howto/logging-cookbook.rst:632 msgid "" "with QueueListener(que, handler) as listener:\n" " # The queue listener automatically starts\n" @@ -809,18 +807,18 @@ msgid "" "# the 'with' block is exited." msgstr "" -#: ../../howto/logging-cookbook.rst:645 +#: ../../howto/logging-cookbook.rst:644 msgid "Sending and receiving logging events across a network" msgstr "" -#: ../../howto/logging-cookbook.rst:647 +#: ../../howto/logging-cookbook.rst:646 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 " "a :class:`SocketHandler` instance to the root logger at the sending end::" msgstr "" -#: ../../howto/logging-cookbook.rst:651 +#: ../../howto/logging-cookbook.rst:650 msgid "" "import logging, logging.handlers\n" "\n" @@ -848,13 +846,13 @@ msgid "" "logger2.error('The five boxing wizards jump quickly.')" msgstr "" -#: ../../howto/logging-cookbook.rst:675 +#: ../../howto/logging-cookbook.rst:674 msgid "" "At the receiving end, you can set up a receiver using " "the :mod:`socketserver` module. Here is a basic working example::" msgstr "" -#: ../../howto/logging-cookbook.rst:678 +#: ../../howto/logging-cookbook.rst:677 msgid "" "import pickle\n" "import logging\n" @@ -945,13 +943,13 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:763 +#: ../../howto/logging-cookbook.rst:762 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:" msgstr "" -#: ../../howto/logging-cookbook.rst:766 +#: ../../howto/logging-cookbook.rst:765 msgid "" "About to start TCP server...\n" " 59 root INFO Jackdaws love my big sphinx of quartz.\n" @@ -961,7 +959,7 @@ msgid "" " 69 myapp.area2 ERROR The five boxing wizards jump quickly." msgstr "" -#: ../../howto/logging-cookbook.rst:775 +#: ../../howto/logging-cookbook.rst:774 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 " @@ -970,11 +968,11 @@ msgid "" "alternative serialization." msgstr "" -#: ../../howto/logging-cookbook.rst:783 +#: ../../howto/logging-cookbook.rst:782 msgid "Running a logging socket listener in production" msgstr "" -#: ../../howto/logging-cookbook.rst:787 +#: ../../howto/logging-cookbook.rst:786 msgid "" "To run a logging listener in production, you may need to use a process-" "management tool such as `Supervisor `_. `Here is a " @@ -982,79 +980,79 @@ msgid "" "the above functionality using Supervisor. It consists of the following files:" msgstr "" -#: ../../howto/logging-cookbook.rst:794 +#: ../../howto/logging-cookbook.rst:793 msgid "File" msgstr "" -#: ../../howto/logging-cookbook.rst:794 +#: ../../howto/logging-cookbook.rst:793 msgid "Purpose" msgstr "" -#: ../../howto/logging-cookbook.rst:796 +#: ../../howto/logging-cookbook.rst:795 msgid ":file:`prepare.sh`" msgstr "" -#: ../../howto/logging-cookbook.rst:796 +#: ../../howto/logging-cookbook.rst:795 msgid "A Bash script to prepare the environment for testing" msgstr "" -#: ../../howto/logging-cookbook.rst:799 +#: ../../howto/logging-cookbook.rst:798 msgid ":file:`supervisor.conf`" msgstr "" -#: ../../howto/logging-cookbook.rst:799 +#: ../../howto/logging-cookbook.rst:798 msgid "" "The Supervisor configuration file, which has entries for the listener and a " "multi-process web application" msgstr "" -#: ../../howto/logging-cookbook.rst:803 +#: ../../howto/logging-cookbook.rst:802 msgid ":file:`ensure_app.sh`" msgstr "" -#: ../../howto/logging-cookbook.rst:803 +#: ../../howto/logging-cookbook.rst:802 msgid "" "A Bash script to ensure that Supervisor is running with the above " "configuration" msgstr "" -#: ../../howto/logging-cookbook.rst:806 +#: ../../howto/logging-cookbook.rst:805 msgid ":file:`log_listener.py`" msgstr "" -#: ../../howto/logging-cookbook.rst:806 +#: ../../howto/logging-cookbook.rst:805 msgid "" "The socket listener program which receives log events and records them to a " "file" msgstr "" -#: ../../howto/logging-cookbook.rst:809 +#: ../../howto/logging-cookbook.rst:808 msgid ":file:`main.py`" msgstr "" -#: ../../howto/logging-cookbook.rst:809 +#: ../../howto/logging-cookbook.rst:808 msgid "" "A simple web application which performs logging via a socket connected to " "the listener" msgstr "" -#: ../../howto/logging-cookbook.rst:812 +#: ../../howto/logging-cookbook.rst:811 msgid ":file:`webapp.json`" msgstr "" -#: ../../howto/logging-cookbook.rst:812 +#: ../../howto/logging-cookbook.rst:811 msgid "A JSON configuration file for the web application" msgstr "" -#: ../../howto/logging-cookbook.rst:814 +#: ../../howto/logging-cookbook.rst:813 msgid ":file:`client.py`" msgstr "" -#: ../../howto/logging-cookbook.rst:814 +#: ../../howto/logging-cookbook.rst:813 msgid "A Python script to exercise the web application" msgstr "" -#: ../../howto/logging-cookbook.rst:817 +#: ../../howto/logging-cookbook.rst:816 msgid "" "The web application uses `Gunicorn `_, which is a " "popular web application server that starts multiple worker processes to " @@ -1063,21 +1061,21 @@ msgid "" "the socket listener." msgstr "" -#: ../../howto/logging-cookbook.rst:822 +#: ../../howto/logging-cookbook.rst:821 msgid "To test these files, do the following in a POSIX environment:" msgstr "" -#: ../../howto/logging-cookbook.rst:824 +#: ../../howto/logging-cookbook.rst:823 msgid "" "Download `the Gist `__ as a ZIP archive using " "the :guilabel:`Download ZIP` button." msgstr "" -#: ../../howto/logging-cookbook.rst:827 +#: ../../howto/logging-cookbook.rst:826 msgid "Unzip the above files from the archive into a scratch directory." msgstr "" -#: ../../howto/logging-cookbook.rst:829 +#: ../../howto/logging-cookbook.rst:828 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 " @@ -1085,19 +1083,19 @@ msgid "" "which ``bottle``, ``gunicorn`` and ``supervisor`` are installed." msgstr "" -#: ../../howto/logging-cookbook.rst:834 +#: ../../howto/logging-cookbook.rst:833 msgid "" "Run ``bash ensure_app.sh`` to ensure that Supervisor is running with the " "above configuration." msgstr "" -#: ../../howto/logging-cookbook.rst:837 +#: ../../howto/logging-cookbook.rst:836 msgid "" "Run ``venv/bin/python client.py`` to exercise the web application, which " "will lead to records being written to the log." msgstr "" -#: ../../howto/logging-cookbook.rst:840 +#: ../../howto/logging-cookbook.rst:839 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 " @@ -1105,25 +1103,25 @@ msgid "" "by different worker processes in a non-deterministic way." msgstr "" -#: ../../howto/logging-cookbook.rst:845 +#: ../../howto/logging-cookbook.rst:844 msgid "" "You can shut down the listener and the web application by running ``venv/bin/" "supervisorctl -c supervisor.conf shutdown``." msgstr "" -#: ../../howto/logging-cookbook.rst:848 +#: ../../howto/logging-cookbook.rst:847 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." msgstr "" -#: ../../howto/logging-cookbook.rst:851 +#: ../../howto/logging-cookbook.rst:850 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:" msgstr "" -#: ../../howto/logging-cookbook.rst:854 +#: ../../howto/logging-cookbook.rst:853 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 " @@ -1131,18 +1129,18 @@ msgid "" "ignored)." msgstr "" -#: ../../howto/logging-cookbook.rst:859 +#: ../../howto/logging-cookbook.rst:858 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 " "``port`` value to ``null``." msgstr "" -#: ../../howto/logging-cookbook.rst:869 +#: ../../howto/logging-cookbook.rst:868 msgid "Adding contextual information to your logging output" msgstr "" -#: ../../howto/logging-cookbook.rst:871 +#: ../../howto/logging-cookbook.rst:870 msgid "" "Sometimes you want logging output to contain contextual information in " "addition to the parameters passed to the logging call. For example, in a " @@ -1158,11 +1156,11 @@ msgid "" "of :class:`Logger` instances becomes effectively unbounded." msgstr "" -#: ../../howto/logging-cookbook.rst:886 +#: ../../howto/logging-cookbook.rst:885 msgid "Using LoggerAdapters to impart contextual information" msgstr "" -#: ../../howto/logging-cookbook.rst:888 +#: ../../howto/logging-cookbook.rst:887 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. " @@ -1173,7 +1171,7 @@ msgid "" "interchangeably." msgstr "" -#: ../../howto/logging-cookbook.rst:896 +#: ../../howto/logging-cookbook.rst:895 msgid "" "When you create an instance of :class:`LoggerAdapter`, you pass it " "a :class:`Logger` instance and a dict-like object which contains your " @@ -1184,7 +1182,7 @@ msgid "" "code of :class:`LoggerAdapter`::" msgstr "" -#: ../../howto/logging-cookbook.rst:904 +#: ../../howto/logging-cookbook.rst:903 msgid "" "def debug(self, msg, /, *args, **kwargs):\n" " \"\"\"\n" @@ -1195,7 +1193,7 @@ msgid "" " self.logger.debug(msg, *args, **kwargs)" msgstr "" -#: ../../howto/logging-cookbook.rst:912 +#: ../../howto/logging-cookbook.rst:911 msgid "" "The :meth:`~LoggerAdapter.process` method of :class:`LoggerAdapter` is where " "the contextual information is added to the logging output. It's passed the " @@ -1208,7 +1206,7 @@ msgid "" "be silently overwritten." msgstr "" -#: ../../howto/logging-cookbook.rst:921 +#: ../../howto/logging-cookbook.rst:920 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 " @@ -1220,7 +1218,7 @@ msgid "" "simple example::" msgstr "" -#: ../../howto/logging-cookbook.rst:929 +#: ../../howto/logging-cookbook.rst:928 msgid "" "class CustomAdapter(logging.LoggerAdapter):\n" " \"\"\"\n" @@ -1231,27 +1229,27 @@ msgid "" " return '[%s] %s' % (self.extra['connid'], msg), kwargs" msgstr "" -#: ../../howto/logging-cookbook.rst:937 +#: ../../howto/logging-cookbook.rst:936 msgid "which you can use like this::" msgstr "" -#: ../../howto/logging-cookbook.rst:939 +#: ../../howto/logging-cookbook.rst:938 msgid "" "logger = logging.getLogger(__name__)\n" "adapter = CustomAdapter(logger, {'connid': some_conn_id})" msgstr "" -#: ../../howto/logging-cookbook.rst:942 +#: ../../howto/logging-cookbook.rst:941 msgid "" "Then any events that you log to the adapter will have the value of " "``some_conn_id`` prepended to the log messages." msgstr "" -#: ../../howto/logging-cookbook.rst:946 +#: ../../howto/logging-cookbook.rst:945 msgid "Using objects other than dicts to pass contextual information" msgstr "" -#: ../../howto/logging-cookbook.rst:948 +#: ../../howto/logging-cookbook.rst:947 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 " @@ -1260,11 +1258,11 @@ msgid "" "would be constant)." msgstr "" -#: ../../howto/logging-cookbook.rst:957 +#: ../../howto/logging-cookbook.rst:956 msgid "Using Filters to impart contextual information" msgstr "" -#: ../../howto/logging-cookbook.rst:959 +#: ../../howto/logging-cookbook.rst:958 msgid "" "You can also add contextual information to log output using a user-" "defined :class:`Filter`. ``Filter`` instances are allowed to modify the " @@ -1273,7 +1271,7 @@ msgid "" "custom :class:`Formatter`." msgstr "" -#: ../../howto/logging-cookbook.rst:964 +#: ../../howto/logging-cookbook.rst:963 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 " @@ -1285,7 +1283,7 @@ msgid "" "Here's an example script::" msgstr "" -#: ../../howto/logging-cookbook.rst:973 +#: ../../howto/logging-cookbook.rst:972 msgid "" "import logging\n" "from random import choice\n" @@ -1328,11 +1326,11 @@ msgid "" "'parameters')" msgstr "" -#: ../../howto/logging-cookbook.rst:1010 +#: ../../howto/logging-cookbook.rst:1009 msgid "which, when run, produces something like:" msgstr "" -#: ../../howto/logging-cookbook.rst:1012 +#: ../../howto/logging-cookbook.rst:1011 msgid "" "2010-09-06 22:38:15,292 a.b.c DEBUG IP: 123.231.231.123 User: fred A " "debug message\n" @@ -1360,11 +1358,11 @@ msgid "" "message at INFO level with 2 parameters" msgstr "" -#: ../../howto/logging-cookbook.rst:1028 +#: ../../howto/logging-cookbook.rst:1027 msgid "Use of ``contextvars``" msgstr "" -#: ../../howto/logging-cookbook.rst:1030 +#: ../../howto/logging-cookbook.rst:1029 msgid "" "Since Python 3.7, the :mod:`contextvars` module has provided context-local " "storage which works for both :mod:`threading` and :mod:`asyncio` processing " @@ -1374,7 +1372,7 @@ msgid "" "attributes handled by web applications." msgstr "" -#: ../../howto/logging-cookbook.rst:1036 +#: ../../howto/logging-cookbook.rst:1035 msgid "" "For the purposes of illustration, say that you have different web " "applications, each independent of the other but running in the same Python " @@ -1385,11 +1383,11 @@ msgid "" "information such as client IP, HTTP request method and client username?" msgstr "" -#: ../../howto/logging-cookbook.rst:1043 +#: ../../howto/logging-cookbook.rst:1042 msgid "Let's assume that the library can be simulated by the following code:" msgstr "" -#: ../../howto/logging-cookbook.rst:1045 +#: ../../howto/logging-cookbook.rst:1044 msgid "" "# webapplib.py\n" "import logging\n" @@ -1404,14 +1402,14 @@ msgid "" " time.sleep(0.01)" msgstr "" -#: ../../howto/logging-cookbook.rst:1059 +#: ../../howto/logging-cookbook.rst:1058 msgid "" "We can simulate the multiple web applications by means of two simple " "classes, ``Request`` and ``WebApp``. These simulate how real threaded web " "applications work - each request is handled by a thread:" msgstr "" -#: ../../howto/logging-cookbook.rst:1063 +#: ../../howto/logging-cookbook.rst:1062 msgid "" "# main.py\n" "import argparse\n" @@ -1566,7 +1564,7 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:1203 +#: ../../howto/logging-cookbook.rst:1202 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 " @@ -1577,7 +1575,7 @@ msgid "" "illustrated by the following shell output:" msgstr "" -#: ../../howto/logging-cookbook.rst:1210 +#: ../../howto/logging-cookbook.rst:1209 msgid "" "~/logging-contextual-webapp$ python main.py\n" "app1 processed 51 requests\n" @@ -1632,11 +1630,11 @@ msgid "" "147" msgstr "" -#: ../../howto/logging-cookbook.rst:1250 +#: ../../howto/logging-cookbook.rst:1249 msgid "Imparting contextual information in handlers" msgstr "" -#: ../../howto/logging-cookbook.rst:1252 +#: ../../howto/logging-cookbook.rst:1251 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 " @@ -1644,7 +1642,7 @@ msgid "" "instead of modifying it in-place, as shown in the following script::" msgstr "" -#: ../../howto/logging-cookbook.rst:1257 +#: ../../howto/logging-cookbook.rst:1256 msgid "" "import copy\n" "import logging\n" @@ -1666,11 +1664,11 @@ msgid "" " logger.info('A log message')" msgstr "" -#: ../../howto/logging-cookbook.rst:1279 +#: ../../howto/logging-cookbook.rst:1278 msgid "Logging to a single file from multiple processes" msgstr "" -#: ../../howto/logging-cookbook.rst:1281 +#: ../../howto/logging-cookbook.rst:1280 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 " @@ -1686,7 +1684,7 @@ msgid "" "starting point for you to adapt in your own applications." msgstr "" -#: ../../howto/logging-cookbook.rst:1294 +#: ../../howto/logging-cookbook.rst:1293 msgid "" "You could also write your own handler which uses " "the :class:`~multiprocessing.Lock` class from the :mod:`multiprocessing` " @@ -1695,7 +1693,7 @@ msgid "" "of :mod:`multiprocessing`." msgstr "" -#: ../../howto/logging-cookbook.rst:1301 +#: ../../howto/logging-cookbook.rst:1300 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 " @@ -1710,7 +1708,7 @@ msgid "" "requirements::" msgstr "" -#: ../../howto/logging-cookbook.rst:1312 +#: ../../howto/logging-cookbook.rst:1311 msgid "" "# You'll need these imports in your own code\n" "import logging\n" @@ -1830,13 +1828,13 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:1417 +#: ../../howto/logging-cookbook.rst:1416 msgid "" "A variant of the above script keeps the logging in the main process, in a " "separate thread::" msgstr "" -#: ../../howto/logging-cookbook.rst:1420 +#: ../../howto/logging-cookbook.rst:1419 msgid "" "import logging\n" "import logging.config\n" @@ -1933,7 +1931,7 @@ msgid "" " lp.join()" msgstr "" -#: ../../howto/logging-cookbook.rst:1512 +#: ../../howto/logging-cookbook.rst:1511 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 " @@ -1943,36 +1941,36 @@ msgid "" "appropriate destinations." msgstr "" -#: ../../howto/logging-cookbook.rst:1519 +#: ../../howto/logging-cookbook.rst:1518 msgid "Using concurrent.futures.ProcessPoolExecutor" msgstr "" -#: ../../howto/logging-cookbook.rst:1521 +#: ../../howto/logging-cookbook.rst:1520 msgid "" "If you want to use :class:`concurrent.futures.ProcessPoolExecutor` to start " "your worker processes, you need to create the queue slightly differently. " "Instead of" msgstr "" -#: ../../howto/logging-cookbook.rst:1525 +#: ../../howto/logging-cookbook.rst:1524 msgid "queue = multiprocessing.Queue(-1)" msgstr "" -#: ../../howto/logging-cookbook.rst:1529 +#: ../../howto/logging-cookbook.rst:1528 msgid "you should use" msgstr "" -#: ../../howto/logging-cookbook.rst:1531 +#: ../../howto/logging-cookbook.rst:1530 msgid "" "queue = multiprocessing.Manager().Queue(-1) # also works with the examples " "above" msgstr "" -#: ../../howto/logging-cookbook.rst:1535 +#: ../../howto/logging-cookbook.rst:1534 msgid "and you can then replace the worker creation from this::" msgstr "" -#: ../../howto/logging-cookbook.rst:1537 +#: ../../howto/logging-cookbook.rst:1536 msgid "" "workers = []\n" "for i in range(10):\n" @@ -1984,22 +1982,22 @@ msgid "" " w.join()" msgstr "" -#: ../../howto/logging-cookbook.rst:1546 +#: ../../howto/logging-cookbook.rst:1545 msgid "to this (remembering to first import :mod:`concurrent.futures`)::" msgstr "" -#: ../../howto/logging-cookbook.rst:1548 +#: ../../howto/logging-cookbook.rst:1547 msgid "" "with concurrent.futures.ProcessPoolExecutor(max_workers=10) as executor:\n" " for i in range(10):\n" " executor.submit(worker_process, queue, worker_configurer)" msgstr "" -#: ../../howto/logging-cookbook.rst:1553 +#: ../../howto/logging-cookbook.rst:1552 msgid "Deploying web applications using Gunicorn and uWSGI" msgstr "" -#: ../../howto/logging-cookbook.rst:1555 +#: ../../howto/logging-cookbook.rst:1554 msgid "" "When deploying web applications using `Gunicorn `_ or " "`uWSGI `_ (or similar), " @@ -2011,11 +2009,11 @@ msgid "" "listener in production`_ for more details." msgstr "" -#: ../../howto/logging-cookbook.rst:1565 +#: ../../howto/logging-cookbook.rst:1564 msgid "Using file rotation" msgstr "" -#: ../../howto/logging-cookbook.rst:1570 +#: ../../howto/logging-cookbook.rst:1569 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, " @@ -2024,7 +2022,7 @@ msgid "" "usage pattern, the logging package provides a :class:`RotatingFileHandler`::" msgstr "" -#: ../../howto/logging-cookbook.rst:1576 +#: ../../howto/logging-cookbook.rst:1575 msgid "" "import glob\n" "import logging\n" @@ -2053,13 +2051,13 @@ msgid "" " print(filename)" msgstr "" -#: ../../howto/logging-cookbook.rst:1602 +#: ../../howto/logging-cookbook.rst:1601 msgid "" "The result should be 6 separate files, each with part of the log history for " "the application:" msgstr "" -#: ../../howto/logging-cookbook.rst:1605 +#: ../../howto/logging-cookbook.rst:1604 msgid "" "logging_rotatingfile_example.out\n" "logging_rotatingfile_example.out.1\n" @@ -2069,25 +2067,25 @@ msgid "" "logging_rotatingfile_example.out.5" msgstr "" -#: ../../howto/logging-cookbook.rst:1614 +#: ../../howto/logging-cookbook.rst:1613 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 "" -#: ../../howto/logging-cookbook.rst:1619 +#: ../../howto/logging-cookbook.rst:1618 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." msgstr "" -#: ../../howto/logging-cookbook.rst:1627 +#: ../../howto/logging-cookbook.rst:1626 msgid "Use of alternative formatting styles" msgstr "" -#: ../../howto/logging-cookbook.rst:1629 +#: ../../howto/logging-cookbook.rst:1628 msgid "" "When logging was added to the Python standard library, the only way of " "formatting messages with variable content was to use the %-formatting " @@ -2096,7 +2094,7 @@ msgid "" "and :meth:`str.format` (added in Python 2.6)." msgstr "" -#: ../../howto/logging-cookbook.rst:1635 +#: ../../howto/logging-cookbook.rst:1634 msgid "" "Logging (as of 3.2) provides improved support for these two additional " "formatting styles. The :class:`Formatter` class been enhanced to take an " @@ -2109,7 +2107,7 @@ msgid "" "console session to show the possibilities:" msgstr "" -#: ../../howto/logging-cookbook.rst:1645 +#: ../../howto/logging-cookbook.rst:1644 msgid "" ">>> import logging\n" ">>> root = logging.getLogger()\n" @@ -2134,21 +2132,21 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:1669 +#: ../../howto/logging-cookbook.rst:1668 msgid "" "Note that the formatting of logging messages for final output to logs is " "completely independent of how an individual logging message is constructed. " "That can still use %-formatting, as shown here::" msgstr "" -#: ../../howto/logging-cookbook.rst:1673 +#: ../../howto/logging-cookbook.rst:1672 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" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:1677 +#: ../../howto/logging-cookbook.rst:1676 msgid "" "Logging calls (``logger.debug()``, ``logger.info()`` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -2164,7 +2162,7 @@ msgid "" "format strings." msgstr "" -#: ../../howto/logging-cookbook.rst:1690 +#: ../../howto/logging-cookbook.rst:1689 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 " @@ -2173,7 +2171,7 @@ msgid "" "the following two classes::" msgstr "" -#: ../../howto/logging-cookbook.rst:1696 ../../howto/logging-cookbook.rst:2784 +#: ../../howto/logging-cookbook.rst:1695 ../../howto/logging-cookbook.rst:2765 msgid "" "class BraceMessage:\n" " def __init__(self, fmt, /, *args, **kwargs):\n" @@ -2194,7 +2192,7 @@ msgid "" " return Template(self.fmt).substitute(**self.kwargs)" msgstr "" -#: ../../howto/logging-cookbook.rst:1714 +#: ../../howto/logging-cookbook.rst:1713 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 " @@ -2205,14 +2203,14 @@ msgid "" "used as a synonym/alias for :func:`gettext.gettext` or its brethren)." msgstr "" -#: ../../howto/logging-cookbook.rst:1722 +#: ../../howto/logging-cookbook.rst:1721 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 " "that they're declared in a module called ``wherever``):" msgstr "" -#: ../../howto/logging-cookbook.rst:1726 +#: ../../howto/logging-cookbook.rst:1725 msgid "" ">>> from wherever import BraceMessage as __\n" ">>> print(__('Message with {0} {name}', 2, name='placeholders'))\n" @@ -2231,14 +2229,14 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:1744 +#: ../../howto/logging-cookbook.rst:1743 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 " "this approach." msgstr "" -#: ../../howto/logging-cookbook.rst:1748 +#: ../../howto/logging-cookbook.rst:1747 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 " @@ -2249,13 +2247,13 @@ msgid "" "sugar for a constructor call to one of the :samp:`{XXX}Message` classes." msgstr "" -#: ../../howto/logging-cookbook.rst:1756 +#: ../../howto/logging-cookbook.rst:1755 msgid "" "If you prefer, you can use a :class:`LoggerAdapter` to achieve a similar " "effect to the above, as in the following example::" msgstr "" -#: ../../howto/logging-cookbook.rst:1759 +#: ../../howto/logging-cookbook.rst:1758 msgid "" "import logging\n" "\n" @@ -2284,17 +2282,17 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:1785 +#: ../../howto/logging-cookbook.rst:1784 msgid "" "The above script should log the message ``Hello, world!`` when run with " "Python 3.8 or later." msgstr "" -#: ../../howto/logging-cookbook.rst:1794 +#: ../../howto/logging-cookbook.rst:1793 msgid "Customizing ``LogRecord``" msgstr "" -#: ../../howto/logging-cookbook.rst:1796 +#: ../../howto/logging-cookbook.rst:1795 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, " @@ -2305,28 +2303,28 @@ msgid "" "was done:" msgstr "" -#: ../../howto/logging-cookbook.rst:1803 +#: ../../howto/logging-cookbook.rst:1802 msgid "" ":meth:`Logger.makeRecord`, which is called in the normal process of logging " "an event. This invoked :class:`LogRecord` directly to create an instance." msgstr "" -#: ../../howto/logging-cookbook.rst:1806 +#: ../../howto/logging-cookbook.rst:1805 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 "" -#: ../../howto/logging-cookbook.rst:1812 +#: ../../howto/logging-cookbook.rst:1811 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." msgstr "" -#: ../../howto/logging-cookbook.rst:1815 +#: ../../howto/logging-cookbook.rst:1814 msgid "" "Create your own :class:`Logger` subclass, which " "overrides :meth:`Logger.makeRecord`, and set it " @@ -2334,14 +2332,14 @@ msgid "" "are instantiated." msgstr "" -#: ../../howto/logging-cookbook.rst:1818 +#: ../../howto/logging-cookbook.rst:1817 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 " "called." msgstr "" -#: ../../howto/logging-cookbook.rst:1822 +#: ../../howto/logging-cookbook.rst:1821 msgid "" "The first approach would be a little unwieldy in the scenario where (say) " "several different libraries wanted to do different things. Each would " @@ -2349,7 +2347,7 @@ msgid "" "last would win." msgstr "" -#: ../../howto/logging-cookbook.rst:1827 +#: ../../howto/logging-cookbook.rst:1826 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 " @@ -2358,21 +2356,15 @@ msgid "" "would do simply by adding new packages or modules and doing ::" msgstr "" -#: ../../howto/logging-cookbook.rst:1833 +#: ../../howto/logging-cookbook.rst:1832 msgid "logger = logging.getLogger(__name__)" msgstr "" -#: ../../howto/logging-cookbook.rst:1835 -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:1834 +msgid "at module level). It's probably one too many things to think about." msgstr "" -#: ../../howto/logging-cookbook.rst:1841 +#: ../../howto/logging-cookbook.rst:1836 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 " @@ -2382,7 +2374,7 @@ msgid "" "as :class:`LogRecord` is the default setting for the factory." msgstr "" -#: ../../howto/logging-cookbook.rst:1848 +#: ../../howto/logging-cookbook.rst:1843 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 " @@ -2390,7 +2382,7 @@ msgid "" "this::" msgstr "" -#: ../../howto/logging-cookbook.rst:1852 +#: ../../howto/logging-cookbook.rst:1847 msgid "" "old_factory = logging.getLogRecordFactory()\n" "\n" @@ -2402,7 +2394,7 @@ msgid "" "logging.setLogRecordFactory(record_factory)" msgstr "" -#: ../../howto/logging-cookbook.rst:1861 +#: ../../howto/logging-cookbook.rst:1856 msgid "" "This pattern allows different libraries to chain factories together, and as " "long as they don't overwrite each other's attributes or unintentionally " @@ -2412,22 +2404,22 @@ msgid "" "used when the use of a :class:`Filter` does not provide the desired result." msgstr "" -#: ../../howto/logging-cookbook.rst:1873 +#: ../../howto/logging-cookbook.rst:1868 msgid "Subclassing QueueHandler and QueueListener- a ZeroMQ example" msgstr "" -#: ../../howto/logging-cookbook.rst:1876 ../../howto/logging-cookbook.rst:2009 +#: ../../howto/logging-cookbook.rst:1871 ../../howto/logging-cookbook.rst:2004 msgid "Subclass ``QueueHandler``" msgstr "" -#: ../../howto/logging-cookbook.rst:1878 +#: ../../howto/logging-cookbook.rst:1873 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 " "socket is created separately and passed to the handler (as its 'queue')::" msgstr "" -#: ../../howto/logging-cookbook.rst:1882 +#: ../../howto/logging-cookbook.rst:1877 msgid "" "import zmq # using pyzmq, the Python binding for ZeroMQ\n" "import json # for serializing records portably\n" @@ -2444,13 +2436,13 @@ msgid "" "handler = ZeroMQSocketHandler(sock)" msgstr "" -#: ../../howto/logging-cookbook.rst:1897 +#: ../../howto/logging-cookbook.rst:1892 msgid "" "Of course there are other ways of organizing this, for example passing in " "the data needed by the handler to create the socket::" msgstr "" -#: ../../howto/logging-cookbook.rst:1900 +#: ../../howto/logging-cookbook.rst:1895 msgid "" "class ZeroMQSocketHandler(QueueHandler):\n" " def __init__(self, uri, socktype=zmq.PUB, ctx=None):\n" @@ -2466,37 +2458,37 @@ msgid "" " self.queue.close()" msgstr "" -#: ../../howto/logging-cookbook.rst:1915 ../../howto/logging-cookbook.rst:1945 +#: ../../howto/logging-cookbook.rst:1910 ../../howto/logging-cookbook.rst:1940 msgid "Subclass ``QueueListener``" msgstr "" -#: ../../howto/logging-cookbook.rst:1917 +#: ../../howto/logging-cookbook.rst:1912 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::" msgstr "" -#: ../../howto/logging-cookbook.rst:1920 +#: ../../howto/logging-cookbook.rst:1915 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 "" -#: ../../howto/logging-cookbook.rst:1935 +#: ../../howto/logging-cookbook.rst:1930 msgid "Subclassing QueueHandler and QueueListener- a ``pynng`` example" msgstr "" -#: ../../howto/logging-cookbook.rst:1937 +#: ../../howto/logging-cookbook.rst:1932 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 `_ of the Django documentation." msgstr "" -#: ../../howto/logging-cookbook.rst:2183 +#: ../../howto/logging-cookbook.rst:2178 msgid "Using a rotator and namer to customize log rotation processing" msgstr "" -#: ../../howto/logging-cookbook.rst:2185 +#: ../../howto/logging-cookbook.rst:2180 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::" msgstr "" -#: ../../howto/logging-cookbook.rst:2188 +#: ../../howto/logging-cookbook.rst:2183 msgid "" "import gzip\n" "import logging\n" @@ -2802,12 +2794,12 @@ msgid "" " root.info(f'Message no. {i + 1}')" msgstr "" -#: ../../howto/logging-cookbook.rst:2216 +#: ../../howto/logging-cookbook.rst:2211 msgid "" "After running this, you will see six new files, five of which are compressed:" msgstr "" -#: ../../howto/logging-cookbook.rst:2218 +#: ../../howto/logging-cookbook.rst:2213 msgid "" "$ ls rotated.log*\n" "rotated.log rotated.log.2.gz rotated.log.4.gz\n" @@ -2818,11 +2810,11 @@ msgid "" "2023-01-20 02:28:17,767 Message no. 998" msgstr "" -#: ../../howto/logging-cookbook.rst:2229 +#: ../../howto/logging-cookbook.rst:2224 msgid "A more elaborate multiprocessing example" msgstr "" -#: ../../howto/logging-cookbook.rst:2231 +#: ../../howto/logging-cookbook.rst:2226 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -2830,7 +2822,7 @@ msgid "" "in a real multiprocessing scenario." msgstr "" -#: ../../howto/logging-cookbook.rst:2236 +#: ../../howto/logging-cookbook.rst:2231 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 " @@ -2843,19 +2835,19 @@ msgid "" "own scenario." msgstr "" -#: ../../howto/logging-cookbook.rst:2246 +#: ../../howto/logging-cookbook.rst:2241 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "" -#: ../../howto/logging-cookbook.rst:2249 +#: ../../howto/logging-cookbook.rst:2244 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" @@ -2894,13 +2886,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" @@ -2926,13 +2913,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" @@ -2962,10 +2944,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" @@ -2984,10 +2963,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" @@ -3072,11 +3048,11 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:2458 +#: ../../howto/logging-cookbook.rst:2439 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "" -#: ../../howto/logging-cookbook.rst:2460 +#: ../../howto/logging-cookbook.rst:2441 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 " @@ -3085,7 +3061,7 @@ msgid "" "<5424#section-6>`.)" msgstr "" -#: ../../howto/logging-cookbook.rst:2466 +#: ../../howto/logging-cookbook.rst:2447 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 " @@ -3093,7 +3069,7 @@ msgid "" "hence not allowing any pure-ASCII component to appear before it." msgstr "" -#: ../../howto/logging-cookbook.rst:2472 +#: ../../howto/logging-cookbook.rst:2453 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 " @@ -3102,38 +3078,38 @@ msgid "" "encoded using UTF-8, then you need to do the following:" msgstr "" -#: ../../howto/logging-cookbook.rst:2478 +#: ../../howto/logging-cookbook.rst:2459 msgid "" "Attach a :class:`~logging.Formatter` instance to " "your :class:`~logging.handlers.SysLogHandler` instance, with a format string " "such as::" msgstr "" -#: ../../howto/logging-cookbook.rst:2482 +#: ../../howto/logging-cookbook.rst:2463 msgid "'ASCII section\\ufeffUnicode section'" msgstr "" -#: ../../howto/logging-cookbook.rst:2484 +#: ../../howto/logging-cookbook.rst:2465 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'``." msgstr "" -#: ../../howto/logging-cookbook.rst:2487 +#: ../../howto/logging-cookbook.rst:2468 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 " "way, it will remain unchanged after UTF-8 encoding)." msgstr "" -#: ../../howto/logging-cookbook.rst:2491 +#: ../../howto/logging-cookbook.rst:2472 msgid "" "Replace the Unicode section with whatever placeholders you like; if the data " "which appears there after substitution contains characters outside the ASCII " "range, that's fine -- it will be encoded using UTF-8." msgstr "" -#: ../../howto/logging-cookbook.rst:2495 +#: ../../howto/logging-cookbook.rst:2476 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -3142,11 +3118,11 @@ msgid "" "daemon may complain." msgstr "" -#: ../../howto/logging-cookbook.rst:2502 +#: ../../howto/logging-cookbook.rst:2483 msgid "Implementing structured logging" msgstr "" -#: ../../howto/logging-cookbook.rst:2504 +#: ../../howto/logging-cookbook.rst:2485 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -3158,7 +3134,7 @@ msgid "" "machine-parseable manner::" msgstr "" -#: ../../howto/logging-cookbook.rst:2512 +#: ../../howto/logging-cookbook.rst:2493 msgid "" "import json\n" "import logging\n" @@ -3177,29 +3153,29 @@ msgid "" "logging.info(_('message 1', foo='bar', bar='baz', num=123, fnum=123.456))" msgstr "" -#: ../../howto/logging-cookbook.rst:2528 +#: ../../howto/logging-cookbook.rst:2509 msgid "If the above script is run, it prints:" msgstr "" -#: ../../howto/logging-cookbook.rst:2530 +#: ../../howto/logging-cookbook.rst:2511 msgid "" "message 1 >>> {\"fnum\": 123.456, \"num\": 123, \"bar\": \"baz\", \"foo\": " "\"bar\"}" msgstr "" -#: ../../howto/logging-cookbook.rst:2534 ../../howto/logging-cookbook.rst:2576 +#: ../../howto/logging-cookbook.rst:2515 ../../howto/logging-cookbook.rst:2557 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "" -#: ../../howto/logging-cookbook.rst:2537 +#: ../../howto/logging-cookbook.rst:2518 msgid "" "If you need more specialised processing, you can use a custom JSON encoder, " "as in the following complete example::" msgstr "" -#: ../../howto/logging-cookbook.rst:2540 +#: ../../howto/logging-cookbook.rst:2521 msgid "" "import json\n" "import logging\n" @@ -3232,19 +3208,19 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:2570 +#: ../../howto/logging-cookbook.rst:2551 msgid "When the above script is run, it prints:" msgstr "" -#: ../../howto/logging-cookbook.rst:2572 +#: ../../howto/logging-cookbook.rst:2553 msgid "message 1 >>> {\"snowman\": \"\\u2603\", \"set_value\": [1, 2, 3]}" msgstr "" -#: ../../howto/logging-cookbook.rst:2585 +#: ../../howto/logging-cookbook.rst:2566 msgid "Customizing handlers with :func:`dictConfig`" msgstr "" -#: ../../howto/logging-cookbook.rst:2587 +#: ../../howto/logging-cookbook.rst:2568 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 " @@ -3254,7 +3230,7 @@ msgid "" "customize handler creation using a plain function such as::" msgstr "" -#: ../../howto/logging-cookbook.rst:2594 +#: ../../howto/logging-cookbook.rst:2575 msgid "" "def owned_file_handler(filename, mode='a', encoding=None, owner=None):\n" " if owner:\n" @@ -3264,14 +3240,14 @@ msgid "" " return logging.FileHandler(filename, mode, encoding)" msgstr "" -#: ../../howto/logging-cookbook.rst:2601 +#: ../../howto/logging-cookbook.rst:2582 msgid "" "You can then specify, in a logging configuration passed " "to :func:`dictConfig`, that a logging handler be created by calling this " "function::" msgstr "" -#: ../../howto/logging-cookbook.rst:2604 +#: ../../howto/logging-cookbook.rst:2585 msgid "" "LOGGING = {\n" " 'version': 1,\n" @@ -3304,14 +3280,14 @@ msgid "" "}" msgstr "" -#: ../../howto/logging-cookbook.rst:2634 +#: ../../howto/logging-cookbook.rst:2615 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 " "working script, ``chowntest.py``::" msgstr "" -#: ../../howto/logging-cookbook.rst:2638 +#: ../../howto/logging-cookbook.rst:2619 msgid "" "import logging, logging.config, os, shutil\n" "\n" @@ -3357,11 +3333,11 @@ msgid "" "logger.debug('A debug message')" msgstr "" -#: ../../howto/logging-cookbook.rst:2681 +#: ../../howto/logging-cookbook.rst:2662 msgid "To run this, you will probably need to run as ``root``:" msgstr "" -#: ../../howto/logging-cookbook.rst:2683 +#: ../../howto/logging-cookbook.rst:2664 msgid "" "$ sudo python3.3 chowntest.py\n" "$ cat chowntest.log\n" @@ -3370,7 +3346,7 @@ msgid "" "-rw-r--r-- 1 pulse pulse 55 2013-11-05 09:34 chowntest.log" msgstr "" -#: ../../howto/logging-cookbook.rst:2691 +#: ../../howto/logging-cookbook.rst:2672 msgid "" "Note that this example uses Python 3.3 because that's " "where :func:`shutil.chown` makes an appearance. This approach should work " @@ -3379,25 +3355,25 @@ msgid "" "actual ownership change using e.g. :func:`os.chown`." msgstr "" -#: ../../howto/logging-cookbook.rst:2697 +#: ../../howto/logging-cookbook.rst:2678 msgid "" "In practice, the handler-creating function may be in a utility module " "somewhere in your project. Instead of the line in the configuration::" msgstr "" -#: ../../howto/logging-cookbook.rst:2700 +#: ../../howto/logging-cookbook.rst:2681 msgid "'()': owned_file_handler," msgstr "" -#: ../../howto/logging-cookbook.rst:2702 +#: ../../howto/logging-cookbook.rst:2683 msgid "you could use e.g.::" msgstr "" -#: ../../howto/logging-cookbook.rst:2704 +#: ../../howto/logging-cookbook.rst:2685 msgid "'()': 'ext://project.util.owned_file_handler'," msgstr "" -#: ../../howto/logging-cookbook.rst:2706 +#: ../../howto/logging-cookbook.rst:2687 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://" @@ -3405,25 +3381,25 @@ msgid "" "resolved by :func:`dictConfig` from the ``ext://`` specification." msgstr "" -#: ../../howto/logging-cookbook.rst:2711 +#: ../../howto/logging-cookbook.rst:2692 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 " "same way, using :func:`os.chmod`." msgstr "" -#: ../../howto/logging-cookbook.rst:2715 +#: ../../howto/logging-cookbook.rst:2696 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 " "handlers, or a different type of handler altogether." msgstr "" -#: ../../howto/logging-cookbook.rst:2725 +#: ../../howto/logging-cookbook.rst:2706 msgid "Using particular formatting styles throughout your application" msgstr "" -#: ../../howto/logging-cookbook.rst:2727 +#: ../../howto/logging-cookbook.rst:2708 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -3434,7 +3410,7 @@ msgid "" "is constructed." msgstr "" -#: ../../howto/logging-cookbook.rst:2734 +#: ../../howto/logging-cookbook.rst:2715 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -3450,7 +3426,7 @@ msgid "" "format strings." msgstr "" -#: ../../howto/logging-cookbook.rst:2746 +#: ../../howto/logging-cookbook.rst:2727 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -3458,7 +3434,7 @@ msgid "" "formatting." msgstr "" -#: ../../howto/logging-cookbook.rst:2750 +#: ../../howto/logging-cookbook.rst:2731 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 " @@ -3466,11 +3442,11 @@ msgid "" "formatting styles can be accommodated." msgstr "" -#: ../../howto/logging-cookbook.rst:2757 +#: ../../howto/logging-cookbook.rst:2738 msgid "Using LogRecord factories" msgstr "" -#: ../../howto/logging-cookbook.rst:2759 +#: ../../howto/logging-cookbook.rst:2740 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 " @@ -3485,17 +3461,17 @@ msgid "" "implementation does." msgstr "" -#: ../../howto/logging-cookbook.rst:2770 +#: ../../howto/logging-cookbook.rst:2751 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` " "and :class:`LogRecord` for more information." msgstr "" -#: ../../howto/logging-cookbook.rst:2775 +#: ../../howto/logging-cookbook.rst:2756 msgid "Using custom message objects" msgstr "" -#: ../../howto/logging-cookbook.rst:2777 +#: ../../howto/logging-cookbook.rst:2758 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall " @@ -3505,7 +3481,7 @@ msgid "" "Consider the following two classes::" msgstr "" -#: ../../howto/logging-cookbook.rst:2802 +#: ../../howto/logging-cookbook.rst:2783 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 " @@ -3516,13 +3492,13 @@ msgid "" "using ``_`` for localization)." msgstr "" -#: ../../howto/logging-cookbook.rst:2810 +#: ../../howto/logging-cookbook.rst:2791 msgid "" "Examples of this approach are given below. Firstly, formatting " "with :meth:`str.format`::" msgstr "" -#: ../../howto/logging-cookbook.rst:2813 +#: ../../howto/logging-cookbook.rst:2794 msgid "" ">>> __ = BraceMessage\n" ">>> print(__('Message with {0} {1}', 2, 'placeholders'))\n" @@ -3537,11 +3513,11 @@ msgid "" "Message with coordinates: (0.50, 0.50)" msgstr "" -#: ../../howto/logging-cookbook.rst:2824 +#: ../../howto/logging-cookbook.rst:2805 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "" -#: ../../howto/logging-cookbook.rst:2826 +#: ../../howto/logging-cookbook.rst:2807 msgid "" ">>> __ = DollarMessage\n" ">>> print(__('Message with $num $what', num=2, what='placeholders'))\n" @@ -3549,7 +3525,7 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:2831 +#: ../../howto/logging-cookbook.rst:2812 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 " @@ -3561,11 +3537,11 @@ msgid "" "shown above." msgstr "" -#: ../../howto/logging-cookbook.rst:2845 +#: ../../howto/logging-cookbook.rst:2826 msgid "Configuring filters with :func:`dictConfig`" msgstr "" -#: ../../howto/logging-cookbook.rst:2847 +#: ../../howto/logging-cookbook.rst:2828 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). " @@ -3580,7 +3556,7 @@ msgid "" "a :class:`~logging.Filter` instance). Here is a complete example::" msgstr "" -#: ../../howto/logging-cookbook.rst:2858 +#: ../../howto/logging-cookbook.rst:2839 msgid "" "import logging\n" "import logging.config\n" @@ -3625,26 +3601,26 @@ msgid "" " logging.debug('hello - noshow')" msgstr "" -#: ../../howto/logging-cookbook.rst:2900 +#: ../../howto/logging-cookbook.rst:2881 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 " "above script will print:" msgstr "" -#: ../../howto/logging-cookbook.rst:2904 +#: ../../howto/logging-cookbook.rst:2885 msgid "changed: hello" msgstr "" -#: ../../howto/logging-cookbook.rst:2908 +#: ../../howto/logging-cookbook.rst:2889 msgid "which shows that the filter is working as configured." msgstr "" -#: ../../howto/logging-cookbook.rst:2910 +#: ../../howto/logging-cookbook.rst:2891 msgid "A couple of extra points to note:" msgstr "" -#: ../../howto/logging-cookbook.rst:2912 +#: ../../howto/logging-cookbook.rst:2893 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 " @@ -3654,7 +3630,7 @@ msgid "" "the above example." msgstr "" -#: ../../howto/logging-cookbook.rst:2919 +#: ../../howto/logging-cookbook.rst:2900 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 " @@ -3663,11 +3639,11 @@ msgid "" "above." msgstr "" -#: ../../howto/logging-cookbook.rst:2928 +#: ../../howto/logging-cookbook.rst:2909 msgid "Customized exception formatting" msgstr "" -#: ../../howto/logging-cookbook.rst:2930 +#: ../../howto/logging-cookbook.rst:2911 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, " @@ -3675,7 +3651,7 @@ msgid "" "formatter class, as shown in the following example::" msgstr "" -#: ../../howto/logging-cookbook.rst:2935 +#: ../../howto/logging-cookbook.rst:2916 msgid "" "import logging\n" "\n" @@ -3714,11 +3690,11 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:2971 +#: ../../howto/logging-cookbook.rst:2952 msgid "When run, this produces a file with exactly two lines:" msgstr "" -#: ../../howto/logging-cookbook.rst:2973 +#: ../../howto/logging-cookbook.rst:2954 msgid "" "28/01/2015 07:21:23|INFO|Sample message|\n" "28/01/2015 07:21:23|ERROR|ZeroDivisionError: division by zero|'Traceback " @@ -3726,18 +3702,18 @@ msgid "" "= 1 / 0\\nZeroDivisionError: division by zero'|" msgstr "" -#: ../../howto/logging-cookbook.rst:2978 +#: ../../howto/logging-cookbook.rst:2959 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 " "be helpful for more specialized needs." msgstr "" -#: ../../howto/logging-cookbook.rst:2985 +#: ../../howto/logging-cookbook.rst:2966 msgid "Speaking logging messages" msgstr "" -#: ../../howto/logging-cookbook.rst:2987 +#: ../../howto/logging-cookbook.rst:2968 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 " @@ -3754,7 +3730,7 @@ msgid "" "approach, which assumes that the ``espeak`` TTS package is available::" msgstr "" -#: ../../howto/logging-cookbook.rst:3000 +#: ../../howto/logging-cookbook.rst:2981 msgid "" "import logging\n" "import subprocess\n" @@ -3786,24 +3762,24 @@ msgid "" " sys.exit(main())" msgstr "" -#: ../../howto/logging-cookbook.rst:3029 +#: ../../howto/logging-cookbook.rst:3010 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "" -#: ../../howto/logging-cookbook.rst:3031 +#: ../../howto/logging-cookbook.rst:3012 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 " "run from a command line." msgstr "" -#: ../../howto/logging-cookbook.rst:3039 +#: ../../howto/logging-cookbook.rst:3020 msgid "Buffering logging messages and outputting them conditionally" msgstr "" -#: ../../howto/logging-cookbook.rst:3041 +#: ../../howto/logging-cookbook.rst:3022 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 " @@ -3813,7 +3789,7 @@ msgid "" "debug information to be output as well as the error." msgstr "" -#: ../../howto/logging-cookbook.rst:3048 +#: ../../howto/logging-cookbook.rst:3029 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 " @@ -3826,7 +3802,7 @@ msgid "" "subclass of ``MemoryHandler`` if you want custom flushing behavior." msgstr "" -#: ../../howto/logging-cookbook.rst:3058 +#: ../../howto/logging-cookbook.rst:3039 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 " @@ -3835,7 +3811,7 @@ msgid "" "levels - otherwise, it only logs at DEBUG, INFO and WARNING levels." msgstr "" -#: ../../howto/logging-cookbook.rst:3064 +#: ../../howto/logging-cookbook.rst:3045 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 " @@ -3847,11 +3823,11 @@ msgid "" "``logging.ERROR`` and ``100`` respectively." msgstr "" -#: ../../howto/logging-cookbook.rst:3072 +#: ../../howto/logging-cookbook.rst:3053 msgid "Here's the script::" msgstr "" -#: ../../howto/logging-cookbook.rst:3074 +#: ../../howto/logging-cookbook.rst:3055 msgid "" "import logging\n" "from logging.handlers import MemoryHandler\n" @@ -3917,11 +3893,11 @@ msgid "" " assert decorated_foo(True)" msgstr "" -#: ../../howto/logging-cookbook.rst:3135 +#: ../../howto/logging-cookbook.rst:3116 msgid "When this script is run, the following output should be observed:" msgstr "" -#: ../../howto/logging-cookbook.rst:3137 +#: ../../howto/logging-cookbook.rst:3118 msgid "" "Calling undecorated foo with False\n" "about to log at DEBUG ...\n" @@ -3950,29 +3926,29 @@ msgid "" "Actually logged at CRITICAL" msgstr "" -#: ../../howto/logging-cookbook.rst:3165 +#: ../../howto/logging-cookbook.rst:3146 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 " "lower severities are also logged." msgstr "" -#: ../../howto/logging-cookbook.rst:3169 +#: ../../howto/logging-cookbook.rst:3150 msgid "You can of course use the conventional means of decoration::" msgstr "" -#: ../../howto/logging-cookbook.rst:3171 +#: ../../howto/logging-cookbook.rst:3152 msgid "" "@log_if_errors(logger)\n" "def foo(fail=False):\n" " ..." msgstr "" -#: ../../howto/logging-cookbook.rst:3179 +#: ../../howto/logging-cookbook.rst:3160 msgid "Sending logging messages to email, with buffering" msgstr "" -#: ../../howto/logging-cookbook.rst:3181 +#: ../../howto/logging-cookbook.rst:3162 msgid "" "To illustrate how you can send log messages via email, so that a set number " "of messages are sent per email, you can " @@ -3984,7 +3960,7 @@ msgid "" "optional arguments.)" msgstr "" -#: ../../howto/logging-cookbook.rst:3189 +#: ../../howto/logging-cookbook.rst:3170 msgid "" "import logging\n" "import logging.handlers\n" @@ -4052,7 +4028,7 @@ msgid "" " h.close()" msgstr "" -#: ../../howto/logging-cookbook.rst:3253 +#: ../../howto/logging-cookbook.rst:3234 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 " @@ -4060,17 +4036,17 @@ msgid "" "messages. That makes up 102 messages as specified in the script." msgstr "" -#: ../../howto/logging-cookbook.rst:3261 +#: ../../howto/logging-cookbook.rst:3242 msgid "Formatting times using UTC (GMT) via configuration" msgstr "" -#: ../../howto/logging-cookbook.rst:3263 +#: ../../howto/logging-cookbook.rst:3244 msgid "" "Sometimes you want to format times using UTC, which can be done using a " "class such as ``UTCFormatter``, shown below::" msgstr "" -#: ../../howto/logging-cookbook.rst:3266 +#: ../../howto/logging-cookbook.rst:3247 msgid "" "import logging\n" "import time\n" @@ -4079,7 +4055,7 @@ msgid "" " converter = time.gmtime" msgstr "" -#: ../../howto/logging-cookbook.rst:3272 +#: ../../howto/logging-cookbook.rst:3253 msgid "" "and you can then use the ``UTCFormatter`` in your code instead " "of :class:`~logging.Formatter`. If you want to do that via configuration, " @@ -4087,7 +4063,7 @@ msgid "" "illustrated by the following complete example::" msgstr "" -#: ../../howto/logging-cookbook.rst:3277 +#: ../../howto/logging-cookbook.rst:3258 msgid "" "import logging\n" "import logging.config\n" @@ -4128,27 +4104,27 @@ msgid "" " logging.warning('The local time is %s', time.asctime())" msgstr "" -#: ../../howto/logging-cookbook.rst:3315 +#: ../../howto/logging-cookbook.rst:3296 msgid "When this script is run, it should print something like:" msgstr "" -#: ../../howto/logging-cookbook.rst:3317 +#: ../../howto/logging-cookbook.rst:3298 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" msgstr "" -#: ../../howto/logging-cookbook.rst:3322 +#: ../../howto/logging-cookbook.rst:3303 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." msgstr "" -#: ../../howto/logging-cookbook.rst:3329 +#: ../../howto/logging-cookbook.rst:3310 msgid "Using a context manager for selective logging" msgstr "" -#: ../../howto/logging-cookbook.rst:3331 +#: ../../howto/logging-cookbook.rst:3312 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 " @@ -4158,7 +4134,7 @@ msgid "" "scope of the context manager::" msgstr "" -#: ../../howto/logging-cookbook.rst:3338 +#: ../../howto/logging-cookbook.rst:3319 msgid "" "import logging\n" "import sys\n" @@ -4187,7 +4163,7 @@ msgid "" " # implicit return of None => don't swallow exceptions" msgstr "" -#: ../../howto/logging-cookbook.rst:3364 +#: ../../howto/logging-cookbook.rst:3345 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 " @@ -4196,13 +4172,13 @@ msgid "" "block exit - you could do this if you don't need the handler any more." msgstr "" -#: ../../howto/logging-cookbook.rst:3370 +#: ../../howto/logging-cookbook.rst:3351 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" msgstr "" -#: ../../howto/logging-cookbook.rst:3373 +#: ../../howto/logging-cookbook.rst:3354 msgid "" "if __name__ == '__main__':\n" " logger = logging.getLogger('foo')\n" @@ -4222,7 +4198,7 @@ msgid "" " logger.debug('7. This should not appear.')" msgstr "" -#: ../../howto/logging-cookbook.rst:3388 +#: ../../howto/logging-cookbook.rst:3369 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 " @@ -4235,11 +4211,11 @@ msgid "" "(like message #1) whereas message #7 doesn't (just like message #2)." msgstr "" -#: ../../howto/logging-cookbook.rst:3398 +#: ../../howto/logging-cookbook.rst:3379 msgid "If we run the resulting script, the result is as follows:" msgstr "" -#: ../../howto/logging-cookbook.rst:3400 +#: ../../howto/logging-cookbook.rst:3381 msgid "" "$ python logctx.py\n" "1. This should appear just once on stderr.\n" @@ -4249,23 +4225,23 @@ msgid "" "6. This should appear just once on stderr." msgstr "" -#: ../../howto/logging-cookbook.rst:3409 +#: ../../howto/logging-cookbook.rst:3390 msgid "" "If we run it again, but pipe ``stderr`` to ``/dev/null``, we see the " "following, which is the only message written to ``stdout``:" msgstr "" -#: ../../howto/logging-cookbook.rst:3412 +#: ../../howto/logging-cookbook.rst:3393 msgid "" "$ python logctx.py 2>/dev/null\n" "5. This should appear twice - once on stderr and once on stdout." msgstr "" -#: ../../howto/logging-cookbook.rst:3417 +#: ../../howto/logging-cookbook.rst:3398 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" -#: ../../howto/logging-cookbook.rst:3419 +#: ../../howto/logging-cookbook.rst:3400 msgid "" "$ python logctx.py >/dev/null\n" "1. This should appear just once on stderr.\n" @@ -4274,42 +4250,42 @@ msgid "" "6. This should appear just once on stderr." msgstr "" -#: ../../howto/logging-cookbook.rst:3427 +#: ../../howto/logging-cookbook.rst:3408 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." msgstr "" -#: ../../howto/logging-cookbook.rst:3429 +#: ../../howto/logging-cookbook.rst:3410 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 " "2 as well as Python 3." msgstr "" -#: ../../howto/logging-cookbook.rst:3437 +#: ../../howto/logging-cookbook.rst:3418 msgid "A CLI application starter template" msgstr "" -#: ../../howto/logging-cookbook.rst:3439 +#: ../../howto/logging-cookbook.rst:3420 msgid "Here's an example which shows how you can:" msgstr "" -#: ../../howto/logging-cookbook.rst:3441 +#: ../../howto/logging-cookbook.rst:3422 msgid "Use a logging level based on command-line arguments" msgstr "" -#: ../../howto/logging-cookbook.rst:3442 +#: ../../howto/logging-cookbook.rst:3423 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" msgstr "" -#: ../../howto/logging-cookbook.rst:3444 +#: ../../howto/logging-cookbook.rst:3425 msgid "Make use of simple, minimal configuration" msgstr "" -#: ../../howto/logging-cookbook.rst:3446 +#: ../../howto/logging-cookbook.rst:3427 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 " @@ -4320,7 +4296,7 @@ msgid "" "``logging.INFO``. Here's one way that ``app.py`` could be written::" msgstr "" -#: ../../howto/logging-cookbook.rst:3454 +#: ../../howto/logging-cookbook.rst:3435 msgid "" "import argparse\n" "import importlib\n" @@ -4367,13 +4343,13 @@ msgid "" " sys.exit(main())" msgstr "" -#: ../../howto/logging-cookbook.rst:3495 +#: ../../howto/logging-cookbook.rst:3476 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" msgstr "" -#: ../../howto/logging-cookbook.rst:3498 +#: ../../howto/logging-cookbook.rst:3479 msgid "" "# start.py\n" "import logging\n" @@ -4386,11 +4362,11 @@ msgid "" " logger.info('Started the \\'%s\\' service.', options.name)" msgstr "" -#: ../../howto/logging-cookbook.rst:3508 +#: ../../howto/logging-cookbook.rst:3489 msgid "and thus for stopping::" msgstr "" -#: ../../howto/logging-cookbook.rst:3510 +#: ../../howto/logging-cookbook.rst:3491 msgid "" "# stop.py\n" "import logging\n" @@ -4412,11 +4388,11 @@ msgid "" " logger.info('Stopped the %s service%s.', services, plural)" msgstr "" -#: ../../howto/logging-cookbook.rst:3529 +#: ../../howto/logging-cookbook.rst:3510 msgid "and similarly for restarting::" msgstr "" -#: ../../howto/logging-cookbook.rst:3531 +#: ../../howto/logging-cookbook.rst:3512 msgid "" "# restart.py\n" "import logging\n" @@ -4438,13 +4414,13 @@ msgid "" " logger.info('Restarted the %s service%s.', services, plural)" msgstr "" -#: ../../howto/logging-cookbook.rst:3550 +#: ../../howto/logging-cookbook.rst:3531 msgid "" "If we run this application with the default log level, we get output like " "this:" msgstr "" -#: ../../howto/logging-cookbook.rst:3552 +#: ../../howto/logging-cookbook.rst:3533 msgid "" "$ python app.py start foo\n" "INFO start Started the 'foo' service.\n" @@ -4456,19 +4432,19 @@ msgid "" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." msgstr "" -#: ../../howto/logging-cookbook.rst:3563 +#: ../../howto/logging-cookbook.rst:3544 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." msgstr "" -#: ../../howto/logging-cookbook.rst:3566 +#: ../../howto/logging-cookbook.rst:3547 msgid "" "If we change the logging level, then we can change the information sent to " "the log. For example, if we want more information:" msgstr "" -#: ../../howto/logging-cookbook.rst:3569 +#: ../../howto/logging-cookbook.rst:3550 msgid "" "$ python app.py --log-level DEBUG start foo\n" "DEBUG start About to start foo\n" @@ -4483,28 +4459,28 @@ msgid "" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." msgstr "" -#: ../../howto/logging-cookbook.rst:3583 +#: ../../howto/logging-cookbook.rst:3564 msgid "And if we want less:" msgstr "" -#: ../../howto/logging-cookbook.rst:3585 +#: ../../howto/logging-cookbook.rst:3566 msgid "" "$ python app.py --log-level WARNING start foo\n" "$ python app.py --log-level WARNING stop foo bar\n" "$ python app.py --log-level WARNING restart foo bar baz" msgstr "" -#: ../../howto/logging-cookbook.rst:3591 +#: ../../howto/logging-cookbook.rst:3572 msgid "" "In this case, the commands don't print anything to the console, since " "nothing at ``WARNING`` level or above is logged by them." msgstr "" -#: ../../howto/logging-cookbook.rst:3597 +#: ../../howto/logging-cookbook.rst:3578 msgid "A Qt GUI for logging" msgstr "" -#: ../../howto/logging-cookbook.rst:3599 +#: ../../howto/logging-cookbook.rst:3580 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-" @@ -4512,7 +4488,7 @@ msgid "" "or :pypi:`PyQt5` libraries." msgstr "" -#: ../../howto/logging-cookbook.rst:3604 +#: ../../howto/logging-cookbook.rst:3585 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 " @@ -4522,14 +4498,14 @@ msgid "" "logging messages at random levels with random short delays in between)." msgstr "" -#: ../../howto/logging-cookbook.rst:3611 +#: ../../howto/logging-cookbook.rst:3592 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 " "``QThread``, which offers better integration with other ``Qt`` components." msgstr "" -#: ../../howto/logging-cookbook.rst:3615 +#: ../../howto/logging-cookbook.rst:3596 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 " @@ -4537,7 +4513,7 @@ msgid "" "more detailed information." msgstr "" -#: ../../howto/logging-cookbook.rst:3620 +#: ../../howto/logging-cookbook.rst:3601 msgid "" "import logging\n" "import random\n" @@ -4787,11 +4763,11 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:3851 +#: ../../howto/logging-cookbook.rst:3832 msgid "Logging to syslog with RFC5424 support" msgstr "" -#: ../../howto/logging-cookbook.rst:3853 +#: ../../howto/logging-cookbook.rst:3834 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 " @@ -4802,14 +4778,14 @@ msgid "" "updated." msgstr "" -#: ../../howto/logging-cookbook.rst:3860 +#: ../../howto/logging-cookbook.rst:3841 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, " "you can do so with a subclassed handler which looks something like this::" msgstr "" -#: ../../howto/logging-cookbook.rst:3864 +#: ../../howto/logging-cookbook.rst:3845 msgid "" "import datetime as dt\n" "import logging.handlers\n" @@ -4878,7 +4854,7 @@ msgid "" "{sdata} {msg}'" msgstr "" -#: ../../howto/logging-cookbook.rst:3926 +#: ../../howto/logging-cookbook.rst:3907 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 " @@ -4887,7 +4863,7 @@ msgid "" "using something like this::" msgstr "" -#: ../../howto/logging-cookbook.rst:3931 +#: ../../howto/logging-cookbook.rst:3912 msgid "" "sd = {\n" " 'foo@12345': {'bar': 'baz', 'baz': 'bozz', 'fizz': r'buzz'},\n" @@ -4898,11 +4874,11 @@ msgid "" "logger.debug('Message %d', i, extra=extra)" msgstr "" -#: ../../howto/logging-cookbook.rst:3940 +#: ../../howto/logging-cookbook.rst:3921 msgid "How to treat a logger like an output stream" msgstr "" -#: ../../howto/logging-cookbook.rst:3942 +#: ../../howto/logging-cookbook.rst:3923 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 " @@ -4910,7 +4886,7 @@ msgid "" "API. Here's a short script illustrating such a class:" msgstr "" -#: ../../howto/logging-cookbook.rst:3947 +#: ../../howto/logging-cookbook.rst:3928 msgid "" "import logging\n" "\n" @@ -4948,23 +4924,23 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:3982 +#: ../../howto/logging-cookbook.rst:3963 msgid "When this script is run, it prints" msgstr "" -#: ../../howto/logging-cookbook.rst:3984 +#: ../../howto/logging-cookbook.rst:3965 msgid "" "INFO:demo:An INFO message\n" "DEBUG:demo:A DEBUG message" msgstr "" -#: ../../howto/logging-cookbook.rst:3989 +#: ../../howto/logging-cookbook.rst:3970 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and " "``sys.stderr`` by doing something like this:" msgstr "" -#: ../../howto/logging-cookbook.rst:3992 +#: ../../howto/logging-cookbook.rst:3973 msgid "" "import sys\n" "\n" @@ -4972,7 +4948,7 @@ msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)" msgstr "" -#: ../../howto/logging-cookbook.rst:3999 +#: ../../howto/logging-cookbook.rst:3980 msgid "" "You should do this *after* configuring logging for your needs. In the above " "example, the :func:`~logging.basicConfig` call does this (using the " @@ -4980,7 +4956,7 @@ msgid "" "instance). Then, you'd get this kind of result:" msgstr "" -#: ../../howto/logging-cookbook.rst:4004 +#: ../../howto/logging-cookbook.rst:3985 msgid "" ">>> print('Foo')\n" "INFO:demo:Foo\n" @@ -4989,31 +4965,31 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:4012 +#: ../../howto/logging-cookbook.rst:3993 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 " "you configure logging." msgstr "" -#: ../../howto/logging-cookbook.rst:4016 +#: ../../howto/logging-cookbook.rst:3997 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, " "with the definition of ``LoggerWriter`` above, if you have the snippet" msgstr "" -#: ../../howto/logging-cookbook.rst:4020 +#: ../../howto/logging-cookbook.rst:4001 msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)\n" "1 / 0" msgstr "" -#: ../../howto/logging-cookbook.rst:4025 +#: ../../howto/logging-cookbook.rst:4006 msgid "then running the script results in" msgstr "" -#: ../../howto/logging-cookbook.rst:4027 +#: ../../howto/logging-cookbook.rst:4008 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "\n" @@ -5032,7 +5008,7 @@ msgid "" "WARNING:demo:division by zero" msgstr "" -#: ../../howto/logging-cookbook.rst:4043 +#: ../../howto/logging-cookbook.rst:4024 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 " @@ -5042,7 +5018,7 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: ../../howto/logging-cookbook.rst:4049 +#: ../../howto/logging-cookbook.rst:4030 msgid "" "class BufferingLoggerWriter(LoggerWriter):\n" " def __init__(self, logger, level):\n" @@ -5062,13 +5038,13 @@ msgid "" " self.logger.log(self.level, part)" msgstr "" -#: ../../howto/logging-cookbook.rst:4068 +#: ../../howto/logging-cookbook.rst:4049 msgid "" "This just buffers up stuff until a newline is seen, and then logs complete " "lines. With this approach, you get better output:" msgstr "" -#: ../../howto/logging-cookbook.rst:4071 +#: ../../howto/logging-cookbook.rst:4052 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "WARNING:demo: File \"/home/runner/cookbook-loggerwriter/main.py\", line 55, " @@ -5080,22 +5056,20 @@ msgid "" "WARNING:demo:ZeroDivisionError: division by zero" msgstr "" -#: ../../howto/logging-cookbook.rst:4081 +#: ../../howto/logging-cookbook.rst:4062 msgid "How to uniformly handle newlines in logging output" msgstr "" -#: ../../howto/logging-cookbook.rst:4083 +#: ../../howto/logging-cookbook.rst:4064 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 "" -#: ../../howto/logging-cookbook.rst:4091 +#: ../../howto/logging-cookbook.rst:4070 msgid "" "# Assume this is in a module mymixins.py\n" "import copy\n" @@ -5114,11 +5088,11 @@ msgid "" " super().emit(rec)" msgstr "" -#: ../../howto/logging-cookbook.rst:4109 +#: ../../howto/logging-cookbook.rst:4088 msgid "You can use the mixin as in the following script:" msgstr "" -#: ../../howto/logging-cookbook.rst:4111 +#: ../../howto/logging-cookbook.rst:4090 msgid "" "import logging\n" "\n" @@ -5140,11 +5114,11 @@ msgid "" "again')" msgstr "" -#: ../../howto/logging-cookbook.rst:4130 +#: ../../howto/logging-cookbook.rst:4109 msgid "The script, when run, prints something like:" msgstr "" -#: ../../howto/logging-cookbook.rst:4132 +#: ../../howto/logging-cookbook.rst:4111 msgid "" "2025-07-02 13:54:47,234 DEBUG Single line\n" "2025-07-02 13:54:47,234 DEBUG Multiple lines:\n" @@ -5155,14 +5129,14 @@ msgid "" "2025-07-02 13:54:47,234 DEBUG can't get fooled again" msgstr "" -#: ../../howto/logging-cookbook.rst:4142 +#: ../../howto/logging-cookbook.rst:4121 msgid "" "If, on the other hand, you are concerned about `log injection `_, you can use a formatter " "which escapes newlines, as per the following example:" msgstr "" -#: ../../howto/logging-cookbook.rst:4146 +#: ../../howto/logging-cookbook.rst:4125 msgid "" "import logging\n" "\n" @@ -5185,13 +5159,13 @@ msgid "" "again')" msgstr "" -#: ../../howto/logging-cookbook.rst:4166 +#: ../../howto/logging-cookbook.rst:4145 msgid "" "You can, of course, use whatever escaping scheme makes the most sense for " "you. The script, when run, should produce output like this:" msgstr "" -#: ../../howto/logging-cookbook.rst:4169 +#: ../../howto/logging-cookbook.rst:4148 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" @@ -5200,17 +5174,17 @@ msgid "" "fooled again" msgstr "" -#: ../../howto/logging-cookbook.rst:4176 +#: ../../howto/logging-cookbook.rst:4155 msgid "" "Escaping behaviour can't be the stdlib default , as it would break backwards " "compatibility." msgstr "" -#: ../../howto/logging-cookbook.rst:4182 +#: ../../howto/logging-cookbook.rst:4161 msgid "Patterns to avoid" msgstr "" -#: ../../howto/logging-cookbook.rst:4184 +#: ../../howto/logging-cookbook.rst:4163 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 " @@ -5218,11 +5192,11 @@ msgid "" "The following sections are in no particular order." msgstr "" -#: ../../howto/logging-cookbook.rst:4190 +#: ../../howto/logging-cookbook.rst:4169 msgid "Opening the same log file multiple times" msgstr "" -#: ../../howto/logging-cookbook.rst:4192 +#: ../../howto/logging-cookbook.rst:4171 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. " @@ -5230,32 +5204,32 @@ msgid "" "file multiple times. This could be done accidentally, for example by:" msgstr "" -#: ../../howto/logging-cookbook.rst:4197 +#: ../../howto/logging-cookbook.rst:4176 msgid "" "Adding a file handler more than once which references the same file (e.g. by " "a copy/paste/forget-to-change error)." msgstr "" -#: ../../howto/logging-cookbook.rst:4200 +#: ../../howto/logging-cookbook.rst:4179 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." msgstr "" -#: ../../howto/logging-cookbook.rst:4203 +#: ../../howto/logging-cookbook.rst:4182 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` " "module, for example." msgstr "" -#: ../../howto/logging-cookbook.rst:4207 +#: ../../howto/logging-cookbook.rst:4186 msgid "" "Opening a file multiple times might *appear* to work most of the time, but " "can lead to a number of problems in practice:" msgstr "" -#: ../../howto/logging-cookbook.rst:4210 +#: ../../howto/logging-cookbook.rst:4189 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 " @@ -5264,7 +5238,7 @@ msgid "" "different handler instances which happen to point to the same file." msgstr "" -#: ../../howto/logging-cookbook.rst:4216 +#: ../../howto/logging-cookbook.rst:4195 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 " @@ -5274,17 +5248,17 @@ msgid "" "being supposedly in place." msgstr "" -#: ../../howto/logging-cookbook.rst:4223 +#: ../../howto/logging-cookbook.rst:4202 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." msgstr "" -#: ../../howto/logging-cookbook.rst:4227 +#: ../../howto/logging-cookbook.rst:4206 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" -#: ../../howto/logging-cookbook.rst:4229 +#: ../../howto/logging-cookbook.rst:4208 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 " @@ -5295,13 +5269,13 @@ msgid "" "module (and not the class) is the unit of software decomposition." msgstr "" -#: ../../howto/logging-cookbook.rst:4238 +#: ../../howto/logging-cookbook.rst:4217 msgid "" "Adding handlers other than :class:`~logging.NullHandler` to a logger in a " "library" msgstr "" -#: ../../howto/logging-cookbook.rst:4240 +#: ../../howto/logging-cookbook.rst:4219 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -5309,11 +5283,11 @@ msgid "" "your loggers other than a :class:`~logging.NullHandler` instance." msgstr "" -#: ../../howto/logging-cookbook.rst:4246 +#: ../../howto/logging-cookbook.rst:4225 msgid "Creating a lot of loggers" msgstr "" -#: ../../howto/logging-cookbook.rst:4248 +#: ../../howto/logging-cookbook.rst:4227 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. " @@ -5324,38 +5298,38 @@ msgid "" "occasionally slightly more fine-grained than that)." msgstr "" -#: ../../howto/logging-cookbook.rst:4259 +#: ../../howto/logging-cookbook.rst:4238 msgid "Other resources" msgstr "" -#: ../../howto/logging-cookbook.rst:4263 +#: ../../howto/logging-cookbook.rst:4242 msgid "Module :mod:`logging`" msgstr "" -#: ../../howto/logging-cookbook.rst:4264 +#: ../../howto/logging-cookbook.rst:4243 msgid "API reference for the logging module." msgstr "" -#: ../../howto/logging-cookbook.rst:4266 +#: ../../howto/logging-cookbook.rst:4245 msgid "Module :mod:`logging.config`" msgstr "" -#: ../../howto/logging-cookbook.rst:4267 +#: ../../howto/logging-cookbook.rst:4246 msgid "Configuration API for the logging module." msgstr "" -#: ../../howto/logging-cookbook.rst:4269 +#: ../../howto/logging-cookbook.rst:4248 msgid "Module :mod:`logging.handlers`" msgstr "" -#: ../../howto/logging-cookbook.rst:4270 +#: ../../howto/logging-cookbook.rst:4249 msgid "Useful handlers included with the logging module." msgstr "" -#: ../../howto/logging-cookbook.rst:4272 +#: ../../howto/logging-cookbook.rst:4251 msgid ":ref:`Basic Tutorial `" msgstr "" -#: ../../howto/logging-cookbook.rst:4274 +#: ../../howto/logging-cookbook.rst:4253 msgid ":ref:`Advanced Tutorial `" msgstr "" diff --git a/howto/logging.po b/howto/logging.po index 12ca4021..bc010fcb 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-05 16:53+0200\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" @@ -137,7 +137,7 @@ msgid "" "below (in increasing order of severity):" msgstr "" -#: ../../howto/logging.rst:77 ../../howto/logging.rst:875 +#: ../../howto/logging.rst:77 ../../howto/logging.rst:867 msgid "Level" msgstr "" @@ -145,7 +145,7 @@ msgstr "" msgid "When it's used" msgstr "" -#: ../../howto/logging.rst:79 ../../howto/logging.rst:885 +#: ../../howto/logging.rst:79 ../../howto/logging.rst:877 msgid "``DEBUG``" msgstr "" @@ -154,7 +154,7 @@ msgid "" "Detailed information, typically of interest only when diagnosing problems." msgstr "" -#: ../../howto/logging.rst:82 ../../howto/logging.rst:883 +#: ../../howto/logging.rst:82 ../../howto/logging.rst:875 msgid "``INFO``" msgstr "" @@ -162,7 +162,7 @@ msgstr "" msgid "Confirmation that things are working as expected." msgstr "" -#: ../../howto/logging.rst:85 ../../howto/logging.rst:881 +#: ../../howto/logging.rst:85 ../../howto/logging.rst:873 msgid "``WARNING``" msgstr "" @@ -173,7 +173,7 @@ msgid "" "working as expected." msgstr "" -#: ../../howto/logging.rst:90 ../../howto/logging.rst:879 +#: ../../howto/logging.rst:90 ../../howto/logging.rst:871 msgid "``ERROR``" msgstr "" @@ -183,7 +183,7 @@ msgid "" "some function." msgstr "" -#: ../../howto/logging.rst:93 ../../howto/logging.rst:877 +#: ../../howto/logging.rst:93 ../../howto/logging.rst:869 msgid "``CRITICAL``" msgstr "" @@ -277,20 +277,11 @@ msgstr "" #: ../../howto/logging.rst:151 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 "" - -#: ../../howto/logging.rst:158 -msgid "" "And now if we open the file and look at what we have, we should find the log " "messages:" msgstr "" -#: ../../howto/logging.rst:161 +#: ../../howto/logging.rst:154 msgid "" "DEBUG:__main__:This message should go to the log file\n" "INFO:__main__:So should this\n" @@ -298,40 +289,40 @@ msgid "" "ERROR:__main__:And non-ASCII stuff, too, like Øresund and Malmö" msgstr "" -#: ../../howto/logging.rst:168 +#: ../../howto/logging.rst:161 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 " "``DEBUG``, all of the messages were printed." msgstr "" -#: ../../howto/logging.rst:172 +#: ../../howto/logging.rst:165 msgid "" "If you want to set the logging level from a command-line option such as:" msgstr "" -#: ../../howto/logging.rst:174 +#: ../../howto/logging.rst:167 msgid "--log=INFO" msgstr "" -#: ../../howto/logging.rst:178 +#: ../../howto/logging.rst:171 msgid "" "and you have the value of the parameter passed for ``--log`` in some " "variable *loglevel*, you can use::" msgstr "" -#: ../../howto/logging.rst:181 +#: ../../howto/logging.rst:174 msgid "getattr(logging, loglevel.upper())" msgstr "" -#: ../../howto/logging.rst:183 +#: ../../howto/logging.rst:176 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 " "the following example::" msgstr "" -#: ../../howto/logging.rst:187 +#: ../../howto/logging.rst:180 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" @@ -342,14 +333,14 @@ msgid "" "logging.basicConfig(level=numeric_level, ...)" msgstr "" -#: ../../howto/logging.rst:195 +#: ../../howto/logging.rst:188 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, " "that logging event may not be handled in the desired manner." msgstr "" -#: ../../howto/logging.rst:199 +#: ../../howto/logging.rst:192 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 " @@ -357,43 +348,43 @@ msgid "" "*filemode* argument, by changing the call in the above example to::" msgstr "" -#: ../../howto/logging.rst:204 +#: ../../howto/logging.rst:197 msgid "" "logging.basicConfig(filename='example.log', filemode='w', " "level=logging.DEBUG)" msgstr "" -#: ../../howto/logging.rst:206 +#: ../../howto/logging.rst:199 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." msgstr "" -#: ../../howto/logging.rst:211 +#: ../../howto/logging.rst:204 msgid "Logging variable data" msgstr "" -#: ../../howto/logging.rst:213 +#: ../../howto/logging.rst:206 msgid "" "To log variable data, use a format string for the event description message " "and append the variable data as arguments. For example::" msgstr "" -#: ../../howto/logging.rst:216 +#: ../../howto/logging.rst:209 msgid "" "import logging\n" "logging.warning('%s before you %s', 'Look', 'leap!')" msgstr "" -#: ../../howto/logging.rst:219 +#: ../../howto/logging.rst:212 msgid "will display:" msgstr "" -#: ../../howto/logging.rst:221 +#: ../../howto/logging.rst:214 msgid "WARNING:root:Look before you leap!" msgstr "" -#: ../../howto/logging.rst:225 +#: ../../howto/logging.rst:218 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 " @@ -403,17 +394,17 @@ msgid "" "tutorial: see :ref:`formatting-styles` for more information." msgstr "" -#: ../../howto/logging.rst:234 +#: ../../howto/logging.rst:227 msgid "Changing the format of displayed messages" msgstr "" -#: ../../howto/logging.rst:236 +#: ../../howto/logging.rst:229 msgid "" "To change the format which is used to display messages, you need to specify " "the format you want to use::" msgstr "" -#: ../../howto/logging.rst:239 +#: ../../howto/logging.rst:232 msgid "" "import logging\n" "logging.basicConfig(format='%(levelname)s:%(message)s', " @@ -423,18 +414,18 @@ msgid "" "logging.warning('And this, too')" msgstr "" -#: ../../howto/logging.rst:245 +#: ../../howto/logging.rst:238 msgid "which would print:" msgstr "" -#: ../../howto/logging.rst:247 +#: ../../howto/logging.rst:240 msgid "" "DEBUG:This message should appear on the console\n" "INFO:So should this\n" "WARNING:And this, too" msgstr "" -#: ../../howto/logging.rst:253 +#: ../../howto/logging.rst:246 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 " @@ -444,39 +435,39 @@ msgid "" "This is described in the next section." msgstr "" -#: ../../howto/logging.rst:262 +#: ../../howto/logging.rst:255 msgid "Displaying the date/time in messages" msgstr "" -#: ../../howto/logging.rst:264 +#: ../../howto/logging.rst:257 msgid "" "To display the date and time of an event, you would place '%(asctime)s' in " "your format string::" msgstr "" -#: ../../howto/logging.rst:267 +#: ../../howto/logging.rst:260 msgid "" "import logging\n" "logging.basicConfig(format='%(asctime)s %(message)s')\n" "logging.warning('is when this event was logged.')" msgstr "" -#: ../../howto/logging.rst:271 +#: ../../howto/logging.rst:264 msgid "which should print something like this:" msgstr "" -#: ../../howto/logging.rst:273 +#: ../../howto/logging.rst:266 msgid "2010-12-12 11:41:42,612 is when this event was logged." msgstr "" -#: ../../howto/logging.rst:277 +#: ../../howto/logging.rst:270 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/" "time, provide a *datefmt* argument to ``basicConfig``, as in this example::" msgstr "" -#: ../../howto/logging.rst:281 +#: ../../howto/logging.rst:274 msgid "" "import logging\n" "logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:" @@ -484,25 +475,25 @@ msgid "" "logging.warning('is when this event was logged.')" msgstr "" -#: ../../howto/logging.rst:285 +#: ../../howto/logging.rst:278 msgid "which would display something like this:" msgstr "" -#: ../../howto/logging.rst:287 +#: ../../howto/logging.rst:280 msgid "12/12/2010 11:46:36 AM is when this event was logged." msgstr "" -#: ../../howto/logging.rst:291 +#: ../../howto/logging.rst:284 msgid "" "The format of the *datefmt* argument is the same as supported " "by :func:`time.strftime`." msgstr "" -#: ../../howto/logging.rst:296 +#: ../../howto/logging.rst:289 msgid "Next Steps" msgstr "" -#: ../../howto/logging.rst:298 +#: ../../howto/logging.rst:291 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, " @@ -511,7 +502,7 @@ msgid "" "of your favourite beverage and carry on." msgstr "" -#: ../../howto/logging.rst:304 +#: ../../howto/logging.rst:297 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 " @@ -520,50 +511,50 @@ msgid "" "should receive help before too long." msgstr "" -#: ../../howto/logging.rst:310 +#: ../../howto/logging.rst:303 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 " "that, you can take a look at the :ref:`logging-cookbook`." msgstr "" -#: ../../howto/logging.rst:318 +#: ../../howto/logging.rst:311 msgid "Advanced Logging Tutorial" msgstr "" -#: ../../howto/logging.rst:320 +#: ../../howto/logging.rst:313 msgid "" "The logging library takes a modular approach and offers several categories " "of components: loggers, handlers, filters, and formatters." msgstr "" -#: ../../howto/logging.rst:323 +#: ../../howto/logging.rst:316 msgid "Loggers expose the interface that application code directly uses." msgstr "" -#: ../../howto/logging.rst:324 +#: ../../howto/logging.rst:317 msgid "" "Handlers send the log records (created by loggers) to the appropriate " "destination." msgstr "" -#: ../../howto/logging.rst:326 +#: ../../howto/logging.rst:319 msgid "" "Filters provide a finer grained facility for determining which log records " "to output." msgstr "" -#: ../../howto/logging.rst:328 +#: ../../howto/logging.rst:321 msgid "Formatters specify the layout of log records in the final output." msgstr "" -#: ../../howto/logging.rst:330 +#: ../../howto/logging.rst:323 msgid "" "Log event information is passed between loggers, handlers, filters and " "formatters in a :class:`LogRecord` instance." msgstr "" -#: ../../howto/logging.rst:333 +#: ../../howto/logging.rst:326 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 " @@ -574,23 +565,23 @@ msgid "" "originates." msgstr "" -#: ../../howto/logging.rst:340 +#: ../../howto/logging.rst:333 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::" msgstr "" -#: ../../howto/logging.rst:343 +#: ../../howto/logging.rst:336 msgid "logger = logging.getLogger(__name__)" msgstr "" -#: ../../howto/logging.rst:345 +#: ../../howto/logging.rst:338 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." msgstr "" -#: ../../howto/logging.rst:348 +#: ../../howto/logging.rst:341 msgid "" "The root of the hierarchy of loggers is called the root logger. That's the " "logger used by the " @@ -600,7 +591,7 @@ msgid "" "logger's name is printed as 'root' in the logged output." msgstr "" -#: ../../howto/logging.rst:354 +#: ../../howto/logging.rst:347 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 " @@ -611,7 +602,7 @@ msgid "" "built-in handler classes." msgstr "" -#: ../../howto/logging.rst:361 +#: ../../howto/logging.rst:354 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 " @@ -623,36 +614,36 @@ msgid "" "delegating to the root logger to do the actual message output." msgstr "" -#: ../../howto/logging.rst:369 +#: ../../howto/logging.rst:362 msgid "The default format set by :func:`basicConfig` for messages is:" msgstr "" -#: ../../howto/logging.rst:371 +#: ../../howto/logging.rst:364 msgid "severity:logger name:message" msgstr "" -#: ../../howto/logging.rst:375 +#: ../../howto/logging.rst:368 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 " "is constructed, see :ref:`formatter-objects`." msgstr "" -#: ../../howto/logging.rst:380 +#: ../../howto/logging.rst:373 msgid "Logging Flow" msgstr "" -#: ../../howto/logging.rst:382 +#: ../../howto/logging.rst:375 msgid "" "The flow of log event information in loggers and handlers is illustrated in " "the following diagram." msgstr "" -#: ../../howto/logging.rst:433 +#: ../../howto/logging.rst:426 msgid "Loggers" msgstr "" -#: ../../howto/logging.rst:435 +#: ../../howto/logging.rst:428 msgid "" ":class:`Logger` objects have a threefold job. First, they expose several " "methods to application code so that applications can log messages at " @@ -662,17 +653,17 @@ msgid "" "handlers." msgstr "" -#: ../../howto/logging.rst:441 +#: ../../howto/logging.rst:434 msgid "" "The most widely used methods on logger objects fall into two categories: " "configuration and message sending." msgstr "" -#: ../../howto/logging.rst:444 +#: ../../howto/logging.rst:437 msgid "These are the most common configuration methods:" msgstr "" -#: ../../howto/logging.rst:446 +#: ../../howto/logging.rst:439 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 " @@ -681,45 +672,44 @@ msgid "" "messages and will ignore DEBUG messages." msgstr "" -#: ../../howto/logging.rst:452 +#: ../../howto/logging.rst:445 msgid "" ":meth:`Logger.addHandler` and :meth:`Logger.removeHandler` add and remove " "handler objects from the logger object. Handlers are covered in more detail " "in :ref:`handler-basic`." msgstr "" -#: ../../howto/logging.rst:456 +#: ../../howto/logging.rst:449 msgid "" ":meth:`Logger.addFilter` and :meth:`Logger.removeFilter` add and remove " "filter objects from the logger object. Filters are covered in more detail " "in :ref:`filter`." msgstr "" -#: ../../howto/logging.rst:460 +#: ../../howto/logging.rst:453 msgid "" "You don't need to always call these methods on every logger you create. See " "the last two paragraphs in this section." msgstr "" -#: ../../howto/logging.rst:463 +#: ../../howto/logging.rst:456 msgid "" "With the logger object configured, the following methods create log messages:" msgstr "" -#: ../../howto/logging.rst:465 +#: ../../howto/logging.rst:458 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 "" -#: ../../howto/logging.rst:475 +#: ../../howto/logging.rst:467 msgid "" ":meth:`Logger.exception` creates a log message similar " "to :meth:`Logger.error`. The difference is that :meth:`Logger.exception` " @@ -727,7 +717,7 @@ msgid "" "handler." msgstr "" -#: ../../howto/logging.rst:479 +#: ../../howto/logging.rst:471 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 " @@ -735,7 +725,7 @@ msgid "" "levels." msgstr "" -#: ../../howto/logging.rst:483 +#: ../../howto/logging.rst:475 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-" @@ -747,7 +737,7 @@ msgid "" "descendants of ``foo``." msgstr "" -#: ../../howto/logging.rst:491 +#: ../../howto/logging.rst:483 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 " @@ -759,7 +749,7 @@ msgid "" "handlers." msgstr "" -#: ../../howto/logging.rst:499 +#: ../../howto/logging.rst:491 msgid "" "Child loggers propagate messages up to the handlers associated with their " "ancestor loggers. Because of this, it is unnecessary to define and configure " @@ -769,11 +759,11 @@ msgid "" "attribute of a logger to ``False``.)" msgstr "" -#: ../../howto/logging.rst:510 +#: ../../howto/logging.rst:502 msgid "Handlers" msgstr "" -#: ../../howto/logging.rst:512 +#: ../../howto/logging.rst:504 msgid "" ":class:`~logging.Handler` objects are responsible for dispatching the " "appropriate log messages (based on the log messages' severity) to the " @@ -786,14 +776,14 @@ msgid "" "of a specific severity to a specific location." msgstr "" -#: ../../howto/logging.rst:522 +#: ../../howto/logging.rst:514 msgid "" "The standard library includes quite a few handler types (see :ref:`useful-" "handlers`); the tutorials use mainly :class:`StreamHandler` " "and :class:`FileHandler` in its examples." msgstr "" -#: ../../howto/logging.rst:526 +#: ../../howto/logging.rst:518 msgid "" "There are very few methods in a handler for application developers to " "concern themselves with. The only handler methods that seem relevant for " @@ -801,7 +791,7 @@ msgid "" "not creating custom handlers) are the following configuration methods:" msgstr "" -#: ../../howto/logging.rst:531 +#: ../../howto/logging.rst:523 msgid "" "The :meth:`~Handler.setLevel` method, just as in logger objects, specifies " "the lowest severity that will be dispatched to the appropriate destination. " @@ -811,19 +801,19 @@ msgid "" "send on." msgstr "" -#: ../../howto/logging.rst:537 +#: ../../howto/logging.rst:529 msgid "" ":meth:`~Handler.setFormatter` selects a Formatter object for this handler to " "use." msgstr "" -#: ../../howto/logging.rst:540 +#: ../../howto/logging.rst:532 msgid "" ":meth:`~Handler.addFilter` and :meth:`~Handler.removeFilter` respectively " "configure and deconfigure filter objects on handlers." msgstr "" -#: ../../howto/logging.rst:543 +#: ../../howto/logging.rst:535 msgid "" "Application code should not directly instantiate and use instances " "of :class:`Handler`. Instead, the :class:`Handler` class is a base class " @@ -831,11 +821,11 @@ msgid "" "some default behavior that child classes can use (or override)." msgstr "" -#: ../../howto/logging.rst:550 +#: ../../howto/logging.rst:542 msgid "Formatters" msgstr "" -#: ../../howto/logging.rst:552 +#: ../../howto/logging.rst:544 msgid "" "Formatter objects configure the final order, structure, and contents of the " "log message. Unlike the base :class:`logging.Handler` class, application " @@ -845,24 +835,24 @@ msgid "" "string and a style indicator." msgstr "" -#: ../../howto/logging.rst:561 +#: ../../howto/logging.rst:553 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:" msgstr "" -#: ../../howto/logging.rst:564 +#: ../../howto/logging.rst:556 msgid "%Y-%m-%d %H:%M:%S" msgstr "" -#: ../../howto/logging.rst:568 +#: ../../howto/logging.rst:560 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 " "used." msgstr "" -#: ../../howto/logging.rst:571 +#: ../../howto/logging.rst:563 msgid "" "If the ``style`` is ``'%'``, the message format string uses ``%()s`` styled string substitution; the possible keys are documented " @@ -872,22 +862,22 @@ msgid "" "should conform to what is expected by :meth:`string.Template.substitute`." msgstr "" -#: ../../howto/logging.rst:578 +#: ../../howto/logging.rst:570 msgid "Added the ``style`` parameter." msgstr "" -#: ../../howto/logging.rst:581 +#: ../../howto/logging.rst:573 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 " "that order::" msgstr "" -#: ../../howto/logging.rst:585 +#: ../../howto/logging.rst:577 msgid "'%(asctime)s - %(levelname)s - %(message)s'" msgstr "" -#: ../../howto/logging.rst:587 +#: ../../howto/logging.rst:579 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 " @@ -898,40 +888,40 @@ msgid "" "in the Formatter class (to ``time.gmtime`` for GMT display)." msgstr "" -#: ../../howto/logging.rst:597 +#: ../../howto/logging.rst:589 msgid "Configuring Logging" msgstr "" -#: ../../howto/logging.rst:601 +#: ../../howto/logging.rst:593 msgid "Programmers can configure logging in three ways:" msgstr "" -#: ../../howto/logging.rst:603 +#: ../../howto/logging.rst:595 msgid "" "Creating loggers, handlers, and formatters explicitly using Python code that " "calls the configuration methods listed above." msgstr "" -#: ../../howto/logging.rst:605 +#: ../../howto/logging.rst:597 msgid "" "Creating a logging config file and reading it using the :func:`fileConfig` " "function." msgstr "" -#: ../../howto/logging.rst:607 +#: ../../howto/logging.rst:599 msgid "" "Creating a dictionary of configuration information and passing it to " "the :func:`dictConfig` function." msgstr "" -#: ../../howto/logging.rst:610 +#: ../../howto/logging.rst:602 msgid "" "For the reference documentation on the last two options, see :ref:`logging-" "config-api`. The following example configures a very simple logger, a " "console handler, and a simple formatter using Python code::" msgstr "" -#: ../../howto/logging.rst:614 +#: ../../howto/logging.rst:606 msgid "" "import logging\n" "\n" @@ -961,12 +951,12 @@ msgid "" "logger.critical('critical message')" msgstr "" -#: ../../howto/logging.rst:640 +#: ../../howto/logging.rst:632 msgid "" "Running this module from the command line produces the following output:" msgstr "" -#: ../../howto/logging.rst:642 +#: ../../howto/logging.rst:634 msgid "" "$ python simple_logging_module.py\n" "2005-03-19 15:10:26,618 - simple_example - DEBUG - debug message\n" @@ -976,14 +966,14 @@ msgid "" "2005-03-19 15:10:26,773 - simple_example - CRITICAL - critical message" msgstr "" -#: ../../howto/logging.rst:651 +#: ../../howto/logging.rst:643 msgid "" "The following Python module creates a logger, handler, and formatter nearly " "identical to those in the example listed above, with the only difference " "being the names of the objects::" msgstr "" -#: ../../howto/logging.rst:655 +#: ../../howto/logging.rst:647 msgid "" "import logging\n" "import logging.config\n" @@ -1001,11 +991,11 @@ msgid "" "logger.critical('critical message')" msgstr "" -#: ../../howto/logging.rst:670 +#: ../../howto/logging.rst:662 msgid "Here is the logging.conf file:" msgstr "" -#: ../../howto/logging.rst:672 +#: ../../howto/logging.rst:664 msgid "" "[loggers]\n" "keys=root,simpleExample\n" @@ -1036,12 +1026,12 @@ msgid "" "format=%(asctime)s - %(name)s - %(levelname)s - %(message)s" msgstr "" -#: ../../howto/logging.rst:702 +#: ../../howto/logging.rst:694 msgid "" "The output is nearly identical to that of the non-config-file-based example:" msgstr "" -#: ../../howto/logging.rst:704 +#: ../../howto/logging.rst:696 msgid "" "$ python simple_logging_config.py\n" "2005-03-19 15:38:55,977 - simpleExample - DEBUG - debug message\n" @@ -1051,14 +1041,14 @@ msgid "" "2005-03-19 15:38:56,130 - simpleExample - CRITICAL - critical message" msgstr "" -#: ../../howto/logging.rst:713 +#: ../../howto/logging.rst:705 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 " "ability of noncoders to easily modify the logging properties." msgstr "" -#: ../../howto/logging.rst:717 +#: ../../howto/logging.rst:709 msgid "" "The :func:`fileConfig` function takes a default parameter, " "``disable_existing_loggers``, which defaults to ``True`` for reasons of " @@ -1069,7 +1059,7 @@ msgid "" "information, and specify ``False`` for this parameter if you wish." msgstr "" -#: ../../howto/logging.rst:725 +#: ../../howto/logging.rst:717 msgid "" "The dictionary passed to :func:`dictConfig` can also specify a Boolean value " "with key ``disable_existing_loggers``, which if not specified explicitly in " @@ -1078,7 +1068,7 @@ msgid "" "want - in which case, provide the key explicitly with a value of ``False``." msgstr "" -#: ../../howto/logging.rst:735 +#: ../../howto/logging.rst:727 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 " @@ -1089,7 +1079,7 @@ msgid "" "available on the Python import path)." msgstr "" -#: ../../howto/logging.rst:743 +#: ../../howto/logging.rst:735 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 " @@ -1104,13 +1094,13 @@ msgid "" "a socket, or use whatever approach makes sense for your application." msgstr "" -#: ../../howto/logging.rst:755 +#: ../../howto/logging.rst:747 msgid "" "Here's an example of the same configuration as above, in YAML format for the " "new dictionary-based approach:" msgstr "" -#: ../../howto/logging.rst:758 +#: ../../howto/logging.rst:750 msgid "" "version: 1\n" "formatters:\n" @@ -1132,24 +1122,24 @@ msgid "" " handlers: [console]" msgstr "" -#: ../../howto/logging.rst:779 +#: ../../howto/logging.rst:771 msgid "" "For more information about logging using a dictionary, see :ref:`logging-" "config-api`." msgstr "" -#: ../../howto/logging.rst:783 +#: ../../howto/logging.rst:775 msgid "What happens if no configuration is provided" msgstr "" -#: ../../howto/logging.rst:785 +#: ../../howto/logging.rst:777 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 " "output the event." msgstr "" -#: ../../howto/logging.rst:789 +#: ../../howto/logging.rst:781 msgid "" "The event is output using a 'handler of last resort', stored " "in :data:`lastResort`. This internal handler is not associated with any " @@ -1161,32 +1151,32 @@ msgid "" "severities will be output." msgstr "" -#: ../../howto/logging.rst:800 +#: ../../howto/logging.rst:792 msgid "For versions of Python prior to 3.2, the behaviour is as follows:" msgstr "" -#: ../../howto/logging.rst:802 +#: ../../howto/logging.rst:794 msgid "" "If :data:`raiseExceptions` is ``False`` (production mode), the event is " "silently dropped." msgstr "" -#: ../../howto/logging.rst:805 +#: ../../howto/logging.rst:797 msgid "" "If :data:`raiseExceptions` is ``True`` (development mode), a message 'No " "handlers could be found for logger X.Y.Z' is printed once." msgstr "" -#: ../../howto/logging.rst:808 +#: ../../howto/logging.rst:800 msgid "" "To obtain the pre-3.2 behaviour, :data:`lastResort` can be set to ``None``." msgstr "" -#: ../../howto/logging.rst:814 +#: ../../howto/logging.rst:806 msgid "Configuring Logging for a Library" msgstr "" -#: ../../howto/logging.rst:816 +#: ../../howto/logging.rst:808 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 " @@ -1197,7 +1187,7 @@ msgid "" "is regarded as the best default behaviour." msgstr "" -#: ../../howto/logging.rst:824 +#: ../../howto/logging.rst:816 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-" @@ -1209,7 +1199,7 @@ msgid "" "to those handlers, as normal." msgstr "" -#: ../../howto/logging.rst:833 +#: ../../howto/logging.rst:825 msgid "" "A do-nothing handler is included in the logging " "package: :class:`~logging.NullHandler` (since Python 3.1). An instance of " @@ -1220,20 +1210,20 @@ msgid "" "'foo.x', 'foo.x.y', etc. then the code::" msgstr "" -#: ../../howto/logging.rst:841 +#: ../../howto/logging.rst:833 msgid "" "import logging\n" "logging.getLogger('foo').addHandler(logging.NullHandler())" msgstr "" -#: ../../howto/logging.rst:844 +#: ../../howto/logging.rst:836 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 " "just 'foo'." msgstr "" -#: ../../howto/logging.rst:848 +#: ../../howto/logging.rst:840 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, " @@ -1243,7 +1233,7 @@ msgid "" "library as they wish." msgstr "" -#: ../../howto/logging.rst:855 +#: ../../howto/logging.rst:847 msgid "" "It is strongly advised that you *do not add any handlers other " "than* :class:`~logging.NullHandler` *to your library's loggers*. This is " @@ -1255,11 +1245,11 @@ msgid "" "requirements." msgstr "" -#: ../../howto/logging.rst:866 +#: ../../howto/logging.rst:858 msgid "Logging Levels" msgstr "" -#: ../../howto/logging.rst:868 +#: ../../howto/logging.rst:860 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 " @@ -1268,39 +1258,39 @@ msgid "" "value; the predefined name is lost." msgstr "" -#: ../../howto/logging.rst:875 +#: ../../howto/logging.rst:867 msgid "Numeric value" msgstr "" -#: ../../howto/logging.rst:877 +#: ../../howto/logging.rst:869 msgid "50" msgstr "" -#: ../../howto/logging.rst:879 +#: ../../howto/logging.rst:871 msgid "40" msgstr "" -#: ../../howto/logging.rst:881 +#: ../../howto/logging.rst:873 msgid "30" msgstr "" -#: ../../howto/logging.rst:883 +#: ../../howto/logging.rst:875 msgid "20" msgstr "" -#: ../../howto/logging.rst:885 +#: ../../howto/logging.rst:877 msgid "10" msgstr "" -#: ../../howto/logging.rst:887 +#: ../../howto/logging.rst:879 msgid "``NOTSET``" msgstr "" -#: ../../howto/logging.rst:887 +#: ../../howto/logging.rst:879 msgid "0" msgstr "" -#: ../../howto/logging.rst:890 +#: ../../howto/logging.rst:882 msgid "" "Levels can also be associated with loggers, being set either by the " "developer or through loading a saved logging configuration. When a logging " @@ -1310,14 +1300,14 @@ msgid "" "basic mechanism controlling the verbosity of logging output." msgstr "" -#: ../../howto/logging.rst:897 +#: ../../howto/logging.rst:889 msgid "" "Logging messages are encoded as instances of the :class:`~logging.LogRecord` " "class. When a logger decides to actually log an event, " "a :class:`~logging.LogRecord` instance is created from the logging message." msgstr "" -#: ../../howto/logging.rst:901 +#: ../../howto/logging.rst:893 msgid "" "Logging messages are subjected to a dispatch mechanism through the use " "of :dfn:`handlers`, which are instances of subclasses of " @@ -1334,7 +1324,7 @@ msgid "" "set to a false value, at which point the passing to ancestor handlers stops)." msgstr "" -#: ../../howto/logging.rst:915 +#: ../../howto/logging.rst:907 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. " @@ -1344,11 +1334,11 @@ msgid "" "override this :meth:`~Handler.emit`." msgstr "" -#: ../../howto/logging.rst:924 +#: ../../howto/logging.rst:916 msgid "Custom Levels" msgstr "" -#: ../../howto/logging.rst:926 +#: ../../howto/logging.rst:918 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. " @@ -1361,27 +1351,27 @@ msgid "" "given numeric value might mean different things for different libraries." msgstr "" -#: ../../howto/logging.rst:939 +#: ../../howto/logging.rst:931 msgid "Useful Handlers" msgstr "" -#: ../../howto/logging.rst:941 +#: ../../howto/logging.rst:933 msgid "" "In addition to the base :class:`Handler` class, many useful subclasses are " "provided:" msgstr "" -#: ../../howto/logging.rst:944 +#: ../../howto/logging.rst:936 msgid "" ":class:`StreamHandler` instances send messages to streams (file-like " "objects)." msgstr "" -#: ../../howto/logging.rst:947 +#: ../../howto/logging.rst:939 msgid ":class:`FileHandler` instances send messages to disk files." msgstr "" -#: ../../howto/logging.rst:949 +#: ../../howto/logging.rst:941 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 " @@ -1389,61 +1379,61 @@ msgid "" "or :class:`~handlers.TimedRotatingFileHandler`." msgstr "" -#: ../../howto/logging.rst:954 +#: ../../howto/logging.rst:946 msgid "" ":class:`~handlers.RotatingFileHandler` instances send messages to disk " "files, with support for maximum log file sizes and log file rotation." msgstr "" -#: ../../howto/logging.rst:957 +#: ../../howto/logging.rst:949 msgid "" ":class:`~handlers.TimedRotatingFileHandler` instances send messages to disk " "files, rotating the log file at certain timed intervals." msgstr "" -#: ../../howto/logging.rst:960 +#: ../../howto/logging.rst:952 msgid "" ":class:`~handlers.SocketHandler` instances send messages to TCP/IP sockets. " "Since 3.4, Unix domain sockets are also supported." msgstr "" -#: ../../howto/logging.rst:963 +#: ../../howto/logging.rst:955 msgid "" ":class:`~handlers.DatagramHandler` instances send messages to UDP sockets. " "Since 3.4, Unix domain sockets are also supported." msgstr "" -#: ../../howto/logging.rst:966 +#: ../../howto/logging.rst:958 msgid "" ":class:`~handlers.SMTPHandler` instances send messages to a designated email " "address." msgstr "" -#: ../../howto/logging.rst:969 +#: ../../howto/logging.rst:961 msgid "" ":class:`~handlers.SysLogHandler` instances send messages to a Unix syslog " "daemon, possibly on a remote machine." msgstr "" -#: ../../howto/logging.rst:972 +#: ../../howto/logging.rst:964 msgid "" ":class:`~handlers.NTEventLogHandler` instances send messages to a Windows NT/" "2000/XP event log." msgstr "" -#: ../../howto/logging.rst:975 +#: ../../howto/logging.rst:967 msgid "" ":class:`~handlers.MemoryHandler` instances send messages to a buffer in " "memory, which is flushed whenever specific criteria are met." msgstr "" -#: ../../howto/logging.rst:978 +#: ../../howto/logging.rst:970 msgid "" ":class:`~handlers.HTTPHandler` instances send messages to an HTTP server " "using either ``GET`` or ``POST`` semantics." msgstr "" -#: ../../howto/logging.rst:981 +#: ../../howto/logging.rst:973 msgid "" ":class:`~handlers.WatchedFileHandler` instances watch the file they are " "logging to. If the file changes, it is closed and reopened using the file " @@ -1451,13 +1441,13 @@ msgid "" "support the underlying mechanism used." msgstr "" -#: ../../howto/logging.rst:986 +#: ../../howto/logging.rst:978 msgid "" ":class:`~handlers.QueueHandler` instances send messages to a queue, such as " "those implemented in the :mod:`queue` or :mod:`multiprocessing` modules." msgstr "" -#: ../../howto/logging.rst:989 +#: ../../howto/logging.rst:981 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 " @@ -1466,15 +1456,15 @@ msgid "" "more information." msgstr "" -#: ../../howto/logging.rst:995 +#: ../../howto/logging.rst:987 msgid "The :class:`NullHandler` class." msgstr "" -#: ../../howto/logging.rst:998 +#: ../../howto/logging.rst:990 msgid "The :class:`~handlers.QueueHandler` class." msgstr "" -#: ../../howto/logging.rst:1001 +#: ../../howto/logging.rst:993 msgid "" "The :class:`NullHandler`, :class:`StreamHandler` and :class:`FileHandler` " "classes are defined in the core logging package. The other handlers are " @@ -1482,22 +1472,23 @@ msgid "" "module, :mod:`logging.config`, for configuration functionality.)" msgstr "" -#: ../../howto/logging.rst:1006 +#: ../../howto/logging.rst:998 msgid "" "Logged messages are formatted for presentation through instances of " "the :class:`Formatter` class. They are initialized with a format string " "suitable for use with the % operator and a dictionary." msgstr "" -#: ../../howto/logging.rst:1010 +#: ../../howto/logging.rst:1002 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 "" -#: ../../howto/logging.rst:1015 +#: ../../howto/logging.rst:1007 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` " @@ -1507,18 +1498,18 @@ msgid "" "false value, the message is not processed further." msgstr "" -#: ../../howto/logging.rst:1022 +#: ../../howto/logging.rst:1014 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 " "children are allowed through the filter, and all others dropped." msgstr "" -#: ../../howto/logging.rst:1030 +#: ../../howto/logging.rst:1022 msgid "Exceptions raised during logging" msgstr "" -#: ../../howto/logging.rst:1032 +#: ../../howto/logging.rst:1024 msgid "" "The logging package is designed to swallow exceptions which occur while " "logging in production. This is so that errors which occur while handling " @@ -1526,7 +1517,7 @@ msgid "" "errors - do not cause the application using logging to terminate prematurely." msgstr "" -#: ../../howto/logging.rst:1037 +#: ../../howto/logging.rst:1029 msgid "" ":class:`SystemExit` and :class:`KeyboardInterrupt` exceptions are never " "swallowed. Other exceptions which occur during the :meth:`~Handler.emit` " @@ -1534,7 +1525,7 @@ msgid "" "its :meth:`~Handler.handleError` method." msgstr "" -#: ../../howto/logging.rst:1042 +#: ../../howto/logging.rst:1034 msgid "" "The default implementation of :meth:`~Handler.handleError` " "in :class:`Handler` checks to see if a module-level " @@ -1542,7 +1533,7 @@ msgid "" "to :data:`sys.stderr`. If not set, the exception is swallowed." msgstr "" -#: ../../howto/logging.rst:1048 +#: ../../howto/logging.rst:1040 msgid "" "The default value of :data:`raiseExceptions` is ``True``. This is because " "during development, you typically want to be notified of any exceptions that " @@ -1550,27 +1541,24 @@ msgid "" "production usage." msgstr "" -#: ../../howto/logging.rst:1058 +#: ../../howto/logging.rst:1050 msgid "Using arbitrary objects as messages" msgstr "" -#: ../../howto/logging.rst:1060 +#: ../../howto/logging.rst:1052 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 "" -#: ../../howto/logging.rst:1071 +#: ../../howto/logging.rst:1060 msgid "Optimization" msgstr "" -#: ../../howto/logging.rst:1073 +#: ../../howto/logging.rst:1062 msgid "" "Formatting of message arguments is deferred until it cannot be avoided. " "However, computing the arguments passed to the logging method can also be " @@ -1581,20 +1569,20 @@ msgid "" "call. You can write code like this::" msgstr "" -#: ../../howto/logging.rst:1081 +#: ../../howto/logging.rst:1070 msgid "" "if logger.isEnabledFor(logging.DEBUG):\n" " logger.debug('Message with %s, %s', expensive_func1(),\n" " expensive_func2())" msgstr "" -#: ../../howto/logging.rst:1085 +#: ../../howto/logging.rst:1074 msgid "" "so that if the logger's threshold is set above ``DEBUG``, the calls to " "``expensive_func1`` and ``expensive_func2`` are never made." msgstr "" -#: ../../howto/logging.rst:1088 +#: ../../howto/logging.rst:1077 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 " @@ -1606,7 +1594,7 @@ msgid "" "while the application is running (which is not all that common)." msgstr "" -#: ../../howto/logging.rst:1097 +#: ../../howto/logging.rst:1086 msgid "" "There are other optimizations which can be made for specific applications " "which need more precise control over what logging information is collected. " @@ -1614,19 +1602,19 @@ msgid "" "you don't need:" msgstr "" -#: ../../howto/logging.rst:1103 +#: ../../howto/logging.rst:1092 msgid "What you don't want to collect" msgstr "" -#: ../../howto/logging.rst:1103 +#: ../../howto/logging.rst:1092 msgid "How to avoid collecting it" msgstr "" -#: ../../howto/logging.rst:1105 +#: ../../howto/logging.rst:1094 msgid "Information about where calls were made from." msgstr "" -#: ../../howto/logging.rst:1105 +#: ../../howto/logging.rst:1094 msgid "" "Set ``logging._srcfile`` to ``None``. This avoids " "calling :func:`sys._getframe`, which may help to speed up your code in " @@ -1634,75 +1622,75 @@ msgid "" "uses :func:`sys._getframe`)." msgstr "" -#: ../../howto/logging.rst:1111 +#: ../../howto/logging.rst:1100 msgid "Threading information." msgstr "" -#: ../../howto/logging.rst:1111 +#: ../../howto/logging.rst:1100 msgid "Set ``logging.logThreads`` to ``False``." msgstr "" -#: ../../howto/logging.rst:1113 +#: ../../howto/logging.rst:1102 msgid "Current process ID (:func:`os.getpid`)" msgstr "" -#: ../../howto/logging.rst:1113 +#: ../../howto/logging.rst:1102 msgid "Set ``logging.logProcesses`` to ``False``." msgstr "" -#: ../../howto/logging.rst:1115 +#: ../../howto/logging.rst:1104 msgid "" "Current process name when using ``multiprocessing`` to manage multiple " "processes." msgstr "" -#: ../../howto/logging.rst:1115 +#: ../../howto/logging.rst:1104 msgid "Set ``logging.logMultiprocessing`` to ``False``." msgstr "" -#: ../../howto/logging.rst:1118 +#: ../../howto/logging.rst:1107 msgid "Current :class:`asyncio.Task` name when using ``asyncio``." msgstr "" -#: ../../howto/logging.rst:1118 +#: ../../howto/logging.rst:1107 msgid "Set ``logging.logAsyncioTasks`` to ``False``." msgstr "" -#: ../../howto/logging.rst:1122 +#: ../../howto/logging.rst:1111 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 " "won't take up any memory." msgstr "" -#: ../../howto/logging.rst:1129 +#: ../../howto/logging.rst:1118 msgid "Other resources" msgstr "" -#: ../../howto/logging.rst:1133 +#: ../../howto/logging.rst:1122 msgid "Module :mod:`logging`" msgstr "" -#: ../../howto/logging.rst:1134 +#: ../../howto/logging.rst:1123 msgid "API reference for the logging module." msgstr "" -#: ../../howto/logging.rst:1136 +#: ../../howto/logging.rst:1125 msgid "Module :mod:`logging.config`" msgstr "" -#: ../../howto/logging.rst:1137 +#: ../../howto/logging.rst:1126 msgid "Configuration API for the logging module." msgstr "" -#: ../../howto/logging.rst:1139 +#: ../../howto/logging.rst:1128 msgid "Module :mod:`logging.handlers`" msgstr "" -#: ../../howto/logging.rst:1140 +#: ../../howto/logging.rst:1129 msgid "Useful handlers included with the logging module." msgstr "" -#: ../../howto/logging.rst:1142 +#: ../../howto/logging.rst:1131 msgid ":ref:`A logging cookbook `" msgstr "" diff --git a/library/collections.abc.po b/library/collections.abc.po index b9071728..5982ab9f 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:17+0000\n" "Last-Translator: python-doc bot, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -157,318 +157,323 @@ msgstr "" #: ../../library/collections.abc.rst:115 msgid "" "The collections module offers the following :term:`ABCs `:" +"class>`, where the \"Abstract Methods\" column lists all required abstract " +"methods, including those inherited from parent classes:" msgstr "" -#: ../../library/collections.abc.rst:120 +#: ../../library/collections.abc.rst:122 msgid "ABC" msgstr "" -#: ../../library/collections.abc.rst:120 +#: ../../library/collections.abc.rst:122 msgid "Inherits from" msgstr "" -#: ../../library/collections.abc.rst:120 +#: ../../library/collections.abc.rst:122 msgid "Abstract Methods" msgstr "" -#: ../../library/collections.abc.rst:120 +#: ../../library/collections.abc.rst:122 msgid "Mixin Methods" msgstr "" -#: ../../library/collections.abc.rst:122 +#: ../../library/collections.abc.rst:124 msgid ":class:`Container` [1]_" msgstr "" -#: ../../library/collections.abc.rst:122 +#: ../../library/collections.abc.rst:124 msgid "``__contains__``" msgstr "" -#: ../../library/collections.abc.rst:123 +#: ../../library/collections.abc.rst:125 msgid ":class:`Hashable` [1]_" msgstr "" -#: ../../library/collections.abc.rst:123 +#: ../../library/collections.abc.rst:125 msgid "``__hash__``" msgstr "" -#: ../../library/collections.abc.rst:124 +#: ../../library/collections.abc.rst:126 msgid ":class:`Iterable` [1]_ [2]_" msgstr "" -#: ../../library/collections.abc.rst:124 ../../library/collections.abc.rst:125 +#: ../../library/collections.abc.rst:126 ../../library/collections.abc.rst:127 msgid "``__iter__``" msgstr "" -#: ../../library/collections.abc.rst:125 +#: ../../library/collections.abc.rst:127 msgid ":class:`Iterator` [1]_" msgstr "" -#: ../../library/collections.abc.rst:125 ../../library/collections.abc.rst:126 +#: ../../library/collections.abc.rst:127 ../../library/collections.abc.rst:128 msgid ":class:`Iterable`" msgstr "" -#: ../../library/collections.abc.rst:125 +#: ../../library/collections.abc.rst:127 msgid "``__next__``" msgstr "" -#: ../../library/collections.abc.rst:126 +#: ../../library/collections.abc.rst:128 msgid ":class:`Reversible` [1]_" msgstr "" -#: ../../library/collections.abc.rst:126 -msgid "``__reversed__``" +#: ../../library/collections.abc.rst:128 +msgid "``__iter__``, ``__reversed__``" msgstr "" -#: ../../library/collections.abc.rst:127 +#: ../../library/collections.abc.rst:130 msgid ":class:`Generator` [1]_" msgstr "" -#: ../../library/collections.abc.rst:127 +#: ../../library/collections.abc.rst:130 msgid ":class:`Iterator`" msgstr "" -#: ../../library/collections.abc.rst:127 ../../library/collections.abc.rst:176 +#: ../../library/collections.abc.rst:130 msgid "``send``, ``throw``" msgstr "" -#: ../../library/collections.abc.rst:127 +#: ../../library/collections.abc.rst:130 msgid "``close``, ``__iter__``, ``__next__``" msgstr "" -#: ../../library/collections.abc.rst:128 +#: ../../library/collections.abc.rst:131 msgid ":class:`Sized` [1]_" msgstr "" -#: ../../library/collections.abc.rst:128 +#: ../../library/collections.abc.rst:131 msgid "``__len__``" msgstr "" -#: ../../library/collections.abc.rst:129 +#: ../../library/collections.abc.rst:132 msgid ":class:`Callable` [1]_" msgstr "" -#: ../../library/collections.abc.rst:129 +#: ../../library/collections.abc.rst:132 msgid "``__call__``" msgstr "" -#: ../../library/collections.abc.rst:130 +#: ../../library/collections.abc.rst:133 msgid ":class:`Collection` [1]_" msgstr "" -#: ../../library/collections.abc.rst:130 +#: ../../library/collections.abc.rst:133 msgid ":class:`Sized`, :class:`Iterable`, :class:`Container`" msgstr "" -#: ../../library/collections.abc.rst:130 ../../library/collections.abc.rst:146 +#: ../../library/collections.abc.rst:133 ../../library/collections.abc.rst:149 msgid "``__contains__``, ``__iter__``, ``__len__``" msgstr "" -#: ../../library/collections.abc.rst:134 ../../library/collections.abc.rst:137 -#: ../../library/collections.abc.rst:143 +#: ../../library/collections.abc.rst:137 ../../library/collections.abc.rst:140 +#: ../../library/collections.abc.rst:146 msgid ":class:`Sequence`" msgstr "" -#: ../../library/collections.abc.rst:134 +#: ../../library/collections.abc.rst:137 msgid ":class:`Reversible`, :class:`Collection`" msgstr "" -#: ../../library/collections.abc.rst:134 ../../library/collections.abc.rst:143 +#: ../../library/collections.abc.rst:137 ../../library/collections.abc.rst:146 msgid "``__getitem__``, ``__len__``" msgstr "" -#: ../../library/collections.abc.rst:134 +#: ../../library/collections.abc.rst:137 msgid "" "``__contains__``, ``__iter__``, ``__reversed__``, ``index``, and ``count``" msgstr "" -#: ../../library/collections.abc.rst:137 +#: ../../library/collections.abc.rst:140 msgid ":class:`MutableSequence`" msgstr "" -#: ../../library/collections.abc.rst:137 +#: ../../library/collections.abc.rst:140 msgid "" "``__getitem__``, ``__setitem__``, ``__delitem__``, ``__len__``, ``insert``" msgstr "" -#: ../../library/collections.abc.rst:137 +#: ../../library/collections.abc.rst:140 msgid "" "Inherited :class:`Sequence` methods and ``append``, ``clear``, ``reverse``, " "``extend``, ``pop``, ``remove``, and ``__iadd__``" msgstr "" -#: ../../library/collections.abc.rst:143 +#: ../../library/collections.abc.rst:146 msgid ":class:`ByteString`" msgstr "" -#: ../../library/collections.abc.rst:143 +#: ../../library/collections.abc.rst:146 msgid "Inherited :class:`Sequence` methods" msgstr "" -#: ../../library/collections.abc.rst:146 ../../library/collections.abc.rst:151 +#: ../../library/collections.abc.rst:149 ../../library/collections.abc.rst:154 msgid ":class:`Set`" msgstr "" -#: ../../library/collections.abc.rst:146 ../../library/collections.abc.rst:157 +#: ../../library/collections.abc.rst:149 ../../library/collections.abc.rst:160 msgid ":class:`Collection`" msgstr "" -#: ../../library/collections.abc.rst:146 +#: ../../library/collections.abc.rst:149 msgid "" "``__le__``, ``__lt__``, ``__eq__``, ``__ne__``, ``__gt__``, ``__ge__``, " "``__and__``, ``__or__``, ``__sub__``, ``__rsub__``, ``__xor__``, " "``__rxor__`` and ``isdisjoint``" msgstr "" -#: ../../library/collections.abc.rst:151 +#: ../../library/collections.abc.rst:154 msgid ":class:`MutableSet`" msgstr "" -#: ../../library/collections.abc.rst:151 +#: ../../library/collections.abc.rst:154 msgid "``__contains__``, ``__iter__``, ``__len__``, ``add``, ``discard``" msgstr "" -#: ../../library/collections.abc.rst:151 +#: ../../library/collections.abc.rst:154 msgid "" "Inherited :class:`Set` methods and ``clear``, ``pop``, ``remove``, " "``__ior__``, ``__iand__``, ``__ixor__``, and ``__isub__``" msgstr "" -#: ../../library/collections.abc.rst:157 ../../library/collections.abc.rst:161 +#: ../../library/collections.abc.rst:160 ../../library/collections.abc.rst:164 msgid ":class:`Mapping`" msgstr "" -#: ../../library/collections.abc.rst:157 +#: ../../library/collections.abc.rst:160 msgid "``__getitem__``, ``__iter__``, ``__len__``" msgstr "" -#: ../../library/collections.abc.rst:157 +#: ../../library/collections.abc.rst:160 msgid "" "``__contains__``, ``keys``, ``items``, ``values``, ``get``, ``__eq__``, and " "``__ne__``" msgstr "" -#: ../../library/collections.abc.rst:161 +#: ../../library/collections.abc.rst:164 msgid ":class:`MutableMapping`" msgstr "" -#: ../../library/collections.abc.rst:161 +#: ../../library/collections.abc.rst:164 msgid "" "``__getitem__``, ``__setitem__``, ``__delitem__``, ``__iter__``, ``__len__``" msgstr "" -#: ../../library/collections.abc.rst:161 +#: ../../library/collections.abc.rst:164 msgid "" "Inherited :class:`Mapping` methods and ``pop``, ``popitem``, ``clear``, " "``update``, and ``setdefault``" msgstr "" -#: ../../library/collections.abc.rst:168 +#: ../../library/collections.abc.rst:171 msgid ":class:`MappingView`" msgstr "" -#: ../../library/collections.abc.rst:168 +#: ../../library/collections.abc.rst:171 msgid ":class:`Sized`" msgstr "" -#: ../../library/collections.abc.rst:168 +#: ../../library/collections.abc.rst:171 msgid "``__init__``, ``__len__`` and ``__repr__``" msgstr "" -#: ../../library/collections.abc.rst:169 +#: ../../library/collections.abc.rst:172 msgid ":class:`ItemsView`" msgstr "" -#: ../../library/collections.abc.rst:169 ../../library/collections.abc.rst:171 +#: ../../library/collections.abc.rst:172 ../../library/collections.abc.rst:174 msgid ":class:`MappingView`, :class:`Set`" msgstr "" -#: ../../library/collections.abc.rst:169 ../../library/collections.abc.rst:171 -#: ../../library/collections.abc.rst:173 +#: ../../library/collections.abc.rst:172 ../../library/collections.abc.rst:174 +#: ../../library/collections.abc.rst:176 msgid "``__contains__``, ``__iter__``" msgstr "" -#: ../../library/collections.abc.rst:171 +#: ../../library/collections.abc.rst:174 msgid ":class:`KeysView`" msgstr "" -#: ../../library/collections.abc.rst:173 +#: ../../library/collections.abc.rst:176 msgid ":class:`ValuesView`" msgstr "" -#: ../../library/collections.abc.rst:173 +#: ../../library/collections.abc.rst:176 msgid ":class:`MappingView`, :class:`Collection`" msgstr "" -#: ../../library/collections.abc.rst:175 +#: ../../library/collections.abc.rst:178 msgid ":class:`Awaitable` [1]_" msgstr "" -#: ../../library/collections.abc.rst:175 +#: ../../library/collections.abc.rst:178 msgid "``__await__``" msgstr "" -#: ../../library/collections.abc.rst:176 +#: ../../library/collections.abc.rst:179 msgid ":class:`Coroutine` [1]_" msgstr "" -#: ../../library/collections.abc.rst:176 +#: ../../library/collections.abc.rst:179 msgid ":class:`Awaitable`" msgstr "" -#: ../../library/collections.abc.rst:176 +#: ../../library/collections.abc.rst:179 +msgid "``__await__``, ``send``, ``throw``" +msgstr "" + +#: ../../library/collections.abc.rst:179 msgid "``close``" msgstr "" -#: ../../library/collections.abc.rst:177 +#: ../../library/collections.abc.rst:181 msgid ":class:`AsyncIterable` [1]_" msgstr "" -#: ../../library/collections.abc.rst:177 ../../library/collections.abc.rst:178 +#: ../../library/collections.abc.rst:181 ../../library/collections.abc.rst:182 msgid "``__aiter__``" msgstr "" -#: ../../library/collections.abc.rst:178 +#: ../../library/collections.abc.rst:182 msgid ":class:`AsyncIterator` [1]_" msgstr "" -#: ../../library/collections.abc.rst:178 +#: ../../library/collections.abc.rst:182 msgid ":class:`AsyncIterable`" msgstr "" -#: ../../library/collections.abc.rst:178 +#: ../../library/collections.abc.rst:182 msgid "``__anext__``" msgstr "" -#: ../../library/collections.abc.rst:179 +#: ../../library/collections.abc.rst:183 msgid ":class:`AsyncGenerator` [1]_" msgstr "" -#: ../../library/collections.abc.rst:179 +#: ../../library/collections.abc.rst:183 msgid ":class:`AsyncIterator`" msgstr "" -#: ../../library/collections.abc.rst:179 +#: ../../library/collections.abc.rst:183 msgid "``asend``, ``athrow``" msgstr "" -#: ../../library/collections.abc.rst:179 +#: ../../library/collections.abc.rst:183 msgid "``aclose``, ``__aiter__``, ``__anext__``" msgstr "" -#: ../../library/collections.abc.rst:180 +#: ../../library/collections.abc.rst:184 msgid ":class:`Buffer` [1]_" msgstr "" -#: ../../library/collections.abc.rst:180 +#: ../../library/collections.abc.rst:184 msgid "``__buffer__``" msgstr "" -#: ../../library/collections.abc.rst:185 +#: ../../library/collections.abc.rst:189 msgid "Footnotes" msgstr "Fußnoten" -#: ../../library/collections.abc.rst:186 +#: ../../library/collections.abc.rst:190 msgid "" "These ABCs override :meth:`~abc.ABCMeta.__subclasshook__` to support testing " "an interface by verifying the required methods are present and have not been " @@ -476,7 +481,7 @@ msgid "" "interfaces require registration or direct subclassing." msgstr "" -#: ../../library/collections.abc.rst:192 +#: ../../library/collections.abc.rst:196 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " "as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but " @@ -485,37 +490,37 @@ msgid "" "is :term:`iterable` is to call ``iter(obj)``." msgstr "" -#: ../../library/collections.abc.rst:200 +#: ../../library/collections.abc.rst:204 msgid "Collections Abstract Base Classes -- Detailed Descriptions" msgstr "" -#: ../../library/collections.abc.rst:205 +#: ../../library/collections.abc.rst:209 msgid "ABC for classes that provide the :meth:`~object.__contains__` method." msgstr "" -#: ../../library/collections.abc.rst:209 +#: ../../library/collections.abc.rst:213 msgid "ABC for classes that provide the :meth:`~object.__hash__` method." msgstr "" -#: ../../library/collections.abc.rst:213 +#: ../../library/collections.abc.rst:217 msgid "ABC for classes that provide the :meth:`~object.__len__` method." msgstr "" -#: ../../library/collections.abc.rst:217 +#: ../../library/collections.abc.rst:221 msgid "ABC for classes that provide the :meth:`~object.__call__` method." msgstr "" -#: ../../library/collections.abc.rst:219 +#: ../../library/collections.abc.rst:223 msgid "" "See :ref:`annotating-callables` for details on how to use :class:`!Callable` " "in type annotations." msgstr "" -#: ../../library/collections.abc.rst:224 +#: ../../library/collections.abc.rst:228 msgid "ABC for classes that provide the :meth:`~container.__iter__` method." msgstr "" -#: ../../library/collections.abc.rst:226 +#: ../../library/collections.abc.rst:230 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " "as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but " @@ -524,24 +529,24 @@ msgid "" "is :term:`iterable` is to call ``iter(obj)``." msgstr "" -#: ../../library/collections.abc.rst:235 +#: ../../library/collections.abc.rst:239 msgid "ABC for sized iterable container classes." msgstr "" -#: ../../library/collections.abc.rst:241 +#: ../../library/collections.abc.rst:245 msgid "" "ABC for classes that provide the :meth:`~iterator.__iter__` " "and :meth:`~iterator.__next__` methods. See also the definition " "of :term:`iterator`." msgstr "" -#: ../../library/collections.abc.rst:247 +#: ../../library/collections.abc.rst:251 msgid "" "ABC for iterable classes that also provide the :meth:`~object.__reversed__` " "method." msgstr "" -#: ../../library/collections.abc.rst:254 +#: ../../library/collections.abc.rst:258 msgid "" "ABC for :term:`generator` classes that implement the protocol defined " "in :pep:`342` that extends :term:`iterators ` with " @@ -549,17 +554,17 @@ msgid "" "and :meth:`~generator.close` methods." msgstr "" -#: ../../library/collections.abc.rst:259 +#: ../../library/collections.abc.rst:263 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on " "using :class:`!Generator` in type annotations." msgstr "" -#: ../../library/collections.abc.rst:268 +#: ../../library/collections.abc.rst:272 msgid "ABCs for read-only and mutable :term:`sequences `." msgstr "" -#: ../../library/collections.abc.rst:270 +#: ../../library/collections.abc.rst:274 msgid "" "Implementation note: Some of the mixin methods, such " "as :meth:`~container.__iter__`, :meth:`~object.__reversed__`, " @@ -571,30 +576,30 @@ msgid "" "quadratic performance and will likely need to be overridden." msgstr "" -#: ../../library/collections.abc.rst:282 +#: ../../library/collections.abc.rst:286 msgid "Return first index of *value*." msgstr "" -#: ../../library/collections.abc.rst:284 +#: ../../library/collections.abc.rst:288 msgid "Raises :exc:`ValueError` if the value is not present." msgstr "" -#: ../../library/collections.abc.rst:286 +#: ../../library/collections.abc.rst:290 msgid "" "Supporting the *start* and *stop* arguments is optional, but recommended." msgstr "" -#: ../../library/collections.abc.rst:288 +#: ../../library/collections.abc.rst:292 msgid "" "The :meth:`~sequence.index` method gained support for the *stop* and *start* " "arguments." msgstr "" -#: ../../library/collections.abc.rst:292 +#: ../../library/collections.abc.rst:296 msgid "The :class:`ByteString` ABC has been deprecated." msgstr "" -#: ../../library/collections.abc.rst:295 +#: ../../library/collections.abc.rst:299 msgid "" "Use ``isinstance(obj, collections.abc.Buffer)`` to test if ``obj`` " "implements the :ref:`buffer protocol ` at runtime. For use in " @@ -603,7 +608,7 @@ msgid "" "memoryview``)." msgstr "" -#: ../../library/collections.abc.rst:301 +#: ../../library/collections.abc.rst:305 msgid "" ":class:`!ByteString` was originally intended to be an abstract class that " "would serve as a supertype of both :class:`bytes` and :class:`bytearray`. " @@ -614,37 +619,37 @@ msgid "" "or by static type checkers)." msgstr "" -#: ../../library/collections.abc.rst:309 +#: ../../library/collections.abc.rst:313 msgid "See :pep:`PEP 688 <688#current-options>` for more details." msgstr "" -#: ../../library/collections.abc.rst:314 +#: ../../library/collections.abc.rst:318 msgid "ABCs for read-only and mutable :ref:`sets `." msgstr "" -#: ../../library/collections.abc.rst:319 +#: ../../library/collections.abc.rst:323 msgid "ABCs for read-only and mutable :term:`mappings `." msgstr "" -#: ../../library/collections.abc.rst:326 +#: ../../library/collections.abc.rst:330 msgid "" "ABCs for mapping, items, keys, and values :term:`views `." msgstr "" -#: ../../library/collections.abc.rst:330 +#: ../../library/collections.abc.rst:334 msgid "" "ABC for :term:`awaitable` objects, which can be used in :keyword:`await` " "expressions. Custom implementations must provide " "the :meth:`~object.__await__` method." msgstr "" -#: ../../library/collections.abc.rst:334 +#: ../../library/collections.abc.rst:338 msgid "" ":term:`Coroutine ` objects and instances of " "the :class:`~collections.abc.Coroutine` ABC are all instances of this ABC." msgstr "" -#: ../../library/collections.abc.rst:338 +#: ../../library/collections.abc.rst:342 msgid "" "In CPython, generator-based coroutines (:term:`generators ` " "decorated with :deco:`types.coroutine`) are *awaitables*, even though they " @@ -653,7 +658,7 @@ msgid "" "to detect them." msgstr "" -#: ../../library/collections.abc.rst:348 +#: ../../library/collections.abc.rst:352 msgid "" "ABC for :term:`coroutine` compatible classes. These implement the following " "methods, defined in :ref:`coroutine-" @@ -663,7 +668,7 @@ msgid "" "also instances of :class:`Awaitable`." msgstr "" -#: ../../library/collections.abc.rst:356 +#: ../../library/collections.abc.rst:360 msgid "" "In CPython, generator-based coroutines (:term:`generators ` " "decorated with :deco:`types.coroutine`) are *awaitables*, even though they " @@ -672,61 +677,61 @@ msgid "" "to detect them." msgstr "" -#: ../../library/collections.abc.rst:362 +#: ../../library/collections.abc.rst:366 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on " "using :class:`!Coroutine` in type annotations. The variance and order of " "type parameters correspond to those of :class:`Generator`." msgstr "" -#: ../../library/collections.abc.rst:371 +#: ../../library/collections.abc.rst:375 msgid "" "ABC for classes that provide an ``__aiter__`` method. See also the " "definition of :term:`asynchronous iterable`." msgstr "" -#: ../../library/collections.abc.rst:378 +#: ../../library/collections.abc.rst:382 msgid "" "ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See " "also the definition of :term:`asynchronous iterator`." msgstr "" -#: ../../library/collections.abc.rst:385 +#: ../../library/collections.abc.rst:389 msgid "" "ABC for :term:`asynchronous generator` classes that implement the protocol " "defined in :pep:`525` and :pep:`492`." msgstr "" -#: ../../library/collections.abc.rst:388 +#: ../../library/collections.abc.rst:392 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on " "using :class:`!AsyncGenerator` in type annotations." msgstr "" -#: ../../library/collections.abc.rst:395 +#: ../../library/collections.abc.rst:399 msgid "" "ABC for classes that provide the :meth:`~object.__buffer__` method, " "implementing the :ref:`buffer protocol `. See :pep:`688`." msgstr "" -#: ../../library/collections.abc.rst:401 +#: ../../library/collections.abc.rst:405 msgid "Examples and Recipes" msgstr "" -#: ../../library/collections.abc.rst:403 +#: ../../library/collections.abc.rst:407 msgid "" "ABCs allow us to ask classes or instances if they provide particular " "functionality, for example::" msgstr "" -#: ../../library/collections.abc.rst:406 +#: ../../library/collections.abc.rst:410 msgid "" "size = None\n" "if isinstance(myvar, collections.abc.Sized):\n" " size = len(myvar)" msgstr "" -#: ../../library/collections.abc.rst:410 +#: ../../library/collections.abc.rst:414 msgid "" "Several of the ABCs are also useful as mixins that make it easier to develop " "classes supporting container APIs. For example, to write a class supporting " @@ -737,7 +742,7 @@ msgid "" "as :meth:`!__and__` and :meth:`~frozenset.isdisjoint`::" msgstr "" -#: ../../library/collections.abc.rst:417 +#: ../../library/collections.abc.rst:421 msgid "" "class ListBasedSet(collections.abc.Set):\n" " ''' Alternate set implementation favoring space over speed\n" @@ -763,11 +768,11 @@ msgid "" "automatically" msgstr "" -#: ../../library/collections.abc.rst:439 +#: ../../library/collections.abc.rst:443 msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" msgstr "" -#: ../../library/collections.abc.rst:442 +#: ../../library/collections.abc.rst:446 msgid "" "Since some set operations create new sets, the default mixin methods need a " "way to create new instances from an :term:`iterable`. The class constructor " @@ -780,14 +785,14 @@ msgid "" "an iterable argument." msgstr "" -#: ../../library/collections.abc.rst:453 +#: ../../library/collections.abc.rst:457 msgid "" "To override the comparisons (presumably for speed, as the semantics are " "fixed), redefine :meth:`~object.__le__` and :meth:`~object.__ge__`, then the " "other operations will automatically follow suit." msgstr "" -#: ../../library/collections.abc.rst:459 +#: ../../library/collections.abc.rst:463 msgid "" "The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash " "value for the set; however, :meth:`~object.__hash__` is not defined because " @@ -796,12 +801,12 @@ msgid "" "define ``__hash__ = Set._hash``." msgstr "" -#: ../../library/collections.abc.rst:467 +#: ../../library/collections.abc.rst:471 msgid "" "`OrderedSet recipe `_ for an " "example built on :class:`MutableSet`." msgstr "" -#: ../../library/collections.abc.rst:470 +#: ../../library/collections.abc.rst:474 msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`." msgstr "" diff --git a/library/decimal.po b/library/decimal.po index eda55352..f610455f 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:17+0000\n" "Last-Translator: python-doc bot, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -2025,14 +2025,16 @@ 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 "" -#: ../../library/decimal.rst:1735 +#: ../../library/decimal.rst:1737 msgid "Numerical overflow." msgstr "" -#: ../../library/decimal.rst:1737 +#: ../../library/decimal.rst:1739 msgid "" "Indicates the exponent is larger than :attr:`Context.Emax` after rounding " "has occurred. If not trapped, the result depends on the rounding mode, " @@ -2041,42 +2043,42 @@ msgid "" "and :class:`Rounded` are also signaled." msgstr "" -#: ../../library/decimal.rst:1746 +#: ../../library/decimal.rst:1748 msgid "Rounding occurred though possibly no information was lost." msgstr "" -#: ../../library/decimal.rst:1748 +#: ../../library/decimal.rst:1750 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 " "unchanged. This signal is used to detect loss of significant digits." msgstr "" -#: ../../library/decimal.rst:1756 +#: ../../library/decimal.rst:1758 msgid "Exponent was lower than :attr:`~Context.Emin` prior to rounding." msgstr "" -#: ../../library/decimal.rst:1758 +#: ../../library/decimal.rst:1760 msgid "" "Occurs when an operation result is subnormal (the exponent is too small). If " "not trapped, returns the result unchanged." msgstr "" -#: ../../library/decimal.rst:1764 +#: ../../library/decimal.rst:1766 msgid "Numerical underflow with result rounded to zero." msgstr "" -#: ../../library/decimal.rst:1766 +#: ../../library/decimal.rst:1768 msgid "" "Occurs when a subnormal result is pushed to zero by " "rounding. :class:`Inexact` and :class:`Subnormal` are also signaled." msgstr "" -#: ../../library/decimal.rst:1772 +#: ../../library/decimal.rst:1774 msgid "Enable stricter semantics for mixing floats and Decimals." msgstr "" -#: ../../library/decimal.rst:1774 +#: ../../library/decimal.rst:1776 msgid "" "If the signal is not trapped (default), mixing floats and Decimals is " "permitted in the :class:`~decimal.Decimal` " @@ -2087,18 +2089,18 @@ msgid "" "or :meth:`~decimal.Context.create_decimal_from_float` do not set the flag." msgstr "" -#: ../../library/decimal.rst:1782 +#: ../../library/decimal.rst:1784 msgid "" "Otherwise (the signal is trapped), only equality comparisons and explicit " "conversions are silent. All other mixed operations " "raise :exc:`FloatOperation`." msgstr "" -#: ../../library/decimal.rst:1786 +#: ../../library/decimal.rst:1788 msgid "The following table summarizes the hierarchy of signals::" msgstr "" -#: ../../library/decimal.rst:1788 +#: ../../library/decimal.rst:1790 msgid "" "exceptions.ArithmeticError(exceptions.Exception)\n" " DecimalException\n" @@ -2113,15 +2115,15 @@ msgid "" " FloatOperation(DecimalException, exceptions.TypeError)" msgstr "" -#: ../../library/decimal.rst:1807 +#: ../../library/decimal.rst:1809 msgid "Floating-point notes" msgstr "" -#: ../../library/decimal.rst:1811 +#: ../../library/decimal.rst:1813 msgid "Mitigating round-off error with increased precision" msgstr "" -#: ../../library/decimal.rst:1813 +#: ../../library/decimal.rst:1815 msgid "" "The use of decimal floating point eliminates decimal representation error " "(making it possible to represent ``0.1`` exactly); however, some operations " @@ -2129,7 +2131,7 @@ msgid "" "precision." msgstr "" -#: ../../library/decimal.rst:1817 +#: ../../library/decimal.rst:1819 msgid "" "The effects of round-off error can be amplified by the addition or " "subtraction of nearly offsetting quantities resulting in loss of " @@ -2138,7 +2140,7 @@ msgid "" "of the associative and distributive properties of addition:" msgstr "" -#: ../../library/decimal.rst:1823 +#: ../../library/decimal.rst:1825 msgid "" "# Examples from Seminumerical Algorithms, Section 4.2.2.\n" ">>> from decimal import Decimal, getcontext\n" @@ -2157,13 +2159,13 @@ msgid "" "Decimal('0.0060000')" msgstr "" -#: ../../library/decimal.rst:1841 +#: ../../library/decimal.rst:1843 msgid "" "The :mod:`!decimal` module makes it possible to restore the identities by " "expanding the precision sufficiently to avoid loss of significance:" msgstr "" -#: ../../library/decimal.rst:1844 +#: ../../library/decimal.rst:1846 msgid "" ">>> getcontext().prec = 20\n" ">>> u, v, w = Decimal(11111113), Decimal(-11111111), Decimal('7.51111111')\n" @@ -2179,18 +2181,18 @@ msgid "" "Decimal('0.0060000')" msgstr "" -#: ../../library/decimal.rst:1861 +#: ../../library/decimal.rst:1865 msgid "Special values" msgstr "" -#: ../../library/decimal.rst:1863 +#: ../../library/decimal.rst:1867 msgid "" "The number system for the :mod:`!decimal` module provides special values " "including ``NaN``, ``sNaN``, ``-Infinity``, ``Infinity``, and two zeros, " "``+0`` and ``-0``." msgstr "" -#: ../../library/decimal.rst:1867 +#: ../../library/decimal.rst:1871 msgid "" "Infinities can be constructed directly with: ``Decimal('Infinity')``. Also, " "they can arise from dividing by zero when the :exc:`DivisionByZero` signal " @@ -2199,14 +2201,14 @@ msgid "" "representable number." msgstr "" -#: ../../library/decimal.rst:1872 +#: ../../library/decimal.rst:1876 msgid "" "The infinities are signed (affine) and can be used in arithmetic operations " "where they get treated as very large, indeterminate numbers. For instance, " "adding a constant to infinity gives another infinite result." msgstr "" -#: ../../library/decimal.rst:1876 +#: ../../library/decimal.rst:1880 msgid "" "Some operations are indeterminate and return ``NaN``, or if " "the :exc:`InvalidOperation` signal is trapped, raise an exception. For " @@ -2217,14 +2219,14 @@ msgid "" "the calculation to proceed while flagging specific results as invalid." msgstr "" -#: ../../library/decimal.rst:1884 +#: ../../library/decimal.rst:1888 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 " "interrupt a calculation for special handling." msgstr "" -#: ../../library/decimal.rst:1888 +#: ../../library/decimal.rst:1892 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 " @@ -2241,7 +2243,7 @@ msgid "" "and :meth:`~Decimal.compare_signal` methods instead." msgstr "" -#: ../../library/decimal.rst:1901 +#: ../../library/decimal.rst:1905 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 " @@ -2249,7 +2251,7 @@ msgid "" "negative zeros are treated as equal and their sign is informational." msgstr "" -#: ../../library/decimal.rst:1906 +#: ../../library/decimal.rst:1910 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 " @@ -2258,11 +2260,11 @@ msgid "" "that the following calculation returns a value equal to zero:" msgstr "" -#: ../../library/decimal.rst:1921 +#: ../../library/decimal.rst:1925 msgid "Working with threads" msgstr "" -#: ../../library/decimal.rst:1923 +#: ../../library/decimal.rst:1927 msgid "" "The :func:`getcontext` function accesses a different :class:`Context` object " "for each thread. Having separate thread contexts means that threads may " @@ -2270,13 +2272,13 @@ msgid "" "other threads." msgstr "" -#: ../../library/decimal.rst:1927 +#: ../../library/decimal.rst:1931 msgid "" "Likewise, the :func:`setcontext` function automatically assigns its target " "to the current thread." msgstr "" -#: ../../library/decimal.rst:1930 +#: ../../library/decimal.rst:1934 msgid "" "If :func:`setcontext` has not been called before :func:`getcontext`, " "then :func:`getcontext` will automatically create a new context for use in " @@ -2284,7 +2286,7 @@ msgid "" "the :data:`decimal.DefaultContext` object." msgstr "" -#: ../../library/decimal.rst:1935 +#: ../../library/decimal.rst:1939 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 " @@ -2294,7 +2296,7 @@ msgid "" "of :meth:`threading.Thread.start`." msgstr "" -#: ../../library/decimal.rst:1942 +#: ../../library/decimal.rst:1946 msgid "" "To control the defaults so that each thread will use the same values " "throughout the application, directly modify the *DefaultContext* object. " @@ -2302,7 +2304,7 @@ msgid "" "a race condition between threads calling :func:`getcontext`. For example::" msgstr "" -#: ../../library/decimal.rst:1947 +#: ../../library/decimal.rst:1951 msgid "" "# Set applicationwide defaults for all threads about to be launched\n" "DefaultContext.prec = 12\n" @@ -2318,17 +2320,17 @@ msgid "" " . . ." msgstr "" -#: ../../library/decimal.rst:1966 +#: ../../library/decimal.rst:1970 msgid "Recipes" msgstr "" -#: ../../library/decimal.rst:1968 +#: ../../library/decimal.rst:1972 msgid "" "Here are a few recipes that serve as utility functions and that demonstrate " "ways to work with the :class:`Decimal` class::" msgstr "" -#: ../../library/decimal.rst:1971 +#: ../../library/decimal.rst:1975 msgid "" "def moneyfmt(value, places=2, curr='', sep=',', dp='.',\n" " pos='', neg='-', trailneg=''):\n" @@ -2477,41 +2479,41 @@ msgid "" " return +s" msgstr "" -#: ../../library/decimal.rst:2123 +#: ../../library/decimal.rst:2127 msgid "Decimal FAQ" msgstr "" -#: ../../library/decimal.rst:2125 +#: ../../library/decimal.rst:2129 msgid "" "Q: It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way " "to minimize typing when using the interactive interpreter?" msgstr "" -#: ../../library/decimal.rst:2128 +#: ../../library/decimal.rst:2132 msgid "A: Some users abbreviate the constructor to just a single letter:" msgstr "" -#: ../../library/decimal.rst:2134 +#: ../../library/decimal.rst:2138 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 " "digits and need to be validated. What methods should be used?" msgstr "" -#: ../../library/decimal.rst:2138 +#: ../../library/decimal.rst:2142 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 " "validation:" msgstr "" -#: ../../library/decimal.rst:2156 +#: ../../library/decimal.rst:2160 msgid "" "Q: Once I have valid two place inputs, how do I maintain that invariant " "throughout an application?" msgstr "" -#: ../../library/decimal.rst:2159 +#: ../../library/decimal.rst:2163 msgid "" "A: Some operations like addition, subtraction, and multiplication by an " "integer will automatically preserve fixed point. Others operations, like " @@ -2519,13 +2521,13 @@ msgid "" "places and need to be followed-up with a :meth:`~Decimal.quantize` step:" msgstr "" -#: ../../library/decimal.rst:2177 +#: ../../library/decimal.rst:2181 msgid "" "In developing fixed-point applications, it is convenient to define functions " "to handle the :meth:`~Decimal.quantize` step:" msgstr "" -#: ../../library/decimal.rst:2191 +#: ../../library/decimal.rst:2195 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 " @@ -2533,17 +2535,17 @@ msgid "" "canonical value?" msgstr "" -#: ../../library/decimal.rst:2196 +#: ../../library/decimal.rst:2200 msgid "" "A: The :meth:`~Decimal.normalize` method maps all equivalent values to a " "single representative:" msgstr "" -#: ../../library/decimal.rst:2203 +#: ../../library/decimal.rst:2207 msgid "Q: When does rounding occur in a computation?" msgstr "" -#: ../../library/decimal.rst:2205 +#: ../../library/decimal.rst:2209 msgid "" "A: It occurs *after* the computation. The philosophy of the decimal " "specification is that numbers are considered exact and are created " @@ -2553,7 +2555,7 @@ msgid "" "computation::" msgstr "" -#: ../../library/decimal.rst:2212 +#: ../../library/decimal.rst:2216 msgid "" ">>> getcontext().prec = 5\n" ">>> pi = Decimal('3.1415926535') # More than 5 digits\n" @@ -2567,13 +2569,13 @@ msgid "" "Decimal('3.1416')" msgstr "" -#: ../../library/decimal.rst:2223 +#: ../../library/decimal.rst:2227 msgid "" "Q: Some decimal values always print with exponential notation. Is there a " "way to get a non-exponential representation?" msgstr "" -#: ../../library/decimal.rst:2226 +#: ../../library/decimal.rst:2230 msgid "" "A: For some values, exponential notation is the only way to express the " "number of significant places in the coefficient. For example, expressing " @@ -2581,37 +2583,37 @@ msgid "" "original's two-place significance." msgstr "" -#: ../../library/decimal.rst:2231 +#: ../../library/decimal.rst:2235 msgid "" "If an application does not care about tracking significance, it is easy to " "remove the exponent and trailing zeroes, losing significance, but keeping " "the value unchanged:" msgstr "" -#: ../../library/decimal.rst:2241 +#: ../../library/decimal.rst:2245 msgid "Q: Is there a way to convert a regular float to a :class:`Decimal`?" msgstr "" -#: ../../library/decimal.rst:2243 +#: ../../library/decimal.rst:2247 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 " "would suggest:" msgstr "" -#: ../../library/decimal.rst:2247 +#: ../../library/decimal.rst:2251 msgid "" ">>> Decimal(math.pi)\n" "Decimal('3.141592653589793115997963468544185161590576171875')" msgstr "" -#: ../../library/decimal.rst:2252 +#: ../../library/decimal.rst:2256 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." msgstr "" -#: ../../library/decimal.rst:2255 +#: ../../library/decimal.rst:2259 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. " @@ -2619,14 +2621,14 @@ msgid "" "issues, ill-conditioned inputs, or a numerically unstable algorithm." msgstr "" -#: ../../library/decimal.rst:2260 +#: ../../library/decimal.rst:2264 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 " "values of different precisions?" msgstr "" -#: ../../library/decimal.rst:2264 +#: ../../library/decimal.rst:2268 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 " @@ -2635,7 +2637,7 @@ msgid "" "haven't been rounded:" msgstr "" -#: ../../library/decimal.rst:2269 +#: ../../library/decimal.rst:2273 msgid "" ">>> getcontext().prec = 3\n" ">>> Decimal('3.104') + Decimal('2.104')\n" @@ -2644,30 +2646,30 @@ msgid "" "Decimal('5.20')" msgstr "" -#: ../../library/decimal.rst:2277 +#: ../../library/decimal.rst:2281 msgid "" "The solution is either to increase precision or to force rounding of inputs " "using the unary plus operation:" msgstr "" -#: ../../library/decimal.rst:2280 +#: ../../library/decimal.rst:2284 msgid "" ">>> getcontext().prec = 3\n" ">>> +Decimal('1.23456789') # unary plus triggers rounding\n" "Decimal('1.23')" msgstr "" -#: ../../library/decimal.rst:2286 +#: ../../library/decimal.rst:2290 msgid "" "Alternatively, inputs can be rounded upon creation using " "the :meth:`Context.create_decimal` method:" msgstr "" -#: ../../library/decimal.rst:2292 +#: ../../library/decimal.rst:2296 msgid "Q: Is the CPython implementation fast for large numbers?" msgstr "" -#: ../../library/decimal.rst:2294 +#: ../../library/decimal.rst:2298 msgid "" "A: Yes. In the CPython and PyPy3 implementations, the C/CFFI versions of " "the decimal module integrate the high speed `libmpdec >> setcontext(Context(prec=MAX_PREC, Emax=MAX_EMAX, Emin=MIN_EMIN))\n" ">>> x = Decimal(2) ** 256\n" @@ -2702,13 +2704,13 @@ msgid "" "Decimal('904625697166532776746648320380374280103671755200316906558262375061821325312')" msgstr "" -#: ../../library/decimal.rst:2317 +#: ../../library/decimal.rst:2321 msgid "" "For inexact results, :const:`MAX_PREC` is far too large on 64-bit platforms " "and the available memory will be insufficient::" msgstr "" -#: ../../library/decimal.rst:2320 +#: ../../library/decimal.rst:2324 msgid "" ">>> Decimal(1) / 3\n" "Traceback (most recent call last):\n" @@ -2716,7 +2718,7 @@ msgid "" "MemoryError" msgstr "" -#: ../../library/decimal.rst:2325 +#: ../../library/decimal.rst:2329 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 " @@ -2724,7 +2726,7 @@ msgid "" "of 500MB each::" msgstr "" -#: ../../library/decimal.rst:2329 +#: ../../library/decimal.rst:2333 msgid "" ">>> import sys\n" ">>>\n" @@ -2748,14 +2750,14 @@ msgid "" " decimal.Inexact: []" msgstr "" -#: ../../library/decimal.rst:2349 +#: ../../library/decimal.rst:2353 msgid "" "In general (and especially on systems without overallocation), it is " "recommended to estimate even tighter bounds and set the :attr:`Inexact` trap " "if all calculations are expected to be exact." msgstr "" -#: ../../library/decimal.rst:2358 +#: ../../library/decimal.rst:2362 msgid "" "This approach now works for all exact results except for non-integer powers." msgstr "" diff --git a/library/http.po b/library/http.po index 75177d88..644a6ac9 100644 --- a/library/http.po +++ b/library/http.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -78,7 +78,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" @@ -88,7 +88,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/os.po b/library/os.po index 1baf42a8..b5ccf6db 100644 --- a/library/os.po +++ b/library/os.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -331,56 +331,56 @@ msgstr "" #: ../../library/os.rst:2460 ../../library/os.rst:2480 #: ../../library/os.rst:2616 ../../library/os.rst:2638 #: ../../library/os.rst:2682 ../../library/os.rst:2694 -#: ../../library/os.rst:2716 ../../library/os.rst:3422 -#: ../../library/os.rst:3508 ../../library/os.rst:3516 -#: ../../library/os.rst:3524 ../../library/os.rst:3532 -#: ../../library/os.rst:3540 ../../library/os.rst:3548 -#: ../../library/os.rst:3556 ../../library/os.rst:3564 -#: ../../library/os.rst:3572 ../../library/os.rst:3580 -#: ../../library/os.rst:3701 ../../library/os.rst:3724 -#: ../../library/os.rst:3738 ../../library/os.rst:3958 -#: ../../library/os.rst:3983 ../../library/os.rst:4008 -#: ../../library/os.rst:4062 ../../library/os.rst:4071 -#: ../../library/os.rst:4080 ../../library/os.rst:4088 -#: ../../library/os.rst:4097 ../../library/os.rst:4106 -#: ../../library/os.rst:4179 ../../library/os.rst:4241 -#: ../../library/os.rst:4251 ../../library/os.rst:4269 -#: ../../library/os.rst:4278 ../../library/os.rst:4288 -#: ../../library/os.rst:4298 ../../library/os.rst:4308 -#: ../../library/os.rst:4319 ../../library/os.rst:4464 -#: ../../library/os.rst:4533 ../../library/os.rst:4568 +#: ../../library/os.rst:2716 ../../library/os.rst:3408 +#: ../../library/os.rst:3494 ../../library/os.rst:3502 +#: ../../library/os.rst:3510 ../../library/os.rst:3518 +#: ../../library/os.rst:3526 ../../library/os.rst:3534 +#: ../../library/os.rst:3542 ../../library/os.rst:3550 +#: ../../library/os.rst:3558 ../../library/os.rst:3566 +#: ../../library/os.rst:3687 ../../library/os.rst:3710 +#: ../../library/os.rst:3724 ../../library/os.rst:3944 +#: ../../library/os.rst:3969 ../../library/os.rst:3994 +#: ../../library/os.rst:4048 ../../library/os.rst:4057 +#: ../../library/os.rst:4066 ../../library/os.rst:4074 +#: ../../library/os.rst:4083 ../../library/os.rst:4092 +#: ../../library/os.rst:4165 ../../library/os.rst:4227 +#: ../../library/os.rst:4237 ../../library/os.rst:4255 +#: ../../library/os.rst:4264 ../../library/os.rst:4274 +#: ../../library/os.rst:4284 ../../library/os.rst:4294 +#: ../../library/os.rst:4305 ../../library/os.rst:4450 +#: ../../library/os.rst:4519 ../../library/os.rst:4554 +#: ../../library/os.rst:4562 ../../library/os.rst:4569 #: ../../library/os.rst:4576 ../../library/os.rst:4583 #: ../../library/os.rst:4590 ../../library/os.rst:4597 -#: ../../library/os.rst:4604 ../../library/os.rst:4611 -#: ../../library/os.rst:4618 ../../library/os.rst:4626 -#: ../../library/os.rst:4634 ../../library/os.rst:4641 -#: ../../library/os.rst:4648 ../../library/os.rst:4657 -#: ../../library/os.rst:4665 ../../library/os.rst:4673 -#: ../../library/os.rst:4680 ../../library/os.rst:4687 -#: ../../library/os.rst:4736 ../../library/os.rst:4763 -#: ../../library/os.rst:4786 ../../library/os.rst:4802 -#: ../../library/os.rst:4809 ../../library/os.rst:4820 -#: ../../library/os.rst:4830 ../../library/os.rst:4839 -#: ../../library/os.rst:4871 ../../library/os.rst:4982 -#: ../../library/os.rst:4998 ../../library/os.rst:5031 -#: ../../library/os.rst:5100 ../../library/os.rst:5122 -#: ../../library/os.rst:5133 ../../library/os.rst:5145 -#: ../../library/os.rst:5190 ../../library/os.rst:5227 -#: ../../library/os.rst:5250 ../../library/os.rst:5271 -#: ../../library/os.rst:5305 ../../library/os.rst:5346 -#: ../../library/os.rst:5366 ../../library/os.rst:5380 -#: ../../library/os.rst:5397 ../../library/os.rst:5412 -#: ../../library/os.rst:5423 ../../library/os.rst:5435 -#: ../../library/os.rst:5448 ../../library/os.rst:5457 -#: ../../library/os.rst:5467 ../../library/os.rst:5480 -#: ../../library/os.rst:5515 ../../library/os.rst:5531 -#: ../../library/os.rst:5542 ../../library/os.rst:5554 -#: ../../library/os.rst:5561 ../../library/os.rst:5570 -#: ../../library/os.rst:5579 ../../library/os.rst:5588 -#: ../../library/os.rst:5597 ../../library/os.rst:5761 -#: ../../library/os.rst:5770 ../../library/os.rst:5794 -#: ../../library/os.rst:5821 ../../library/os.rst:5830 -#: ../../library/os.rst:5953 +#: ../../library/os.rst:4604 ../../library/os.rst:4612 +#: ../../library/os.rst:4620 ../../library/os.rst:4627 +#: ../../library/os.rst:4634 ../../library/os.rst:4643 +#: ../../library/os.rst:4651 ../../library/os.rst:4659 +#: ../../library/os.rst:4666 ../../library/os.rst:4673 +#: ../../library/os.rst:4722 ../../library/os.rst:4749 +#: ../../library/os.rst:4772 ../../library/os.rst:4788 +#: ../../library/os.rst:4795 ../../library/os.rst:4806 +#: ../../library/os.rst:4816 ../../library/os.rst:4825 +#: ../../library/os.rst:4857 ../../library/os.rst:4968 +#: ../../library/os.rst:4984 ../../library/os.rst:5017 +#: ../../library/os.rst:5086 ../../library/os.rst:5108 +#: ../../library/os.rst:5119 ../../library/os.rst:5131 +#: ../../library/os.rst:5176 ../../library/os.rst:5213 +#: ../../library/os.rst:5236 ../../library/os.rst:5257 +#: ../../library/os.rst:5291 ../../library/os.rst:5332 +#: ../../library/os.rst:5352 ../../library/os.rst:5366 +#: ../../library/os.rst:5383 ../../library/os.rst:5398 +#: ../../library/os.rst:5409 ../../library/os.rst:5421 +#: ../../library/os.rst:5434 ../../library/os.rst:5443 +#: ../../library/os.rst:5453 ../../library/os.rst:5466 +#: ../../library/os.rst:5501 ../../library/os.rst:5517 +#: ../../library/os.rst:5528 ../../library/os.rst:5540 +#: ../../library/os.rst:5547 ../../library/os.rst:5556 +#: ../../library/os.rst:5565 ../../library/os.rst:5574 +#: ../../library/os.rst:5583 ../../library/os.rst:5747 +#: ../../library/os.rst:5756 ../../library/os.rst:5780 +#: ../../library/os.rst:5807 ../../library/os.rst:5816 +#: ../../library/os.rst:5939 msgid "Availability" msgstr "" @@ -917,7 +917,7 @@ msgstr "" msgid ":data:`sys.platform` which has finer granularity." msgstr "" -#: ../../library/os.rst:809 ../../library/os.rst:5252 +#: ../../library/os.rst:809 ../../library/os.rst:5238 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1190,7 +1190,7 @@ msgstr "" #: ../../library/os.rst:1063 ../../library/os.rst:1081 #: ../../library/os.rst:1169 ../../library/os.rst:1781 #: ../../library/os.rst:2234 ../../library/os.rst:2267 -#: ../../library/os.rst:3703 +#: ../../library/os.rst:3689 msgid "" "The function is limited on WASI, see :ref:`wasm-availability` for more " "information." @@ -1292,7 +1292,7 @@ msgid "" "``fd``, ``length``." msgstr "" -#: ../../library/os.rst:1156 ../../library/os.rst:3742 +#: ../../library/os.rst:1156 ../../library/os.rst:3728 msgid "Added support for Windows" msgstr "" @@ -1499,12 +1499,12 @@ msgstr "" #: ../../library/os.rst:2547 ../../library/os.rst:2618 #: ../../library/os.rst:2640 ../../library/os.rst:2721 #: ../../library/os.rst:2751 ../../library/os.rst:2858 -#: ../../library/os.rst:3758 +#: ../../library/os.rst:3744 msgid "Added the *dir_fd* parameter." msgstr "" #: ../../library/os.rst:1328 ../../library/os.rst:1679 -#: ../../library/os.rst:1914 ../../library/os.rst:5348 +#: ../../library/os.rst:1914 ../../library/os.rst:5334 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 " @@ -1525,11 +1525,11 @@ msgstr "" #: ../../library/os.rst:2643 ../../library/os.rst:2684 #: ../../library/os.rst:2754 ../../library/os.rst:2773 #: ../../library/os.rst:2861 ../../library/os.rst:3165 -#: ../../library/os.rst:3427 ../../library/os.rst:3745 -#: ../../library/os.rst:3761 ../../library/os.rst:3801 -#: ../../library/os.rst:3901 ../../library/os.rst:3962 -#: ../../library/os.rst:4359 ../../library/os.rst:4539 -#: ../../library/os.rst:5107 +#: ../../library/os.rst:3413 ../../library/os.rst:3731 +#: ../../library/os.rst:3747 ../../library/os.rst:3787 +#: ../../library/os.rst:3887 ../../library/os.rst:3948 +#: ../../library/os.rst:4345 ../../library/os.rst:4525 +#: ../../library/os.rst:5093 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -2482,7 +2482,7 @@ msgid ":const:`stat.S_IXOTH`" msgstr "" #: ../../library/os.rst:2223 ../../library/os.rst:2256 -#: ../../library/os.rst:3791 +#: ../../library/os.rst:3777 msgid "" "This function can support :ref:`specifying a file descriptor " "`, :ref:`paths relative to directory descriptors ` " @@ -2597,7 +2597,7 @@ msgid "" "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: ../../library/os.rst:2375 ../../library/os.rst:4788 +#: ../../library/os.rst:2375 ../../library/os.rst:4774 msgid "Added Windows support." msgstr "" @@ -2606,7 +2606,7 @@ msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* parameters." msgstr "" #: ../../library/os.rst:2381 ../../library/os.rst:2805 -#: ../../library/os.rst:2842 ../../library/os.rst:3713 +#: ../../library/os.rst:2842 ../../library/os.rst:3699 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" @@ -2653,7 +2653,7 @@ msgstr "" msgid "The *path* parameter became optional." msgstr "" -#: ../../library/os.rst:2415 ../../library/os.rst:3424 +#: ../../library/os.rst:2415 ../../library/os.rst:3410 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" @@ -2761,7 +2761,7 @@ msgid "" msgstr "" #: ../../library/os.rst:2504 ../../library/os.rst:2718 -#: ../../library/os.rst:3706 +#: ../../library/os.rst:3692 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" @@ -2919,8 +2919,8 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: ../../library/os.rst:2679 ../../library/os.rst:3420 -#: ../../library/os.rst:3734 +#: ../../library/os.rst:2679 ../../library/os.rst:3406 +#: ../../library/os.rst:3720 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" @@ -2978,7 +2978,7 @@ msgid "" msgstr "" #: ../../library/os.rst:2740 ../../library/os.rst:2853 -#: ../../library/os.rst:3685 +#: ../../library/os.rst:3671 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." @@ -2997,7 +2997,7 @@ msgid "This function is semantically identical to :func:`unlink`." msgstr "" #: ../../library/os.rst:2749 ../../library/os.rst:2771 -#: ../../library/os.rst:3756 +#: ../../library/os.rst:3742 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." @@ -3464,9 +3464,9 @@ msgid "" "``follow_symlinks=False``, or use :func:`lstat`." msgstr "" -#: ../../library/os.rst:3130 ../../library/os.rst:4338 -#: ../../library/os.rst:4354 ../../library/os.rst:4370 -#: ../../library/os.rst:4390 +#: ../../library/os.rst:3130 ../../library/os.rst:4324 +#: ../../library/os.rst:4340 ../../library/os.rst:4356 +#: ../../library/os.rst:4376 msgid "" "This function can support :ref:`specifying a file descriptor ` " "and :ref:`not following symlinks `." @@ -3486,7 +3486,7 @@ msgid "" "dangling symlinks or junction points, which will raise the usual exceptions." msgstr "" -#: ../../library/os.rst:3146 ../../library/os.rst:4045 +#: ../../library/os.rst:3146 ../../library/os.rst:4031 msgid "Example::" msgstr "Beispiel::" @@ -3709,26 +3709,10 @@ msgid "" msgstr "" #: ../../library/os.rst:3336 -msgid "On macOS systems, the following attributes may also be available:" -msgstr "" - -#: ../../library/os.rst:3340 -msgid "Real size of the file." -msgstr "" - -#: ../../library/os.rst:3344 -msgid "Creator of the file." -msgstr "" - -#: ../../library/os.rst:3348 -msgid "File type." -msgstr "" - -#: ../../library/os.rst:3350 msgid "On Windows systems, the following attributes are also available:" msgstr "" -#: ../../library/os.rst:3354 +#: ../../library/os.rst:3340 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:`!" @@ -3736,7 +3720,7 @@ msgid "" "` constants in the :mod:`stat` module." msgstr "" -#: ../../library/os.rst:3364 +#: ../../library/os.rst:3350 msgid "" "When :attr:`st_file_attributes` has " "the :const:`~stat.FILE_ATTRIBUTE_REPARSE_POINT` set, this field contains the " @@ -3744,14 +3728,14 @@ msgid "" "` constants in the :mod:`stat` module." msgstr "" -#: ../../library/os.rst:3369 +#: ../../library/os.rst:3355 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:struct:`stat` structure. (On " "Windows, some items are filled with dummy values.)" msgstr "" -#: ../../library/os.rst:3373 +#: ../../library/os.rst:3359 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 " @@ -3762,49 +3746,49 @@ msgid "" "a tuple always returns integers." msgstr "" -#: ../../library/os.rst:3382 +#: ../../library/os.rst:3368 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" -#: ../../library/os.rst:3386 +#: ../../library/os.rst:3372 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "" -#: ../../library/os.rst:3389 +#: ../../library/os.rst:3375 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "" -#: ../../library/os.rst:3392 +#: ../../library/os.rst:3378 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files " "as :const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate." msgstr "" -#: ../../library/os.rst:3397 +#: ../../library/os.rst:3383 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 " "still contains creation time. Use :attr:`st_birthtime` for the creation time." msgstr "" -#: ../../library/os.rst:3403 +#: ../../library/os.rst:3389 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 " "identifiers would be arbitrarily packed." msgstr "" -#: ../../library/os.rst:3407 +#: ../../library/os.rst:3393 msgid "" "On Windows, :attr:`st_rdev` no longer returns a value. Previously it would " "contain the same as :attr:`st_dev`, which was incorrect." msgstr "" -#: ../../library/os.rst:3410 +#: ../../library/os.rst:3396 msgid "Added the :attr:`st_birthtime` member on Windows." msgstr "" -#: ../../library/os.rst:3415 +#: ../../library/os.rst:3401 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 " @@ -3812,117 +3796,117 @@ msgid "" "structure." msgstr "" -#: ../../library/os.rst:3433 +#: ../../library/os.rst:3419 msgid "" "Filesystem statistics returned by :func:`os.statvfs` " "and :func:`os.fstatvfs`. See :manpage:`statvfs(3)` for more details." msgstr "" -#: ../../library/os.rst:3438 +#: ../../library/os.rst:3424 msgid "Block size." msgstr "" -#: ../../library/os.rst:3442 +#: ../../library/os.rst:3428 msgid "Fragment size." msgstr "" -#: ../../library/os.rst:3446 +#: ../../library/os.rst:3432 msgid "" "Number of :attr:`~statvfs_result.f_frsize` sized blocks the filesystem can " "contain." msgstr "" -#: ../../library/os.rst:3451 +#: ../../library/os.rst:3437 msgid "Number of free blocks." msgstr "" -#: ../../library/os.rst:3455 +#: ../../library/os.rst:3441 msgid "Number of free blocks for unprivileged users." msgstr "" -#: ../../library/os.rst:3459 +#: ../../library/os.rst:3445 msgid "Number of file entries, inodes, the filesystem can contain." msgstr "" -#: ../../library/os.rst:3463 +#: ../../library/os.rst:3449 msgid "Number of free files entries." msgstr "" -#: ../../library/os.rst:3467 +#: ../../library/os.rst:3453 msgid "Number of free file entries for unprivileged users." msgstr "" -#: ../../library/os.rst:3471 +#: ../../library/os.rst:3457 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`, " "and :data:`ST_RELATIME`." msgstr "" -#: ../../library/os.rst:3479 +#: ../../library/os.rst:3465 msgid "" "Filesystem max filename length. OS specific limitations such " "as :ref:`Windows MAX_PATH ` and those described in " "Linux :manpage:`pathname(7)` may exist." msgstr "" -#: ../../library/os.rst:3485 +#: ../../library/os.rst:3471 msgid "Filesystem ID." msgstr "" -#: ../../library/os.rst:3490 +#: ../../library/os.rst:3476 msgid "The following flags are used in :attr:`statvfs_result.f_flag`." msgstr "" -#: ../../library/os.rst:3494 +#: ../../library/os.rst:3480 msgid "Read-only filesystem." msgstr "" -#: ../../library/os.rst:3500 +#: ../../library/os.rst:3486 msgid "Setuid/setgid bits are disabled or not supported." msgstr "" -#: ../../library/os.rst:3506 +#: ../../library/os.rst:3492 msgid "Disallow access to device special files." msgstr "" -#: ../../library/os.rst:3514 +#: ../../library/os.rst:3500 msgid "Disallow program execution." msgstr "" -#: ../../library/os.rst:3522 +#: ../../library/os.rst:3508 msgid "Writes are synced at once." msgstr "" -#: ../../library/os.rst:3530 +#: ../../library/os.rst:3516 msgid "Allow mandatory locks on an FS." msgstr "" -#: ../../library/os.rst:3538 +#: ../../library/os.rst:3524 msgid "Write on file/directory/symlink." msgstr "" -#: ../../library/os.rst:3546 +#: ../../library/os.rst:3532 msgid "Append-only file." msgstr "" -#: ../../library/os.rst:3554 +#: ../../library/os.rst:3540 msgid "Immutable file." msgstr "" -#: ../../library/os.rst:3562 +#: ../../library/os.rst:3548 msgid "Do not update access times." msgstr "" -#: ../../library/os.rst:3570 +#: ../../library/os.rst:3556 msgid "Do not update directory access times." msgstr "" -#: ../../library/os.rst:3578 +#: ../../library/os.rst:3564 msgid "Update atime relative to mtime/ctime." msgstr "" -#: ../../library/os.rst:3587 +#: ../../library/os.rst:3573 msgid "" "A :class:`set` object indicating which functions in the :mod:`!os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -3934,7 +3918,7 @@ msgid "" "(Specifying ``None`` for *dir_fd* is always supported on all platforms.)" msgstr "" -#: ../../library/os.rst:3597 +#: ../../library/os.rst:3583 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 " @@ -3942,17 +3926,17 @@ msgid "" "open file descriptors for *dir_fd* on the local platform::" msgstr "" -#: ../../library/os.rst:3602 +#: ../../library/os.rst:3588 msgid "os.stat in os.supports_dir_fd" msgstr "" -#: ../../library/os.rst:3604 +#: ../../library/os.rst:3590 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." msgstr "" -#: ../../library/os.rst:3612 +#: ../../library/os.rst:3598 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -3961,23 +3945,23 @@ msgid "" "contain :func:`os.access`; otherwise it will be empty." msgstr "" -#: ../../library/os.rst:3618 +#: ../../library/os.rst:3604 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: ../../library/os.rst:3621 +#: ../../library/os.rst:3607 msgid "os.access in os.supports_effective_ids" msgstr "" -#: ../../library/os.rst:3623 +#: ../../library/os.rst:3609 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." msgstr "" -#: ../../library/os.rst:3631 +#: ../../library/os.rst:3617 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 " @@ -3986,7 +3970,7 @@ msgid "" "*path* arguments is not available on all platforms Python supports." msgstr "" -#: ../../library/os.rst:3638 +#: ../../library/os.rst:3624 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -3995,11 +3979,11 @@ msgid "" "platform::" msgstr "" -#: ../../library/os.rst:3644 +#: ../../library/os.rst:3630 msgid "os.chdir in os.supports_fd" msgstr "" -#: ../../library/os.rst:3651 +#: ../../library/os.rst:3637 msgid "" "A :class:`set` object indicating which functions in the :mod:`!os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -4012,7 +3996,7 @@ msgid "" "on all platforms.)" msgstr "" -#: ../../library/os.rst:3661 +#: ../../library/os.rst:3647 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -4021,21 +4005,21 @@ msgid "" "calling :func:`os.stat` on the local platform::" msgstr "" -#: ../../library/os.rst:3667 +#: ../../library/os.rst:3653 msgid "os.stat in os.supports_follow_symlinks" msgstr "" -#: ../../library/os.rst:3674 +#: ../../library/os.rst:3660 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "" -#: ../../library/os.rst:3676 +#: ../../library/os.rst:3662 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." msgstr "" -#: ../../library/os.rst:3679 +#: ../../library/os.rst:3665 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 " @@ -4045,7 +4029,7 @@ msgid "" "ignored." msgstr "" -#: ../../library/os.rst:3690 +#: ../../library/os.rst:3676 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -4053,83 +4037,83 @@ msgid "" "must be run as an administrator." msgstr "" -#: ../../library/os.rst:3696 +#: ../../library/os.rst:3682 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" -#: ../../library/os.rst:3699 +#: ../../library/os.rst:3685 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: ../../library/os.rst:3709 +#: ../../library/os.rst:3695 msgid "" "Added the *dir_fd* parameter, and now allow *target_is_directory* on non-" "Windows platforms." msgstr "" -#: ../../library/os.rst:3716 +#: ../../library/os.rst:3702 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: ../../library/os.rst:3722 +#: ../../library/os.rst:3708 msgid "Force write of everything to disk." msgstr "" -#: ../../library/os.rst:3731 +#: ../../library/os.rst:3717 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." msgstr "" -#: ../../library/os.rst:3736 +#: ../../library/os.rst:3722 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: ../../library/os.rst:3751 +#: ../../library/os.rst:3737 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " "see the documentation for :func:`remove` for further information." msgstr "" -#: ../../library/os.rst:3767 +#: ../../library/os.rst:3753 msgid "Set the access and modified times of the file specified by *path*." msgstr "" -#: ../../library/os.rst:3769 +#: ../../library/os.rst:3755 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" msgstr "" -#: ../../library/os.rst:3772 +#: ../../library/os.rst:3758 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." msgstr "" -#: ../../library/os.rst:3775 +#: ../../library/os.rst:3761 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is an int or float expressing seconds." msgstr "" -#: ../../library/os.rst:3778 +#: ../../library/os.rst:3764 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." msgstr "" -#: ../../library/os.rst:3782 +#: ../../library/os.rst:3768 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" -#: ../../library/os.rst:3784 +#: ../../library/os.rst:3770 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 " @@ -4139,19 +4123,19 @@ msgid "" "object with the *ns* parameter to :func:`utime`." msgstr "" -#: ../../library/os.rst:3795 +#: ../../library/os.rst:3781 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: ../../library/os.rst:3797 +#: ../../library/os.rst:3783 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." msgstr "" -#: ../../library/os.rst:3811 +#: ../../library/os.rst:3797 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* " @@ -4159,7 +4143,7 @@ msgid "" "filenames)``." msgstr "" -#: ../../library/os.rst:3816 +#: ../../library/os.rst:3802 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 " @@ -4173,7 +4157,7 @@ msgid "" "unspecified." msgstr "" -#: ../../library/os.rst:3827 +#: ../../library/os.rst:3813 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 " @@ -4184,7 +4168,7 @@ msgid "" "its subdirectories are generated." msgstr "" -#: ../../library/os.rst:3835 +#: ../../library/os.rst:3821 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -4197,7 +4181,7 @@ msgid "" "itself is generated." msgstr "" -#: ../../library/os.rst:3844 +#: ../../library/os.rst:3830 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 " @@ -4207,35 +4191,35 @@ msgid "" "object." msgstr "" -#: ../../library/os.rst:3850 +#: ../../library/os.rst:3836 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " "to by symlinks, on systems that support them." msgstr "" -#: ../../library/os.rst:3856 +#: ../../library/os.rst:3842 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` " "does not keep track of the directories it visited already." msgstr "" -#: ../../library/os.rst:3862 +#: ../../library/os.rst:3848 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 " "directory, and assumes that its caller doesn't either." msgstr "" -#: ../../library/os.rst:3866 ../../library/os.rst:3928 +#: ../../library/os.rst:3852 ../../library/os.rst:3914 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 " "under any ``__pycache__`` subdirectory::" msgstr "" -#: ../../library/os.rst:3870 +#: ../../library/os.rst:3856 msgid "" "import os\n" "from os.path import join, getsize\n" @@ -4247,14 +4231,14 @@ msgid "" " dirs.remove('__pycache__') # don't visit __pycache__ directories" msgstr "" -#: ../../library/os.rst:3879 +#: ../../library/os.rst:3865 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " "deleting a directory before the directory is empty::" msgstr "" -#: ../../library/os.rst:3883 +#: ../../library/os.rst:3869 msgid "" "# Delete everything reachable from the directory named in \"top\",\n" "# assuming there are no symbolic links.\n" @@ -4269,31 +4253,31 @@ msgid "" "os.rmdir(top)" msgstr "" -#: ../../library/os.rst:3895 +#: ../../library/os.rst:3881 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: ../../library/os.rst:3897 +#: ../../library/os.rst:3883 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`." msgstr "" -#: ../../library/os.rst:3911 +#: ../../library/os.rst:3897 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." msgstr "" -#: ../../library/os.rst:3914 +#: ../../library/os.rst:3900 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." msgstr "" -#: ../../library/os.rst:3917 +#: ../../library/os.rst:3903 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -4301,14 +4285,14 @@ msgid "" "*follow_symlinks* is ``False``." msgstr "" -#: ../../library/os.rst:3924 +#: ../../library/os.rst:3910 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 " "you want to keep them longer." msgstr "" -#: ../../library/os.rst:3932 +#: ../../library/os.rst:3918 msgid "" "import os\n" "for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):\n" @@ -4320,13 +4304,13 @@ msgid "" " dirs.remove('__pycache__') # don't visit __pycache__ directories" msgstr "" -#: ../../library/os.rst:3941 +#: ../../library/os.rst:3927 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::" msgstr "" -#: ../../library/os.rst:3945 +#: ../../library/os.rst:3931 msgid "" "# Delete everything reachable from the directory named in \"top\",\n" "# assuming there are no symbolic links.\n" @@ -4340,17 +4324,17 @@ msgid "" " os.rmdir(name, dir_fd=rootfd)" msgstr "" -#: ../../library/os.rst:3956 +#: ../../library/os.rst:3942 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: ../../library/os.rst:3965 +#: ../../library/os.rst:3951 msgid "Added support for :class:`bytes` paths." msgstr "" -#: ../../library/os.rst:3971 +#: ../../library/os.rst:3957 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 " @@ -4358,7 +4342,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: ../../library/os.rst:3976 +#: ../../library/os.rst:3962 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/" @@ -4368,15 +4352,15 @@ msgid "" "side effects." msgstr "" -#: ../../library/os.rst:4006 +#: ../../library/os.rst:3992 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: ../../library/os.rst:4010 +#: ../../library/os.rst:3996 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "" -#: ../../library/os.rst:4017 +#: ../../library/os.rst:4003 msgid "" "Create and return an event file descriptor. The file descriptors supports " "raw :func:`read` and :func:`write` with a buffer size of " @@ -4385,7 +4369,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: ../../library/os.rst:4023 +#: ../../library/os.rst:4009 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 " @@ -4393,39 +4377,39 @@ msgid "" "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: ../../library/os.rst:4028 +#: ../../library/os.rst:4014 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" -#: ../../library/os.rst:4031 +#: ../../library/os.rst:4017 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." msgstr "" -#: ../../library/os.rst:4034 +#: ../../library/os.rst:4020 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 " "resets the counter to zero." msgstr "" -#: ../../library/os.rst:4038 +#: ../../library/os.rst:4024 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not " "specified, :func:`eventfd_read` blocks." msgstr "" -#: ../../library/os.rst:4041 +#: ../../library/os.rst:4027 msgid "" ":func:`eventfd_write` increments the event counter. Write blocks if the " "write operation would increment the counter to a value larger than " "2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: ../../library/os.rst:4047 +#: ../../library/os.rst:4033 msgid "" "import os\n" "\n" @@ -4443,64 +4427,64 @@ msgid "" " os.close(fd)" msgstr "" -#: ../../library/os.rst:4068 +#: ../../library/os.rst:4054 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`." msgstr "" -#: ../../library/os.rst:4077 +#: ../../library/os.rst:4063 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`." msgstr "" -#: ../../library/os.rst:4086 +#: ../../library/os.rst:4072 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" -#: ../../library/os.rst:4094 +#: ../../library/os.rst:4080 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" -#: ../../library/os.rst:4103 +#: ../../library/os.rst:4089 msgid "" "Provide semaphore-like semantics for reads from an :func:`eventfd` file " "descriptor. On read the internal counter is decremented by one." msgstr "" -#: ../../library/os.rst:4114 +#: ../../library/os.rst:4100 msgid "Timer File Descriptors" msgstr "" -#: ../../library/os.rst:4118 +#: ../../library/os.rst:4104 msgid "" "These functions provide support for Linux's *timer file descriptor* API. " "Naturally, they are all only available on Linux." msgstr "" -#: ../../library/os.rst:4123 +#: ../../library/os.rst:4109 msgid "Create and return a timer file descriptor (*timerfd*)." msgstr "" -#: ../../library/os.rst:4125 +#: ../../library/os.rst:4111 msgid "The file descriptor returned by :func:`timerfd_create` supports:" msgstr "" -#: ../../library/os.rst:4127 +#: ../../library/os.rst:4113 msgid ":func:`read`" msgstr "" -#: ../../library/os.rst:4128 +#: ../../library/os.rst:4114 msgid ":func:`~select.select`" msgstr "" -#: ../../library/os.rst:4129 +#: ../../library/os.rst:4115 msgid ":func:`~select.poll`" msgstr "" -#: ../../library/os.rst:4131 +#: ../../library/os.rst:4117 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` " @@ -4509,31 +4493,31 @@ msgid "" "byteorder=sys.byteorder)``." msgstr "" -#: ../../library/os.rst:4136 +#: ../../library/os.rst:4122 msgid "" ":func:`~select.select` and :func:`~select.poll` can be used to wait until " "timer expires and the file descriptor is readable." msgstr "" -#: ../../library/os.rst:4139 +#: ../../library/os.rst:4125 msgid "" "*clockid* must be a valid :ref:`clock ID `, as " "defined in the :py:mod:`time` module:" msgstr "" -#: ../../library/os.rst:4142 +#: ../../library/os.rst:4128 msgid ":const:`time.CLOCK_REALTIME`" msgstr "" -#: ../../library/os.rst:4143 +#: ../../library/os.rst:4129 msgid ":const:`time.CLOCK_MONOTONIC`" msgstr "" -#: ../../library/os.rst:4144 +#: ../../library/os.rst:4130 msgid ":const:`time.CLOCK_BOOTTIME` (Since Linux 3.15 for timerfd_create)" msgstr "" -#: ../../library/os.rst:4146 +#: ../../library/os.rst:4132 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 " @@ -4541,36 +4525,36 @@ msgid "" "see :const:`TFD_TIMER_CANCEL_ON_SET`." msgstr "" -#: ../../library/os.rst:4151 +#: ../../library/os.rst:4137 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 " "setting will not be affected." msgstr "" -#: ../../library/os.rst:4155 +#: ../../library/os.rst:4141 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 " "is suspended." msgstr "" -#: ../../library/os.rst:4159 +#: ../../library/os.rst:4145 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 " "(the ``|`` operator):" msgstr "" -#: ../../library/os.rst:4163 +#: ../../library/os.rst:4149 msgid ":const:`TFD_NONBLOCK`" msgstr "" -#: ../../library/os.rst:4164 +#: ../../library/os.rst:4150 msgid ":const:`TFD_CLOEXEC`" msgstr "" -#: ../../library/os.rst:4166 +#: ../../library/os.rst:4152 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 " @@ -4578,46 +4562,46 @@ msgid "" "raises :class:`OSError` with ``errno`` set to :const:`errno.EAGAIN`." msgstr "" -#: ../../library/os.rst:4172 +#: ../../library/os.rst:4158 msgid ":const:`TFD_CLOEXEC` is always set by Python automatically." msgstr "" -#: ../../library/os.rst:4174 +#: ../../library/os.rst:4160 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." msgstr "" -#: ../../library/os.rst:4177 +#: ../../library/os.rst:4163 msgid "The :manpage:`timerfd_create(2)` man page." msgstr "" -#: ../../library/os.rst:4186 +#: ../../library/os.rst:4172 msgid "" "Alter a timer file descriptor's internal timer. This function operates the " "same interval timer as :func:`timerfd_settime_ns`." msgstr "" -#: ../../library/os.rst:4189 +#: ../../library/os.rst:4175 msgid "*fd* must be a valid timer file descriptor." msgstr "" -#: ../../library/os.rst:4191 +#: ../../library/os.rst:4177 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 ``|`` " "operator):" msgstr "" -#: ../../library/os.rst:4195 +#: ../../library/os.rst:4181 msgid ":const:`TFD_TIMER_ABSTIME`" msgstr "" -#: ../../library/os.rst:4196 +#: ../../library/os.rst:4182 msgid ":const:`TFD_TIMER_CANCEL_ON_SET`" msgstr "" -#: ../../library/os.rst:4198 +#: ../../library/os.rst:4184 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 " @@ -4625,18 +4609,18 @@ msgid "" "to :const:`errno.EINVAL`." msgstr "" -#: ../../library/os.rst:4203 +#: ../../library/os.rst:4189 msgid "By default the timer will fire when *initial* seconds have elapsed." msgstr "" -#: ../../library/os.rst:4205 +#: ../../library/os.rst:4191 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 " "*initial* seconds." msgstr "" -#: ../../library/os.rst:4209 +#: ../../library/os.rst:4195 msgid "" "The timer's interval is set by the *interval* :py:class:`float`. If " "*interval* is zero, the timer only fires once, on the initial expiration. If " @@ -4646,7 +4630,7 @@ msgid "" "to :const:`errno.EINVAL`." msgstr "" -#: ../../library/os.rst:4216 +#: ../../library/os.rst:4202 msgid "" "If the :const:`TFD_TIMER_CANCEL_ON_SET` flag is set along " "with :const:`TFD_TIMER_ABSTIME` and the clock for this timer " @@ -4655,86 +4639,86 @@ msgid "" "aborted with the error :const:`errno.ECANCELED`." msgstr "" -#: ../../library/os.rst:4222 +#: ../../library/os.rst:4208 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 " "clock change." msgstr "" -#: ../../library/os.rst:4226 +#: ../../library/os.rst:4212 msgid "" "Discontinuous system clock change will be caused by the following events:" msgstr "" -#: ../../library/os.rst:4228 +#: ../../library/os.rst:4214 msgid "``settimeofday``" msgstr "" -#: ../../library/os.rst:4229 +#: ../../library/os.rst:4215 msgid "``clock_settime``" msgstr "" -#: ../../library/os.rst:4230 +#: ../../library/os.rst:4216 msgid "set the system date and time by ``date`` command" msgstr "" -#: ../../library/os.rst:4232 +#: ../../library/os.rst:4218 msgid "" "Return a two-item tuple of (``next_expiration``, ``interval``) from the " "previous timer state, before this function executed." msgstr "" -#: ../../library/os.rst:4237 +#: ../../library/os.rst:4223 msgid "" ":manpage:`timerfd_create(2)`, :manpage:`timerfd_settime(2)`, :manpage:`settimeofday(2)`, :manpage:`clock_settime(2)`, " "and :manpage:`date(1)`." msgstr "" -#: ../../library/os.rst:4248 +#: ../../library/os.rst:4234 msgid "" "Similar to :func:`timerfd_settime`, but use time as nanoseconds. This " "function operates the same interval timer as :func:`timerfd_settime`." msgstr "" -#: ../../library/os.rst:4258 +#: ../../library/os.rst:4244 msgid "Return a two-item tuple of floats (``next_expiration``, ``interval``)." msgstr "" -#: ../../library/os.rst:4260 +#: ../../library/os.rst:4246 msgid "" "``next_expiration`` denotes the relative time until the timer next fires, " "regardless of if the :const:`TFD_TIMER_ABSTIME` flag is set." msgstr "" -#: ../../library/os.rst:4263 +#: ../../library/os.rst:4249 msgid "" "``interval`` denotes the timer's interval. If zero, the timer will only fire " "once, after ``next_expiration`` seconds have elapsed." msgstr "" -#: ../../library/os.rst:4267 +#: ../../library/os.rst:4253 msgid ":manpage:`timerfd_gettime(2)`" msgstr "" -#: ../../library/os.rst:4276 +#: ../../library/os.rst:4262 msgid "Similar to :func:`timerfd_gettime`, but return time as nanoseconds." msgstr "" -#: ../../library/os.rst:4284 +#: ../../library/os.rst:4270 msgid "" "A flag for the :func:`timerfd_create` function, which sets " "the :const:`O_NONBLOCK` status flag for the new timer file descriptor. " "If :const:`TFD_NONBLOCK` is not set as a flag, :func:`read` blocks." msgstr "" -#: ../../library/os.rst:4294 +#: ../../library/os.rst:4280 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." msgstr "" -#: ../../library/os.rst:4304 +#: ../../library/os.rst:4290 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 " @@ -4742,22 +4726,22 @@ msgid "" "Epoch)." msgstr "" -#: ../../library/os.rst:4314 +#: ../../library/os.rst:4300 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 " "the time of the underlying clock changes discontinuously." msgstr "" -#: ../../library/os.rst:4325 +#: ../../library/os.rst:4311 msgid "Linux extended attributes" msgstr "" -#: ../../library/os.rst:4329 +#: ../../library/os.rst:4315 msgid "These functions are all available on Linux only." msgstr "" -#: ../../library/os.rst:4333 +#: ../../library/os.rst:4319 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through " @@ -4765,18 +4749,18 @@ msgid "" "filesystem encoding." msgstr "" -#: ../../library/os.rst:4341 +#: ../../library/os.rst:4327 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: ../../library/os.rst:4343 ../../library/os.rst:4375 -#: ../../library/os.rst:4400 +#: ../../library/os.rst:4329 ../../library/os.rst:4361 +#: ../../library/os.rst:4386 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" -#: ../../library/os.rst:4349 +#: ../../library/os.rst:4335 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -4784,13 +4768,13 @@ msgid "" "the current directory." msgstr "" -#: ../../library/os.rst:4357 +#: ../../library/os.rst:4343 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: ../../library/os.rst:4365 +#: ../../library/os.rst:4351 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through " @@ -4798,13 +4782,13 @@ msgid "" "the :term:`filesystem encoding and error handler`." msgstr "" -#: ../../library/os.rst:4373 +#: ../../library/os.rst:4359 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: ../../library/os.rst:4381 +#: ../../library/os.rst:4367 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -4816,45 +4800,45 @@ msgid "" "attribute will not be created and ``EEXISTS`` will be raised." msgstr "" -#: ../../library/os.rst:4395 +#: ../../library/os.rst:4381 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." msgstr "" -#: ../../library/os.rst:4398 +#: ../../library/os.rst:4384 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: ../../library/os.rst:4406 +#: ../../library/os.rst:4392 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." msgstr "" -#: ../../library/os.rst:4412 +#: ../../library/os.rst:4398 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." msgstr "" -#: ../../library/os.rst:4418 +#: ../../library/os.rst:4404 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." msgstr "" -#: ../../library/os.rst:4425 +#: ../../library/os.rst:4411 msgid "Process Management" msgstr "" -#: ../../library/os.rst:4427 +#: ../../library/os.rst:4413 msgid "These functions may be used to create and manage processes." msgstr "" -#: ../../library/os.rst:4429 +#: ../../library/os.rst:4415 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 " @@ -4865,7 +4849,7 @@ msgid "" "standard output; ``foo`` will seem to be ignored." msgstr "" -#: ../../library/os.rst:4440 +#: ../../library/os.rst:4426 msgid "" "Generate a :const:`SIGABRT` signal to the current process. On Unix, the " "default behavior is to produce a core dump; on Windows, the process " @@ -4874,37 +4858,37 @@ msgid "" "for :const:`SIGABRT` with :func:`signal.signal`." msgstr "" -#: ../../library/os.rst:4449 +#: ../../library/os.rst:4435 msgid "Add a path to the DLL search path." msgstr "" -#: ../../library/os.rst:4451 +#: ../../library/os.rst:4437 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through :data:`sys.path`), and also " "by :mod:`ctypes`." msgstr "" -#: ../../library/os.rst:4455 +#: ../../library/os.rst:4441 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: ../../library/os.rst:4458 +#: ../../library/os.rst:4444 msgid "" "See the `Microsoft documentation `_ for more information about how DLLs " "are loaded." msgstr "" -#: ../../library/os.rst:4462 +#: ../../library/os.rst:4448 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: ../../library/os.rst:4466 +#: ../../library/os.rst:4452 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -4912,14 +4896,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: ../../library/os.rst:4473 +#: ../../library/os.rst:4459 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 " "` for information on updating libraries." msgstr "" -#: ../../library/os.rst:4488 +#: ../../library/os.rst:4474 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 " @@ -4927,7 +4911,7 @@ msgid "" "reported as :exc:`OSError` exceptions." msgstr "" -#: ../../library/os.rst:4493 +#: ../../library/os.rst:4479 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 " @@ -4935,7 +4919,7 @@ msgid "" "or :func:`os.fsync` before calling an :func:`exec\\* ` function." msgstr "" -#: ../../library/os.rst:4499 +#: ../../library/os.rst:4485 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -4948,7 +4932,7 @@ msgid "" "is not enforced." msgstr "" -#: ../../library/os.rst:4508 +#: ../../library/os.rst:4494 msgid "" "The variants which include a \"p\" near the end " "(:func:`execlp`, :func:`execlpe`, :func:`execvp`, and :func:`execvpe`) will " @@ -4963,7 +4947,7 @@ msgid "" "resolved." msgstr "" -#: ../../library/os.rst:4519 +#: ../../library/os.rst:4505 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 " @@ -4973,7 +4957,7 @@ msgid "" "all cause the new process to inherit the environment of the current process." msgstr "" -#: ../../library/os.rst:4526 +#: ../../library/os.rst:4512 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 " @@ -4982,31 +4966,31 @@ msgid "" "a :exc:`NotImplementedError`." msgstr "" -#: ../../library/os.rst:4531 +#: ../../library/os.rst:4517 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: ../../library/os.rst:4535 +#: ../../library/os.rst:4521 msgid "" "Added support for specifying *path* as an open file descriptor " "for :func:`execve`." msgstr "" -#: ../../library/os.rst:4544 +#: ../../library/os.rst:4530 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." msgstr "" -#: ../../library/os.rst:4549 +#: ../../library/os.rst:4535 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`." msgstr "" -#: ../../library/os.rst:4552 +#: ../../library/os.rst:4538 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 " @@ -5014,139 +4998,139 @@ msgid "" "delivery program." msgstr "" -#: ../../library/os.rst:4558 +#: ../../library/os.rst:4544 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 " "underlying platform." msgstr "" -#: ../../library/os.rst:4565 +#: ../../library/os.rst:4551 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." msgstr "" -#: ../../library/os.rst:4573 +#: ../../library/os.rst:4559 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." msgstr "" -#: ../../library/os.rst:4581 +#: ../../library/os.rst:4567 msgid "Exit code that means the input data was incorrect." msgstr "" -#: ../../library/os.rst:4588 +#: ../../library/os.rst:4574 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" -#: ../../library/os.rst:4595 +#: ../../library/os.rst:4581 msgid "Exit code that means a specified user did not exist." msgstr "" -#: ../../library/os.rst:4602 +#: ../../library/os.rst:4588 msgid "Exit code that means a specified host did not exist." msgstr "" -#: ../../library/os.rst:4609 +#: ../../library/os.rst:4595 msgid "Exit code that means that a required service is unavailable." msgstr "" -#: ../../library/os.rst:4616 +#: ../../library/os.rst:4602 msgid "Exit code that means an internal software error was detected." msgstr "" -#: ../../library/os.rst:4623 +#: ../../library/os.rst:4609 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." msgstr "" -#: ../../library/os.rst:4631 +#: ../../library/os.rst:4617 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." msgstr "" -#: ../../library/os.rst:4639 +#: ../../library/os.rst:4625 msgid "Exit code that means a user specified output file could not be created." msgstr "" -#: ../../library/os.rst:4646 +#: ../../library/os.rst:4632 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" -#: ../../library/os.rst:4653 +#: ../../library/os.rst:4639 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 " "be made during a retryable operation." msgstr "" -#: ../../library/os.rst:4662 +#: ../../library/os.rst:4648 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." msgstr "" -#: ../../library/os.rst:4670 +#: ../../library/os.rst:4656 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." msgstr "" -#: ../../library/os.rst:4678 +#: ../../library/os.rst:4664 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" -#: ../../library/os.rst:4685 +#: ../../library/os.rst:4671 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" -#: ../../library/os.rst:4692 +#: ../../library/os.rst:4678 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." msgstr "" -#: ../../library/os.rst:4695 +#: ../../library/os.rst:4681 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." msgstr "" -#: ../../library/os.rst:4698 +#: ../../library/os.rst:4684 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: ../../library/os.rst:4702 +#: ../../library/os.rst:4688 msgid "" "If you use TLS sockets in an application calling ``fork()``, see the warning " "in the :mod:`ssl` documentation." msgstr "" -#: ../../library/os.rst:4707 ../../library/os.rst:4751 +#: ../../library/os.rst:4693 ../../library/os.rst:4737 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`." msgstr "" -#: ../../library/os.rst:4710 +#: ../../library/os.rst:4696 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported " "(:exc:`RuntimeError` is raised)." msgstr "" -#: ../../library/os.rst:4714 +#: ../../library/os.rst:4700 msgid "" "If Python is able to detect that your process has multiple " "threads, :func:`os.fork` now raises a :exc:`DeprecationWarning`." msgstr "" -#: ../../library/os.rst:4718 +#: ../../library/os.rst:4704 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 " @@ -5157,21 +5141,21 @@ msgid "" "``free``)." msgstr "" -#: ../../library/os.rst:4727 +#: ../../library/os.rst:4713 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 " "experience deadlocks running such code." msgstr "" -#: ../../library/os.rst:4731 +#: ../../library/os.rst:4717 msgid "" "See `this discussion on fork being incompatible with threads `_ for technical details of why we're surfacing " "this longstanding platform compatibility problem to developers." msgstr "" -#: ../../library/os.rst:4741 +#: ../../library/os.rst:4727 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, " @@ -5180,31 +5164,31 @@ msgid "" "the :mod:`pty` module. If an error occurs :exc:`OSError` is raised." msgstr "" -#: ../../library/os.rst:4747 +#: ../../library/os.rst:4733 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: ../../library/os.rst:4754 +#: ../../library/os.rst:4740 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported " "(:exc:`RuntimeError` is raised)." msgstr "" -#: ../../library/os.rst:4758 +#: ../../library/os.rst:4744 msgid "" "If Python is able to detect that your process has multiple threads, this now " "raises a :exc:`DeprecationWarning`. See the longer explanation " "on :func:`os.fork`." msgstr "" -#: ../../library/os.rst:4772 +#: ../../library/os.rst:4758 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." msgstr "" -#: ../../library/os.rst:4775 +#: ../../library/os.rst:4761 msgid "" "Windows: The :const:`signal.CTRL_C_EVENT` " "and :const:`signal.CTRL_BREAK_EVENT` signals are special signals which can " @@ -5214,43 +5198,43 @@ msgid "" "be set to *sig*." msgstr "" -#: ../../library/os.rst:4782 +#: ../../library/os.rst:4768 msgid "See also :func:`signal.pthread_kill`." msgstr "" -#: ../../library/os.rst:4784 +#: ../../library/os.rst:4770 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: ../../library/os.rst:4798 +#: ../../library/os.rst:4784 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" -#: ../../library/os.rst:4800 +#: ../../library/os.rst:4786 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: ../../library/os.rst:4807 +#: ../../library/os.rst:4793 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: ../../library/os.rst:4814 +#: ../../library/os.rst:4800 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 " "signals." msgstr "" -#: ../../library/os.rst:4818 +#: ../../library/os.rst:4804 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: ../../library/os.rst:4825 +#: ../../library/os.rst:4811 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 " @@ -5258,13 +5242,13 @@ msgid "" "immediately return the error :const:`~errno.EAGAIN` rather than blocking." msgstr "" -#: ../../library/os.rst:4836 +#: ../../library/os.rst:4822 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: ../../library/os.rst:4844 +#: ../../library/os.rst:4830 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 " @@ -5274,7 +5258,7 @@ msgid "" "strings rather than bytes." msgstr "" -#: ../../library/os.rst:4852 +#: ../../library/os.rst:4838 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -5286,61 +5270,61 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: ../../library/os.rst:4862 +#: ../../library/os.rst:4848 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 " "Windows, the ``close`` method result is directly the exit code (or ``None``)." msgstr "" -#: ../../library/os.rst:4867 +#: ../../library/os.rst:4853 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " "subprocesses." msgstr "" -#: ../../library/os.rst:4874 +#: ../../library/os.rst:4860 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" -#: ../../library/os.rst:4877 +#: ../../library/os.rst:4863 msgid "" ":func:`popen` is a simple wrapper around :class:`subprocess.Popen`. " "Use :class:`subprocess.Popen` or :func:`subprocess.run` to control options " "like encodings." msgstr "" -#: ../../library/os.rst:4881 ../../library/os.rst:5110 +#: ../../library/os.rst:4867 ../../library/os.rst:5096 msgid "The :mod:`subprocess` module is recommended instead." msgstr "" -#: ../../library/os.rst:4889 +#: ../../library/os.rst:4875 msgid "Wraps the :c:func:`!posix_spawn` C library API for use from Python." msgstr "" -#: ../../library/os.rst:4891 +#: ../../library/os.rst:4877 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: ../../library/os.rst:4893 +#: ../../library/os.rst:4879 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar " "to :func:`execve`. *env* is allowed to be ``None``, in which case current " "process' environment is used." msgstr "" -#: ../../library/os.rst:4897 +#: ../../library/os.rst:4883 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 " "without directory." msgstr "" -#: ../../library/os.rst:4901 +#: ../../library/os.rst:4887 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 " @@ -5349,39 +5333,39 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: ../../library/os.rst:4909 +#: ../../library/os.rst:4895 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: ../../library/os.rst:4911 +#: ../../library/os.rst:4897 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: ../../library/os.rst:4915 +#: ../../library/os.rst:4901 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: ../../library/os.rst:4917 +#: ../../library/os.rst:4903 msgid "Performs ``os.close(fd)``." msgstr "" -#: ../../library/os.rst:4921 +#: ../../library/os.rst:4907 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: ../../library/os.rst:4923 +#: ../../library/os.rst:4909 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: ../../library/os.rst:4927 +#: ../../library/os.rst:4913 msgid "(``os.POSIX_SPAWN_CLOSEFROM``, *fd*)" msgstr "" -#: ../../library/os.rst:4929 +#: ../../library/os.rst:4915 msgid "Performs ``os.closerange(fd, INF)``." msgstr "" -#: ../../library/os.rst:4931 +#: ../../library/os.rst:4917 msgid "" "These tuples correspond to the C library :c:func:`!" "posix_spawn_file_actions_addopen`, :c:func:`!" @@ -5391,7 +5375,7 @@ msgid "" "the :c:func:`!posix_spawn` call itself." msgstr "" -#: ../../library/os.rst:4938 +#: ../../library/os.rst:4924 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 " @@ -5400,7 +5384,7 @@ msgid "" "corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: ../../library/os.rst:4944 +#: ../../library/os.rst:4930 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 " @@ -5411,7 +5395,7 @@ msgid "" "library :c:macro:`!POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: ../../library/os.rst:4952 +#: ../../library/os.rst:4938 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` " @@ -5419,7 +5403,7 @@ msgid "" "Otherwise, :exc:`NotImplementedError` is raised." msgstr "" -#: ../../library/os.rst:4957 +#: ../../library/os.rst:4943 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 " @@ -5427,14 +5411,14 @@ msgid "" "POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: ../../library/os.rst:4962 +#: ../../library/os.rst:4948 msgid "" "The *setsigdef* argument will reset the disposition of all signals in the " "set specified. This argument corresponds to the C library :c:macro:`!" "POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: ../../library/os.rst:4966 +#: ../../library/os.rst:4952 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -5444,70 +5428,70 @@ msgid "" "POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: ../../library/os.rst:4973 ../../library/os.rst:4994 +#: ../../library/os.rst:4959 ../../library/os.rst:4980 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: ../../library/os.rst:4977 +#: ../../library/os.rst:4963 msgid "" "*env* parameter accepts ``None``. ``os.POSIX_SPAWN_CLOSEFROM`` is available " "on platforms where :c:func:`!posix_spawn_file_actions_addclosefrom_np` " "exists." msgstr "" -#: ../../library/os.rst:4988 +#: ../../library/os.rst:4974 msgid "Wraps the :c:func:`!posix_spawnp` C library API for use from Python." msgstr "" -#: ../../library/os.rst:4990 +#: ../../library/os.rst:4976 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` " "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: ../../library/os.rst:5000 +#: ../../library/os.rst:4986 msgid "See :func:`posix_spawn` documentation." msgstr "" -#: ../../library/os.rst:5006 +#: ../../library/os.rst:4992 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 " "optional and keyword-only. Each specifies a different call point." msgstr "" -#: ../../library/os.rst:5011 +#: ../../library/os.rst:4997 msgid "*before* is a function called before forking a child process." msgstr "" -#: ../../library/os.rst:5012 +#: ../../library/os.rst:4998 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: ../../library/os.rst:5014 +#: ../../library/os.rst:5000 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: ../../library/os.rst:5016 +#: ../../library/os.rst:5002 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 " "the child is not going to re-enter the interpreter." msgstr "" -#: ../../library/os.rst:5020 +#: ../../library/os.rst:5006 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " "(either in the parent or in the child) are called in registration order." msgstr "" -#: ../../library/os.rst:5025 +#: ../../library/os.rst:5011 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly " @@ -5515,15 +5499,15 @@ msgid "" "and :c:func:`PyOS_AfterFork_Child`." msgstr "" -#: ../../library/os.rst:5029 +#: ../../library/os.rst:5015 msgid "There is no way to unregister a function." msgstr "" -#: ../../library/os.rst:5045 +#: ../../library/os.rst:5031 msgid "Execute the program *file* in a new process." msgstr "" -#: ../../library/os.rst:5047 +#: ../../library/os.rst:5033 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -5531,7 +5515,7 @@ msgid "" "the :ref:`subprocess-replacements` section.)" msgstr "" -#: ../../library/os.rst:5052 +#: ../../library/os.rst:5038 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 " @@ -5540,13 +5524,13 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: ../../library/os.rst:5058 +#: ../../library/os.rst:5044 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." msgstr "" -#: ../../library/os.rst:5061 +#: ../../library/os.rst:5047 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -5558,7 +5542,7 @@ msgid "" "to the child process must start with the name of the command being run." msgstr "" -#: ../../library/os.rst:5070 +#: ../../library/os.rst:5056 msgid "" "The variants which include a second \"p\" near the end " "(:func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) " @@ -5571,7 +5555,7 @@ msgid "" "executable; *file* must contain an appropriate absolute or relative path." msgstr "" -#: ../../library/os.rst:5080 +#: ../../library/os.rst:5066 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 " @@ -5584,13 +5568,13 @@ msgid "" "return value of ``127``." msgstr "" -#: ../../library/os.rst:5089 +#: ../../library/os.rst:5075 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" msgstr "" -#: ../../library/os.rst:5092 +#: ../../library/os.rst:5078 msgid "" "import os\n" "os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')\n" @@ -5599,7 +5583,7 @@ msgid "" "os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)" msgstr "" -#: ../../library/os.rst:5098 +#: ../../library/os.rst:5084 #, fuzzy msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " @@ -5608,7 +5592,7 @@ msgstr "" "Löst ein :ref:`Audit-Ereignis ` ``open`` mit den Argumenten " "``path``, ``mode`` und ``flags`` aus." -#: ../../library/os.rst:5102 +#: ../../library/os.rst:5088 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -5616,7 +5600,7 @@ msgid "" "instead." msgstr "" -#: ../../library/os.rst:5117 +#: ../../library/os.rst:5103 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, " @@ -5624,7 +5608,7 @@ msgid "" "process has been created, with the process id as the return value." msgstr "" -#: ../../library/os.rst:5127 +#: ../../library/os.rst:5113 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\* " @@ -5633,7 +5617,7 @@ msgid "" "successful, or ``-signal`` if a signal kills the process." msgstr "" -#: ../../library/os.rst:5139 +#: ../../library/os.rst:5125 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed " @@ -5643,11 +5627,11 @@ msgid "" "the :func:`spawn\\* ` function will not return." msgstr "" -#: ../../library/os.rst:5150 +#: ../../library/os.rst:5136 msgid "Start a file with its associated application." msgstr "" -#: ../../library/os.rst:5152 +#: ../../library/os.rst:5138 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 " @@ -5655,7 +5639,7 @@ msgid "" "opened with whatever application (if any) its extension is associated." msgstr "" -#: ../../library/os.rst:5157 +#: ../../library/os.rst:5143 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 " @@ -5663,28 +5647,28 @@ msgid "" "as well as ``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: ../../library/os.rst:5162 +#: ../../library/os.rst:5148 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 " "a document." msgstr "" -#: ../../library/os.rst:5166 +#: ../../library/os.rst:5152 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 " "resolved against this argument." msgstr "" -#: ../../library/os.rst:5170 +#: ../../library/os.rst:5156 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 " "supported by the Win32 :c:func:`!ShellExecute` function." msgstr "" -#: ../../library/os.rst:5174 +#: ../../library/os.rst:5160 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 " @@ -5695,32 +5679,32 @@ msgid "" "encoded for Win32." msgstr "" -#: ../../library/os.rst:5182 +#: ../../library/os.rst:5168 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`!ShellExecute` " "function is not resolved until this function is first called. If the " "function cannot be resolved, :exc:`NotImplementedError` will be raised." msgstr "" -#: ../../library/os.rst:5186 +#: ../../library/os.rst:5172 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: ../../library/os.rst:5188 +#: ../../library/os.rst:5174 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: ../../library/os.rst:5192 +#: ../../library/os.rst:5178 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the " "``os.startfile/2`` audit event." msgstr "" -#: ../../library/os.rst:5199 +#: ../../library/os.rst:5185 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 " @@ -5731,13 +5715,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: ../../library/os.rst:5207 +#: ../../library/os.rst:5193 msgid "" "On Unix, the return value is the exit status of the process encoded in the " "format specified for :func:`wait`." msgstr "" -#: ../../library/os.rst:5210 +#: ../../library/os.rst:5196 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment " @@ -5746,7 +5730,7 @@ msgid "" "consult your shell documentation." msgstr "" -#: ../../library/os.rst:5216 +#: ../../library/os.rst:5202 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is recommended " @@ -5754,53 +5738,53 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: ../../library/os.rst:5221 +#: ../../library/os.rst:5207 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 " "code." msgstr "" -#: ../../library/os.rst:5225 +#: ../../library/os.rst:5211 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: ../../library/os.rst:5232 +#: ../../library/os.rst:5218 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: ../../library/os.rst:5235 +#: ../../library/os.rst:5221 msgid ":attr:`!user` - user time" msgstr "" -#: ../../library/os.rst:5236 +#: ../../library/os.rst:5222 msgid ":attr:`!system` - system time" msgstr "" -#: ../../library/os.rst:5237 +#: ../../library/os.rst:5223 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: ../../library/os.rst:5238 +#: ../../library/os.rst:5224 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: ../../library/os.rst:5239 +#: ../../library/os.rst:5225 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: ../../library/os.rst:5241 +#: ../../library/os.rst:5227 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`, :attr:`!" "children_system`, and :attr:`!elapsed` in that order." msgstr "" -#: ../../library/os.rst:5245 +#: ../../library/os.rst:5231 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -5810,7 +5794,7 @@ msgid "" "attributes are zero." msgstr "" -#: ../../library/os.rst:5259 +#: ../../library/os.rst:5245 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 " @@ -5819,87 +5803,87 @@ msgid "" "if a core file was produced." msgstr "" -#: ../../library/os.rst:5265 +#: ../../library/os.rst:5251 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." msgstr "" -#: ../../library/os.rst:5268 ../../library/os.rst:5343 +#: ../../library/os.rst:5254 ../../library/os.rst:5329 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: ../../library/os.rst:5275 +#: ../../library/os.rst:5261 msgid "" "The other :func:`!wait*` functions documented below can be used to wait for " "the completion of a specific child process and have more " "options. :func:`waitpid` is the only one also available on Windows." msgstr "" -#: ../../library/os.rst:5282 +#: ../../library/os.rst:5268 msgid "Wait for the completion of a child process." msgstr "" -#: ../../library/os.rst:5284 +#: ../../library/os.rst:5270 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 " "individual descriptions." msgstr "" -#: ../../library/os.rst:5287 +#: ../../library/os.rst:5273 msgid "" "*options* is an OR combination of flags. At least one " "of :data:`WEXITED`, :data:`WSTOPPED` or :data:`WCONTINUED` is " "required; :data:`WNOHANG` and :data:`WNOWAIT` are additional optional flags." msgstr "" -#: ../../library/os.rst:5291 +#: ../../library/os.rst:5277 msgid "" "The return value is an object representing the data contained in " "the :c:type:`siginfo_t` structure with the following attributes:" msgstr "" -#: ../../library/os.rst:5294 +#: ../../library/os.rst:5280 msgid ":attr:`!si_pid` (process ID)" msgstr "" -#: ../../library/os.rst:5295 +#: ../../library/os.rst:5281 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr "" -#: ../../library/os.rst:5296 +#: ../../library/os.rst:5282 msgid ":attr:`!si_signo` (always :const:`~signal.SIGCHLD`)" msgstr "" -#: ../../library/os.rst:5297 +#: ../../library/os.rst:5283 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" -#: ../../library/os.rst:5298 +#: ../../library/os.rst:5284 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr "" -#: ../../library/os.rst:5300 +#: ../../library/os.rst:5286 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 " "children that could be waited for, :exc:`ChildProcessError` is raised." msgstr "" -#: ../../library/os.rst:5309 +#: ../../library/os.rst:5295 msgid "This function is now available on macOS as well." msgstr "" -#: ../../library/os.rst:5315 +#: ../../library/os.rst:5301 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: ../../library/os.rst:5317 +#: ../../library/os.rst:5303 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 " @@ -5908,7 +5892,7 @@ msgid "" "operation." msgstr "" -#: ../../library/os.rst:5322 +#: ../../library/os.rst:5308 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 " @@ -5918,7 +5902,7 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: ../../library/os.rst:5329 +#: ../../library/os.rst:5315 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 " @@ -5927,7 +5911,7 @@ msgid "" "are :data:`WUNTRACED` and :data:`WCONTINUED`." msgstr "" -#: ../../library/os.rst:5335 +#: ../../library/os.rst:5321 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 " @@ -5939,7 +5923,7 @@ msgid "" "suitable process handles." msgstr "" -#: ../../library/os.rst:5356 +#: ../../library/os.rst:5342 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 " @@ -5948,13 +5932,13 @@ msgid "" "same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: ../../library/os.rst:5363 ../../library/os.rst:5377 +#: ../../library/os.rst:5349 ../../library/os.rst:5363 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: ../../library/os.rst:5371 +#: ../../library/os.rst:5357 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -5963,118 +5947,118 @@ msgid "" "to :func:`waitpid`." msgstr "" -#: ../../library/os.rst:5388 +#: ../../library/os.rst:5374 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" msgstr "" -#: ../../library/os.rst:5391 +#: ../../library/os.rst:5377 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr "" -#: ../../library/os.rst:5392 +#: ../../library/os.rst:5378 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" -#: ../../library/os.rst:5393 +#: ../../library/os.rst:5379 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr "" -#: ../../library/os.rst:5394 +#: ../../library/os.rst:5380 msgid "" ":data:`!P_PIDFD` - wait for the child identified by the file descriptor *id* " "(a process file descriptor created with :func:`pidfd_open`)." msgstr "" -#: ../../library/os.rst:5399 +#: ../../library/os.rst:5385 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr "" -#: ../../library/os.rst:5402 +#: ../../library/os.rst:5388 msgid "The :data:`!P_PIDFD` constant." msgstr "" -#: ../../library/os.rst:5408 +#: ../../library/os.rst:5394 msgid "" "This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, " "and :func:`waitid` causes child processes to be reported if they have been " "continued from a job control stop since they were last reported." msgstr "" -#: ../../library/os.rst:5417 +#: ../../library/os.rst:5403 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." msgstr "" -#: ../../library/os.rst:5420 +#: ../../library/os.rst:5406 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." msgstr "" -#: ../../library/os.rst:5430 +#: ../../library/os.rst:5416 msgid "" "This *options* flag for :func:`waitid` causes child processes that have been " "stopped by the delivery of a signal to be reported." msgstr "" -#: ../../library/os.rst:5433 ../../library/os.rst:5465 +#: ../../library/os.rst:5419 ../../library/os.rst:5451 msgid "This option is not available for the other ``wait*`` functions." msgstr "" -#: ../../library/os.rst:5442 +#: ../../library/os.rst:5428 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 " "their current state has not been reported since they were stopped." msgstr "" -#: ../../library/os.rst:5446 +#: ../../library/os.rst:5432 msgid "This option is not available for :func:`waitid`." msgstr "" -#: ../../library/os.rst:5453 +#: ../../library/os.rst:5439 msgid "" "This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, " "and :func:`waitid` to return right away if no child process status is " "available immediately." msgstr "" -#: ../../library/os.rst:5462 +#: ../../library/os.rst:5448 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 " "status information again." msgstr "" -#: ../../library/os.rst:5477 +#: ../../library/os.rst:5463 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." msgstr "" -#: ../../library/os.rst:5484 +#: ../../library/os.rst:5470 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: ../../library/os.rst:5490 +#: ../../library/os.rst:5476 msgid "Convert a wait status to an exit code." msgstr "" -#: ../../library/os.rst:5492 +#: ../../library/os.rst:5478 msgid "On Unix:" msgstr "" -#: ../../library/os.rst:5494 +#: ../../library/os.rst:5480 msgid "" "If the process exited normally (if ``WIFEXITED(status)`` is true), return " "the process exit status (return ``WEXITSTATUS(status)``): result greater " "than or equal to 0." msgstr "" -#: ../../library/os.rst:5497 +#: ../../library/os.rst:5483 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 " @@ -6082,15 +6066,15 @@ msgid "" "than 0." msgstr "" -#: ../../library/os.rst:5501 +#: ../../library/os.rst:5487 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: ../../library/os.rst:5503 +#: ../../library/os.rst:5489 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: ../../library/os.rst:5505 +#: ../../library/os.rst:5491 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 " @@ -6098,234 +6082,234 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: ../../library/os.rst:5512 +#: ../../library/os.rst:5498 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` " "functions." msgstr "" -#: ../../library/os.rst:5520 +#: ../../library/os.rst:5506 msgid "" "The following functions take a process status code as returned " "by :func:`system`, :func:`wait`, or :func:`waitpid` as a parameter. They " "may be used to determine the disposition of a process." msgstr "" -#: ../../library/os.rst:5526 +#: ../../library/os.rst:5512 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: ../../library/os.rst:5529 ../../library/os.rst:5595 +#: ../../library/os.rst:5515 ../../library/os.rst:5581 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: ../../library/os.rst:5536 +#: ../../library/os.rst:5522 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 " "control stop), otherwise return ``False``." msgstr "" -#: ../../library/os.rst:5540 +#: ../../library/os.rst:5526 msgid "See :data:`WCONTINUED` option." msgstr "" -#: ../../library/os.rst:5547 +#: ../../library/os.rst:5533 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: ../../library/os.rst:5550 +#: ../../library/os.rst:5536 msgid "" ":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was " "done using :data:`WUNTRACED` option or when the process is being traced " "(see :manpage:`ptrace(2)`)." msgstr "" -#: ../../library/os.rst:5558 +#: ../../library/os.rst:5544 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: ../../library/os.rst:5566 +#: ../../library/os.rst:5552 msgid "" "Return ``True`` if the process exited terminated normally, that is, by " "calling ``exit()`` or ``_exit()``, or by returning from ``main()``; " "otherwise return ``False``." msgstr "" -#: ../../library/os.rst:5575 +#: ../../library/os.rst:5561 msgid "Return the process exit status." msgstr "" -#: ../../library/os.rst:5577 +#: ../../library/os.rst:5563 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: ../../library/os.rst:5584 +#: ../../library/os.rst:5570 msgid "Return the signal which caused the process to stop." msgstr "" -#: ../../library/os.rst:5586 +#: ../../library/os.rst:5572 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: ../../library/os.rst:5593 +#: ../../library/os.rst:5579 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: ../../library/os.rst:5601 +#: ../../library/os.rst:5587 msgid "Interface to the scheduler" msgstr "" -#: ../../library/os.rst:5603 +#: ../../library/os.rst:5589 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 " "information, consult your Unix manpages." msgstr "" -#: ../../library/os.rst:5609 +#: ../../library/os.rst:5595 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: ../../library/os.rst:5616 +#: ../../library/os.rst:5602 msgid "The default scheduling policy." msgstr "" -#: ../../library/os.rst:5620 +#: ../../library/os.rst:5606 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: ../../library/os.rst:5625 +#: ../../library/os.rst:5611 msgid "Scheduling policy for tasks with deadline constraints." msgstr "" -#: ../../library/os.rst:5631 +#: ../../library/os.rst:5617 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: ../../library/os.rst:5635 +#: ../../library/os.rst:5621 msgid "Alias for :data:`SCHED_OTHER`." msgstr "" -#: ../../library/os.rst:5641 +#: ../../library/os.rst:5627 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: ../../library/os.rst:5645 +#: ../../library/os.rst:5631 msgid "A First In First Out scheduling policy." msgstr "" -#: ../../library/os.rst:5649 +#: ../../library/os.rst:5635 msgid "A round-robin scheduling policy." msgstr "" -#: ../../library/os.rst:5653 +#: ../../library/os.rst:5639 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 " "the default." msgstr "" -#: ../../library/os.rst:5660 +#: ../../library/os.rst:5646 msgid "" "This class represents tunable scheduling parameters used " "in :func:`sched_setparam`, :func:`sched_setscheduler`, " "and :func:`sched_getparam`. It is immutable." msgstr "" -#: ../../library/os.rst:5664 +#: ../../library/os.rst:5650 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: ../../library/os.rst:5668 +#: ../../library/os.rst:5654 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: ../../library/os.rst:5673 +#: ../../library/os.rst:5659 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: ../../library/os.rst:5679 +#: ../../library/os.rst:5665 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: ../../library/os.rst:5685 +#: ../../library/os.rst:5671 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 " "above. *param* is a :class:`sched_param` instance." msgstr "" -#: ../../library/os.rst:5692 +#: ../../library/os.rst:5678 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 " "constants above." msgstr "" -#: ../../library/os.rst:5699 +#: ../../library/os.rst:5685 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." msgstr "" -#: ../../library/os.rst:5705 +#: ../../library/os.rst:5691 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." msgstr "" -#: ../../library/os.rst:5711 +#: ../../library/os.rst:5697 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." msgstr "" -#: ../../library/os.rst:5717 +#: ../../library/os.rst:5703 msgid "" "Voluntarily relinquish the CPU. See :manpage:`sched_yield(2)` for details." msgstr "" -#: ../../library/os.rst:5722 +#: ../../library/os.rst:5708 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 " "to which the process should be restricted." msgstr "" -#: ../../library/os.rst:5729 +#: ../../library/os.rst:5715 msgid "Return the set of CPUs the process with PID *pid* is restricted to." msgstr "" -#: ../../library/os.rst:5731 +#: ../../library/os.rst:5717 msgid "" "If *pid* is zero, return the set of CPUs the calling thread of the current " "process is restricted to." msgstr "" -#: ../../library/os.rst:5734 +#: ../../library/os.rst:5720 msgid "See also the :func:`process_cpu_count` function." msgstr "" -#: ../../library/os.rst:5740 +#: ../../library/os.rst:5726 msgid "Miscellaneous System Information" msgstr "" -#: ../../library/os.rst:5745 +#: ../../library/os.rst:5731 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 " @@ -6336,13 +6320,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: ../../library/os.rst:5753 +#: ../../library/os.rst:5739 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: ../../library/os.rst:5756 +#: ../../library/os.rst:5742 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 " @@ -6350,62 +6334,62 @@ msgid "" "with :const:`errno.EINVAL` for the error number." msgstr "" -#: ../../library/os.rst:5766 +#: ../../library/os.rst:5752 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 " "determine the set of names known to the system." msgstr "" -#: ../../library/os.rst:5775 +#: ../../library/os.rst:5761 msgid "" "Return the number of logical CPUs in the **system**. Returns ``None`` if " "undetermined." msgstr "" -#: ../../library/os.rst:5778 +#: ../../library/os.rst:5764 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**." msgstr "" -#: ../../library/os.rst:5783 +#: ../../library/os.rst:5769 msgid "" "If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is " "set, :func:`cpu_count` returns the override value *n*." msgstr "" -#: ../../library/os.rst:5790 +#: ../../library/os.rst:5776 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 " "unobtainable." msgstr "" -#: ../../library/os.rst:5799 +#: ../../library/os.rst:5785 msgid "" "Get the number of logical CPUs usable by the calling thread of the **current " "process**. Returns ``None`` if undetermined. It can be less " "than :func:`cpu_count` depending on the CPU affinity." msgstr "" -#: ../../library/os.rst:5803 +#: ../../library/os.rst:5789 msgid "" "The :func:`cpu_count` function can be used to get the number of logical CPUs " "in the **system**." msgstr "" -#: ../../library/os.rst:5806 +#: ../../library/os.rst:5792 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*." msgstr "" -#: ../../library/os.rst:5809 +#: ../../library/os.rst:5795 msgid "See also the :func:`sched_getaffinity` function." msgstr "" -#: ../../library/os.rst:5816 +#: ../../library/os.rst:5802 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -6414,44 +6398,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: ../../library/os.rst:5826 +#: ../../library/os.rst:5812 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 " "determine the set of names known to the system." msgstr "" -#: ../../library/os.rst:5832 +#: ../../library/os.rst:5818 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: ../../library/os.rst:5835 +#: ../../library/os.rst:5821 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: ../../library/os.rst:5838 +#: ../../library/os.rst:5824 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: ../../library/os.rst:5844 +#: ../../library/os.rst:5830 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available " "via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5852 +#: ../../library/os.rst:5838 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available " "via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5861 +#: ../../library/os.rst:5847 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -6460,7 +6444,7 @@ msgid "" "occasionally useful. Also available via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5871 +#: ../../library/os.rst:5857 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -6468,27 +6452,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5880 +#: ../../library/os.rst:5866 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5888 +#: ../../library/os.rst:5874 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " "for Windows. Also available via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5895 +#: ../../library/os.rst:5881 msgid "" "The default search path used by :func:`exec\\*p\\* ` " "and :func:`spawn\\*p\\* ` if the environment doesn't have a " "``'PATH'`` key. Also available via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5902 +#: ../../library/os.rst:5888 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 " @@ -6497,36 +6481,36 @@ msgid "" "(the default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: ../../library/os.rst:5911 +#: ../../library/os.rst:5897 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." msgstr "" -#: ../../library/os.rst:5922 +#: ../../library/os.rst:5908 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` " "and :func:`~sys.getdlopenflags` functions. See the Unix manual " "page :manpage:`dlopen(3)` for what the different flags mean." msgstr "" -#: ../../library/os.rst:5930 +#: ../../library/os.rst:5916 msgid "Random numbers" msgstr "" -#: ../../library/os.rst:5935 +#: ../../library/os.rst:5921 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: ../../library/os.rst:5938 +#: ../../library/os.rst:5924 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: ../../library/os.rst:5941 +#: ../../library/os.rst:5927 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -6534,32 +6518,32 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: ../../library/os.rst:5946 +#: ../../library/os.rst:5932 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` " "and :py:data:`GRND_NONBLOCK`." msgstr "" -#: ../../library/os.rst:5950 +#: ../../library/os.rst:5936 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: ../../library/os.rst:5959 +#: ../../library/os.rst:5945 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: ../../library/os.rst:5961 +#: ../../library/os.rst:5947 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " "applications, though its exact quality depends on the OS implementation." msgstr "" -#: ../../library/os.rst:5965 +#: ../../library/os.rst:5951 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -6569,63 +6553,69 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: ../../library/os.rst:5972 +#: ../../library/os.rst:5958 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." +"On other Unix-like systems, the C ``getrandom()`` function is used if it is " +"available, otherwise the C ``getentropy()`` function." msgstr "" -#: ../../library/os.rst:5976 +#: ../../library/os.rst:5961 +msgid "" +"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 "" + +#: ../../library/os.rst:5965 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: ../../library/os.rst:5979 +#: ../../library/os.rst:5968 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " "please see :class:`random.SystemRandom`." msgstr "" -#: ../../library/os.rst:5983 +#: ../../library/os.rst:5972 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 " "used. These functions avoid the usage of an internal file descriptor." msgstr "" -#: ../../library/os.rst:5989 +#: ../../library/os.rst:5978 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." msgstr "" -#: ../../library/os.rst:5993 +#: ../../library/os.rst:5982 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: ../../library/os.rst:5997 +#: ../../library/os.rst:5986 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: ../../library/os.rst:6003 +#: ../../library/os.rst:5992 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " "blocks if the entropy pool has not yet been initialized." msgstr "" -#: ../../library/os.rst:6007 +#: ../../library/os.rst:5996 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`." msgstr "" -#: ../../library/os.rst:6014 +#: ../../library/os.rst:6003 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." @@ -6641,7 +6631,7 @@ msgstr "" #: ../../library/os.rst:395 ../../library/os.rst:461 ../../library/os.rst:470 #: ../../library/os.rst:479 ../../library/os.rst:493 ../../library/os.rst:691 -#: ../../library/os.rst:4768 ../../library/os.rst:4794 +#: ../../library/os.rst:4754 ../../library/os.rst:4780 msgid "process" msgstr "" @@ -6694,8 +6684,8 @@ msgid "pty" msgstr "" #: ../../library/os.rst:2141 ../../library/os.rst:2559 -#: ../../library/os.rst:2760 ../../library/os.rst:3807 -#: ../../library/os.rst:3907 +#: ../../library/os.rst:2760 ../../library/os.rst:3793 +#: ../../library/os.rst:3893 msgid "directory" msgstr "" @@ -6719,56 +6709,56 @@ msgstr "" msgid "stat" msgstr "" -#: ../../library/os.rst:3807 ../../library/os.rst:3907 +#: ../../library/os.rst:3793 ../../library/os.rst:3893 msgid "walking" msgstr "" -#: ../../library/os.rst:3807 ../../library/os.rst:3907 +#: ../../library/os.rst:3793 ../../library/os.rst:3893 msgid "traversal" msgstr "" -#: ../../library/os.rst:4768 ../../library/os.rst:4794 +#: ../../library/os.rst:4754 ../../library/os.rst:4780 msgid "killing" msgstr "" -#: ../../library/os.rst:4768 ../../library/os.rst:4794 +#: ../../library/os.rst:4754 ../../library/os.rst:4780 msgid "signalling" msgstr "" -#: ../../library/os.rst:5841 ../../library/os.rst:5877 +#: ../../library/os.rst:5827 ../../library/os.rst:5863 msgid ". (dot)" msgstr ". (Punkt)" -#: ../../library/os.rst:5841 ../../library/os.rst:5849 -#: ../../library/os.rst:5857 ../../library/os.rst:5868 -#: ../../library/os.rst:5877 +#: ../../library/os.rst:5827 ../../library/os.rst:5835 +#: ../../library/os.rst:5843 ../../library/os.rst:5854 +#: ../../library/os.rst:5863 msgid "in pathnames" msgstr "" -#: ../../library/os.rst:5849 +#: ../../library/os.rst:5835 msgid ".." msgstr "" -#: ../../library/os.rst:5857 ../../library/os.rst:5868 +#: ../../library/os.rst:5843 ../../library/os.rst:5854 msgid "/ (slash)" msgstr "/ (Schrägstrich)" -#: ../../library/os.rst:5858 +#: ../../library/os.rst:5844 msgid "\\ (backslash)" msgstr "" -#: ../../library/os.rst:5858 +#: ../../library/os.rst:5844 msgid "in pathnames (Windows)" msgstr "" -#: ../../library/os.rst:5884 +#: ../../library/os.rst:5870 msgid ": (colon)" msgstr ": (Doppelpunkt)" -#: ../../library/os.rst:5884 +#: ../../library/os.rst:5870 msgid "path separator (POSIX)" msgstr "" -#: ../../library/os.rst:5884 +#: ../../library/os.rst:5870 msgid "; (semicolon)" msgstr "" diff --git a/library/platform.po b/library/platform.po index 83f26f44..3900c644 100644 --- a/library/platform.po +++ b/library/platform.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -469,7 +469,7 @@ msgstr "" #: ../../library/platform.rst:349 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/pyexpat.po b/library/pyexpat.po index b154b854..0782520d 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Jyst Breisgau, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -595,7 +595,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 dd7bd259..a8052080 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -2005,9 +2005,9 @@ msgstr "" msgid "" "Set the available ciphers for sockets created with this context. It should " "be a string in the `OpenSSL cipher list format `_. If no cipher can be selected (because compile-time " -"options or other configuration forbids use of all the specified ciphers), " -"an :class:`SSLError` will be raised." +"master/man1/openssl-ciphers/#cipher-list-format>`_. If no cipher can be " +"selected (because compile-time options or other configuration forbids use of " +"all the specified ciphers), an :class:`SSLError` will be raised." msgstr "" #: ../../library/ssl.rst:1670 diff --git a/library/statistics.po b/library/statistics.po index 426cb5d3..1b4f7acd 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -76,9 +76,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 d2731fda..9a6b4376 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -1628,7 +1628,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:1324 diff --git a/library/sys.po b/library/sys.po index 3272e0cd..41a00b95 100644 --- a/library/sys.po +++ b/library/sys.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -1025,9 +1025,9 @@ msgstr "" #: ../../library/sys.rst:785 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 "" #: ../../library/sys.rst:796 diff --git a/library/tempfile.po b/library/tempfile.po index 2002105c..d638dfe0 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-10-19 03:08+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -109,8 +109,8 @@ msgid "" "for NamedTemporaryFile." msgstr "" -#: ../../library/tempfile.rst:68 ../../library/tempfile.rst:137 -#: ../../library/tempfile.rst:275 +#: ../../library/tempfile.rst:68 ../../library/tempfile.rst:142 +#: ../../library/tempfile.rst:280 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -120,8 +120,8 @@ msgstr "" msgid "The :py:const:`os.O_TMPFILE` flag is now used if available." msgstr "" -#: ../../library/tempfile.rst:74 ../../library/tempfile.rst:139 -#: ../../library/tempfile.rst:169 +#: ../../library/tempfile.rst:74 ../../library/tempfile.rst:144 +#: ../../library/tempfile.rst:174 msgid "Added *errors* parameter." msgstr "" @@ -175,33 +175,39 @@ msgid "" "automatic cleaning of the temporary file upon the context manager exit." msgstr "" -#: ../../library/tempfile.rst:111 +#: ../../library/tempfile.rst:113 +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:116 msgid "" "Opening the temporary file again by its name while it is still open works as " "follows:" msgstr "" -#: ../../library/tempfile.rst:114 +#: ../../library/tempfile.rst:119 msgid "On POSIX the file can always be opened again." msgstr "" -#: ../../library/tempfile.rst:115 +#: ../../library/tempfile.rst:120 msgid "" "On Windows, make sure that at least one of the following conditions are " "fulfilled:" msgstr "" -#: ../../library/tempfile.rst:118 +#: ../../library/tempfile.rst:123 msgid "*delete* is false" msgstr "" -#: ../../library/tempfile.rst:119 +#: ../../library/tempfile.rst:124 msgid "" "additional open shares delete access (e.g. by calling :func:`os.open` with " "the flag ``O_TEMPORARY``)" msgstr "" -#: ../../library/tempfile.rst:121 +#: ../../library/tempfile.rst:126 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 " @@ -210,7 +216,7 @@ msgid "" "a :exc:`PermissionError`." msgstr "" -#: ../../library/tempfile.rst:127 +#: ../../library/tempfile.rst:132 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` " @@ -220,17 +226,17 @@ msgid "" "not granted." msgstr "" -#: ../../library/tempfile.rst:134 +#: ../../library/tempfile.rst:139 msgid "" "On POSIX (only), a process that is terminated abruptly with SIGKILL cannot " "automatically delete any NamedTemporaryFiles it created." msgstr "" -#: ../../library/tempfile.rst:142 +#: ../../library/tempfile.rst:147 msgid "Added *delete_on_close* parameter." msgstr "" -#: ../../library/tempfile.rst:148 +#: ../../library/tempfile.rst:153 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 " @@ -239,13 +245,13 @@ msgid "" "with :func:`TemporaryFile`." msgstr "" -#: ../../library/tempfile.rst:156 +#: ../../library/tempfile.rst:161 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:159 +#: ../../library/tempfile.rst:164 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 " @@ -254,18 +260,18 @@ msgid "" "object can be used in a :keyword:`with` statement, just like a normal file." msgstr "" -#: ../../library/tempfile.rst:166 +#: ../../library/tempfile.rst:171 msgid "the truncate method now accepts a *size* argument." msgstr "" -#: ../../library/tempfile.rst:172 +#: ../../library/tempfile.rst:177 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:180 +#: ../../library/tempfile.rst:185 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 " @@ -274,7 +280,7 @@ msgid "" "directory and all its contents are removed from the filesystem." msgstr "" -#: ../../library/tempfile.rst:188 +#: ../../library/tempfile.rst:193 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 " @@ -282,7 +288,7 @@ msgid "" "as` clause in the :keyword:`with` statement, if there is one." msgstr "" -#: ../../library/tempfile.rst:195 +#: ../../library/tempfile.rst:200 msgid "" "The directory can be explicitly cleaned up by calling the :meth:`!cleanup` " "method. If *ignore_cleanup_errors* is true, any unhandled exceptions during " @@ -294,7 +300,7 @@ msgid "" "shutdown)." msgstr "" -#: ../../library/tempfile.rst:204 +#: ../../library/tempfile.rst:209 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 " @@ -303,34 +309,34 @@ msgid "" "based on other logic." msgstr "" -#: ../../library/tempfile.rst:212 +#: ../../library/tempfile.rst:217 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:215 +#: ../../library/tempfile.rst:220 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:219 ../../library/tempfile.rst:301 +#: ../../library/tempfile.rst:224 ../../library/tempfile.rst:306 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." msgstr "" -#: ../../library/tempfile.rst:223 +#: ../../library/tempfile.rst:228 msgid "Added *ignore_cleanup_errors* parameter." msgstr "" -#: ../../library/tempfile.rst:226 +#: ../../library/tempfile.rst:231 msgid "Added the *delete* parameter." msgstr "" -#: ../../library/tempfile.rst:232 +#: ../../library/tempfile.rst:237 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 " @@ -340,20 +346,20 @@ msgid "" "executable by no one." msgstr "" -#: ../../library/tempfile.rst:239 +#: ../../library/tempfile.rst:244 msgid "" "The file descriptor is :ref:`not inherited by child processes " "`." msgstr "" -#: ../../library/tempfile.rst:241 +#: ../../library/tempfile.rst:246 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:245 +#: ../../library/tempfile.rst:250 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 " @@ -361,14 +367,14 @@ msgid "" "beginning of *suffix*." msgstr "" -#: ../../library/tempfile.rst:250 +#: ../../library/tempfile.rst:255 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:254 +#: ../../library/tempfile.rst:259 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 " @@ -379,7 +385,7 @@ msgid "" "commands via ``os.popen()``." msgstr "" -#: ../../library/tempfile.rst:262 +#: ../../library/tempfile.rst:267 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 " @@ -387,20 +393,20 @@ msgid "" "behavior, pass ``suffix=b''``." msgstr "" -#: ../../library/tempfile.rst:268 +#: ../../library/tempfile.rst:273 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:271 +#: ../../library/tempfile.rst:276 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:277 ../../library/tempfile.rst:303 +#: ../../library/tempfile.rst:282 ../../library/tempfile.rst:308 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* " @@ -408,111 +414,111 @@ msgid "" "default value to be used." msgstr "" -#: ../../library/tempfile.rst:283 ../../library/tempfile.rst:309 +#: ../../library/tempfile.rst:288 ../../library/tempfile.rst:314 msgid "The *dir* parameter now accepts a :term:`path-like object`." msgstr "" -#: ../../library/tempfile.rst:289 +#: ../../library/tempfile.rst:294 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:293 +#: ../../library/tempfile.rst:298 msgid "" "The user of :func:`mkdtemp` is responsible for deleting the temporary " "directory and its contents when done with it." msgstr "" -#: ../../library/tempfile.rst:296 +#: ../../library/tempfile.rst:301 msgid "" "The *prefix*, *suffix*, and *dir* arguments are the same as " "for :func:`mkstemp`." msgstr "" -#: ../../library/tempfile.rst:299 +#: ../../library/tempfile.rst:304 msgid ":func:`mkdtemp` returns the absolute pathname of the new directory." msgstr "" -#: ../../library/tempfile.rst:312 +#: ../../library/tempfile.rst:317 msgid "" ":func:`mkdtemp` now always returns an absolute path, even if *dir* is " "relative." msgstr "" -#: ../../library/tempfile.rst:318 +#: ../../library/tempfile.rst:323 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:322 +#: ../../library/tempfile.rst:327 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:325 +#: ../../library/tempfile.rst:330 msgid "The directory named by the :envvar:`TMPDIR` environment variable." msgstr "" -#: ../../library/tempfile.rst:327 +#: ../../library/tempfile.rst:332 msgid "The directory named by the :envvar:`TEMP` environment variable." msgstr "" -#: ../../library/tempfile.rst:329 +#: ../../library/tempfile.rst:334 msgid "The directory named by the :envvar:`TMP` environment variable." msgstr "" -#: ../../library/tempfile.rst:331 +#: ../../library/tempfile.rst:336 msgid "A platform-specific location:" msgstr "" -#: ../../library/tempfile.rst:333 +#: ../../library/tempfile.rst:338 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:339 +#: ../../library/tempfile.rst:344 msgid "" "On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, " "and :file:`/usr/tmp`, in that order." msgstr "" -#: ../../library/tempfile.rst:342 +#: ../../library/tempfile.rst:347 msgid "As a last resort, the current working directory." msgstr "" -#: ../../library/tempfile.rst:344 +#: ../../library/tempfile.rst:349 msgid "" "The result of this search is cached, see the description of :data:`tempdir` " "below." msgstr "" -#: ../../library/tempfile.rst:349 +#: ../../library/tempfile.rst:354 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:354 +#: ../../library/tempfile.rst:359 msgid "Same as :func:`gettempdir` but the return value is in bytes." msgstr "" -#: ../../library/tempfile.rst:360 +#: ../../library/tempfile.rst:365 msgid "" "Return the filename prefix used to create temporary files. This does not " "contain the directory component." msgstr "" -#: ../../library/tempfile.rst:365 +#: ../../library/tempfile.rst:370 msgid "Same as :func:`gettempprefix` but the return value is in bytes." msgstr "" -#: ../../library/tempfile.rst:369 +#: ../../library/tempfile.rst:374 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 " @@ -522,21 +528,21 @@ msgid "" "unsuspecting code by changing global API behavior." msgstr "" -#: ../../library/tempfile.rst:378 +#: ../../library/tempfile.rst:383 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:383 +#: ../../library/tempfile.rst:388 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:389 +#: ../../library/tempfile.rst:394 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` " @@ -546,16 +552,16 @@ msgid "" "maintained for compatibility with the historical implementation." msgstr "" -#: ../../library/tempfile.rst:400 +#: ../../library/tempfile.rst:405 msgid "Examples" msgstr "Beispiele" -#: ../../library/tempfile.rst:402 +#: ../../library/tempfile.rst:407 msgid "" "Here are some examples of typical usage of the :mod:`!tempfile` module::" msgstr "" -#: ../../library/tempfile.rst:404 +#: ../../library/tempfile.rst:409 msgid "" ">>> import tempfile\n" "\n" @@ -580,6 +586,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" @@ -598,11 +605,11 @@ msgid "" "# directory and contents have been removed" msgstr "" -#: ../../library/tempfile.rst:447 +#: ../../library/tempfile.rst:453 msgid "Deprecated functions and variables" msgstr "" -#: ../../library/tempfile.rst:449 +#: ../../library/tempfile.rst:455 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. " @@ -613,11 +620,11 @@ msgid "" "used by :func:`mkstemp` and the other functions described above." msgstr "" -#: ../../library/tempfile.rst:460 +#: ../../library/tempfile.rst:466 msgid "Use :func:`mkstemp` instead." msgstr "" -#: ../../library/tempfile.rst:463 +#: ../../library/tempfile.rst:469 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 " @@ -625,7 +632,7 @@ msgid "" "``prefix=None`` are not supported." msgstr "" -#: ../../library/tempfile.rst:470 +#: ../../library/tempfile.rst:476 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 " @@ -634,7 +641,7 @@ msgid "" "parameter::" msgstr "" -#: ../../library/tempfile.rst:476 +#: ../../library/tempfile.rst:482 msgid "" ">>> f = NamedTemporaryFile(delete=False)\n" ">>> f.name\n" diff --git a/library/test.po b/library/test.po index f33bf671..58c555b3 100644 --- a/library/test.po +++ b/library/test.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -656,88 +656,127 @@ msgid "" "tests are executed by :mod:`test.regrtest`." msgstr "" -#: ../../library/test.rst:524 +#: ../../library/test.rst:521 +msgid "" +"If called at the top level, sets label \"requires\\_\\ *resource*\" on the " +"module." +msgstr "" + +#: ../../library/test.rst:526 msgid "Return a repr of *dict* with keys sorted." msgstr "" -#: ../../library/test.rst:529 +#: ../../library/test.rst:531 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 " "path to the file." msgstr "" -#: ../../library/test.rst:533 +#: ../../library/test.rst:535 msgid "" "Setting *subdir* indicates a relative path to use to find the file rather " "than looking directly in the path directories." msgstr "" -#: ../../library/test.rst:539 +#: ../../library/test.rst:541 +msgid "" +"Add a label to a test. Use ``@mark('label')`` as a decorator of a test " +"method or class." +msgstr "" + +#: ../../library/test.rst:544 +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:547 +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:554 +msgid "Add a label to every test of a module. Call it at the module level::" +msgstr "" + +#: ../../library/test.rst:556 +msgid "test.support.mark_module('pickletest')" +msgstr "" + +#: ../../library/test.rst:558 +msgid "" +"The module is the caller, unless its :func:`globals` dict is passed as the " +"*globals* argument." +msgstr "" + +#: ../../library/test.rst:564 msgid "Get size of a page in bytes." msgstr "" -#: ../../library/test.rst:546 +#: ../../library/test.rst:571 msgid "" "Set the :func:`sys.setswitchinterval` to the given *interval*. Defines a " "minimum interval for Android systems to prevent the system from hanging." msgstr "" -#: ../../library/test.rst:552 +#: ../../library/test.rst:577 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 " "returns ``True`` or ``False`` depending on the host platform. Example usage::" msgstr "" -#: ../../library/test.rst:557 +#: ../../library/test.rst:582 msgid "" "check_impl_detail() # Only on CPython (default).\n" "check_impl_detail(jython=True) # Only on Jython.\n" "check_impl_detail(cpython=False) # Everywhere except CPython." msgstr "" -#: ../../library/test.rst:564 +#: ../../library/test.rst:589 msgid "" "Set the values for :data:`max_memuse` and :data:`real_max_memuse` for big " "memory tests." msgstr "" -#: ../../library/test.rst:570 +#: ../../library/test.rst:595 msgid "" "Store the value from *stdout*. It is meant to hold the stdout at the time " "the regrtest began." msgstr "" -#: ../../library/test.rst:576 +#: ../../library/test.rst:601 msgid "" "Return the original stdout set by :func:`record_original_stdout` or " "``sys.stdout`` if it's not set." msgstr "" -#: ../../library/test.rst:582 +#: ../../library/test.rst:607 msgid "" "Return a list of command line arguments reproducing the current settings in " "``sys.flags`` and ``sys.warnoptions``." msgstr "" -#: ../../library/test.rst:588 +#: ../../library/test.rst:613 msgid "" "Return a list of command line arguments reproducing the current optimization " "settings in ``sys.flags``." msgstr "" -#: ../../library/test.rst:596 +#: ../../library/test.rst:621 msgid "" "A context managers that temporarily replaces the named stream " "with :class:`io.StringIO` object." msgstr "" -#: ../../library/test.rst:599 +#: ../../library/test.rst:624 msgid "Example use with output streams::" msgstr "" -#: ../../library/test.rst:601 +#: ../../library/test.rst:626 msgid "" "with captured_stdout() as stdout, captured_stderr() as stderr:\n" " print(\"hello\")\n" @@ -746,11 +785,11 @@ msgid "" "assert stderr.getvalue() == \"error\\n\"" msgstr "" -#: ../../library/test.rst:607 +#: ../../library/test.rst:632 msgid "Example use with input stream::" msgstr "" -#: ../../library/test.rst:609 +#: ../../library/test.rst:634 msgid "" "with captured_stdin() as stdin:\n" " stdin.write('hello\\n')\n" @@ -760,11 +799,11 @@ msgid "" "self.assertEqual(captured, \"hello\")" msgstr "" -#: ../../library/test.rst:619 +#: ../../library/test.rst:644 msgid "A context manager that temporary disables :mod:`faulthandler`." msgstr "" -#: ../../library/test.rst:624 +#: ../../library/test.rst:649 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 " @@ -772,124 +811,124 @@ msgid "" "remain alive for longer than expected." msgstr "" -#: ../../library/test.rst:632 +#: ../../library/test.rst:657 msgid "" "A context manager that disables the garbage collector on entry. On exit, the " "garbage collector is restored to its prior state." msgstr "" -#: ../../library/test.rst:638 +#: ../../library/test.rst:663 msgid "Context manager to swap out an attribute with a new object." msgstr "" -#: ../../library/test.rst:640 ../../library/test.rst:658 -#: ../../library/test.rst:915 ../../library/test.rst:1447 +#: ../../library/test.rst:665 ../../library/test.rst:683 +#: ../../library/test.rst:953 ../../library/test.rst:1485 msgid "Usage::" msgstr "" -#: ../../library/test.rst:642 +#: ../../library/test.rst:667 msgid "" "with swap_attr(obj, \"attr\", 5):\n" " ..." msgstr "" -#: ../../library/test.rst:645 +#: ../../library/test.rst:670 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 " "on ``obj``, it will be created and then deleted at the end of the block." msgstr "" -#: ../../library/test.rst:650 ../../library/test.rst:668 +#: ../../library/test.rst:675 ../../library/test.rst:693 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." msgstr "" -#: ../../library/test.rst:656 +#: ../../library/test.rst:681 msgid "Context manager to swap out an item with a new object." msgstr "" -#: ../../library/test.rst:660 +#: ../../library/test.rst:685 msgid "" "with swap_item(obj, \"item\", 5):\n" " ..." msgstr "" -#: ../../library/test.rst:663 +#: ../../library/test.rst:688 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 " "on ``obj``, it will be created and then deleted at the end of the block." msgstr "" -#: ../../library/test.rst:674 +#: ../../library/test.rst:699 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 " "consistent before writing into stderr." msgstr "" -#: ../../library/test.rst:683 +#: ../../library/test.rst:708 msgid "" "Print a warning into :data:`sys.__stderr__`. Format the message as: " "``f\"Warning -- {msg}\"``. If *msg* is made of multiple lines, add " "``\"Warning -- \"`` prefix to each line." msgstr "" -#: ../../library/test.rst:692 +#: ../../library/test.rst:717 msgid "" "Wait until process *pid* completes and check that the process exit code is " "*exitcode*." msgstr "" -#: ../../library/test.rst:695 +#: ../../library/test.rst:720 msgid "" "Raise an :exc:`AssertionError` if the process exit code is not equal to " "*exitcode*." msgstr "" -#: ../../library/test.rst:698 +#: ../../library/test.rst:723 msgid "" "If the process runs longer than *timeout* seconds (:data:`SHORT_TIMEOUT` by " "default), kill the process and raise an :exc:`AssertionError`. The timeout " "feature is not available on Windows." msgstr "" -#: ../../library/test.rst:707 +#: ../../library/test.rst:732 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 " "header and alignment." msgstr "" -#: ../../library/test.rst:713 +#: ../../library/test.rst:738 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 " "header and alignment." msgstr "" -#: ../../library/test.rst:719 +#: ../../library/test.rst:744 msgid "" "For testcase *test*, assert that the ``sys.getsizeof`` for *o* plus the GC " "header size equals *size*." msgstr "" -#: ../../library/test.rst:725 +#: ../../library/test.rst:750 msgid "" "A decorator to conditionally mark tests " "with :deco:`unittest.expectedFailure`. Any use of this decorator should have " "an associated comment identifying the relevant tracker issue." msgstr "" -#: ../../library/test.rst:732 +#: ../../library/test.rst:757 msgid "" "A decorator that skips the decorated test on TLS certification validation " "failures." msgstr "" -#: ../../library/test.rst:737 +#: ../../library/test.rst:762 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 " @@ -897,91 +936,105 @@ msgid "" "sequentially, and the first valid locale will be used." msgstr "" -#: ../../library/test.rst:745 +#: ../../library/test.rst:770 msgid "" "A decorator for running a function in a specific timezone, correctly " "resetting it after it has finished." msgstr "" -#: ../../library/test.rst:751 +#: ../../library/test.rst:776 msgid "" "Decorator for the minimum version when running test on FreeBSD. If the " "FreeBSD version is less than the minimum, the test is skipped." msgstr "" -#: ../../library/test.rst:757 +#: ../../library/test.rst:782 msgid "" "Decorator for the minimum version when running test on Linux. If the Linux " "version is less than the minimum, the test is skipped." msgstr "" -#: ../../library/test.rst:763 +#: ../../library/test.rst:788 msgid "" "Decorator for the minimum version when running test on macOS. If the macOS " "version is less than the minimum, the test is skipped." msgstr "" -#: ../../library/test.rst:769 +#: ../../library/test.rst:794 msgid "" "Decorator for skipping tests on the free-threaded build. If the :term:`GIL` " "is disabled, the test is skipped." msgstr "" -#: ../../library/test.rst:775 +#: ../../library/test.rst:800 msgid "Decorator for skipping tests on non-IEEE 754 platforms." msgstr "" -#: ../../library/test.rst:780 -msgid "Decorator for skipping tests if :mod:`zlib` doesn't exist." +#: ../../library/test.rst:805 +msgid "" +"Decorator for skipping tests if :mod:`zlib` doesn't exist. Adds label " +"\"requires_zlib\"." msgstr "" -#: ../../library/test.rst:785 -msgid "Decorator for skipping tests if :mod:`gzip` doesn't exist." +#: ../../library/test.rst:811 +msgid "" +"Decorator for skipping tests if :mod:`gzip` doesn't exist. Adds label " +"\"requires_gzip\"." msgstr "" -#: ../../library/test.rst:790 -msgid "Decorator for skipping tests if :mod:`bz2` doesn't exist." +#: ../../library/test.rst:817 +msgid "" +"Decorator for skipping tests if :mod:`bz2` doesn't exist. Adds label " +"\"requires_bz2\"." msgstr "" -#: ../../library/test.rst:795 -msgid "Decorator for skipping tests if :mod:`lzma` doesn't exist." +#: ../../library/test.rst:823 +msgid "" +"Decorator for skipping tests if :mod:`lzma` doesn't exist. Adds label " +"\"requires_lzma\"." msgstr "" -#: ../../library/test.rst:800 -msgid "Decorator for skipping tests if *resource* is not available." +#: ../../library/test.rst:829 +msgid "" +"Decorator for skipping tests if *resource* is not available. Adds label " +"\"requires\\_\\ *resource*\"." msgstr "" -#: ../../library/test.rst:805 +#: ../../library/test.rst:835 msgid "Decorator for only running the test if :data:`HAVE_DOCSTRINGS`." msgstr "" -#: ../../library/test.rst:810 +#: ../../library/test.rst:840 msgid "" "Decorator for only running the test if :ref:`Limited C API ` " "is available." msgstr "" -#: ../../library/test.rst:816 -msgid "Decorator for tests only applicable to CPython." +#: ../../library/test.rst:846 +msgid "" +"Decorator for tests only applicable to CPython. Adds label " +"\"impl_detail_cpython\"." msgstr "" -#: ../../library/test.rst:821 +#: ../../library/test.rst:852 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 "" -#: ../../library/test.rst:826 +#: ../../library/test.rst:861 msgid "" "Decorator for marking tests as thread-unsafe. This test always runs in one " "thread even when invoked with ``--parallel-threads``." msgstr "" -#: ../../library/test.rst:832 +#: ../../library/test.rst:867 msgid "Decorator to temporarily turn off tracing for the duration of the test." msgstr "" -#: ../../library/test.rst:837 +#: ../../library/test.rst:872 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 " @@ -989,11 +1042,11 @@ msgid "" "trace function." msgstr "" -#: ../../library/test.rst:845 +#: ../../library/test.rst:880 msgid "Decorator for bigmem tests." msgstr "" -#: ../../library/test.rst:847 +#: ../../library/test.rst:882 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 " @@ -1001,7 +1054,7 @@ msgid "" "each, could be decorated with ``@bigmemtest(size=_4G, memuse=2)``." msgstr "" -#: ../../library/test.rst:852 +#: ../../library/test.rst:887 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 " @@ -1009,11 +1062,17 @@ msgid "" "means the test doesn't support dummy runs when ``-M`` is not specified." msgstr "" -#: ../../library/test.rst:860 -msgid "Decorator for tests that fill the address space." +#: ../../library/test.rst:892 +msgid "Adds label \"bigmemtest\"." +msgstr "" + +#: ../../library/test.rst:897 +msgid "" +"Decorator for tests that fill the address space. Adds label " +"\"bigaddrspacetest\"." msgstr "" -#: ../../library/test.rst:865 +#: ../../library/test.rst:903 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 " @@ -1022,7 +1081,7 @@ msgid "" "compiled with ``musl``; otherwise ``platform.libc_ver`` is checked." msgstr "" -#: ../../library/test.rst:874 +#: ../../library/test.rst:912 msgid "" "Test for syntax errors in *statement* by attempting to compile *statement*. " "*testcase* is the :mod:`unittest` instance for the test. *errtext* is the " @@ -1032,11 +1091,11 @@ msgid "" "of the exception." msgstr "" -#: ../../library/test.rst:884 +#: ../../library/test.rst:922 msgid "Open *url*. If open fails, raises :exc:`TestFailed`." msgstr "" -#: ../../library/test.rst:889 +#: ../../library/test.rst:927 msgid "" "Call this " "from :meth:`~unittest.TestCase.setUp`, :meth:`~unittest.TestCase.tearDown`, " @@ -1045,33 +1104,33 @@ msgid "" "create problems when looking for refleaks." msgstr "" -#: ../../library/test.rst:898 +#: ../../library/test.rst:936 msgid "" "Get an attribute, raising :exc:`unittest.SkipTest` if :exc:`AttributeError` " "is raised." msgstr "" -#: ../../library/test.rst:904 +#: ../../library/test.rst:942 msgid "" "Context manager catching unraisable exception " "using :func:`sys.unraisablehook`." msgstr "" -#: ../../library/test.rst:907 +#: ../../library/test.rst:945 msgid "" "Storing the exception value (``cm.unraisable.exc_value``) creates a " "reference cycle. The reference cycle is broken explicitly when the context " "manager exits." msgstr "" -#: ../../library/test.rst:911 +#: ../../library/test.rst:949 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 " "the stored object." msgstr "" -#: ../../library/test.rst:917 +#: ../../library/test.rst:955 msgid "" "with support.catch_unraisable_exception() as cm:\n" " # code creating an \"unraisable exception\"\n" @@ -1084,7 +1143,7 @@ msgid "" "# (to break a reference cycle)" msgstr "" -#: ../../library/test.rst:932 +#: ../../library/test.rst:970 msgid "" "Generic implementation of the :mod:`unittest` ``load_tests`` protocol for " "use in test packages. *pkg_dir* is the root directory of the package; " @@ -1093,7 +1152,7 @@ msgid "" "the following::" msgstr "" -#: ../../library/test.rst:938 +#: ../../library/test.rst:976 msgid "" "import os\n" "from test.support import load_package_tests\n" @@ -1102,33 +1161,33 @@ msgid "" " return load_package_tests(os.path.dirname(__file__), *args)" msgstr "" -#: ../../library/test.rst:947 +#: ../../library/test.rst:985 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 " "check specified in *ignore*." msgstr "" -#: ../../library/test.rst:951 +#: ../../library/test.rst:989 msgid "" "By default this skips private attributes beginning with '_' but includes all " "magic methods, i.e. those starting and ending in '__'." msgstr "" -#: ../../library/test.rst:959 +#: ../../library/test.rst:997 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*. " "The *attr_name* should be a valid attribute for *object_to_patch*." msgstr "" -#: ../../library/test.rst:967 +#: ../../library/test.rst:1005 msgid "" "Run *code* in subinterpreter. Raise :exc:`unittest.SkipTest` " "if :mod:`tracemalloc` is enabled." msgstr "" -#: ../../library/test.rst:975 +#: ../../library/test.rst:1013 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 " @@ -1141,7 +1200,7 @@ msgid "" "traceback as the cause of the exception." msgstr "" -#: ../../library/test.rst:985 +#: ../../library/test.rst:1023 msgid "" "When a **method** is decorated, only that method runs in a subprocess; all " "fixtures " @@ -1150,7 +1209,7 @@ msgid "" "(as usual) and in the subprocess around the method." msgstr "" -#: ../../library/test.rst:991 +#: ../../library/test.rst:1029 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` " @@ -1162,7 +1221,7 @@ msgid "" "with :data:`runningInSubprocess` if needed." msgstr "" -#: ../../library/test.rst:1001 +#: ../../library/test.rst:1039 msgid "" "The subprocess inherits the enabled resources (``-u``), memory limit (``-" "M``) and verbosity (``-v``) of the parent test run, so " @@ -1170,7 +1229,7 @@ msgid "" "and the like behave consistently in both processes." msgstr "" -#: ../../library/test.rst:1007 +#: ../../library/test.rst:1045 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 " @@ -1179,18 +1238,18 @@ msgid "" "ignore the ``PYTHON*`` environment variables, including :envvar:`PYTHONPATH`." msgstr "" -#: ../../library/test.rst:1015 +#: ../../library/test.rst:1053 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 " "timeout, and a hung test is left to the timeout of the test runner." msgstr "" -#: ../../library/test.rst:1020 +#: ../../library/test.rst:1058 msgid "The test is skipped on platforms without subprocess support." msgstr "" -#: ../../library/test.rst:1025 +#: ../../library/test.rst:1063 msgid "" "``True`` while the code runs in the isolated subprocess spawned " "by :func:`runInSubprocess`, and ``False`` otherwise (including in the parent " @@ -1200,29 +1259,29 @@ msgid "" "to run in the subprocess." msgstr "" -#: ../../library/test.rst:1039 +#: ../../library/test.rst:1077 msgid "Assert instances of *cls* are deallocated after iterating." msgstr "" -#: ../../library/test.rst:1044 +#: ../../library/test.rst:1082 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 " "return the first missing executable or ``None`` when none is found missing." msgstr "" -#: ../../library/test.rst:1052 +#: ../../library/test.rst:1090 msgid "" "Assert that the ``__all__`` variable of *module* contains all public names." msgstr "" -#: ../../library/test.rst:1054 +#: ../../library/test.rst:1092 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*." msgstr "" -#: ../../library/test.rst:1058 +#: ../../library/test.rst:1096 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 " @@ -1230,7 +1289,7 @@ msgid "" "other modules, possibly a C backend (like ``csv`` and its ``_csv``)." msgstr "" -#: ../../library/test.rst:1063 +#: ../../library/test.rst:1101 msgid "" "The *extra* argument can be a set of names that wouldn't otherwise be " "automatically detected as \"public\", like objects without a " @@ -1238,17 +1297,17 @@ msgid "" "added to the automatically detected ones." msgstr "" -#: ../../library/test.rst:1067 +#: ../../library/test.rst:1105 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." msgstr "" -#: ../../library/test.rst:1070 ../../library/test.rst:1799 +#: ../../library/test.rst:1108 ../../library/test.rst:1839 msgid "Example use::" msgstr "" -#: ../../library/test.rst:1072 +#: ../../library/test.rst:1110 msgid "" "import bar\n" "import foo\n" @@ -1268,18 +1327,18 @@ msgid "" " extra=extra, not_exported=not_exported)" msgstr "" -#: ../../library/test.rst:1093 +#: ../../library/test.rst:1131 msgid "" "Skip tests if the :mod:`!multiprocessing.synchronize` module is missing, if " "there is no available semaphore implementation, or if creating a lock raises " "an :exc:`OSError`." msgstr "" -#: ../../library/test.rst:1102 +#: ../../library/test.rst:1140 msgid "Assert that type *tp* cannot be instantiated using *args* and *kwds*." msgstr "" -#: ../../library/test.rst:1109 +#: ../../library/test.rst:1147 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 " @@ -1287,74 +1346,74 @@ msgid "" "number of digits when converting between an integer and string." msgstr "" -#: ../../library/test.rst:1117 +#: ../../library/test.rst:1155 msgid "The :mod:`!test.support` module defines the following classes:" msgstr "" -#: ../../library/test.rst:1122 +#: ../../library/test.rst:1160 msgid "" "A context manager used to try to prevent crash dialog popups on tests that " "are expected to crash a subprocess." msgstr "" -#: ../../library/test.rst:1125 +#: ../../library/test.rst:1163 msgid "" "On Windows, it disables Windows Error Reporting dialogs using `SetErrorMode " "`_." msgstr "" -#: ../../library/test.rst:1128 +#: ../../library/test.rst:1166 msgid "" "On UNIX, :func:`resource.setrlimit` is used to " "set :const:`resource.RLIMIT_CORE`'s soft limit to 0 to prevent coredump file " "creation." msgstr "" -#: ../../library/test.rst:1132 +#: ../../library/test.rst:1170 msgid "" "On both platforms, the old value is restored by :meth:`~object.__exit__`." msgstr "" -#: ../../library/test.rst:1137 +#: ../../library/test.rst:1175 msgid "" "Class to save and restore signal handlers registered by the Python signal " "handler." msgstr "" -#: ../../library/test.rst:1142 +#: ../../library/test.rst:1180 msgid "" "Save the signal handlers to a dictionary mapping signal numbers to the " "current signal handler." msgstr "" -#: ../../library/test.rst:1147 +#: ../../library/test.rst:1185 msgid "" "Set the signal numbers from the :meth:`save` dictionary to the saved handler." msgstr "" -#: ../../library/test.rst:1155 +#: ../../library/test.rst:1193 msgid "Try to match a single dict with the supplied arguments." msgstr "" -#: ../../library/test.rst:1160 +#: ../../library/test.rst:1198 msgid "Try to match a single stored value (*dv*) with a supplied value (*v*)." msgstr "" -#: ../../library/test.rst:1164 +#: ../../library/test.rst:1202 msgid ":mod:`!test.support.socket_helper` --- Utilities for socket tests" msgstr "" -#: ../../library/test.rst:1170 +#: ../../library/test.rst:1208 msgid "" "The :mod:`!test.support.socket_helper` module provides support for socket " "tests." msgstr "" -#: ../../library/test.rst:1177 +#: ../../library/test.rst:1215 msgid "Set to ``True`` if IPv6 is enabled on this host, ``False`` otherwise." msgstr "" -#: ../../library/test.rst:1182 +#: ../../library/test.rst:1220 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 " @@ -1365,7 +1424,7 @@ msgid "" "then closed and deleted, and the ephemeral port is returned." msgstr "" -#: ../../library/test.rst:1191 +#: ../../library/test.rst:1229 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 " @@ -1378,7 +1437,7 @@ msgid "" "run simultaneously, which is a problem for buildbots." msgstr "" -#: ../../library/test.rst:1205 +#: ../../library/test.rst:1243 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 " @@ -1392,7 +1451,7 @@ msgid "" "sockets." msgstr "" -#: ../../library/test.rst:1216 +#: ../../library/test.rst:1254 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 " @@ -1400,58 +1459,58 @@ msgid "" "test." msgstr "" -#: ../../library/test.rst:1224 +#: ../../library/test.rst:1262 msgid "" "Bind a Unix socket, raising :exc:`unittest.SkipTest` " "if :exc:`PermissionError` is raised." msgstr "" -#: ../../library/test.rst:1230 +#: ../../library/test.rst:1268 msgid "" "A decorator for running tests that require a functional ``bind()`` for Unix " "sockets." msgstr "" -#: ../../library/test.rst:1236 +#: ../../library/test.rst:1274 msgid "" "A context manager that raises :exc:`~test.support.ResourceDenied` when " "various issues with the internet connection manifest themselves as " "exceptions." msgstr "" -#: ../../library/test.rst:1242 +#: ../../library/test.rst:1280 msgid "" ":mod:`!test.support.script_helper` --- Utilities for the Python execution " "tests" msgstr "" -#: ../../library/test.rst:1248 +#: ../../library/test.rst:1286 msgid "" "The :mod:`!test.support.script_helper` module provides support for Python's " "script execution tests." msgstr "" -#: ../../library/test.rst:1253 +#: ../../library/test.rst:1291 msgid "" "Return ``True`` if ``sys.executable interpreter`` requires environment " "variables in order to be able to run at all." msgstr "" -#: ../../library/test.rst:1256 +#: ../../library/test.rst:1294 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 " "(``-I``) or no environment mode (``-E``) sub-interpreter process." msgstr "" -#: ../../library/test.rst:1260 +#: ../../library/test.rst:1298 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 " "doesn't have an obvious home with Python's current home finding logic." msgstr "" -#: ../../library/test.rst:1264 +#: ../../library/test.rst:1302 msgid "" "Setting :envvar:`PYTHONHOME` is one way to get most of the testsuite to run " "in that situation. :envvar:`PYTHONPATH` or :envvar:`PYTHONNOUSERSITE` are " @@ -1459,85 +1518,85 @@ msgid "" "interpreter can start." msgstr "" -#: ../../library/test.rst:1272 +#: ../../library/test.rst:1310 msgid "" "Set up the environment based on *env_vars* for running the interpreter in a " "subprocess. The values can include ``__isolated``, ``__cleanenv``, " "``__cwd``, and ``TERM``." msgstr "" -#: ../../library/test.rst:1276 ../../library/test.rst:1292 -#: ../../library/test.rst:1304 +#: ../../library/test.rst:1314 ../../library/test.rst:1330 +#: ../../library/test.rst:1342 msgid "The function no longer strips whitespaces from *stderr*." msgstr "" -#: ../../library/test.rst:1282 +#: ../../library/test.rst:1320 msgid "" "Assert that running the interpreter with *args* and optional environment " "variables *env_vars* succeeds (``rc == 0``) and return a ``(return code, " "stdout, stderr)`` tuple." msgstr "" -#: ../../library/test.rst:1286 +#: ../../library/test.rst:1324 msgid "" "If the *__cleanenv* keyword-only parameter is set, *env_vars* is used as a " "fresh environment." msgstr "" -#: ../../library/test.rst:1289 +#: ../../library/test.rst:1327 msgid "" "Python is started in isolated mode (command line option ``-I``), except if " "the *__isolated* keyword-only parameter is set to ``False``." msgstr "" -#: ../../library/test.rst:1298 +#: ../../library/test.rst:1336 msgid "" "Assert that running the interpreter with *args* and optional environment " "variables *env_vars* fails (``rc != 0``) and return a ``(return code, " "stdout, stderr)`` tuple." msgstr "" -#: ../../library/test.rst:1302 +#: ../../library/test.rst:1340 msgid "See :func:`assert_python_ok` for more options." msgstr "" -#: ../../library/test.rst:1310 +#: ../../library/test.rst:1348 msgid "Run a Python subprocess with the given arguments." msgstr "" -#: ../../library/test.rst:1312 +#: ../../library/test.rst:1350 msgid "" "*kw* is extra keyword args to pass to :func:`subprocess.Popen`. Returns " "a :class:`subprocess.Popen` object." msgstr "" -#: ../../library/test.rst:1318 +#: ../../library/test.rst:1356 msgid "" "Run the given :class:`subprocess.Popen` process until completion and return " "stdout." msgstr "" -#: ../../library/test.rst:1324 +#: ../../library/test.rst:1362 msgid "" "Create script containing *source* in path *script_dir* and " "*script_basename*. If *omit_suffix* is ``False``, append ``.py`` to the " "name. Return the full script path." msgstr "" -#: ../../library/test.rst:1331 +#: ../../library/test.rst:1369 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. " "Return a tuple containing ``(full path, full path of archive name)``." msgstr "" -#: ../../library/test.rst:1338 +#: ../../library/test.rst:1376 msgid "" "Create a directory named *pkg_dir* containing an ``__init__`` file with " "*init_source* as its contents." msgstr "" -#: ../../library/test.rst:1345 +#: ../../library/test.rst:1383 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* " @@ -1546,60 +1605,60 @@ msgid "" "path and the archive name for the zip file." msgstr "" -#: ../../library/test.rst:1353 +#: ../../library/test.rst:1391 msgid "" ":mod:`!test.support.bytecode_helper` --- Support tools for testing correct " "bytecode generation" msgstr "" -#: ../../library/test.rst:1358 +#: ../../library/test.rst:1396 msgid "" "The :mod:`!test.support.bytecode_helper` module provides support for testing " "and inspecting bytecode generation." msgstr "" -#: ../../library/test.rst:1363 +#: ../../library/test.rst:1401 msgid "The module defines the following class:" msgstr "" -#: ../../library/test.rst:1367 +#: ../../library/test.rst:1405 msgid "This class has custom assertion methods for inspecting bytecode." msgstr "" -#: ../../library/test.rst:1371 +#: ../../library/test.rst:1409 msgid "Return the disassembly of *co* as string." msgstr "" -#: ../../library/test.rst:1376 +#: ../../library/test.rst:1414 msgid "" "Return instr if *opname* is found, otherwise throws :exc:`AssertionError`." msgstr "" -#: ../../library/test.rst:1381 +#: ../../library/test.rst:1419 msgid "Throws :exc:`AssertionError` if *opname* is found." msgstr "" -#: ../../library/test.rst:1385 +#: ../../library/test.rst:1423 msgid ":mod:`!test.support.threading_helper` --- Utilities for threading tests" msgstr "" -#: ../../library/test.rst:1390 +#: ../../library/test.rst:1428 msgid "" "The :mod:`!test.support.threading_helper` module provides support for " "threading tests." msgstr "" -#: ../../library/test.rst:1397 +#: ../../library/test.rst:1435 msgid "" "Join a *thread* within *timeout*. Raise an :exc:`AssertionError` if thread " "is still alive after *timeout* seconds." msgstr "" -#: ../../library/test.rst:1403 +#: ../../library/test.rst:1441 msgid "Decorator to ensure the threads are cleaned up even if the test fails." msgstr "" -#: ../../library/test.rst:1408 +#: ../../library/test.rst:1446 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 " @@ -1607,57 +1666,57 @@ msgid "" "will attempt to join the started threads upon exit." msgstr "" -#: ../../library/test.rst:1416 +#: ../../library/test.rst:1454 msgid "" "Cleanup up threads not specified in *original_values*. Designed to emit a " "warning if a test leaves running threads in the background." msgstr "" -#: ../../library/test.rst:1422 +#: ../../library/test.rst:1460 msgid "Return current thread count and copy of dangling threads." msgstr "" -#: ../../library/test.rst:1427 +#: ../../library/test.rst:1465 msgid "" "Context manager to wait until all threads created in the ``with`` statement " "exit." msgstr "" -#: ../../library/test.rst:1433 +#: ../../library/test.rst:1471 msgid "" "Context manager catching :class:`threading.Thread` exception " "using :func:`threading.excepthook`." msgstr "" -#: ../../library/test.rst:1436 +#: ../../library/test.rst:1474 msgid "Attributes set when an exception is caught:" msgstr "" -#: ../../library/test.rst:1438 +#: ../../library/test.rst:1476 msgid "``exc_type``" msgstr "" -#: ../../library/test.rst:1439 +#: ../../library/test.rst:1477 msgid "``exc_value``" msgstr "" -#: ../../library/test.rst:1440 +#: ../../library/test.rst:1478 msgid "``exc_traceback``" msgstr "" -#: ../../library/test.rst:1441 +#: ../../library/test.rst:1479 msgid "``thread``" msgstr "" -#: ../../library/test.rst:1443 +#: ../../library/test.rst:1481 msgid "See :func:`threading.excepthook` documentation." msgstr "" -#: ../../library/test.rst:1445 +#: ../../library/test.rst:1483 msgid "These attributes are deleted at the context manager exit." msgstr "" -#: ../../library/test.rst:1449 +#: ../../library/test.rst:1487 msgid "" "with threading_helper.catch_threading_exception() as cm:\n" " # code spawning a thread which raises an exception\n" @@ -1672,36 +1731,36 @@ msgid "" "# (to avoid reference cycles)" msgstr "" -#: ../../library/test.rst:1466 +#: ../../library/test.rst:1504 msgid "" "Run the worker function concurrently in multiple threads. Re-raises an " "exception if any thread raises one, after all threads have finished." msgstr "" -#: ../../library/test.rst:1472 +#: ../../library/test.rst:1510 msgid ":mod:`!test.support.os_helper` --- Utilities for os tests" msgstr "" -#: ../../library/test.rst:1477 +#: ../../library/test.rst:1515 msgid "" "The :mod:`!test.support.os_helper` module provides support for os tests." msgstr "" -#: ../../library/test.rst:1484 +#: ../../library/test.rst:1522 msgid "A non-ASCII character encodable by :func:`os.fsencode`." msgstr "" -#: ../../library/test.rst:1489 +#: ../../library/test.rst:1527 msgid "Set to :func:`os.getcwd`." msgstr "" -#: ../../library/test.rst:1494 +#: ../../library/test.rst:1532 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)." msgstr "" -#: ../../library/test.rst:1500 +#: ../../library/test.rst:1538 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 " @@ -1709,25 +1768,25 @@ msgid "" "a non-ASCII filename to be easily skipped on platforms where they can't work." msgstr "" -#: ../../library/test.rst:1508 +#: ../../library/test.rst:1546 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 " "generate such a filename." msgstr "" -#: ../../library/test.rst:1515 +#: ../../library/test.rst:1553 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 " "generate such a filename." msgstr "" -#: ../../library/test.rst:1522 +#: ../../library/test.rst:1560 msgid "Set to a non-ASCII name for a temporary file." msgstr "" -#: ../../library/test.rst:1527 +#: ../../library/test.rst:1565 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 " @@ -1736,11 +1795,11 @@ msgid "" "instance will be rolled back." msgstr "" -#: ../../library/test.rst:1533 +#: ../../library/test.rst:1571 msgid "Added dictionary interface." msgstr "" -#: ../../library/test.rst:1539 +#: ../../library/test.rst:1577 msgid "" "Simple :term:`path-like object`. It implements " "the :meth:`~os.PathLike.__fspath__` method which just returns the *path* " @@ -1748,68 +1807,68 @@ msgid "" "__fspath__`." msgstr "" -#: ../../library/test.rst:1547 +#: ../../library/test.rst:1585 msgid "" "Temporarily set the environment variable ``envvar`` to the value of " "``value``." msgstr "" -#: ../../library/test.rst:1553 +#: ../../library/test.rst:1591 msgid "Temporarily unset one or more environment variables." msgstr "" -#: ../../library/test.rst:1555 +#: ../../library/test.rst:1593 msgid "More than one environment variable can be unset." msgstr "" -#: ../../library/test.rst:1561 +#: ../../library/test.rst:1599 msgid "Return ``True`` if the OS supports symbolic links, ``False`` otherwise." msgstr "" -#: ../../library/test.rst:1567 +#: ../../library/test.rst:1605 msgid "Return ``True`` if the OS supports xattr, ``False`` otherwise." msgstr "" -#: ../../library/test.rst:1573 +#: ../../library/test.rst:1611 msgid "" "A context manager that temporarily changes the current working directory to " "*path* and yields the directory." msgstr "" -#: ../../library/test.rst:1576 +#: ../../library/test.rst:1614 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 " "the same." msgstr "" -#: ../../library/test.rst:1583 +#: ../../library/test.rst:1621 msgid "" "Create an empty file with *filename*. If it already exists, truncate it." msgstr "" -#: ../../library/test.rst:1588 +#: ../../library/test.rst:1626 msgid "Count the number of open file descriptors." msgstr "" -#: ../../library/test.rst:1593 +#: ../../library/test.rst:1631 msgid "Return ``True`` if the file system for *directory* is case-insensitive." msgstr "" -#: ../../library/test.rst:1598 +#: ../../library/test.rst:1636 msgid "" "Create an invalid file descriptor by opening and closing a temporary file, " "and returning its descriptor." msgstr "" -#: ../../library/test.rst:1604 +#: ../../library/test.rst:1642 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 " "due to antivirus programs that can hold files open and prevent deletion." msgstr "" -#: ../../library/test.rst:1612 +#: ../../library/test.rst:1650 msgid "" "Call :func:`shutil.rmtree` on *path* or call :func:`os.lstat` " "and :func:`os.rmdir` to remove a path and its contents. As " @@ -1817,21 +1876,21 @@ msgid "" "that checks for the existence of the files." msgstr "" -#: ../../library/test.rst:1620 +#: ../../library/test.rst:1658 msgid "A decorator for running tests that require support for symbolic links." msgstr "" -#: ../../library/test.rst:1625 +#: ../../library/test.rst:1663 msgid "A decorator for running tests that require support for xattr." msgstr "" -#: ../../library/test.rst:1630 +#: ../../library/test.rst:1668 msgid "" "A context manager that temporarily creates a new directory and changes the " "current working directory (CWD)." msgstr "" -#: ../../library/test.rst:1633 +#: ../../library/test.rst:1671 msgid "" "The context manager creates a temporary directory in the current directory " "with name *name* before temporarily changing the current working directory. " @@ -1839,20 +1898,20 @@ msgid "" "using :func:`tempfile.mkdtemp`." msgstr "" -#: ../../library/test.rst:1638 +#: ../../library/test.rst:1676 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 " "CWD is used." msgstr "" -#: ../../library/test.rst:1645 +#: ../../library/test.rst:1683 msgid "" "A context manager that creates a temporary directory at *path* and yields " "the directory." msgstr "" -#: ../../library/test.rst:1648 +#: ../../library/test.rst:1686 msgid "" "If *path* is ``None``, the temporary directory is created " "using :func:`tempfile.mkdtemp`. If *quiet* is ``False``, the context " @@ -1860,138 +1919,138 @@ msgid "" "cannot be created, only a warning is issued." msgstr "" -#: ../../library/test.rst:1656 +#: ../../library/test.rst:1694 msgid "A context manager that temporarily sets the process umask." msgstr "" -#: ../../library/test.rst:1661 +#: ../../library/test.rst:1699 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 " "the file." msgstr "" -#: ../../library/test.rst:1667 +#: ../../library/test.rst:1705 msgid ":mod:`!test.support.import_helper` --- Utilities for import tests" msgstr "" -#: ../../library/test.rst:1672 +#: ../../library/test.rst:1710 msgid "" "The :mod:`!test.support.import_helper` module provides support for import " "tests." msgstr "" -#: ../../library/test.rst:1677 +#: ../../library/test.rst:1715 msgid "Creating module objects" msgstr "" -#: ../../library/test.rst:1681 +#: ../../library/test.rst:1719 msgid "Create a new, empty :term:`module` or :term:`package` and return it." msgstr "" -#: ../../library/test.rst:1683 +#: ../../library/test.rst:1721 msgid "" "*name*, *loader* and *ispkg* (as ``is_package``) are passed " "to :class:`importlib.machinery.ModuleSpec`." msgstr "" -#: ../../library/test.rst:1689 +#: ../../library/test.rst:1727 msgid "" "Create a :term:`module` from a name or spec and add it " "to :data:`sys.modules`." msgstr "" -#: ../../library/test.rst:1691 ../../library/test.rst:1700 +#: ../../library/test.rst:1729 ../../library/test.rst:1738 msgid "If *parents* is ``True``, create any missing parent modules." msgstr "" -#: ../../library/test.rst:1693 +#: ../../library/test.rst:1731 msgid "Return the new module." msgstr "" -#: ../../library/test.rst:1698 +#: ../../library/test.rst:1736 msgid "" "Create a :term:`package` from a name or spec and add it " "to :data:`sys.modules`." msgstr "" -#: ../../library/test.rst:1702 +#: ../../library/test.rst:1740 msgid "Return the new package." msgstr "" -#: ../../library/test.rst:1706 +#: ../../library/test.rst:1744 msgid "Manipulating sys.modules" msgstr "" -#: ../../library/test.rst:1711 +#: ../../library/test.rst:1749 msgid "Remove the module named *name* from :data:`sys.modules`." msgstr "" -#: ../../library/test.rst:1716 +#: ../../library/test.rst:1754 msgid "" "Remove the module named *modname* from :data:`sys.modules` and delete any " "byte-compiled files of the module." msgstr "" -#: ../../library/test.rst:1722 +#: ../../library/test.rst:1760 msgid "Return a tuple containing a copy of :data:`sys.modules`." msgstr "" -#: ../../library/test.rst:1727 +#: ../../library/test.rst:1765 msgid "" "Remove modules except for *oldmodules* and ``encodings`` " "from :data:`sys.modules` in order to preserve the internal cache." msgstr "" -#: ../../library/test.rst:1733 +#: ../../library/test.rst:1771 msgid "" "A context manager that makes a copy of :data:`sys.modules` on entry and " "restores it on exit." msgstr "" -#: ../../library/test.rst:1739 +#: ../../library/test.rst:1777 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 " "a :exc:`DeprecationWarning` on import." msgstr "" -#: ../../library/test.rst:1743 +#: ../../library/test.rst:1781 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 " "references are restored." msgstr "" -#: ../../library/test.rst:1747 ../../library/test.rst:1793 +#: ../../library/test.rst:1785 ../../library/test.rst:1833 msgid "" "If *usefrozen* is False (the default) then the frozen importer is disabled " "(except for essential modules like ``importlib._bootstrap``)." msgstr "" -#: ../../library/test.rst:1750 +#: ../../library/test.rst:1788 #, fuzzy msgid "Example usage::" msgstr "Beispiel::" -#: ../../library/test.rst:1752 +#: ../../library/test.rst:1790 msgid "" "with CleanImport('foo'):\n" " importlib.import_module('foo') # New reference." msgstr "" -#: ../../library/test.rst:1757 +#: ../../library/test.rst:1795 msgid "Importing modules" msgstr "" -#: ../../library/test.rst:1761 +#: ../../library/test.rst:1799 msgid "" "This function imports and returns the named module. Unlike a normal import, " "this function raises :exc:`unittest.SkipTest` if the module cannot be " "imported." msgstr "" -#: ../../library/test.rst:1765 +#: ../../library/test.rst:1803 msgid "" "Module and package deprecation messages are suppressed during this import if " "*deprecated* is ``True``. If a module is required on a platform but " @@ -1999,7 +2058,13 @@ msgid "" "which will be compared against :data:`sys.platform`." msgstr "" -#: ../../library/test.rst:1774 +#: ../../library/test.rst:1808 +msgid "" +"If called at the top level, sets label \"requires\\_\\ *name*\" on the " +"module." +msgstr "" + +#: ../../library/test.rst:1814 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. " @@ -2007,39 +2072,39 @@ msgid "" "not affected by this operation." msgstr "" -#: ../../library/test.rst:1779 +#: ../../library/test.rst:1819 msgid "" "*fresh* is an iterable of additional module names that are also removed from " "the :data:`sys.modules` cache before doing the import." msgstr "" -#: ../../library/test.rst:1782 +#: ../../library/test.rst:1822 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 " "raise :exc:`ImportError`." msgstr "" -#: ../../library/test.rst:1786 +#: ../../library/test.rst:1826 msgid "" "The named module and any modules named in the *fresh* and *blocked* " "parameters are saved before starting the import and then reinserted " "into :data:`sys.modules` when the fresh import is complete." msgstr "" -#: ../../library/test.rst:1790 +#: ../../library/test.rst:1830 msgid "" "Module and package deprecation messages are suppressed during this import if " "*deprecated* is ``True``." msgstr "" -#: ../../library/test.rst:1796 +#: ../../library/test.rst:1836 msgid "" "This function will raise :exc:`ImportError` if the named module cannot be " "imported." msgstr "" -#: ../../library/test.rst:1801 +#: ../../library/test.rst:1841 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" @@ -2049,46 +2114,46 @@ msgid "" "c_warnings = import_fresh_module('warnings', fresh=['_warnings'])" msgstr "" -#: ../../library/test.rst:1813 +#: ../../library/test.rst:1853 msgid "Import and return the named module." msgstr "" -#: ../../library/test.rst:1815 +#: ../../library/test.rst:1855 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 " "created." msgstr "" -#: ../../library/test.rst:1819 +#: ../../library/test.rst:1859 msgid "" "If *clearnone* is ``True``, this will first remove any ``None`` values that " "would block the import." msgstr "" -#: ../../library/test.rst:1824 +#: ../../library/test.rst:1864 msgid "Manipulating sys.path" msgstr "" -#: ../../library/test.rst:1828 +#: ../../library/test.rst:1868 msgid "A context manager to temporarily add directories to :data:`sys.path`." msgstr "" -#: ../../library/test.rst:1830 +#: ../../library/test.rst:1870 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 " "when the context ends." msgstr "" -#: ../../library/test.rst:1834 +#: ../../library/test.rst:1874 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 " "the block." msgstr "" -#: ../../library/test.rst:1841 +#: ../../library/test.rst:1881 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 " @@ -2096,21 +2161,21 @@ msgid "" "the path to the script in the temporary directory." msgstr "" -#: ../../library/test.rst:1846 +#: ../../library/test.rst:1886 msgid "" "If the name matches an existing module, this will be cleared " "from :data:`sys.modules` on entry and restored on exit." msgstr "" -#: ../../library/test.rst:1849 +#: ../../library/test.rst:1889 msgid "If no name is given, the module will be named \"spam\"." msgstr "" -#: ../../library/test.rst:1854 +#: ../../library/test.rst:1894 msgid "Manipulating internals" msgstr "" -#: ../../library/test.rst:1858 +#: ../../library/test.rst:1898 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 " @@ -2118,67 +2183,67 @@ msgid "" "3147/488 pyc file must exist or *allow_compile* must be set." msgstr "" -#: ../../library/test.rst:1863 +#: ../../library/test.rst:1903 msgid "" "If *allow_compile* is ``True`` this will create a .pyc file if it does not " "exist." msgstr "" -#: ../../library/test.rst:1868 +#: ../../library/test.rst:1908 msgid "A context manager that forces frozen modules to be used or excluded." msgstr "" -#: ../../library/test.rst:1870 +#: ../../library/test.rst:1910 msgid "" "If *enabled* is ``True`` frozen modules are used, otherwise they are " "excluded." msgstr "" -#: ../../library/test.rst:1872 +#: ../../library/test.rst:1912 msgid "" "This only applies to modules that have not yet been imported. Some essential " "modules will always be imported frozen." msgstr "" -#: ../../library/test.rst:1878 +#: ../../library/test.rst:1918 msgid "" "A context manager that forces (if *enabled* is ``True``) or prevents legacy " "(single-phase init) modules from being allowed in subinterpreters." msgstr "" -#: ../../library/test.rst:1881 +#: ../../library/test.rst:1921 msgid "" "This only applies to modules that haven't been imported yet. It overrides " "the :c:member:`PyInterpreterConfig.check_multi_interp_extensions` setting." msgstr "" -#: ../../library/test.rst:1887 +#: ../../library/test.rst:1927 msgid "Lazy imports" msgstr "" -#: ../../library/test.rst:1891 +#: ../../library/test.rst:1931 msgid "" "Test that when *imported_module* is imported, none of the modules named in " "*modules_to_block* are imported as a side effect." msgstr "" -#: ../../library/test.rst:1894 +#: ../../library/test.rst:1934 msgid "" "*additional_code* if given should be additional Python source code to " "execute before checking that the blocked modules still haven't been imported." msgstr "" -#: ../../library/test.rst:1899 +#: ../../library/test.rst:1939 msgid ":mod:`!test.support.warnings_helper` --- Utilities for warnings tests" msgstr "" -#: ../../library/test.rst:1904 +#: ../../library/test.rst:1944 msgid "" "The :mod:`!test.support.warnings_helper` module provides support for " "warnings tests." msgstr "" -#: ../../library/test.rst:1911 +#: ../../library/test.rst:1951 msgid "" "Suppress warnings that are instances of *category*, which must " "be :exc:`Warning` or a subclass. Roughly equivalent " @@ -2187,21 +2252,21 @@ msgid "" "`. For example::" msgstr "" -#: ../../library/test.rst:1917 +#: ../../library/test.rst:1957 msgid "" "@warning_helper.ignore_warnings(category=DeprecationWarning)\n" "def test_suppress_warning():\n" " # do something" msgstr "" -#: ../../library/test.rst:1926 +#: ../../library/test.rst:1966 msgid "" "Context manager to check that no :exc:`ResourceWarning` was raised. You " "must remove the object which may emit :exc:`ResourceWarning` before the end " "of the context manager." msgstr "" -#: ../../library/test.rst:1933 +#: ../../library/test.rst:1973 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 " @@ -2213,7 +2278,7 @@ msgid "" "is not ``None``, compares to the offset of the exception." msgstr "" -#: ../../library/test.rst:1947 +#: ../../library/test.rst:1987 msgid "" "A convenience wrapper for :func:`warnings.catch_warnings` that makes it " "easier to test that a warning was correctly raised. It is approximately " @@ -2222,7 +2287,7 @@ msgid "" "automatically validate the results that are recorded." msgstr "" -#: ../../library/test.rst:1953 +#: ../../library/test.rst:1993 msgid "" "``check_warnings`` accepts 2-tuples of the form ``(\"message regexp\", " "WarningCategory)`` as positional arguments. If one or more *filters* are " @@ -2234,19 +2299,19 @@ msgid "" "*quiet* to ``True``." msgstr "" -#: ../../library/test.rst:1962 +#: ../../library/test.rst:2002 msgid "If no arguments are specified, it defaults to::" msgstr "" -#: ../../library/test.rst:1964 +#: ../../library/test.rst:2004 msgid "check_warnings((\"\", Warning), quiet=True)" msgstr "" -#: ../../library/test.rst:1966 +#: ../../library/test.rst:2006 msgid "In this case all warnings are caught and no errors are raised." msgstr "" -#: ../../library/test.rst:1968 +#: ../../library/test.rst:2008 msgid "" "On entry to the context manager, a :class:`WarningsRecorder` instance is " "returned. The recorded warnings are available via " @@ -2255,11 +2320,11 @@ msgid "" "warnings." msgstr "" -#: ../../library/test.rst:1973 +#: ../../library/test.rst:2013 msgid "The context manager is designed to be used like this::" msgstr "" -#: ../../library/test.rst:1975 +#: ../../library/test.rst:2015 msgid "" "with check_warnings((\"assertion is always true\", SyntaxWarning),\n" " (\"\", UserWarning)):\n" @@ -2267,19 +2332,19 @@ msgid "" " warnings.warn(UserWarning(\"Hide me!\"))" msgstr "" -#: ../../library/test.rst:1980 +#: ../../library/test.rst:2020 msgid "" "In this case if either warning was not raised, or some other warning was " "raised, :func:`check_warnings` would raise an error." msgstr "" -#: ../../library/test.rst:1983 +#: ../../library/test.rst:2023 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::" msgstr "" -#: ../../library/test.rst:1986 +#: ../../library/test.rst:2026 msgid "" "with check_warnings(quiet=True) as w:\n" " warnings.warn(\"foo\")\n" @@ -2292,24 +2357,24 @@ msgid "" " assert len(w.warnings) == 0" msgstr "" -#: ../../library/test.rst:1997 +#: ../../library/test.rst:2037 msgid "" "Here all warnings will be caught, and the test code tests the captured " "warnings directly." msgstr "" -#: ../../library/test.rst:2000 +#: ../../library/test.rst:2040 msgid "New optional arguments *filters* and *quiet*." msgstr "" -#: ../../library/test.rst:2006 +#: ../../library/test.rst:2046 msgid "" "Class used to record warnings for unit tests. Wraps the warnings list " "returned by :func:`warnings.catch_warnings` when recording is " "enabled. :func:`check_warnings` returns an instance of this class." msgstr "" -#: ../../library/test.rst:2010 +#: ../../library/test.rst:2050 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 " @@ -2317,12 +2382,12 @@ msgid "" "attributes return ``None``." msgstr "" -#: ../../library/test.rst:2017 +#: ../../library/test.rst:2057 msgid "" "A list of warnings recorded since the recorder was created or last reset." msgstr "" -#: ../../library/test.rst:2021 +#: ../../library/test.rst:2061 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 0f23dfc0..7c5a0df8 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:18+0000\n" "Last-Translator: Jyst Breisgau, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -395,8 +395,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 c72c4a82..74e270da 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-25 22:09+0200\n" "Last-Translator: Transifex\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -232,7 +232,7 @@ msgstr "" "``right()``. Viele Befehle haben außerdem knappere Aliasnamen, etwa ``fd()`` " "für :func:`forward`." -#: ../../library/turtle.rst:123 ../../library/turtle.rst:809 +#: ../../library/turtle.rst:123 ../../library/turtle.rst:811 msgid "Pen control" msgstr "Stiftsteuerung" @@ -425,9 +425,9 @@ msgstr "Parameter" #: ../../library/turtle.rst:268 ../../library/turtle.rst:294 #: ../../library/turtle.rst:394 ../../library/turtle.rst:416 #: ../../library/turtle.rst:439 ../../library/turtle.rst:490 -#: ../../library/turtle.rst:762 ../../library/turtle.rst:1311 -#: ../../library/turtle.rst:1732 ../../library/turtle.rst:1733 -#: ../../library/turtle.rst:1734 ../../library/turtle.rst:1735 +#: ../../library/turtle.rst:764 ../../library/turtle.rst:1313 +#: ../../library/turtle.rst:1737 ../../library/turtle.rst:1738 +#: ../../library/turtle.rst:1739 ../../library/turtle.rst:1740 msgid "a number" msgstr "eine Zahl" @@ -542,11 +542,11 @@ msgstr "eine Zahl oder ein Paar/Vektor von Zahlen" #: ../../library/turtle.rst:322 ../../library/turtle.rst:354 #: ../../library/turtle.rst:355 ../../library/turtle.rst:491 -#: ../../library/turtle.rst:1289 ../../library/turtle.rst:1331 -#: ../../library/turtle.rst:1354 ../../library/turtle.rst:1355 +#: ../../library/turtle.rst:1291 ../../library/turtle.rst:1333 #: ../../library/turtle.rst:1356 ../../library/turtle.rst:1357 -#: ../../library/turtle.rst:1973 ../../library/turtle.rst:1974 -#: ../../library/turtle.rst:1975 ../../library/turtle.rst:2021 +#: ../../library/turtle.rst:1358 ../../library/turtle.rst:1359 +#: ../../library/turtle.rst:1978 ../../library/turtle.rst:1979 +#: ../../library/turtle.rst:1980 ../../library/turtle.rst:2026 msgid "a number or ``None``" msgstr "eine Zahl oder ``None``" @@ -590,8 +590,8 @@ msgstr "" ">>> turtle.pos()\n" "(0.00,0.00)" -#: ../../library/turtle.rst:356 ../../library/turtle.rst:1153 -#: ../../library/turtle.rst:2159 +#: ../../library/turtle.rst:356 ../../library/turtle.rst:1155 +#: ../../library/turtle.rst:2141 msgid "a boolean" msgstr "Ein Boolean" @@ -773,7 +773,8 @@ msgstr "" "0.0" #: ../../library/turtle.rst:492 ../../library/turtle.rst:589 -#: ../../library/turtle.rst:1575 +#: ../../library/turtle.rst:1580 ../../library/turtle.rst:2181 +#: ../../library/turtle.rst:2182 msgid "an integer or ``None``" msgstr "eine Ganzzahl oder ``None``" @@ -784,8 +785,9 @@ msgid "" "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, " @@ -842,8 +844,8 @@ msgstr "" ">>> turtle.heading()\n" "180.0" -#: ../../library/turtle.rst:532 ../../library/turtle.rst:1706 -#: ../../library/turtle.rst:1707 +#: ../../library/turtle.rst:532 ../../library/turtle.rst:1711 +#: ../../library/turtle.rst:1712 #, fuzzy msgid "a positive integer or ``None``" msgstr "eine Ganzzahl oder ``None``" @@ -902,8 +904,9 @@ msgstr "" ">>> stamp_id = turtle.stamp()\n" ">>> turtle.fd(50)" -#: ../../library/turtle.rst:567 ../../library/turtle.rst:1400 -#: ../../library/turtle.rst:1900 +#: ../../library/turtle.rst:567 ../../library/turtle.rst:1402 +#: ../../library/turtle.rst:1425 ../../library/turtle.rst:1453 +#: ../../library/turtle.rst:1905 #, fuzzy msgid "an integer" msgstr "eine Ganzzahl oder ``None``" @@ -971,14 +974,12 @@ msgstr "" #: ../../library/turtle.rst:608 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:611 +#: ../../library/turtle.rst:612 msgid "" ">>> for i in range(4):\n" "... turtle.fd(50); turtle.lt(80)\n" @@ -992,45 +993,46 @@ msgstr "" ">>> for i in range(8):\n" "... turtle.undo()" -#: ../../library/turtle.rst:623 +#: ../../library/turtle.rst:624 #, fuzzy msgid "an integer, a string or ``None``" msgstr "eine Ganzzahl oder ``None``" -#: ../../library/turtle.rst:625 +#: ../../library/turtle.rst:626 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 "" -#: ../../library/turtle.rst:630 +#: ../../library/turtle.rst:632 #, fuzzy msgid "\"fastest\": 0" msgstr "\"fastest\": 0" -#: ../../library/turtle.rst:631 +#: ../../library/turtle.rst:633 #, fuzzy msgid "\"fast\": 10" msgstr "\"fast\": 10" -#: ../../library/turtle.rst:632 +#: ../../library/turtle.rst:634 #, fuzzy msgid "\"normal\": 6" msgstr "\"normal\": 6" -#: ../../library/turtle.rst:633 +#: ../../library/turtle.rst:635 #, fuzzy msgid "\"slow\": 3" msgstr "\"slow\": 3" -#: ../../library/turtle.rst:634 +#: ../../library/turtle.rst:636 #, fuzzy msgid "\"slowest\": 1" msgstr "\"slowest\": 1" -#: ../../library/turtle.rst:636 +#: ../../library/turtle.rst:638 #, fuzzy msgid "" "Speeds from 1 to 10 give increasingly faster animation of line drawing and " @@ -1042,7 +1044,7 @@ msgstr "" "back lässt die Turtle springen, und ebenso lassen left/right die Turtle " "sofort drehen." -#: ../../library/turtle.rst:641 +#: ../../library/turtle.rst:643 msgid "" ">>> turtle.speed()\n" "3\n" @@ -1062,18 +1064,18 @@ msgstr "" ">>> turtle.speed()\n" "9" -#: ../../library/turtle.rst:655 +#: ../../library/turtle.rst:657 msgid "Tell Turtle's state" msgstr "Zustand der Turtle abfragen" -#: ../../library/turtle.rst:660 +#: ../../library/turtle.rst:662 #, fuzzy 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:662 +#: ../../library/turtle.rst:664 msgid "" ">>> turtle.pos()\n" "(440.00,-0.00)" @@ -1081,15 +1083,15 @@ msgstr "" ">>> turtle.pos()\n" "(440.00,-0.00)" -#: ../../library/turtle.rst:671 ../../library/turtle.rst:736 +#: ../../library/turtle.rst:673 ../../library/turtle.rst:738 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:672 ../../library/turtle.rst:737 +#: ../../library/turtle.rst:674 ../../library/turtle.rst:739 msgid "a number if *x* is a number, else ``None``" msgstr "eine Zahl, falls *x* eine Zahl ist, andernfalls ``None``" -#: ../../library/turtle.rst:674 +#: ../../library/turtle.rst:676 #, fuzzy msgid "" "Return the angle of the line from the turtle's position to (x,y). If *y* is " @@ -1103,7 +1105,7 @@ msgstr "" "hängt von der Startausrichtung der Turtle ab, die wiederum vom Modus abhängt " "– \"standard\"/\"world\" oder \"logo\"." -#: ../../library/turtle.rst:680 +#: ../../library/turtle.rst:682 msgid "" ">>> turtle.goto(10, 10)\n" ">>> turtle.towards(0,0)\n" @@ -1113,11 +1115,11 @@ msgstr "" ">>> turtle.towards(0,0)\n" "225.0" -#: ../../library/turtle.rst:690 +#: ../../library/turtle.rst:692 msgid "Return the turtle's x coordinate." msgstr "Gib die x-Koordinate der Turtle zurück." -#: ../../library/turtle.rst:692 +#: ../../library/turtle.rst:694 msgid "" ">>> turtle.home()\n" ">>> turtle.left(50)\n" @@ -1135,11 +1137,11 @@ msgstr "" ">>> print(round(turtle.xcor(), 5))\n" "64.27876" -#: ../../library/turtle.rst:706 +#: ../../library/turtle.rst:708 msgid "Return the turtle's y coordinate." msgstr "Gib die y-Koordinate der Turtle zurück." -#: ../../library/turtle.rst:708 +#: ../../library/turtle.rst:710 msgid "" ">>> turtle.home()\n" ">>> turtle.left(60)\n" @@ -1157,7 +1159,7 @@ msgstr "" ">>> print(round(turtle.ycor(), 5))\n" "86.60254" -#: ../../library/turtle.rst:722 +#: ../../library/turtle.rst:724 #, fuzzy msgid "" "Return the turtle's current heading. The value depends on the turtle mode, " @@ -1166,7 +1168,7 @@ msgstr "" "Gibt die aktuelle Ausrichtung der Turtle zurück (der Wert hängt vom Turtle-" "Modus ab, siehe :func:`mode`)." -#: ../../library/turtle.rst:725 +#: ../../library/turtle.rst:727 msgid "" ">>> turtle.home()\n" ">>> turtle.left(67)\n" @@ -1178,7 +1180,7 @@ msgstr "" ">>> turtle.heading()\n" "67.0" -#: ../../library/turtle.rst:739 +#: ../../library/turtle.rst:741 #, fuzzy msgid "" "Return the distance from the turtle to (x,y) in turtle step units. If *y* is " @@ -1188,7 +1190,7 @@ msgstr "" "Wenn *y* ``None`` ist, muss *x* ein Koordinatenpaar oder ein :class:`Vec2D` " "sein (z. B. wie von :func:`pos` zurückgegeben)." -#: ../../library/turtle.rst:743 +#: ../../library/turtle.rst:745 msgid "" ">>> turtle.home()\n" ">>> turtle.distance(30,40)\n" @@ -1210,11 +1212,11 @@ msgstr "" ">>> turtle.distance(joe)\n" "77.0" -#: ../../library/turtle.rst:758 +#: ../../library/turtle.rst:760 msgid "Settings for measurement" msgstr "Einstellungen für Messungen" -#: ../../library/turtle.rst:764 +#: ../../library/turtle.rst:766 #, fuzzy msgid "" "Set the angle measurement units to degrees. The number of degrees in a full " @@ -1223,7 +1225,7 @@ msgstr "" "Setze die Winkelmesseinheiten, d. h. setze die Anzahl der \"Grad\" für einen " "vollen Kreis. Der Standardwert ist 360 Grad." -#: ../../library/turtle.rst:767 +#: ../../library/turtle.rst:769 msgid "" ">>> turtle.home()\n" ">>> turtle.left(90)\n" @@ -1253,7 +1255,7 @@ msgstr "" ">>> turtle.heading()\n" "90.0" -#: ../../library/turtle.rst:787 +#: ../../library/turtle.rst:789 #, fuzzy msgid "" "Set the angle measurement units to radians. Equivalent to ``degrees(2 * " @@ -1261,7 +1263,7 @@ msgid "" msgstr "" "Setze die Winkelmesseinheiten auf Radiant. Entspricht ``degrees(2*math.pi)``." -#: ../../library/turtle.rst:790 +#: ../../library/turtle.rst:792 msgid "" ">>> turtle.home()\n" ">>> turtle.left(90)\n" @@ -1279,26 +1281,26 @@ msgstr "" ">>> turtle.heading()\n" "1.5707963267948966" -#: ../../library/turtle.rst:812 +#: ../../library/turtle.rst:814 msgid "Drawing state" msgstr "Zeichenzustand" -#: ../../library/turtle.rst:818 +#: ../../library/turtle.rst:820 msgid "Lower the pen. The turtle draws a line when it moves." msgstr "" -#: ../../library/turtle.rst:825 +#: ../../library/turtle.rst:827 #, fuzzy msgid "Lift the pen. The turtle does not draw when it moves." msgstr "Hebe den Stift -- zeichnet nicht beim Bewegen." -#: ../../library/turtle.rst:831 ../../library/turtle.rst:1255 -#: ../../library/turtle.rst:1256 ../../library/turtle.rst:1257 +#: ../../library/turtle.rst:833 ../../library/turtle.rst:1257 +#: ../../library/turtle.rst:1258 ../../library/turtle.rst:1259 #, fuzzy msgid "a positive number or ``None``" msgstr "eine Zahl oder ``None``" -#: ../../library/turtle.rst:833 +#: ../../library/turtle.rst:835 #, fuzzy msgid "" "Return or set the line thickness. If *width* is not given, return the " @@ -1310,7 +1312,7 @@ msgstr "" "mit derselben Liniendicke gezeichnet. Wird kein Argument angegeben, wird die " "aktuelle Stiftgröße zurückgegeben." -#: ../../library/turtle.rst:837 +#: ../../library/turtle.rst:839 msgid "" ">>> turtle.pensize()\n" "1\n" @@ -1320,19 +1322,19 @@ msgstr "" "1\n" ">>> turtle.pensize(10) # from here on lines of width 10 are drawn" -#: ../../library/turtle.rst:847 +#: ../../library/turtle.rst:849 #, fuzzy msgid "a dictionary or ``None``" msgstr "eine Zahl oder ``None``" -#: ../../library/turtle.rst:848 +#: ../../library/turtle.rst:850 #, fuzzy msgid "keyword arguments with the keys below" msgstr "" "ein oder mehrere Schlüsselwortargumente mit den unten aufgeführten " "Schlüsseln als Schlüsselwörter" -#: ../../library/turtle.rst:850 +#: ../../library/turtle.rst:852 #, fuzzy msgid "" "Return or set the pen's attributes. The attributes are returned as a " @@ -1341,61 +1343,61 @@ msgstr "" "Gib die Attribute des Stifts in einem \"Stift-Dictionary\" zurück oder setze " "sie, mit den folgenden Schlüssel/Wert-Paaren:" -#: ../../library/turtle.rst:853 +#: ../../library/turtle.rst:855 #, fuzzy msgid "\"shown\": ``True`` or ``False``" msgstr "\"shown\": True/False" -#: ../../library/turtle.rst:854 +#: ../../library/turtle.rst:856 #, fuzzy msgid "\"pendown\": ``True`` or ``False``" msgstr "\"pendown\": True/False" -#: ../../library/turtle.rst:855 +#: ../../library/turtle.rst:857 #, fuzzy msgid "\"pencolor\": a color string or a color tuple" msgstr "\"pencolor\": Farbstring oder Farb-Tupel" -#: ../../library/turtle.rst:856 +#: ../../library/turtle.rst:858 #, fuzzy msgid "\"fillcolor\": a color string or a color tuple" msgstr "\"fillcolor\": Farbstring oder Farb-Tupel" -#: ../../library/turtle.rst:857 +#: ../../library/turtle.rst:859 #, fuzzy msgid "\"pensize\": a positive number" msgstr "\"pensize\": positive Zahl" -#: ../../library/turtle.rst:858 +#: ../../library/turtle.rst:860 #, fuzzy msgid "\"speed\": a number from 0 to 10" msgstr "\"speed\": Zahl im Bereich 0..10" -#: ../../library/turtle.rst:859 +#: ../../library/turtle.rst:861 #, fuzzy msgid "\"resizemode\": \"auto\", \"user\" or \"noresize\"" msgstr "\"resizemode\": \"auto\" or \"user\" or \"noresize\"" -#: ../../library/turtle.rst:860 +#: ../../library/turtle.rst:862 #, fuzzy msgid "\"stretchfactor\": a pair of positive numbers" msgstr "\"stretchfactor\": (positive Zahl, positive Zahl)" -#: ../../library/turtle.rst:861 +#: ../../library/turtle.rst:863 msgid "\"shearfactor\": a number" msgstr "" -#: ../../library/turtle.rst:862 +#: ../../library/turtle.rst:864 #, fuzzy msgid "\"outline\": a positive number" msgstr "\"outline\": positive Zahl" -#: ../../library/turtle.rst:863 +#: ../../library/turtle.rst:865 #, fuzzy msgid "\"tilt\": a number" msgstr "\"tilt\": Zahl" -#: ../../library/turtle.rst:865 +#: ../../library/turtle.rst:867 #, fuzzy msgid "" "Such a dictionary can be passed as *pen* to restore a former pen state. The " @@ -1408,7 +1410,7 @@ msgstr "" "Schlüsselwortargumente angegeben werden. Dies kann verwendet werden, um " "mehrere Stiftattribute in einer einzigen Anweisung zu setzen." -#: ../../library/turtle.rst:869 +#: ../../library/turtle.rst:871 #, fuzzy msgid "" ">>> turtle.pen(fillcolor=\"black\", pencolor=\"red\", pensize=10)\n" @@ -1444,13 +1446,13 @@ msgstr "" ">>> sorted(turtle.pen().items())[:3]\n" "[('fillcolor', 'green'), ('outline', 1), ('pencolor', 'red')]" -#: ../../library/turtle.rst:893 +#: ../../library/turtle.rst:895 #, fuzzy 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:895 +#: ../../library/turtle.rst:897 msgid "" ">>> turtle.penup()\n" ">>> turtle.isdown()\n" @@ -1466,24 +1468,24 @@ msgstr "" ">>> turtle.isdown()\n" "True" -#: ../../library/turtle.rst:907 +#: ../../library/turtle.rst:909 msgid "Color control" msgstr "Farbkontrolle" -#: ../../library/turtle.rst:913 +#: ../../library/turtle.rst:915 msgid "Return or set the pencolor." msgstr "Gib die Stiftfarbe zurück oder setze sie." -#: ../../library/turtle.rst:915 ../../library/turtle.rst:967 -#: ../../library/turtle.rst:1624 +#: ../../library/turtle.rst:917 ../../library/turtle.rst:969 +#: ../../library/turtle.rst:1629 msgid "Four input formats are allowed:" msgstr "Vier Eingabeformate sind erlaubt:" -#: ../../library/turtle.rst:917 +#: ../../library/turtle.rst:919 msgid "``pencolor()``" msgstr "``pencolor()``" -#: ../../library/turtle.rst:918 +#: ../../library/turtle.rst:920 #, fuzzy msgid "" "Return the current pencolor as color specification string or as a tuple (see " @@ -1495,11 +1497,11 @@ msgstr "" "(siehe Beispiel). Kann als Eingabe für einen weiteren color/pencolor/" "fillcolor/bgcolor-Aufruf verwendet werden." -#: ../../library/turtle.rst:923 +#: ../../library/turtle.rst:925 msgid "``pencolor(colorstring)``" msgstr "``pencolor(colorstring)``" -#: ../../library/turtle.rst:924 +#: ../../library/turtle.rst:926 #, fuzzy msgid "" "Set the pencolor to *colorstring*, which is a Tk color specification string, " @@ -1508,11 +1510,11 @@ msgstr "" "Setze die Stiftfarbe auf *colorstring*, was ein Tk-Farbangabe-String ist, " "wie zum Beispiel ``\"red\"``, ``\"yellow\"`` oder ``\"#33cc8c\"``." -#: ../../library/turtle.rst:927 +#: ../../library/turtle.rst:929 msgid "``pencolor((r, g, b))``" msgstr "``pencolor((r, g, b))``" -#: ../../library/turtle.rst:928 +#: ../../library/turtle.rst:930 #, fuzzy msgid "" "Set the pencolor to the RGB color represented by the tuple of *r*, *g*, and " @@ -1524,11 +1526,11 @@ msgstr "" "0..colormode liegen, wobei colormode entweder 1.0 oder 255 ist " "(siehe :func:`colormode`)." -#: ../../library/turtle.rst:932 +#: ../../library/turtle.rst:934 msgid "``pencolor(r, g, b)``" msgstr "``pencolor(r, g, b)``" -#: ../../library/turtle.rst:933 +#: ../../library/turtle.rst:935 #, fuzzy msgid "" "Set the pencolor to the RGB color represented by *r*, *g*, and *b*. Each of " @@ -1537,7 +1539,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:936 +#: ../../library/turtle.rst:938 #, fuzzy msgid "" "If the turtle shape is a polygon, the outline of that polygon is drawn with " @@ -1546,7 +1548,7 @@ msgstr "" "Ist die Form der Turtle ein Polygon, wird der Umriss dieses Polygons mit der " "neu gesetzten Stiftfarbe gezeichnet." -#: ../../library/turtle.rst:939 +#: ../../library/turtle.rst:941 msgid "" ">>> colormode()\n" "1.0\n" @@ -1584,15 +1586,15 @@ msgstr "" ">>> turtle.pencolor()\n" "(50.0, 193.0, 143.0)" -#: ../../library/turtle.rst:965 +#: ../../library/turtle.rst:967 msgid "Return or set the fillcolor." msgstr "Gib die Füllfarbe zurück oder setze sie." -#: ../../library/turtle.rst:969 +#: ../../library/turtle.rst:971 msgid "``fillcolor()``" msgstr "``fillcolor()``" -#: ../../library/turtle.rst:970 +#: ../../library/turtle.rst:972 #, fuzzy msgid "" "Return the current fillcolor as color specification string, possibly in " @@ -1604,11 +1606,11 @@ msgstr "" "Tupel-Format (siehe Beispiel). Kann als Eingabe für einen weiteren color/" "pencolor/fillcolor/bgcolor-Aufruf verwendet werden." -#: ../../library/turtle.rst:975 +#: ../../library/turtle.rst:977 msgid "``fillcolor(colorstring)``" msgstr "``fillcolor(colorstring)``" -#: ../../library/turtle.rst:976 +#: ../../library/turtle.rst:978 #, fuzzy msgid "" "Set the fillcolor to *colorstring*, which is a Tk color specification " @@ -1617,11 +1619,11 @@ msgstr "" "Setze die Füllfarbe auf *colorstring*, was ein Tk-Farbangabe-String ist, wie " "zum Beispiel ``\"red\"``, ``\"yellow\"`` oder ``\"#33cc8c\"``." -#: ../../library/turtle.rst:979 +#: ../../library/turtle.rst:981 msgid "``fillcolor((r, g, b))``" msgstr "``fillcolor((r, g, b))``" -#: ../../library/turtle.rst:980 +#: ../../library/turtle.rst:982 #, fuzzy msgid "" "Set the fillcolor to the RGB color represented by the tuple of *r*, *g*, and " @@ -1633,11 +1635,11 @@ msgstr "" "0..colormode liegen, wobei colormode entweder 1.0 oder 255 ist " "(siehe :func:`colormode`)." -#: ../../library/turtle.rst:984 +#: ../../library/turtle.rst:986 msgid "``fillcolor(r, g, b)``" msgstr "``fillcolor(r, g, b)``" -#: ../../library/turtle.rst:985 +#: ../../library/turtle.rst:987 #, fuzzy msgid "" "Set the fillcolor to the RGB color represented by *r*, *g*, and *b*. Each of " @@ -1646,7 +1648,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:988 +#: ../../library/turtle.rst:990 #, fuzzy msgid "" "If the turtle shape is a polygon, the interior of that polygon is drawn with " @@ -1655,7 +1657,7 @@ msgstr "" "Ist die Form der Turtle ein Polygon, wird das Innere dieses Polygons mit der " "neu gesetzten Füllfarbe gezeichnet." -#: ../../library/turtle.rst:991 +#: ../../library/turtle.rst:993 msgid "" ">>> turtle.fillcolor(\"violet\")\n" ">>> turtle.fillcolor()\n" @@ -1681,12 +1683,12 @@ msgstr "" ">>> turtle.fillcolor()\n" "(255.0, 255.0, 255.0)" -#: ../../library/turtle.rst:1012 +#: ../../library/turtle.rst:1014 #, fuzzy msgid "Return or set the pencolor and fillcolor." msgstr "Gib die Stiftfarbe und die Füllfarbe zurück oder setze sie." -#: ../../library/turtle.rst:1014 +#: ../../library/turtle.rst:1016 #, fuzzy msgid "" "Several input formats are allowed. They use 0 to 3 arguments as follows:" @@ -1694,11 +1696,11 @@ msgstr "" "Mehrere Eingabeformate sind erlaubt. Sie verwenden dabei 0 bis 3 Argumente " "wie folgt:" -#: ../../library/turtle.rst:1017 +#: ../../library/turtle.rst:1019 msgid "``color()``" msgstr "``color()``" -#: ../../library/turtle.rst:1018 +#: ../../library/turtle.rst:1020 msgid "" "Return the current pencolor and the current fillcolor as a pair of color " "specification strings or tuples as returned by :func:`pencolor` " @@ -1708,11 +1710,11 @@ msgstr "" "Farbangabe-Strings oder Tupeln zurück, wie sie von :func:`pencolor` " "und :func:`fillcolor` zurückgegeben werden." -#: ../../library/turtle.rst:1022 +#: ../../library/turtle.rst:1024 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:1023 +#: ../../library/turtle.rst:1025 #, fuzzy msgid "" "Inputs as in :func:`pencolor`. Set both the pencolor and the fillcolor to " @@ -1721,13 +1723,13 @@ msgstr "" "Eingaben wie bei :func:`pencolor`, setzt sowohl fillcolor als auch pencolor " "auf den angegebenen Wert." -#: ../../library/turtle.rst:1026 +#: ../../library/turtle.rst:1028 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:1027 +#: ../../library/turtle.rst:1029 msgid "" "Equivalent to ``pencolor(colorstring1)`` and ``fillcolor(colorstring2)`` and " "analogously if the other input format is used." @@ -1735,7 +1737,7 @@ msgstr "" "Entspricht ``pencolor(colorstring1)`` und ``fillcolor(colorstring2)`` und " "analog, wenn das andere Eingabeformat verwendet wird." -#: ../../library/turtle.rst:1030 +#: ../../library/turtle.rst:1032 #, fuzzy msgid "" "If the turtle shape is a polygon, the outline and interior of that polygon " @@ -1744,7 +1746,7 @@ msgstr "" "Ist die Form der Turtle ein Polygon, werden Umriss und Inneres dieses " "Polygons mit den neu gesetzten Farben gezeichnet." -#: ../../library/turtle.rst:1033 +#: ../../library/turtle.rst:1035 msgid "" ">>> turtle.color(\"red\", \"green\")\n" ">>> turtle.color()\n" @@ -1760,22 +1762,22 @@ msgstr "" ">>> color()\n" "((40.0, 80.0, 120.0), (160.0, 200.0, 240.0))" -#: ../../library/turtle.rst:1044 +#: ../../library/turtle.rst:1046 msgid "See also: Screen method :func:`colormode`." msgstr "Siehe auch: Screen-Methode :func:`colormode`." -#: ../../library/turtle.rst:1048 +#: ../../library/turtle.rst:1050 msgid "Filling" msgstr "Füllen" -#: ../../library/turtle.rst:1059 +#: ../../library/turtle.rst:1061 #, fuzzy msgid "Return ``True`` if the turtle is filling, ``False`` otherwise." msgstr "" "Gib ``True`` zurück, wenn die Turtle sichtbar ist, ``False``, wenn sie " "versteckt ist." -#: ../../library/turtle.rst:1061 +#: ../../library/turtle.rst:1063 msgid "" ">>> turtle.begin_fill()\n" ">>> if turtle.filling():\n" @@ -1789,12 +1791,12 @@ msgstr "" "... else:\n" "... turtle.pensize(3)" -#: ../../library/turtle.rst:1073 +#: ../../library/turtle.rst:1075 #, fuzzy msgid "Fill the shape drawn in the :keyword:`with` block." msgstr "Fülle die Form, die im ``with turtle.fill():``-Block gezeichnet wurde." -#: ../../library/turtle.rst:1075 +#: ../../library/turtle.rst:1077 msgid "" ">>> turtle.color(\"black\", \"red\")\n" ">>> with turtle.fill():\n" @@ -1804,7 +1806,7 @@ msgstr "" ">>> with turtle.fill():\n" "... turtle.circle(80)" -#: ../../library/turtle.rst:1082 +#: ../../library/turtle.rst:1084 #, fuzzy msgid "" ":func:`fill` is a :term:`context manager`, so using it is the same as " @@ -1814,7 +1816,7 @@ msgstr "" "von :func:`begin_fill` vor dem Füllblock und :func:`end_fill` nach dem " "Füllblock:" -#: ../../library/turtle.rst:1085 ../../library/turtle.rst:1111 +#: ../../library/turtle.rst:1087 ../../library/turtle.rst:1113 msgid "" ">>> turtle.color(\"black\", \"red\")\n" ">>> turtle.begin_fill()\n" @@ -1826,19 +1828,19 @@ msgstr "" ">>> turtle.circle(80)\n" ">>> turtle.end_fill()" -#: ../../library/turtle.rst:1098 +#: ../../library/turtle.rst:1100 msgid "" "Call just before drawing a shape to be filled. The shape is filled by the " "next call to :func:`end_fill`." msgstr "" -#: ../../library/turtle.rst:1104 +#: ../../library/turtle.rst:1106 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:1106 +#: ../../library/turtle.rst:1108 #, fuzzy msgid "" "If the shape crosses itself or several shapes overlap, whether the " @@ -1852,11 +1854,11 @@ msgstr "" "gezeigte Turtle-Stern entweder komplett gelb sein oder einige weiße Bereiche " "aufweisen." -#: ../../library/turtle.rst:1121 +#: ../../library/turtle.rst:1123 msgid "More drawing control" msgstr "Mehr Zeichenkontrolle" -#: ../../library/turtle.rst:1125 +#: ../../library/turtle.rst:1127 #, fuzzy msgid "" "Delete the turtle's drawings and re-center the turtle. The turtle's settings " @@ -1865,7 +1867,7 @@ msgstr "" "Lösche die Zeichnungen der Turtle vom Bildschirm, zentriere die Turtle neu " "und setze die Variablen auf ihre Standardwerte zurück." -#: ../../library/turtle.rst:1128 +#: ../../library/turtle.rst:1130 msgid "" ">>> turtle.goto(0,-22)\n" ">>> turtle.left(100)\n" @@ -1891,7 +1893,7 @@ msgstr "" ">>> turtle.heading()\n" "0.0" -#: ../../library/turtle.rst:1146 +#: ../../library/turtle.rst:1148 #, fuzzy msgid "" "Delete the turtle's drawings from the screen. The state and position of the " @@ -1900,24 +1902,25 @@ msgstr "" "Lösche die Zeichnungen der Turtle vom Bildschirm, zentriere die Turtle neu " "und setze die Variablen auf ihre Standardwerte zurück." -#: ../../library/turtle.rst:1152 +#: ../../library/turtle.rst:1154 msgid "an object" msgstr "" -#: ../../library/turtle.rst:1154 ../../library/turtle.rst:1850 -#: ../../library/turtle.rst:1959 ../../library/turtle.rst:1960 -#: ../../library/turtle.rst:1971 ../../library/turtle.rst:1972 -#: ../../library/turtle.rst:2069 ../../library/turtle.rst:2158 -#: ../../library/turtle.rst:2204 ../../library/turtle.rst:2260 +#: ../../library/turtle.rst:1156 ../../library/turtle.rst:1855 +#: ../../library/turtle.rst:1964 ../../library/turtle.rst:1965 +#: ../../library/turtle.rst:1976 ../../library/turtle.rst:1977 +#: ../../library/turtle.rst:2074 ../../library/turtle.rst:2140 +#: ../../library/turtle.rst:2209 ../../library/turtle.rst:2265 +#: ../../library/turtle.rst:2604 #, fuzzy msgid "a string" msgstr "Zeichenkette" -#: ../../library/turtle.rst:1155 +#: ../../library/turtle.rst:1157 msgid "a tuple of a string, an integer and a string" msgstr "" -#: ../../library/turtle.rst:1157 +#: ../../library/turtle.rst:1159 #, fuzzy msgid "" "Write text at the current turtle position. The text is the string " @@ -1931,7 +1934,7 @@ msgstr "" "mit der angegebenen Schriftart. Ist *move* wahr, wird der Stift an die " "untere rechte Ecke des Textes bewegt. Standardmäßig ist *move* ``False``." -#: ../../library/turtle.rst:1163 +#: ../../library/turtle.rst:1165 msgid "" ">>> turtle.write(\"Home = \", True, align=\"center\")\n" ">>> turtle.write((0,0), True)" @@ -1939,30 +1942,30 @@ msgstr "" ">>> turtle.write(\"Home = \", True, align=\"center\")\n" ">>> turtle.write((0,0), True)" -#: ../../library/turtle.rst:1171 +#: ../../library/turtle.rst:1173 msgid "Turtle state" msgstr "Turtle-Status" -#: ../../library/turtle.rst:1174 +#: ../../library/turtle.rst:1176 msgid "Visibility" msgstr "Sichtbarkeit" -#: ../../library/turtle.rst:1179 +#: ../../library/turtle.rst:1181 msgid "Make the turtle invisible. If the pen is down, movement still draws." msgstr "" -#: ../../library/turtle.rst:1185 +#: ../../library/turtle.rst:1187 msgid "Make the turtle visible." msgstr "Mache die Turtle sichtbar." -#: ../../library/turtle.rst:1190 +#: ../../library/turtle.rst:1192 #, fuzzy 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:1192 +#: ../../library/turtle.rst:1194 msgid "" ">>> turtle.hideturtle()\n" ">>> turtle.isvisible()\n" @@ -1978,25 +1981,25 @@ msgstr "" ">>> turtle.isvisible()\n" "True" -#: ../../library/turtle.rst:1204 +#: ../../library/turtle.rst:1206 msgid "Appearance" msgstr "Erscheinungsbild" -#: ../../library/turtle.rst:1208 ../../library/turtle.rst:1228 -#: ../../library/turtle.rst:1659 ../../library/turtle.rst:1874 -#: ../../library/turtle.rst:1993 +#: ../../library/turtle.rst:1210 ../../library/turtle.rst:1230 +#: ../../library/turtle.rst:1664 ../../library/turtle.rst:1879 +#: ../../library/turtle.rst:1998 #, fuzzy msgid "a string or ``None``" msgstr "eine Ganzzahl oder ``None``" -#: ../../library/turtle.rst:1210 +#: ../../library/turtle.rst:1212 #, 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 *name*, oder, " @@ -2006,7 +2009,7 @@ msgstr "" "\"circle\", \"square\", \"triangle\", \"classic\". Um mehr über den Umgang " "mit Formen zu erfahren, siehe die Screen-Methode :func:`register_shape`." -#: ../../library/turtle.rst:1216 +#: ../../library/turtle.rst:1218 msgid "" ">>> turtle.shape()\n" "'classic'\n" @@ -2020,7 +2023,7 @@ msgstr "" ">>> turtle.shape()\n" "'turtle'" -#: ../../library/turtle.rst:1230 +#: ../../library/turtle.rst:1232 #, fuzzy msgid "" "Set the resizemode to \"auto\", \"user\" or \"noresize\". If *rmode* is not " @@ -2031,7 +2034,7 @@ msgstr "" "*rmode* nicht angegeben, wird der aktuelle resizemode zurückgegeben. Die " "verschiedenen resizemodes haben folgende Auswirkungen:" -#: ../../library/turtle.rst:1234 +#: ../../library/turtle.rst:1236 #, fuzzy msgid "" "\"auto\": the turtle is resized according to the value of :func:`pensize`." @@ -2039,7 +2042,7 @@ msgstr "" "\"auto\": passt das Erscheinungsbild der Turtle entsprechend dem Wert von " "pensize an." -#: ../../library/turtle.rst:1235 +#: ../../library/turtle.rst:1237 #, fuzzy msgid "" "\"user\": the turtle is resized according to the stretch factors and outline " @@ -2049,11 +2052,11 @@ msgstr "" "stretchfactor und outlinewidth (outline) an, die durch :func:`shapesize` " "gesetzt werden." -#: ../../library/turtle.rst:1237 +#: ../../library/turtle.rst:1239 msgid "\"noresize\": the turtle is not resized." msgstr "" -#: ../../library/turtle.rst:1239 +#: ../../library/turtle.rst:1241 msgid "" "``resizemode(\"user\")`` is called by :func:`shapesize` when used with " "arguments." @@ -2061,7 +2064,7 @@ msgstr "" "``resizemode(\"user\")`` wird von :func:`shapesize` aufgerufen, wenn es mit " "Argumenten verwendet wird." -#: ../../library/turtle.rst:1242 +#: ../../library/turtle.rst:1244 msgid "" ">>> turtle.resizemode()\n" "'noresize'\n" @@ -2075,7 +2078,7 @@ msgstr "" ">>> turtle.resizemode()\n" "'auto'" -#: ../../library/turtle.rst:1259 +#: ../../library/turtle.rst:1261 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 " @@ -2083,11 +2086,11 @@ msgid "" "factors:" msgstr "" -#: ../../library/turtle.rst:1264 +#: ../../library/turtle.rst:1266 msgid "*stretch_wid*: the stretch factor perpendicular to the turtle's heading" msgstr "" -#: ../../library/turtle.rst:1265 +#: ../../library/turtle.rst:1267 #, fuzzy msgid "" "*stretch_len*: the stretch factor in the direction of the turtle's heading" @@ -2095,18 +2098,18 @@ msgstr "" "Bewege die Turtle um die angegebene *distance* vorwärts, in die Richtung, in " "die die Turtle blickt." -#: ../../library/turtle.rst:1267 +#: ../../library/turtle.rst:1269 msgid "*outline*: the width of the shape's outline" msgstr "" -#: ../../library/turtle.rst:1269 +#: ../../library/turtle.rst:1271 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 " "the same value." msgstr "" -#: ../../library/turtle.rst:1273 +#: ../../library/turtle.rst:1275 msgid "" ">>> turtle.shapesize()\n" "(1.0, 1.0, 1)\n" @@ -2128,7 +2131,7 @@ msgstr "" ">>> turtle.shapesize()\n" "(5, 5, 8)" -#: ../../library/turtle.rst:1291 +#: ../../library/turtle.rst:1293 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 " @@ -2139,7 +2142,7 @@ msgid "" "change. Precisely, the shear factor is the tangent of the shear angle." msgstr "" -#: ../../library/turtle.rst:1299 +#: ../../library/turtle.rst:1301 msgid "" ">>> turtle.shape(\"circle\")\n" ">>> turtle.shapesize(5,2)\n" @@ -2153,7 +2156,7 @@ msgstr "" ">>> turtle.shearfactor()\n" "0.5" -#: ../../library/turtle.rst:1313 +#: ../../library/turtle.rst:1315 #, fuzzy msgid "" "Turn the turtle shape by *angle* from its current tilt angle. The turtle's " @@ -2163,7 +2166,7 @@ msgstr "" "Drehe die Form der Turtle um *angle* von ihrem aktuellen Kippwinkel aus, " "ändere aber *nicht* die Ausrichtung der Turtle (Bewegungsrichtung)." -#: ../../library/turtle.rst:1317 +#: ../../library/turtle.rst:1319 msgid "" ">>> turtle.reset()\n" ">>> turtle.shape(\"circle\")\n" @@ -2181,7 +2184,7 @@ msgstr "" ">>> turtle.tilt(30)\n" ">>> turtle.fd(50)" -#: ../../library/turtle.rst:1333 +#: ../../library/turtle.rst:1335 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 " @@ -2192,7 +2195,7 @@ msgid "" "angle." msgstr "" -#: ../../library/turtle.rst:1341 +#: ../../library/turtle.rst:1343 msgid "" ">>> turtle.reset()\n" ">>> turtle.shape(\"circle\")\n" @@ -2208,7 +2211,7 @@ msgstr "" ">>> turtle.tiltangle()\n" "45.0" -#: ../../library/turtle.rst:1359 +#: ../../library/turtle.rst:1361 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 " @@ -2219,7 +2222,7 @@ msgid "" "* t21`` must not be zero, otherwise an error is raised." msgstr "" -#: ../../library/turtle.rst:1367 +#: ../../library/turtle.rst:1369 msgid "" ">>> turtle = Turtle()\n" ">>> turtle.shape(\"square\")\n" @@ -2235,18 +2238,18 @@ msgstr "" ">>> turtle.shapetransform()\n" "(4.0, -1.0, -0.0, 2.0)" -#: ../../library/turtle.rst:1380 +#: ../../library/turtle.rst:1382 #, 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 "" "Gib das aktuelle Formen-Polygon als Tupel von Koordinatenpaaren zurück. Dies " "kann verwendet werden, um eine neue Form oder Komponenten einer " "zusammengesetzten Form zu definieren." -#: ../../library/turtle.rst:1384 +#: ../../library/turtle.rst:1386 msgid "" ">>> turtle.shape(\"square\")\n" ">>> turtle.shapetransform(4, -1, 0, 2)\n" @@ -2258,31 +2261,33 @@ msgstr "" ">>> turtle.get_shapepoly()\n" "((50, -20), (30, 20), (-50, 20), (-30, -20))" -#: ../../library/turtle.rst:1394 +#: ../../library/turtle.rst:1396 msgid "Using events" msgstr "Ereignisse verwenden" -#: ../../library/turtle.rst:1399 ../../library/turtle.rst:1899 +#: ../../library/turtle.rst:1401 ../../library/turtle.rst:1424 +#: ../../library/turtle.rst:1452 ../../library/turtle.rst:1904 #, fuzzy msgid "a function with two arguments or ``None``" msgstr "eine Funktion ohne Argumente oder ``None``" -#: ../../library/turtle.rst:1401 ../../library/turtle.rst:1901 +#: ../../library/turtle.rst:1403 ../../library/turtle.rst:1426 +#: ../../library/turtle.rst:1454 ../../library/turtle.rst:1906 #, fuzzy msgid "a boolean or ``None``" msgstr "eine Zahl oder ``None``" -#: ../../library/turtle.rst:1403 +#: ../../library/turtle.rst:1405 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 "" -#: ../../library/turtle.rst:1410 +#: ../../library/turtle.rst:1412 msgid "" ">>> def turn(x, y):\n" "... left(180)\n" @@ -2296,39 +2301,23 @@ msgstr "" ">>> onclick(turn) # Now clicking into the turtle will turn it.\n" ">>> onclick(None) # event-binding will be removed" -#: ../../library/turtle.rst:1422 ../../library/turtle.rst:1447 -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:1424 ../../library/turtle.rst:1449 -msgid "number of the mouse-button, defaults to 1 (left mouse button)" -msgstr "Nummer der Maustaste, standardmäßig 1 (linke Maustaste)" - -#: ../../library/turtle.rst:1425 ../../library/turtle.rst:1450 -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:1428 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." -#: ../../library/turtle.rst:1431 +#: ../../library/turtle.rst:1435 +#, 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" @@ -2348,39 +2337,34 @@ msgstr "" "red,\n" ">>> turtle.onrelease(turtle.unglow) # releasing turns it to transparent." -#: ../../library/turtle.rst:1453 -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:1456 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." -#: ../../library/turtle.rst:1459 +#: ../../library/turtle.rst:1464 msgid ">>> turtle.ondrag(turtle.goto)" msgstr ">>> turtle.ondrag(turtle.goto)" -#: ../../library/turtle.rst:1464 +#: ../../library/turtle.rst:1469 +#, 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:1469 +#: ../../library/turtle.rst:1474 msgid "Special Turtle methods" msgstr "Spezielle Turtle-Methoden" -#: ../../library/turtle.rst:1473 +#: ../../library/turtle.rst:1478 #, fuzzy msgid "" "Record the vertices of a polygon drawn in the :keyword:`with` block. The " @@ -2389,7 +2373,7 @@ msgstr "" "Zeichne die Eckpunkte eines Polygons auf, das im ``with turtle.poly():``-" "Block gezeichnet wird. Der erste und letzte Eckpunkt werden verbunden." -#: ../../library/turtle.rst:1476 +#: ../../library/turtle.rst:1481 msgid "" ">>> with turtle.poly():\n" "... turtle.forward(100)\n" @@ -2401,7 +2385,7 @@ msgstr "" "... turtle.right(60)\n" "... turtle.forward(100)" -#: ../../library/turtle.rst:1484 +#: ../../library/turtle.rst:1489 #, fuzzy msgid "" ":func:`poly` is a :term:`context manager`, so using it is the same as " @@ -2411,7 +2395,7 @@ msgstr "" "von :func:`begin_fill` vor dem Füllblock und :func:`end_fill` nach dem " "Füllblock:" -#: ../../library/turtle.rst:1487 +#: ../../library/turtle.rst:1492 #, fuzzy msgid "" ">>> turtle.begin_poly()\n" @@ -2425,7 +2409,7 @@ msgstr "" "... turtle.right(60)\n" "... turtle.forward(100)" -#: ../../library/turtle.rst:1501 +#: ../../library/turtle.rst:1506 #, fuzzy msgid "" "Start recording the vertices of a polygon. The current turtle position is " @@ -2434,7 +2418,7 @@ msgstr "" "Beginne mit dem Aufzeichnen der Eckpunkte eines Polygons. Die aktuelle " "Position der Turtle ist der erste Eckpunkt des Polygons." -#: ../../library/turtle.rst:1507 +#: ../../library/turtle.rst:1512 #, fuzzy msgid "" "Stop recording the vertices of a polygon. The current turtle position is the " @@ -2444,11 +2428,11 @@ msgstr "" "der Turtle ist der letzte Eckpunkt des Polygons. Dieser wird mit dem ersten " "Eckpunkt verbunden." -#: ../../library/turtle.rst:1513 +#: ../../library/turtle.rst:1518 msgid "Return the last recorded polygon." msgstr "Gib das zuletzt aufgezeichnete Polygon zurück." -#: ../../library/turtle.rst:1515 +#: ../../library/turtle.rst:1520 msgid "" ">>> turtle.home()\n" ">>> turtle.begin_poly()\n" @@ -2472,7 +2456,7 @@ msgstr "" ">>> p = turtle.get_poly()\n" ">>> register_shape(\"myFavouriteShape\", p)" -#: ../../library/turtle.rst:1532 +#: ../../library/turtle.rst:1537 #, fuzzy msgid "" "Create and return a clone of the turtle. The clone has the same position, " @@ -2481,7 +2465,7 @@ msgstr "" "Erstelle und gib einen Klon der Turtle mit derselben Position, Ausrichtung " "und denselben Turtle-Eigenschaften zurück." -#: ../../library/turtle.rst:1535 +#: ../../library/turtle.rst:1540 #, fuzzy msgid "" ">>> leonel = Turtle()\n" @@ -2490,18 +2474,18 @@ msgstr "" ">>> mick = Turtle()\n" ">>> joe = mick.clone()" -#: ../../library/turtle.rst:1545 +#: ../../library/turtle.rst:1550 #, fuzzy msgid "Return the Turtle object itself." msgstr "Gib die x-Koordinate der Turtle zurück." -#: ../../library/turtle.rst:1547 +#: ../../library/turtle.rst:1552 msgid "" "Call ``getturtle()`` to get the turtle used by functions such " "as :func:`forward` and :func:`left`:" msgstr "" -#: ../../library/turtle.rst:1550 +#: ../../library/turtle.rst:1555 msgid "" ">>> pet = getturtle()\n" ">>> pet.fd(50)\n" @@ -2513,7 +2497,7 @@ msgstr "" ">>> pet\n" "" -#: ../../library/turtle.rst:1561 +#: ../../library/turtle.rst:1566 msgid "" "Return the :class:`TurtleScreen` object the turtle is drawing on. " "TurtleScreen methods can then be called for that object." @@ -2521,7 +2505,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:1564 +#: ../../library/turtle.rst:1569 msgid "" ">>> ts = turtle.getscreen()\n" ">>> ts\n" @@ -2533,7 +2517,7 @@ msgstr "" "\n" ">>> ts.bgcolor(\"pink\")" -#: ../../library/turtle.rst:1577 +#: ../../library/turtle.rst:1582 #, fuzzy msgid "" "Set or disable the undo buffer. If *size* is an integer, an empty undo " @@ -2547,28 +2531,29 @@ msgstr "" "Funktion :func:`undo` rückgängig gemacht werden können. Ist *size* ``None``, " "wird der Undo-Puffer deaktiviert." -#: ../../library/turtle.rst:1582 +#: ../../library/turtle.rst:1587 msgid ">>> turtle.setundobuffer(42)" msgstr ">>> turtle.setundobuffer(42)" -#: ../../library/turtle.rst:1590 +#: ../../library/turtle.rst:1595 #, fuzzy 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:1592 +#: ../../library/turtle.rst:1597 +#, fuzzy msgid "" -">>> while undobufferentries():\n" -"... undo()" +">>> while turtle.undobufferentries():\n" +"... turtle.undo()" msgstr "" ">>> while undobufferentries():\n" "... undo()" -#: ../../library/turtle.rst:1603 +#: ../../library/turtle.rst:1608 msgid "Screen methods and functions" msgstr "" -#: ../../library/turtle.rst:1605 +#: ../../library/turtle.rst:1610 msgid "" "Most of the examples in this section refer to a TurtleScreen instance called " "``screen``." @@ -2576,19 +2561,19 @@ msgstr "" "Die meisten Beispiele in diesem Abschnitt beziehen sich auf eine " "TurtleScreen-Instanz namens ``screen``." -#: ../../library/turtle.rst:1616 +#: ../../library/turtle.rst:1621 msgid "Window control" msgstr "Fenstersteuerung" -#: ../../library/turtle.rst:1622 +#: ../../library/turtle.rst:1627 msgid "Return or set the background color of the TurtleScreen." msgstr "Gib die Hintergrundfarbe des TurtleScreen zurück oder setze sie." -#: ../../library/turtle.rst:1626 +#: ../../library/turtle.rst:1631 msgid "``bgcolor()``" msgstr "``bgcolor()``" -#: ../../library/turtle.rst:1627 +#: ../../library/turtle.rst:1632 #, fuzzy msgid "" "Return the current background color as a color specification string or as a " @@ -2600,11 +2585,11 @@ msgstr "" "zurück (siehe Beispiel). Kann als Eingabe für einen weiteren color/pencolor/" "fillcolor/bgcolor-Aufruf verwendet werden." -#: ../../library/turtle.rst:1632 +#: ../../library/turtle.rst:1637 msgid "``bgcolor(colorstring)``" msgstr "``bgcolor(colorstring)``" -#: ../../library/turtle.rst:1633 +#: ../../library/turtle.rst:1638 msgid "" "Set the background color to *colorstring*, which is a Tk color specification " "string, such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." @@ -2612,11 +2597,11 @@ msgstr "" "Setzt die Hintergrundfarbe auf *colorstring*, eine Tk-Farbangabe als " "Zeichenkette, etwa ``\"red\"``, ``\"yellow\"`` oder ``\"#33cc8c\"``." -#: ../../library/turtle.rst:1636 +#: ../../library/turtle.rst:1641 msgid "``bgcolor((r, g, b))``" msgstr "``bgcolor((r, g, b))``" -#: ../../library/turtle.rst:1637 +#: ../../library/turtle.rst:1642 #, fuzzy msgid "" "Set the background color to the RGB color represented by the tuple of *r*, " @@ -2628,11 +2613,11 @@ msgstr "" "0..colormode liegen, wobei colormode entweder 1.0 oder 255 ist " "(siehe :func:`colormode`)." -#: ../../library/turtle.rst:1642 +#: ../../library/turtle.rst:1647 msgid "``bgcolor(r, g, b)``" msgstr "``bgcolor(r, g, b)``" -#: ../../library/turtle.rst:1643 +#: ../../library/turtle.rst:1648 #, fuzzy msgid "" "Set the background color to the RGB color represented by *r*, *g*, and *b*. " @@ -2641,7 +2626,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:1646 +#: ../../library/turtle.rst:1651 msgid "" ">>> screen.bgcolor(\"orange\")\n" ">>> screen.bgcolor()\n" @@ -2657,7 +2642,7 @@ msgstr "" ">>> screen.bgcolor()\n" "(128.0, 0.0, 128.0)" -#: ../../library/turtle.rst:1661 +#: ../../library/turtle.rst:1666 #, fuzzy msgid "" "Set the background image or return the name of the current one. If *picname* " @@ -2672,7 +2657,7 @@ msgstr "" "gelöscht, falls vorhanden. Ist *picname* ``None``, wird der Dateiname des " "aktuellen Hintergrundbilds zurückgegeben. ::" -#: ../../library/turtle.rst:1667 +#: ../../library/turtle.rst:1672 #, fuzzy msgid "" ">>> screen.bgpic()\n" @@ -2687,7 +2672,7 @@ msgstr "" ">>> screen.bgpic()\n" "\"landscape.gif\"" -#: ../../library/turtle.rst:1678 +#: ../../library/turtle.rst:1683 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``clearscreen``. The global function ``clear`` is a different one " @@ -2697,7 +2682,7 @@ msgstr "" "``clearscreen`` verfügbar. Die globale Funktion ``clear`` ist eine andere, " "die von der Turtle-Methode ``clear`` abgeleitet ist." -#: ../../library/turtle.rst:1685 +#: ../../library/turtle.rst:1690 msgid "" "Delete all drawings and all turtles from the TurtleScreen. Reset the now " "empty TurtleScreen to its initial state: white background, no background " @@ -2707,7 +2692,7 @@ msgstr "" "leeren TurtleScreen auf seinen Ausgangszustand zurück: weißer Hintergrund, " "kein Hintergrundbild, keine Ereignisbindungen und Tracing aktiviert." -#: ../../library/turtle.rst:1694 +#: ../../library/turtle.rst:1699 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``resetscreen``. The global function ``reset`` is another one derived " @@ -2717,17 +2702,17 @@ msgstr "" "``resetscreen`` verfügbar. Die globale Funktion ``reset`` ist eine andere, " "die von der Turtle-Methode ``reset`` abgeleitet ist." -#: ../../library/turtle.rst:1701 +#: ../../library/turtle.rst:1706 #, fuzzy 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:1708 +#: ../../library/turtle.rst:1713 #, fuzzy -msgid "a colorstring or a color tuple or ``None``" -msgstr "ein Farbstring oder ein numerisches Farb-Tupel" +msgid "a colorstring or ``None``" +msgstr "eine Ganzzahl oder ``None``" -#: ../../library/turtle.rst:1710 +#: ../../library/turtle.rst:1715 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 " @@ -2735,7 +2720,7 @@ msgid "" "and height." msgstr "" -#: ../../library/turtle.rst:1715 +#: ../../library/turtle.rst:1720 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 " @@ -2743,7 +2728,7 @@ msgid "" "off the canvas." msgstr "" -#: ../../library/turtle.rst:1720 +#: ../../library/turtle.rst:1725 msgid "" ">>> screen.screensize()\n" "(400, 300)\n" @@ -2757,7 +2742,7 @@ msgstr "" ">>> screen.screensize()\n" "(2000, 1500)" -#: ../../library/turtle.rst:1737 +#: ../../library/turtle.rst:1742 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 " @@ -2767,7 +2752,7 @@ msgid "" "coordinate systems, angles may appear distorted, see :func:`mode`." msgstr "" -#: ../../library/turtle.rst:1744 +#: ../../library/turtle.rst:1749 msgid "" ">>> screen.reset()\n" ">>> screen.setworldcoordinates(-50,-7.5,50,7.5)\n" @@ -2785,11 +2770,11 @@ msgstr "" ">>> for _ in range(8):\n" "... left(45); fd(2) # a regular octagon" -#: ../../library/turtle.rst:1765 +#: ../../library/turtle.rst:1770 msgid "Animation control" msgstr "Animationskontrolle" -#: ../../library/turtle.rst:1769 +#: ../../library/turtle.rst:1774 #, fuzzy msgid "" "Temporarily turn off turtle animation. The code inside the :keyword:`with` " @@ -2801,7 +2786,7 @@ msgstr "" "``no_animation``-Blocks geschrieben wird, wird nicht animiert; sobald der " "Codeblock verlassen wird, erscheint die Zeichnung." -#: ../../library/turtle.rst:1774 +#: ../../library/turtle.rst:1779 msgid "" ">>> with screen.no_animation():\n" "... for dist in range(2, 400, 2):\n" @@ -2813,13 +2798,13 @@ msgstr "" "... fd(dist)\n" "... rt(90)" -#: ../../library/turtle.rst:1787 ../../library/turtle.rst:1805 -#: ../../library/turtle.rst:1806 +#: ../../library/turtle.rst:1792 ../../library/turtle.rst:1810 +#: ../../library/turtle.rst:1811 #, fuzzy msgid "a nonnegative integer or ``None``" msgstr "eine Ganzzahl oder ``None``" -#: ../../library/turtle.rst:1789 +#: ../../library/turtle.rst:1794 #, fuzzy msgid "" "Return or set the drawing delay in milliseconds. This is approximately the " @@ -2831,7 +2816,7 @@ msgstr "" "Aktualisierungen der Zeichenfläche.) Je länger die Zeichen-delay, desto " "langsamer die Animation." -#: ../../library/turtle.rst:1793 +#: ../../library/turtle.rst:1798 msgid "" ">>> screen.delay()\n" "10\n" @@ -2845,7 +2830,7 @@ msgstr "" ">>> screen.delay()\n" "5" -#: ../../library/turtle.rst:1808 +#: ../../library/turtle.rst:1813 #, fuzzy msgid "" "Turn turtle animation on or off and set the drawing delay. If *n* is given, " @@ -2862,7 +2847,7 @@ msgstr "" "aufgerufen, wird der aktuell gespeicherte Wert von n zurückgegeben. Das " "zweite Argument setzt den Verzögerungswert (siehe :func:`delay`)." -#: ../../library/turtle.rst:1815 +#: ../../library/turtle.rst:1820 msgid "" ">>> screen.tracer(8, 25)\n" ">>> dist = 2\n" @@ -2878,25 +2863,27 @@ msgstr "" "... rt(90)\n" "... dist += 2" -#: ../../library/turtle.rst:1828 -msgid "Perform a TurtleScreen update. To be used when tracer is turned off." +#: ../../library/turtle.rst:1833 +#, 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:1830 +#: ../../library/turtle.rst:1835 msgid "See also the RawTurtle/Turtle method :func:`speed`." msgstr "Siehe auch die RawTurtle/Turtle-Methode :func:`speed`." -#: ../../library/turtle.rst:1834 +#: ../../library/turtle.rst:1839 msgid "Using screen events" msgstr "Screen-Events verwenden" -#: ../../library/turtle.rst:1838 ../../library/turtle.rst:1839 +#: ../../library/turtle.rst:1843 ../../library/turtle.rst:1844 msgid "ignored" msgstr "" -#: ../../library/turtle.rst:1841 +#: ../../library/turtle.rst:1846 #, fuzzy msgid "" "Set focus on the :class:`TurtleScreen` so that it receives key events. The " @@ -2907,11 +2894,11 @@ msgstr "" "Argumente werden bereitgestellt, um :func:`listen` an die onclick-Methode " "übergeben zu können." -#: ../../library/turtle.rst:1849 ../../library/turtle.rst:1873 +#: ../../library/turtle.rst:1854 ../../library/turtle.rst:1878 msgid "a function with no arguments or ``None``" msgstr "eine Funktion ohne Argumente oder ``None``" -#: ../../library/turtle.rst:1852 +#: ../../library/turtle.rst:1857 #, fuzzy msgid "" "Bind *fun* to the key-release event of *key*. *key* is a key, such as \"a\", " @@ -2924,7 +2911,7 @@ msgstr "" "registrieren zu können, muss TurtleScreen den Fokus haben. (Siehe " "Methode :func:`listen`.)" -#: ../../library/turtle.rst:1857 +#: ../../library/turtle.rst:1862 msgid "" ">>> def f():\n" "... fd(50)\n" @@ -2940,13 +2927,13 @@ msgstr "" ">>> screen.onkey(f, \"Up\")\n" ">>> screen.listen()" -#: ../../library/turtle.rst:1867 +#: ../../library/turtle.rst:1872 msgid "" "The turtle can then be moved by repeatedly pressing the up-arrow key, " "drawing a hexagon." msgstr "" -#: ../../library/turtle.rst:1876 +#: ../../library/turtle.rst:1881 #, fuzzy msgid "" "Bind *fun* to the key-press event of *key*. *key* is a key, such as \"a\", " @@ -2960,7 +2947,7 @@ msgstr "" "Um Tastatur-Ereignisse registrieren zu können, muss TurtleScreen den Fokus " "haben. (Siehe Methode :func:`listen`.)" -#: ../../library/turtle.rst:1882 +#: ../../library/turtle.rst:1887 #, fuzzy msgid "" ">>> def f():\n" @@ -2977,22 +2964,22 @@ msgstr "" ">>> screen.onkey(f, \"Up\")\n" ">>> screen.listen()" -#: ../../library/turtle.rst:1892 +#: ../../library/turtle.rst:1897 msgid "" "The turtle can then be moved by pressing or holding down the up-arrow key, " "drawing a hexagon." msgstr "" -#: ../../library/turtle.rst:1903 +#: ../../library/turtle.rst:1908 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 "" -#: ../../library/turtle.rst:1909 +#: ../../library/turtle.rst:1914 msgid "" "Example for a TurtleScreen instance named ``screen`` and a Turtle instance " "named ``turtle``:" @@ -3000,7 +2987,7 @@ msgstr "" "Beispiel für eine TurtleScreen-Instanz namens ``screen`` und eine Turtle-" "Instanz namens ``turtle``:" -#: ../../library/turtle.rst:1912 +#: ../../library/turtle.rst:1917 msgid "" ">>> screen.onclick(turtle.goto) # Subsequently clicking into the " "TurtleScreen will\n" @@ -3014,7 +3001,7 @@ msgstr "" "point.\n" ">>> screen.onclick(None) # remove event binding again" -#: ../../library/turtle.rst:1920 +#: ../../library/turtle.rst:1925 msgid "" "This TurtleScreen method is available as a global function only under the " "name ``onscreenclick``. The global function ``onclick`` is another one " @@ -3024,20 +3011,20 @@ msgstr "" "``onscreenclick`` verfügbar. Die globale Funktion ``onclick`` ist eine " "andere, die von der Turtle-Methode ``onclick`` abgeleitet ist." -#: ../../library/turtle.rst:1927 +#: ../../library/turtle.rst:1932 msgid "a function with no arguments" msgstr "eine Funktion ohne Argumente" -#: ../../library/turtle.rst:1928 +#: ../../library/turtle.rst:1933 #, fuzzy msgid "a nonnegative number" msgstr "nichtnegative Ganzzahl" -#: ../../library/turtle.rst:1930 +#: ../../library/turtle.rst:1935 msgid "Install a timer that calls *fun* after *t* milliseconds." msgstr "Installiere einen Timer, der *fun* nach *t* Millisekunden aufruft." -#: ../../library/turtle.rst:1932 +#: ../../library/turtle.rst:1937 #, fuzzy msgid "" ">>> running = True\n" @@ -3058,7 +3045,7 @@ msgstr "" ">>> f() ### makes the turtle march around\n" ">>> running = False" -#: ../../library/turtle.rst:1948 +#: ../../library/turtle.rst:1953 #, fuzzy msgid "" "Start the event loop by calling Tkinter's :meth:`~tkinter.Misc.mainloop` " @@ -3072,11 +3059,11 @@ msgstr "" "Subprozess) ausgeführt wird – für die interaktive Verwendung von Turtle-" "Grafik. ::" -#: ../../library/turtle.rst:1955 +#: ../../library/turtle.rst:1960 msgid "Input methods" msgstr "Eingabemethoden" -#: ../../library/turtle.rst:1962 +#: ../../library/turtle.rst:1967 #, fuzzy msgid "" "Pop up a dialog window for input of a string. *title* is the title of the " @@ -3088,18 +3075,18 @@ msgstr "" "welche Information einzugeben ist. Gib die eingegebene Zeichenkette zurück. " "Wird der Dialog abgebrochen, wird ``None`` zurückgegeben. ::" -#: ../../library/turtle.rst:1966 +#: ../../library/turtle.rst:1971 msgid ">>> screen.textinput(\"NIM\", \"Name of first player:\")" msgstr ">>> screen.textinput(\"NIM\", \"Name of first player:\")" -#: ../../library/turtle.rst:1977 +#: ../../library/turtle.rst:1982 #, 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 "" @@ -3112,7 +3099,7 @@ msgstr "" "Korrektur geöffnet. Gib die eingegebene Zahl zurück. Wird der Dialog " "abgebrochen, wird ``None`` zurückgegeben. ::" -#: ../../library/turtle.rst:1985 +#: ../../library/turtle.rst:1990 msgid "" ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, " "maxval=10000)" @@ -3120,11 +3107,11 @@ msgstr "" ">>> screen.numinput(\"Poker\", \"Your stakes:\", 1000, minval=10, " "maxval=10000)" -#: ../../library/turtle.rst:1989 +#: ../../library/turtle.rst:1994 msgid "Settings and special methods" msgstr "Einstellungen und spezielle Methoden" -#: ../../library/turtle.rst:1995 +#: ../../library/turtle.rst:2000 #, fuzzy msgid "" "Set the turtle mode and perform a reset. *mode* is one of the strings " @@ -3135,7 +3122,7 @@ msgstr "" "Reset durch. Wird mode nicht angegeben, wird der aktuelle Modus " "zurückgegeben." -#: ../../library/turtle.rst:1999 +#: ../../library/turtle.rst:2004 #, fuzzy msgid "" "Mode \"standard\" is compatible with the old :mod:`!turtle` module. Mode " @@ -3149,43 +3136,43 @@ msgstr "" "**Achtung**: In diesem Modus erscheinen Winkel verzerrt, wenn das ``x/y``-" "Einheitsverhältnis nicht gleich 1 ist." -#: ../../library/turtle.rst:2005 +#: ../../library/turtle.rst:2010 msgid "Mode" msgstr "Modus" -#: ../../library/turtle.rst:2005 +#: ../../library/turtle.rst:2010 msgid "Initial turtle heading" msgstr "Anfängliche Ausrichtung der Turtle" -#: ../../library/turtle.rst:2005 +#: ../../library/turtle.rst:2010 msgid "positive angles" msgstr "positive Winkel" -#: ../../library/turtle.rst:2007 +#: ../../library/turtle.rst:2012 msgid "\"standard\"" msgstr "\"standard\"" -#: ../../library/turtle.rst:2007 +#: ../../library/turtle.rst:2012 msgid "to the right (east)" msgstr "nach rechts (Osten)" -#: ../../library/turtle.rst:2007 +#: ../../library/turtle.rst:2012 msgid "counterclockwise" msgstr "gegen den Uhrzeigersinn" -#: ../../library/turtle.rst:2008 +#: ../../library/turtle.rst:2013 msgid "\"logo\"" msgstr "\"logo\"" -#: ../../library/turtle.rst:2008 +#: ../../library/turtle.rst:2013 msgid "upward (north)" msgstr "nach oben (Norden)" -#: ../../library/turtle.rst:2008 +#: ../../library/turtle.rst:2013 msgid "clockwise" msgstr "im Uhrzeigersinn" -#: ../../library/turtle.rst:2011 +#: ../../library/turtle.rst:2016 #, fuzzy msgid "" ">>> mode(\"logo\") # resets turtle heading to north\n" @@ -3196,7 +3183,7 @@ msgstr "" ">>> mode()\n" "'logo'" -#: ../../library/turtle.rst:2023 +#: ../../library/turtle.rst:2028 #, fuzzy msgid "" "Return the colormode or set it to 1.0 or 255. After setting it, the *r*, *g* " @@ -3205,13 +3192,14 @@ msgstr "" "Gib den colormode zurück oder setze ihn auf 1.0 oder 255. Anschließend " "müssen die Werte *r*, *g*, *b* von Farb-Tripeln im Bereich 0..*cmode* liegen." -#: ../../library/turtle.rst:2026 +#: ../../library/turtle.rst:2031 +#, 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" @@ -3231,7 +3219,7 @@ msgstr "" "255\n" ">>> turtle.pencolor(240,160,80)" -#: ../../library/turtle.rst:2044 +#: ../../library/turtle.rst:2049 msgid "" "Return the Canvas of this TurtleScreen. Useful for insiders who know what " "to do with a Tkinter Canvas." @@ -3239,7 +3227,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:2047 +#: ../../library/turtle.rst:2052 msgid "" ">>> cv = screen.getcanvas()\n" ">>> cv\n" @@ -3249,12 +3237,12 @@ msgstr "" ">>> cv\n" "" -#: ../../library/turtle.rst:2057 +#: ../../library/turtle.rst:2062 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:2059 +#: ../../library/turtle.rst:2064 msgid "" ">>> screen.getshapes()\n" "['arrow', 'blank', 'circle', ..., 'turtle']" @@ -3262,19 +3250,19 @@ msgstr "" ">>> screen.getshapes()\n" "['arrow', 'blank', 'circle', ..., 'turtle']" -#: ../../library/turtle.rst:2070 +#: ../../library/turtle.rst:2075 msgid "" "a string, a tuple of pairs of numbers, a :class:`Shape` object or ``None``" msgstr "" -#: ../../library/turtle.rst:2073 +#: ../../library/turtle.rst:2078 #, fuzzy msgid "" "Add a turtle shape to the TurtleScreen's shape list. It can be called in " "four different ways:" msgstr "Füge nun die Shape zur Formenliste des Screens hinzu und verwende sie:" -#: ../../library/turtle.rst:2076 +#: ../../library/turtle.rst:2081 msgid "" "*name* is the name of an image file (PNG, GIF, PGM, and PPM) and *shape* is " "``None``: Install the corresponding image shape. ::" @@ -3282,11 +3270,11 @@ msgstr "" "*name* ist der Name einer Bilddatei (PNG, GIF, PGM und PPM) und *shape* ist " "``None``: Installiere die entsprechende Bildform. ::" -#: ../../library/turtle.rst:2079 +#: ../../library/turtle.rst:2084 msgid ">>> screen.register_shape(\"turtle.gif\")" msgstr ">>> screen.register_shape(\"turtle.gif\")" -#: ../../library/turtle.rst:2081 +#: ../../library/turtle.rst:2086 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. ::" @@ -3294,11 +3282,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:2084 +#: ../../library/turtle.rst:2089 msgid ">>> screen.register_shape(\"turtle\", \"turtle.gif\")" msgstr ">>> screen.register_shape(\"turtle\", \"turtle.gif\")" -#: ../../library/turtle.rst:2086 +#: ../../library/turtle.rst:2091 msgid "" "*name* is an arbitrary string and *shape* is a tuple of pairs of " "coordinates: Install the corresponding polygon shape." @@ -3306,11 +3294,11 @@ msgstr "" "*name* ist eine beliebige Zeichenkette und *shape* ist ein Tupel aus " "Koordinatenpaaren: Installiere die entsprechende Polygonform." -#: ../../library/turtle.rst:2089 +#: ../../library/turtle.rst:2094 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:2094 +#: ../../library/turtle.rst:2099 msgid "" "*name* is an arbitrary string and *shape* is a (compound) :class:`Shape` " "object: Install the corresponding compound shape." @@ -3319,7 +3307,7 @@ msgstr "" "(zusammengesetztes) :class:`Shape`-Objekt: Installiere die entsprechende " "zusammengesetzte Form." -#: ../../library/turtle.rst:2097 +#: ../../library/turtle.rst:2102 #, fuzzy msgid "" "Image shapes do not rotate when turning the turtle, so they do not display " @@ -3329,7 +3317,7 @@ msgstr "" "Bildformen drehen sich *nicht* mit, wenn die Turtle gedreht wird, sie zeigen " "also nicht die Ausrichtung der Turtle an!" -#: ../../library/turtle.rst:2101 +#: ../../library/turtle.rst:2106 msgid "" "Added support for PNG, PGM, and PPM image formats. Both a shape name and an " "image file name can be specified." @@ -3337,11 +3325,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:2108 +#: ../../library/turtle.rst:2113 msgid "Return the list of turtles on the screen." msgstr "Gib die Liste der Turtles auf dem Screen zurück." -#: ../../library/turtle.rst:2110 +#: ../../library/turtle.rst:2115 msgid "" ">>> for turtle in screen.turtles():\n" "... turtle.color(\"red\")" @@ -3349,11 +3337,11 @@ msgstr "" ">>> for turtle in screen.turtles():\n" "... turtle.color(\"red\")" -#: ../../library/turtle.rst:2119 +#: ../../library/turtle.rst:2124 msgid "Return the height of the turtle window. ::" msgstr "Gib die Höhe des Turtle-Fensters zurück. ::" -#: ../../library/turtle.rst:2121 +#: ../../library/turtle.rst:2126 msgid "" ">>> screen.window_height()\n" "480" @@ -3361,11 +3349,11 @@ msgstr "" ">>> screen.window_height()\n" "480" -#: ../../library/turtle.rst:2127 +#: ../../library/turtle.rst:2132 msgid "Return the width of the turtle window. ::" msgstr "Gib die Weite des Turtle-Fensters zurück. ::" -#: ../../library/turtle.rst:2129 +#: ../../library/turtle.rst:2134 msgid "" ">>> screen.window_width()\n" "640" @@ -3373,35 +3361,7 @@ msgstr "" ">>> screen.window_width()\n" "640" -#: ../../library/turtle.rst:2137 -#, fuzzy -msgid "Screen-only methods" -msgstr "Turtle-Methoden" - -#: ../../library/turtle.rst:2141 -#, fuzzy -msgid "Close the turtle graphics window." -msgstr "Schließe das Turtle-Grafikfenster." - -#: ../../library/turtle.rst:2146 -msgid "Bind ``bye()`` method to mouse clicks on the Screen." -msgstr "Binde die Methode ``bye()`` an Mausklicks auf dem Screen." - -#: ../../library/turtle.rst:2149 -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:2161 +#: ../../library/turtle.rst:2143 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 " @@ -3410,7 +3370,7 @@ msgid "" "*overwrite* must be given by name, as in ``overwrite=True``." msgstr "" -#: ../../library/turtle.rst:2167 +#: ../../library/turtle.rst:2149 msgid "" ">>> screen.save(\"my_drawing.ps\")\n" ">>> screen.save(\"my_drawing.ps\", overwrite=True)" @@ -3418,63 +3378,77 @@ msgstr "" ">>> screen.save(\"my_drawing.ps\")\n" ">>> screen.save(\"my_drawing.ps\", overwrite=True)" -#: ../../library/turtle.rst:2178 -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:2162 +#, fuzzy +msgid "Screen-only methods" +msgstr "Turtle-Methoden" -#: ../../library/turtle.rst:2182 +#: ../../library/turtle.rst:2166 +#, fuzzy +msgid "Close the turtle graphics window." +msgstr "Schließe das Turtle-Grafikfenster." + +#: ../../library/turtle.rst:2171 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:2179 ../../library/turtle.rst:2180 +#, fuzzy +msgid "an integer or a float" +msgstr "eine Zahl (Ganzzahl oder Gleitkommazahl)" #: ../../library/turtle.rst:2184 -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:2186 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:2189 +#: ../../library/turtle.rst:2190 +#, 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:2193 +#: ../../library/turtle.rst:2195 +#, 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:2198 +#, 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:2206 +#: ../../library/turtle.rst:2211 #, fuzzy msgid "" "Set the title of the turtle window to *titlestring*. The title is shown in " @@ -3483,15 +3457,15 @@ msgstr "" "eine Zeichenkette, die in der Titelleiste des Turtle-Grafikfensters " "angezeigt wird" -#: ../../library/turtle.rst:2209 +#: ../../library/turtle.rst:2214 msgid ">>> screen.title(\"Welcome to the turtle zoo!\")" msgstr ">>> screen.title(\"Welcome to the turtle zoo!\")" -#: ../../library/turtle.rst:2216 +#: ../../library/turtle.rst:2221 msgid "Public classes" msgstr "Öffentliche Klassen" -#: ../../library/turtle.rst:2221 +#: ../../library/turtle.rst:2226 msgid "" "a :class:`!tkinter.Canvas`, a :class:`ScrolledCanvas` or " "a :class:`TurtleScreen`" @@ -3499,15 +3473,16 @@ msgstr "" "ein :class:`!tkinter.Canvas`, ein :class:`ScrolledCanvas` oder " "ein :class:`TurtleScreen`" -#: ../../library/turtle.rst:2224 +#: ../../library/turtle.rst:2229 +#, 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:2230 +#: ../../library/turtle.rst:2235 msgid "" "Subclass of RawTurtle, has the same interface but draws on a " "default :class:`Screen` object created automatically when needed for the " @@ -3517,46 +3492,46 @@ msgstr "" "einem Standard-:class:`Screen`-Objekt, das automatisch erstellt wird, wenn " "es zum ersten Mal benötigt wird." -#: ../../library/turtle.rst:2236 +#: ../../library/turtle.rst:2241 msgid "a :class:`!tkinter.Canvas`" msgstr "a :class:`!tkinter.Canvas`" -#: ../../library/turtle.rst:2238 +#: ../../library/turtle.rst:2243 +#, 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:2244 +#: ../../library/turtle.rst:2249 msgid "" "Subclass of :class:`TurtleScreen`, with :ref:`four methods added " "`. Calling ``Screen()`` returns the single screen object. If " "it does not exist yet, it is created. Otherwise the existing one is returned." msgstr "" -#: ../../library/turtle.rst:2252 -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:2257 +#, fuzzy +msgid "a Tkinter widget" +msgstr "eine Ganzzahl oder ``None``" -#: ../../library/turtle.rst:2255 +#: ../../library/turtle.rst:2259 +#, 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:2261 +#: ../../library/turtle.rst:2266 msgid "depends on *type_*" msgstr "" -#: ../../library/turtle.rst:2263 +#: ../../library/turtle.rst:2268 msgid "" "Data structure modeling shapes. *type_* is one of the strings \"polygon\", " "\"image\" or \"compound\". What *data* must be depends on *type_*: for " @@ -3565,21 +3540,21 @@ msgid "" "built up using the :meth:`addcomponent` method." msgstr "" -#: ../../library/turtle.rst:2271 +#: ../../library/turtle.rst:2276 #, fuzzy msgid "a tuple of pairs of numbers" msgstr "ein Polygon, d.h. ein Tupel aus Zahlenpaaren" -#: ../../library/turtle.rst:2272 +#: ../../library/turtle.rst:2277 msgid "a color" msgstr "" -#: ../../library/turtle.rst:2273 +#: ../../library/turtle.rst:2278 #, fuzzy msgid "a color or ``None``" msgstr "eine Zahl oder ``None``" -#: ../../library/turtle.rst:2275 +#: ../../library/turtle.rst:2280 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 " @@ -3587,11 +3562,11 @@ msgid "" "is used for it as well." msgstr "" -#: ../../library/turtle.rst:2280 +#: ../../library/turtle.rst:2285 msgid "Example:" msgstr "Beispiel:" -#: ../../library/turtle.rst:2282 +#: ../../library/turtle.rst:2287 #, fuzzy msgid "" ">>> poly = ((0,0), (10,-5), (0,10), (-10,-5))\n" @@ -3604,11 +3579,11 @@ msgstr "" ">>> s.addcomponent(poly, \"red\", \"blue\")\n" ">>> # ... add more components and then use register_shape()" -#: ../../library/turtle.rst:2290 +#: ../../library/turtle.rst:2295 msgid "See :ref:`compoundshapes`." msgstr "Siehe :ref:`compoundshapes`." -#: ../../library/turtle.rst:2295 +#: ../../library/turtle.rst:2300 msgid "" "A two-dimensional vector class, used as a helper class for implementing " "turtle graphics. May be useful for turtle graphics programs too. Derived " @@ -3618,43 +3593,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:2299 +#: ../../library/turtle.rst:2304 msgid "Provides (for *a*, *b* vectors, *k* number):" msgstr "Bietet (für Vektoren *a*, *b*, Zahl *k*):" -#: ../../library/turtle.rst:2301 +#: ../../library/turtle.rst:2306 msgid "``a + b`` vector addition" msgstr "``a + b`` Vectoraddition" -#: ../../library/turtle.rst:2302 +#: ../../library/turtle.rst:2307 msgid "``a - b`` vector subtraction" msgstr "``a - b`` Vectorsubtraction" -#: ../../library/turtle.rst:2303 +#: ../../library/turtle.rst:2308 msgid "``a * b`` inner product" msgstr "``a * b`` Skalarprodukt" -#: ../../library/turtle.rst:2304 +#: ../../library/turtle.rst:2309 msgid "``k * a`` and ``a * k`` multiplication with scalar" msgstr "``k * a`` und ``a * k`` Multiplikation mit Skalar" -#: ../../library/turtle.rst:2305 +#: ../../library/turtle.rst:2310 msgid "``abs(a)`` absolute value of a" msgstr "``abs(a)`` Absolutwert von a" -#: ../../library/turtle.rst:2306 +#: ../../library/turtle.rst:2311 msgid "``a.rotate(angle)`` rotation" msgstr "``a.rotate(angle)`` Rotation" -#: ../../library/turtle.rst:2310 +#: ../../library/turtle.rst:2315 msgid "Exceptions" msgstr "Erklärungen" -#: ../../library/turtle.rst:2312 +#: ../../library/turtle.rst:2317 msgid "The :mod:`!turtle` module defines the following exception:" msgstr "Das Modul :mod:`!turtle` definiert die folgende Ausnahme:" -#: ../../library/turtle.rst:2316 +#: ../../library/turtle.rst:2321 msgid "" "Raised for invalid arguments or operations. For example, a malformed color " "string:" @@ -3662,7 +3637,7 @@ msgstr "" "Wird bei ungültigen Argumenten oder Operationen ausgelöst. Zum Beispiel bei " "einer fehlerhaften Farbzeichenkette:" -#: ../../library/turtle.rst:2319 +#: ../../library/turtle.rst:2324 msgid "" ">>> turtle.color(\"blau\")\n" "Traceback (most recent call last):\n" @@ -3674,22 +3649,22 @@ msgstr "" " ...\n" "turtle.TurtleGraphicsError: bad color string: blau" -#: ../../library/turtle.rst:2333 +#: ../../library/turtle.rst:2338 msgid "How-to guides" msgstr "How-to-Anleitungen" -#: ../../library/turtle.rst:2335 +#: ../../library/turtle.rst:2340 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:2341 +#: ../../library/turtle.rst:2346 #, fuzzy msgid "How to automatically begin and end filling" msgstr "Füllen automatisch beginnen und beenden" -#: ../../library/turtle.rst:2343 +#: ../../library/turtle.rst:2348 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 " @@ -3700,7 +3675,7 @@ msgstr "" "verwenden, um das Füllen automatisch zu beginnen und zu beenden. Hier ist " "ein Beispiel::" -#: ../../library/turtle.rst:2347 +#: ../../library/turtle.rst:2352 msgid "" "with fill():\n" " for i in range(4):\n" @@ -3716,11 +3691,11 @@ msgstr "" "\n" "forward(200)" -#: ../../library/turtle.rst:2354 +#: ../../library/turtle.rst:2359 msgid "The code above is equivalent to::" msgstr "Der obige Code ist äquivalent zu::" -#: ../../library/turtle.rst:2356 +#: ../../library/turtle.rst:2361 msgid "" "begin_fill()\n" "for i in range(4):\n" @@ -3738,12 +3713,12 @@ msgstr "" "\n" "forward(200)" -#: ../../library/turtle.rst:2369 +#: ../../library/turtle.rst:2374 #, fuzzy msgid "How to use compound shapes" msgstr "Zusammengesetzte Formen" -#: ../../library/turtle.rst:2371 +#: ../../library/turtle.rst:2376 msgid "" "To use compound turtle shapes, which consist of several polygons of " "different color, you must use the helper class :class:`Shape` explicitly as " @@ -3753,12 +3728,12 @@ msgstr "" "unterschiedlicher Farbe bestehen, musst du die Hilfsklasse :class:`Shape` " "explizit verwenden, wie unten beschrieben:" -#: ../../library/turtle.rst:2375 +#: ../../library/turtle.rst:2380 #, fuzzy msgid "Create an empty :class:`Shape` object of type \"compound\"." msgstr "Erstelle ein leeres Shape-Objekt vom Typ \"compound\"." -#: ../../library/turtle.rst:2376 +#: ../../library/turtle.rst:2381 msgid "" "Add as many components to this object as desired, using " "the :meth:`~Shape.addcomponent` method." @@ -3766,11 +3741,11 @@ msgstr "" "Füge diesem Objekt beliebig viele Komponenten hinzu, indem du die " "Methode :meth:`~Shape.addcomponent` verwendest." -#: ../../library/turtle.rst:2379 +#: ../../library/turtle.rst:2384 msgid "For example:" msgstr "Zum Beispiel:" -#: ../../library/turtle.rst:2381 +#: ../../library/turtle.rst:2386 #, fuzzy msgid "" ">>> s = Shape(\"compound\")\n" @@ -3785,11 +3760,12 @@ msgstr "" ">>> poly2 = ((0,0),(10,-5),(-10,-5))\n" ">>> s.addcomponent(poly2, \"blue\", \"red\")" -#: ../../library/turtle.rst:2390 -msgid "Now add the Shape to the Screen's shapelist and use it:" +#: ../../library/turtle.rst:2395 +#, 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:2392 +#: ../../library/turtle.rst:2397 msgid "" ">>> register_shape(\"myshape\", s)\n" ">>> shape(\"myshape\")" @@ -3797,12 +3773,12 @@ msgstr "" ">>> register_shape(\"myshape\", s)\n" ">>> shape(\"myshape\")" -#: ../../library/turtle.rst:2402 +#: ../../library/turtle.rst:2407 #, fuzzy msgid "How to use the ``turtle`` module namespace" msgstr "Das ``turtle``-Modul im eigenen Namensraum verwenden" -#: ../../library/turtle.rst:2404 +#: ../../library/turtle.rst:2409 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 " @@ -3817,7 +3793,7 @@ msgstr "" "einem Skript verwendest, in dem auch andere Module importiert werden " "könnten)." -#: ../../library/turtle.rst:2410 +#: ../../library/turtle.rst:2415 msgid "" "The solution is to use ``import turtle`` - ``fd()`` becomes ``turtle.fd()``, " "``width()`` becomes ``turtle.width()`` and so on. (If typing \"turtle\" over " @@ -3829,12 +3805,12 @@ msgstr "" "(Falls es lästig wird, immer wieder \"turtle\" zu tippen, verwende " "stattdessen zum Beispiel ``import turtle as t``.)" -#: ../../library/turtle.rst:2419 +#: ../../library/turtle.rst:2424 #, fuzzy msgid "How to use turtle graphics in a script" msgstr "Turtle-Grafik in einem Skript verwenden" -#: ../../library/turtle.rst:2421 +#: ../../library/turtle.rst:2426 msgid "" "It's recommended to use the ``turtle`` module namespace as described " "immediately above, for example::" @@ -3842,7 +3818,7 @@ msgstr "" "Es wird empfohlen, den Namensraum des Moduls ``turtle`` wie unmittelbar oben " "beschrieben zu verwenden, zum Beispiel::" -#: ../../library/turtle.rst:2424 +#: ../../library/turtle.rst:2429 msgid "" "import turtle as t\n" "from random import random\n" @@ -3862,7 +3838,7 @@ msgstr "" " t.right(angle)\n" " t.fd(steps)" -#: ../../library/turtle.rst:2433 +#: ../../library/turtle.rst:2438 msgid "" "Another step is also required though - as soon as the script ends, Python " "will also close the turtle's window. Add::" @@ -3871,11 +3847,11 @@ msgstr "" "endet, wird Python auch das Fenster der Turtle schließen. Füge Folgendes " "hinzu::" -#: ../../library/turtle.rst:2436 +#: ../../library/turtle.rst:2441 msgid "t.mainloop()" msgstr "t.mainloop()" -#: ../../library/turtle.rst:2438 +#: ../../library/turtle.rst:2443 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 " @@ -3885,18 +3861,18 @@ msgstr "" "und beendet sich nicht, bis es beendet wird, zum Beispiel durch Schließen " "des Turtle-Grafikfensters." -#: ../../library/turtle.rst:2446 +#: ../../library/turtle.rst:2451 #, fuzzy msgid "How to use object-oriented turtle graphics" msgstr "Objektorientierte Turtle-Grafik verwenden" -#: ../../library/turtle.rst:2448 +#: ../../library/turtle.rst:2453 msgid "" ":ref:`Explanation of the object-oriented interface `" msgstr "" ":ref:`Erklärung der objektorientierten Schnittstelle `" -#: ../../library/turtle.rst:2450 +#: ../../library/turtle.rst:2455 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 " @@ -3908,7 +3884,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:2455 +#: ../../library/turtle.rst:2460 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 " @@ -3919,11 +3895,11 @@ msgstr "" "Ansatz auch in der Shell verwenden, typischer wäre es aber in einem Python-" "Skript." -#: ../../library/turtle.rst:2459 +#: ../../library/turtle.rst:2464 msgid "The example above then becomes::" msgstr "Das obige Beispiel wird dann zu::" -#: ../../library/turtle.rst:2461 +#: ../../library/turtle.rst:2466 msgid "" "from turtle import Turtle\n" "from random import random\n" @@ -3949,7 +3925,7 @@ msgstr "" "\n" "t.screen.mainloop()" -#: ../../library/turtle.rst:2473 +#: ../../library/turtle.rst:2478 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 " @@ -3959,11 +3935,11 @@ msgstr "" "auf der eine Turtle-Instanz existiert; sie wird automatisch zusammen mit der " "Turtle erstellt." -#: ../../library/turtle.rst:2477 +#: ../../library/turtle.rst:2482 msgid "The turtle's screen can be customised, for example::" msgstr "Der Turtle-Scree kann angepasst werden, zum Beispiel::" -#: ../../library/turtle.rst:2479 +#: ../../library/turtle.rst:2484 msgid "" "t.screen.title('Object-oriented turtle demo')\n" "t.screen.bgcolor(\"orange\")" @@ -3971,12 +3947,12 @@ msgstr "" "t.screen.title('Object-oriented turtle demo')\n" "t.screen.bgcolor(\"orange\")" -#: ../../library/turtle.rst:2486 +#: ../../library/turtle.rst:2491 #, fuzzy msgid "How to use :func:`!help`" msgstr "Wie man die Hilfe verwendet" -#: ../../library/turtle.rst:2488 +#: ../../library/turtle.rst:2493 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 " @@ -3986,81 +3962,68 @@ msgstr "" "über Docstrings dokumentiert. Diese können daher über die Python-" "Hilfefunktionen als Online-Hilfe verwendet werden:" -#: ../../library/turtle.rst:2492 +#: ../../library/turtle.rst:2497 +#, 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:2495 +#: ../../library/turtle.rst:2500 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:2497 +#: ../../library/turtle.rst:2502 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:2526 +#: ../../library/turtle.rst:2545 msgid "" "The docstrings of the functions which are derived from methods have a " "modified form::" @@ -4068,71 +4031,53 @@ msgstr "" "Die Docstrings der Funktionen, die von Methoden abgeleitet sind, haben eine " "abgewandelte Form::" -#: ../../library/turtle.rst:2529 +#: ../../library/turtle.rst:2548 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" +" Return or set the background color of the TurtleScreen.\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:2560 +#: ../../library/turtle.rst:2591 msgid "" "These modified docstrings are created automatically together with the " "function definitions that are derived from the methods at import time." @@ -4141,11 +4086,11 @@ msgstr "" "Funktionsdefinitionen erstellt, die zur Importzeit von den Methoden " "abgeleitet werden." -#: ../../library/turtle.rst:2565 +#: ../../library/turtle.rst:2596 msgid "Translation of docstrings into different languages" msgstr "Übersetzung von Docstrings in verschiedene Sprachen" -#: ../../library/turtle.rst:2567 +#: ../../library/turtle.rst:2598 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 " @@ -4155,17 +4100,13 @@ msgstr "" "die Methodennamen und dessen Werte die Docstrings der öffentlichen Methoden " "der Klassen Screen und Turtle sind." -#: ../../library/turtle.rst:2573 -msgid "a string, used as filename" -msgstr "eine Zeichenkette, verwendet als Dateiname" - -#: ../../library/turtle.rst:2575 +#: ../../library/turtle.rst:2606 +#, 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 " @@ -4174,17 +4115,18 @@ msgstr "" "ist als Vorlage für die Übersetzung der Docstrings in verschiedene Sprachen " "gedacht." -#: ../../library/turtle.rst:2581 +#: ../../library/turtle.rst:2611 +#, 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:2585 +#: ../../library/turtle.rst:2615 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 " @@ -4194,7 +4136,7 @@ msgstr "" "hast, wird dieses Dictionary zur Importzeit eingelesen und ersetzt die " "ursprünglichen englischen Docstrings." -#: ../../library/turtle.rst:2588 +#: ../../library/turtle.rst:2618 msgid "" "At the time of this writing there are docstring dictionaries in German and " "in Italian. (Requests please to glingl@aon.at.)" @@ -4202,11 +4144,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:2594 +#: ../../library/turtle.rst:2624 msgid "How to configure Screen and Turtles" msgstr "Wie man Screen und Turtles konfiguriert" -#: ../../library/turtle.rst:2596 +#: ../../library/turtle.rst:2626 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." @@ -4215,13 +4157,14 @@ msgstr "" "Verhalten des alten turtle-Moduls nach, um eine möglichst gute " "Kompatibilität damit zu bewahren." -#: ../../library/turtle.rst:2599 +#: ../../library/turtle.rst:2629 +#, 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, " @@ -4229,13 +4172,14 @@ msgstr "" "``turtle.cfg`` vorbereiten, die zur Importzeit eingelesen wird und die " "Konfiguration entsprechend ihrer Einstellungen ändert." -#: ../../library/turtle.rst:2604 +#: ../../library/turtle.rst:2634 +#, 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:2606 +#: ../../library/turtle.rst:2636 msgid "" "width = 0.5\n" "height = 0.75\n" @@ -4279,11 +4223,11 @@ msgstr "" "title = Python Turtle Graphics\n" "using_IDLE = False" -#: ../../library/turtle.rst:2629 +#: ../../library/turtle.rst:2659 msgid "Short explanation of selected entries:" msgstr "Kurze Erklärung ausgewählter Einträge:" -#: ../../library/turtle.rst:2631 +#: ../../library/turtle.rst:2661 msgid "" "The first four lines correspond to the arguments of the :func:`Screen.setup " "` method." @@ -4291,7 +4235,7 @@ msgstr "" "Die ersten vier Zeilen entsprechen den Argumenten der " "Methode :func:`Screen.setup `." -#: ../../library/turtle.rst:2633 +#: ../../library/turtle.rst:2663 msgid "" "Line 5 and 6 correspond to the arguments of the " "method :func:`Screen.screensize `." @@ -4299,17 +4243,19 @@ msgstr "" "Zeile 5 und 6 entsprechen den Argumenten der " "Methode :func:`Screen.screensize `." -#: ../../library/turtle.rst:2635 +#: ../../library/turtle.rst:2665 +#, 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:2637 +#: ../../library/turtle.rst:2667 +#, 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 "" @@ -4318,27 +4264,29 @@ msgstr "" "nichtleeren Zeichenketten dürfen in der cfg-Datei keine Anführungszeichen " "haben)." -#: ../../library/turtle.rst:2640 +#: ../../library/turtle.rst:2670 +#, 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:2642 +#: ../../library/turtle.rst:2672 +#, 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:2645 +#: ../../library/turtle.rst:2675 msgid "" "The entries *exampleturtle* and *examplescreen* define the names of these " "objects as they occur in the docstrings. The transformation of method-" @@ -4350,17 +4298,18 @@ msgstr "" "Methoden-Docstrings in Funktions-Docstrings werden diese Namen aus den " "Docstrings entfernt." -#: ../../library/turtle.rst:2649 +#: ../../library/turtle.rst:2679 +#, 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:2653 +#: ../../library/turtle.rst:2683 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 " @@ -4370,7 +4319,7 @@ msgstr "" "turtle` gespeichert ist, sowie eine zusätzliche im aktuellen " "Arbeitsverzeichnis. Letztere überschreibt die Einstellungen der ersten." -#: ../../library/turtle.rst:2657 +#: ../../library/turtle.rst:2687 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 " @@ -4380,21 +4329,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:2665 +#: ../../library/turtle.rst:2695 msgid "Explanation" msgstr "Erklärung" -#: ../../library/turtle.rst:2667 +#: ../../library/turtle.rst:2697 +#, 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:2671 +#: ../../library/turtle.rst:2701 msgid "" "A :class:`Turtle` instance will automatically create a :class:`Screen` " "instance if one is not already present." @@ -4402,7 +4352,7 @@ msgstr "" "Eine :class:`Turtle`-Instanz erstellt automatisch eine :class:`Screen`-" "Instanz, falls noch keine vorhanden ist." -#: ../../library/turtle.rst:2674 +#: ../../library/turtle.rst:2704 msgid "" "``Turtle`` is a subclass of :class:`RawTurtle`, which *doesn't* " "automatically create a drawing surface - a *canvas* will need to be provided " @@ -4414,7 +4364,7 @@ msgstr "" "oder erstellt werden. Die *canvas* kann ein :class:`!" "tkinter.Canvas`, :class:`ScrolledCanvas` oder :class:`TurtleScreen` sein." -#: ../../library/turtle.rst:2680 +#: ../../library/turtle.rst:2710 msgid "" ":class:`TurtleScreen` is the basic drawing surface for a " "turtle. :class:`Screen` is a subclass of ``TurtleScreen``, and " @@ -4430,7 +4380,7 @@ msgstr "" "Konstruktor von ``TurtleScreen`` benötigt ein :class:`!tkinter.Canvas` oder " "ein :class:`ScrolledCanvas` als Argument." -#: ../../library/turtle.rst:2687 +#: ../../library/turtle.rst:2717 msgid "" "The functional interface for turtle graphics uses the various methods of " "``Turtle`` and ``TurtleScreen``/``Screen``. Behind the scenes, a screen " @@ -4445,7 +4395,7 @@ msgstr "" "Turtle-Objekt erstellt, sobald eine der von einer Turtle-Methode " "abgeleiteten Funktionen aufgerufen wird." -#: ../../library/turtle.rst:2693 +#: ../../library/turtle.rst:2723 msgid "" "To use multiple turtles on a screen, the object-oriented interface must be " "used." @@ -4453,11 +4403,11 @@ msgstr "" "Um mehrere Turtles auf einem Screen zu verwenden, muss die objektorientierte " "Schnittstelle genutzt werden." -#: ../../library/turtle.rst:2698 +#: ../../library/turtle.rst:2728 msgid ":mod:`!turtledemo` --- Demo scripts" msgstr ":mod:`!turtledemo` --- Demo-Skripte" -#: ../../library/turtle.rst:2703 +#: ../../library/turtle.rst:2733 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::" @@ -4466,26 +4416,26 @@ msgstr "" "Skripte können mit dem mitgelieferten Demo-Viewer wie folgt ausgeführt und " "betrachtet werden::" -#: ../../library/turtle.rst:2706 +#: ../../library/turtle.rst:2736 msgid "python -m turtledemo" msgstr "python -m turtledemo" -#: ../../library/turtle.rst:2708 +#: ../../library/turtle.rst:2738 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:2710 +#: ../../library/turtle.rst:2740 msgid "python -m turtledemo.bytedesign" msgstr "python -m turtledemo.bytedesign" -#: ../../library/turtle.rst:2712 +#: ../../library/turtle.rst:2742 msgid "The :mod:`!turtledemo` package directory contains:" msgstr "Das Paketverzeichnis :mod:`!turtledemo` enthält:" -#: ../../library/turtle.rst:2714 +#: ../../library/turtle.rst:2744 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." @@ -4493,7 +4443,7 @@ msgstr "" "Einen Demo-Viewer :file:`__main__.py`, mit dem der Quellcode der Skripte " "betrachtet und gleichzeitig ausgeführt werden kann." -#: ../../library/turtle.rst:2716 +#: ../../library/turtle.rst:2746 msgid "" "Multiple scripts demonstrating different features of the :mod:`!turtle` " "module. Examples can be accessed via the Examples menu. They can also be " @@ -4503,7 +4453,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:2719 +#: ../../library/turtle.rst:2749 msgid "" "A :file:`turtle.cfg` file which serves as an example of how to write and use " "such files." @@ -4511,39 +4461,39 @@ msgstr "" "Eine :file:`turtle.cfg`-Datei, die als Beispiel dient, wie solche Dateien " "geschrieben und verwendet werden." -#: ../../library/turtle.rst:2722 +#: ../../library/turtle.rst:2752 msgid "The demo scripts are:" msgstr "Die Demo-Skripte sind:" -#: ../../library/turtle.rst:2729 +#: ../../library/turtle.rst:2759 msgid "Name" msgstr "Name" -#: ../../library/turtle.rst:2729 +#: ../../library/turtle.rst:2759 msgid "Description" msgstr "Beschreibung" -#: ../../library/turtle.rst:2729 +#: ../../library/turtle.rst:2759 msgid "Features" msgstr "Feature" -#: ../../library/turtle.rst:2731 +#: ../../library/turtle.rst:2761 msgid "``bytedesign``" msgstr "``bytedesign``" -#: ../../library/turtle.rst:2731 +#: ../../library/turtle.rst:2761 msgid "complex classical turtle graphics pattern" msgstr "komplexes klassisches Turtle-Grafik-Muster" -#: ../../library/turtle.rst:2731 +#: ../../library/turtle.rst:2761 msgid ":func:`tracer`, :func:`delay`, :func:`update`" msgstr ":func:`tracer`, :func:`delay`, :func:`update`" -#: ../../library/turtle.rst:2734 +#: ../../library/turtle.rst:2764 msgid "``chaos``" msgstr "``chaos``" -#: ../../library/turtle.rst:2734 +#: ../../library/turtle.rst:2764 msgid "" "graphs Verhulst dynamics, shows that computer's computations can generate " "results sometimes against the common sense expectations" @@ -4552,227 +4502,451 @@ msgstr "" "Computerberechnungen manchmal Ergebnisse liefern können, die dem gesunden " "Menschenverstand widersprechen" -#: ../../library/turtle.rst:2734 +#: ../../library/turtle.rst:2764 msgid "world coordinates" msgstr "Welt Koordinaten" -#: ../../library/turtle.rst:2740 +#: ../../library/turtle.rst:2770 msgid "``clock``" msgstr "``clock``" -#: ../../library/turtle.rst:2740 +#: ../../library/turtle.rst:2770 msgid "analog clock showing time of your computer" msgstr "analoge Uhr, die die Zeit deines Computers anzeigt" -#: ../../library/turtle.rst:2740 +#: ../../library/turtle.rst:2770 msgid "turtles as clock's hands, :func:`ontimer`" msgstr "Turtles als Uhrzeiger, :func:`ontimer`" -#: ../../library/turtle.rst:2743 +#: ../../library/turtle.rst:2773 msgid "``colormixer``" msgstr "``colormixer``" -#: ../../library/turtle.rst:2743 +#: ../../library/turtle.rst:2773 msgid "experiment with r, g, b" msgstr "Experiment mit r, g, b" -#: ../../library/turtle.rst:2743 +#: ../../library/turtle.rst:2773 msgid ":func:`ondrag`" msgstr ":func:`ondrag`" -#: ../../library/turtle.rst:2745 +#: ../../library/turtle.rst:2775 msgid "``forest``" msgstr "``forest``" -#: ../../library/turtle.rst:2745 +#: ../../library/turtle.rst:2775 msgid "3 breadth-first trees" msgstr "3 Breitensuche-Bäume" -#: ../../library/turtle.rst:2745 +#: ../../library/turtle.rst:2775 msgid "randomization" msgstr "Zufallsgenerierung" -#: ../../library/turtle.rst:2747 +#: ../../library/turtle.rst:2777 msgid "``fractalcurves``" msgstr "``fractalcurves``" -#: ../../library/turtle.rst:2747 +#: ../../library/turtle.rst:2777 msgid "Hilbert & Koch curves" msgstr "Hilbert & Koch Kurven" -#: ../../library/turtle.rst:2747 +#: ../../library/turtle.rst:2777 msgid "recursion" msgstr "Rekursion" -#: ../../library/turtle.rst:2749 +#: ../../library/turtle.rst:2779 msgid "``lindenmayer``" msgstr "``lindenmayer``" -#: ../../library/turtle.rst:2749 -msgid "ethnomathematics (indian kolams)" +#: ../../library/turtle.rst:2779 +#, fuzzy +msgid "ethnomathematics (Indian kolams)" msgstr "Ethnomathematik (indische Kolams)" -#: ../../library/turtle.rst:2749 +#: ../../library/turtle.rst:2779 msgid "L-System" msgstr "L-System" -#: ../../library/turtle.rst:2752 +#: ../../library/turtle.rst:2782 msgid "``minimal_hanoi``" msgstr "``minimal_hanoi``" -#: ../../library/turtle.rst:2752 +#: ../../library/turtle.rst:2782 msgid "Towers of Hanoi" msgstr "Türme von Hannoi" -#: ../../library/turtle.rst:2752 +#: ../../library/turtle.rst:2782 msgid "Rectangular Turtles as Hanoi discs (:func:`shape`, :func:`shapesize`)" msgstr "" "Rechteckige Turtles als Hanoi-Scheiben (:func:`shape`, :func:`shapesize`)" -#: ../../library/turtle.rst:2756 +#: ../../library/turtle.rst:2786 msgid "``nim``" msgstr "``nim``" -#: ../../library/turtle.rst:2756 +#: ../../library/turtle.rst:2786 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:2756 +#: ../../library/turtle.rst:2786 msgid "turtles as nimsticks, event driven (mouse, keyboard)" msgstr "Turtles als Nim-Stäbchen, ereignisgesteuert (Maus, Tastatur)" -#: ../../library/turtle.rst:2760 +#: ../../library/turtle.rst:2790 msgid "``paint``" msgstr "``paint``" -#: ../../library/turtle.rst:2760 +#: ../../library/turtle.rst:2790 msgid "super minimalistic drawing program" msgstr "super minimalistisches Zeichenprogramm" -#: ../../library/turtle.rst:2760 +#: ../../library/turtle.rst:2790 msgid ":func:`onclick`" msgstr ":func:`onclick`" -#: ../../library/turtle.rst:2763 +#: ../../library/turtle.rst:2793 msgid "``peace``" msgstr "``peace``" -#: ../../library/turtle.rst:2763 +#: ../../library/turtle.rst:2793 msgid "elementary" msgstr "Elementar" -#: ../../library/turtle.rst:2763 +#: ../../library/turtle.rst:2793 msgid "turtle: appearance and animation" msgstr "Turtle: Erscheinungsbild und Animation" -#: ../../library/turtle.rst:2766 +#: ../../library/turtle.rst:2796 msgid "``penrose``" msgstr "``penrose``" -#: ../../library/turtle.rst:2766 +#: ../../library/turtle.rst:2796 msgid "aperiodic tiling with kites and darts" msgstr "aperiodische Kachelung mit Drachen und Pfeilen" -#: ../../library/turtle.rst:2766 +#: ../../library/turtle.rst:2796 msgid ":func:`stamp`" msgstr ":func:`stamp`" -#: ../../library/turtle.rst:2769 +#: ../../library/turtle.rst:2799 msgid "``planet_and_moon``" msgstr "``planet_and_moon``" -#: ../../library/turtle.rst:2769 +#: ../../library/turtle.rst:2799 msgid "simulation of gravitational system" msgstr "Simulation eines Gravitationssystems" -#: ../../library/turtle.rst:2769 +#: ../../library/turtle.rst:2799 msgid "compound shapes, :class:`Vec2D`" msgstr "zusammengesetzte Formen, :class:`Vec2D`" -#: ../../library/turtle.rst:2772 +#: ../../library/turtle.rst:2802 msgid "``rosette``" msgstr "``rosette``" -#: ../../library/turtle.rst:2772 -msgid "a pattern from the wikipedia article on turtle graphics" +#: ../../library/turtle.rst:2802 +#, fuzzy +msgid "a pattern from the Wikipedia article on turtle graphics" msgstr "ein Muster aus dem Wikipedia-Artikel über Turtle-Grafik" -#: ../../library/turtle.rst:2772 +#: ../../library/turtle.rst:2802 msgid ":func:`clone`, :func:`undo`" msgstr ":func:`clone`, :func:`undo`" -#: ../../library/turtle.rst:2775 +#: ../../library/turtle.rst:2805 msgid "``round_dance``" msgstr "``round_dance``" -#: ../../library/turtle.rst:2775 +#: ../../library/turtle.rst:2805 msgid "dancing turtles rotating pairwise in opposite direction" msgstr "" "tanzende Turtles, die sich paarweise in entgegengesetzter Richtung drehen" -#: ../../library/turtle.rst:2775 +#: ../../library/turtle.rst:2805 +#, 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:2779 +#: ../../library/turtle.rst:2809 msgid "``sorting_animate``" msgstr "``sorting_animate``" -#: ../../library/turtle.rst:2779 +#: ../../library/turtle.rst:2809 msgid "visual demonstration of different sorting methods" msgstr "visuelle Demonstration verschiedener Sortiermethoden" -#: ../../library/turtle.rst:2779 +#: ../../library/turtle.rst:2809 msgid "simple alignment, randomization" msgstr "einfache Ausrichtung, Zufallsgenerierung" -#: ../../library/turtle.rst:2782 +#: ../../library/turtle.rst:2812 msgid "``tree``" msgstr "``tree``" -#: ../../library/turtle.rst:2782 +#: ../../library/turtle.rst:2812 msgid "a (graphical) breadth first tree (using generators)" msgstr "ein (grafischer) Breitensuche-Baum (unter Verwendung von Generatoren)" -#: ../../library/turtle.rst:2782 +#: ../../library/turtle.rst:2812 msgid ":func:`clone`" msgstr ":func:`clone`" -#: ../../library/turtle.rst:2785 +#: ../../library/turtle.rst:2815 msgid "``two_canvases``" msgstr "``two_canvases``" -#: ../../library/turtle.rst:2785 +#: ../../library/turtle.rst:2815 msgid "simple design" msgstr "einfaches Design" -#: ../../library/turtle.rst:2785 +#: ../../library/turtle.rst:2815 msgid "turtles on two canvases" msgstr "Turtles auf zwei Canvas" -#: ../../library/turtle.rst:2788 +#: ../../library/turtle.rst:2818 msgid "``yinyang``" msgstr "``yinyang``" -#: ../../library/turtle.rst:2788 +#: ../../library/turtle.rst:2818 msgid "another elementary example" msgstr "ein weiteres elementares Beispiel" -#: ../../library/turtle.rst:2788 +#: ../../library/turtle.rst:2818 msgid ":func:`circle`" msgstr ":func:`circle`" -#: ../../library/turtle.rst:2791 +#: ../../library/turtle.rst:2821 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." + +#, fuzzy +#~ msgid "a colorstring or a color tuple or ``None``" +#~ msgstr "ein Farbstring oder ein numerisches Farb-Tupel" + +#~ 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*." @@ -5357,9 +5531,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 2faa84d2..1b7017a7 100644 --- a/library/types.po +++ b/library/types.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -601,7 +601,7 @@ msgid "Added support for an optional positional argument." msgstr "" #: ../../library/types.rst:494 -msgid "Route attribute access on a class to __getattr__." +msgid "Route attribute access on a class to :meth:`~object.__getattr__`." msgstr "" #: ../../library/types.rst:496 @@ -609,7 +609,8 @@ 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 "" #: ../../library/types.rst:501 diff --git a/library/typing.po b/library/typing.po index 2debd983..f209a2da 100644 --- a/library/typing.po +++ b/library/typing.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -2568,7 +2568,8 @@ msgstr "" #: ../../library/typing.rst:1783 msgid "" "T = TypeVar('T') # Can be anything\n" -"S = TypeVar('S', bound=str) # Can be any subtype of str\n" +"S = TypeVar('S', bound=str) # Can be str or any subtype of str (including " +"str itself)\n" "A = TypeVar('A', str, bytes) # Must be exactly str or bytes" msgstr "" diff --git a/library/urllib.error.po b/library/urllib.error.po index 94abf096..4e560e27 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+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:17 -msgid "" -"The following exceptions are raised by :mod:`!urllib.error` as appropriate:" -msgstr "" - -#: ../../library/urllib.error.rst:21 +#: ../../library/urllib.error.rst:19 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:26 +#: ../../library/urllib.error.rst:24 msgid "" "The reason for this error. It can be a message string or another exception " "instance." msgstr "" -#: ../../library/urllib.error.rst:29 +#: ../../library/urllib.error.rst:27 msgid "" ":exc:`URLError` used to be a subtype of :exc:`IOError`, which is now an " "alias of :exc:`OSError`." msgstr "" -#: ../../library/urllib.error.rst:36 +#: ../../library/urllib.error.rst:34 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:44 +#: ../../library/urllib.error.rst:42 msgid "Contains the request URL. An alias for *filename* attribute." msgstr "" -#: ../../library/urllib.error.rst:49 +#: ../../library/urllib.error.rst:47 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:55 +#: ../../library/urllib.error.rst:53 msgid "" "This is usually a string explaining the reason for this error. An alias for " "*msg* attribute." msgstr "" -#: ../../library/urllib.error.rst:60 +#: ../../library/urllib.error.rst:58 msgid "" "The HTTP response headers for the HTTP request that caused " "the :exc:`HTTPError`. An alias for *hdrs* attribute." msgstr "" -#: ../../library/urllib.error.rst:68 +#: ../../library/urllib.error.rst:66 msgid "A file-like object where the HTTP error body can be read from." msgstr "" -#: ../../library/urllib.error.rst:72 +#: ../../library/urllib.error.rst:70 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:79 +#: ../../library/urllib.error.rst:77 msgid "The downloaded (and supposedly truncated) data." msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index 8464e24a..bf5f3cf9 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -562,7 +562,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 "" @@ -1052,7 +1052,7 @@ msgid "a file-like object with the HTTP error body," msgstr "" #: ../../library/urllib.request.rst:854 -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:855 @@ -1222,43 +1222,42 @@ msgstr "" #: ../../library/urllib.request.rst:1007 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:1014 +#: ../../library/urllib.request.rst:1013 msgid "" "Authentication credentials for URIs with a scheme are now scoped by that " "scheme." msgstr "" -#: ../../library/urllib.request.rst:1021 +#: ../../library/urllib.request.rst:1020 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:1024 +#: ../../library/urllib.request.rst:1023 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:1031 +#: ../../library/urllib.request.rst:1030 msgid "HTTPPasswordMgrWithPriorAuth Objects" msgstr "" -#: ../../library/urllib.request.rst:1033 +#: ../../library/urllib.request.rst:1032 msgid "" "This password manager extends :class:`HTTPPasswordMgrWithDefaultRealm` to " "support tracking URIs for which authentication credentials should always be " "sent." msgstr "" -#: ../../library/urllib.request.rst:1040 +#: ../../library/urllib.request.rst:1039 msgid "" "*realm*, *uri*, *user*, *passwd* are as " "for :meth:`HTTPPasswordMgr.add_password`. *is_authenticated* sets the " @@ -1266,25 +1265,25 @@ msgid "" "URIs. If *is_authenticated* is specified as ``True``, *realm* is ignored." msgstr "" -#: ../../library/urllib.request.rst:1048 +#: ../../library/urllib.request.rst:1047 msgid "Same as for :class:`HTTPPasswordMgrWithDefaultRealm` objects" msgstr "" -#: ../../library/urllib.request.rst:1054 +#: ../../library/urllib.request.rst:1053 msgid "" "Update the ``is_authenticated`` flag for the given *uri* or list of URIs." msgstr "" -#: ../../library/urllib.request.rst:1060 +#: ../../library/urllib.request.rst:1059 msgid "" "Returns the current state of the ``is_authenticated`` flag for the given URI." msgstr "" -#: ../../library/urllib.request.rst:1067 +#: ../../library/urllib.request.rst:1066 msgid "AbstractBasicAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1072 +#: ../../library/urllib.request.rst:1071 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 " @@ -1293,14 +1292,14 @@ msgid "" "(failed) :class:`Request` object, and *headers* should be the error headers." msgstr "" -#: ../../library/urllib.request.rst:1078 +#: ../../library/urllib.request.rst:1077 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:1082 +#: ../../library/urllib.request.rst:1081 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, " @@ -1308,24 +1307,24 @@ msgid "" "and ``\"python.org:80\"`` are fine, ``\"joe:password@python.org\"`` is not)." msgstr "" -#: ../../library/urllib.request.rst:1091 +#: ../../library/urllib.request.rst:1090 msgid "HTTPBasicAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1096 ../../library/urllib.request.rst:1107 -#: ../../library/urllib.request.rst:1135 ../../library/urllib.request.rst:1146 +#: ../../library/urllib.request.rst:1095 ../../library/urllib.request.rst:1106 +#: ../../library/urllib.request.rst:1134 ../../library/urllib.request.rst:1145 msgid "Retry the request with authentication information, if available." msgstr "" -#: ../../library/urllib.request.rst:1102 +#: ../../library/urllib.request.rst:1101 msgid "ProxyBasicAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1113 +#: ../../library/urllib.request.rst:1112 msgid "AbstractDigestAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1118 +#: ../../library/urllib.request.rst:1117 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 " @@ -1333,61 +1332,61 @@ msgid "" "should be the error headers." msgstr "" -#: ../../library/urllib.request.rst:1123 +#: ../../library/urllib.request.rst:1122 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:1130 +#: ../../library/urllib.request.rst:1129 msgid "HTTPDigestAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1141 +#: ../../library/urllib.request.rst:1140 msgid "ProxyDigestAuthHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1152 +#: ../../library/urllib.request.rst:1151 msgid "HTTPHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1157 +#: ../../library/urllib.request.rst:1156 msgid "" "Send an HTTP request, which can be either GET or POST, depending on " "``req.data``." msgstr "" -#: ../../library/urllib.request.rst:1164 +#: ../../library/urllib.request.rst:1163 msgid "HTTPSHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1169 +#: ../../library/urllib.request.rst:1168 msgid "" "Send an HTTPS request, which can be either GET or POST, depending on " "``req.data``." msgstr "" -#: ../../library/urllib.request.rst:1176 +#: ../../library/urllib.request.rst:1175 msgid "FileHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1181 +#: ../../library/urllib.request.rst:1180 msgid "" "Open the file locally, if there is no host name, or the host name is " "``'localhost'``." msgstr "" -#: ../../library/urllib.request.rst:1184 +#: ../../library/urllib.request.rst:1183 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:1192 +#: ../../library/urllib.request.rst:1191 msgid "DataHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1196 +#: ../../library/urllib.request.rst:1195 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 " @@ -1397,14 +1396,15 @@ msgid "" "implementation will raise a :exc:`ValueError` in that case." msgstr "" -#: ../../library/urllib.request.rst:1207 +#: ../../library/urllib.request.rst:1206 msgid "FTPHandler Objects" msgstr "" -#: ../../library/urllib.request.rst:1212 +#: ../../library/urllib.request.rst:1211 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:1219 @@ -1438,12 +1438,12 @@ msgid "HTTPErrorProcessor Objects" msgstr "" #: ../../library/urllib.request.rst:1255 -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:1257 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." @@ -1488,10 +1488,11 @@ msgstr "" #: ../../library/urllib.request.rst:1291 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 "" @@ -1783,7 +1784,7 @@ msgstr "" #: ../../library/urllib.request.rst:1493 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" @@ -1985,22 +1986,22 @@ msgstr "" #: ../../library/urllib.request.rst:1643 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:1649 +#: ../../library/urllib.request.rst:1650 msgid "Status code returned by server." msgstr "" -#: ../../library/urllib.request.rst:1653 +#: ../../library/urllib.request.rst:1654 msgid "Deprecated in favor of :attr:`~addinfourl.url`." msgstr "" -#: ../../library/urllib.request.rst:1658 +#: ../../library/urllib.request.rst:1659 msgid "Deprecated in favor of :attr:`~addinfourl.headers`." msgstr "" -#: ../../library/urllib.request.rst:1663 ../../library/urllib.request.rst:1668 +#: ../../library/urllib.request.rst:1664 ../../library/urllib.request.rst:1669 msgid "Deprecated in favor of :attr:`~addinfourl.status`." msgstr "" diff --git a/library/warnings.po b/library/warnings.po index 8d01a52e..af861a17 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -383,39 +383,43 @@ msgid "" "\"default\" action is applied (hence its name)." msgstr "" -#: ../../library/warnings.rst:192 -msgid "Repeated Warning Suppression Criteria" +#: ../../library/warnings.rst:187 +msgid "Added regular expression support for *message* and *module*." msgstr "" #: ../../library/warnings.rst:194 +msgid "Repeated Warning Suppression Criteria" +msgstr "" + +#: ../../library/warnings.rst:196 msgid "" "The filters that suppress repeated warnings apply the following criteria to " "determine if a warning is considered a repeat:" msgstr "" -#: ../../library/warnings.rst:196 +#: ../../library/warnings.rst:198 msgid "" "``\"default\"``: A warning is considered a repeat only if the (*message*, " "*category*, *module*, *lineno*) are all the same." msgstr "" -#: ../../library/warnings.rst:197 +#: ../../library/warnings.rst:199 msgid "" "``\"module\"``: A warning is considered a repeat if the (*message*, " "*category*, *module*) are the same, ignoring the line number." msgstr "" -#: ../../library/warnings.rst:198 +#: ../../library/warnings.rst:200 msgid "" "``\"once\"``: A warning is considered a repeat if the (*message*, " "*category*) are the same, ignoring the module and line number." msgstr "" -#: ../../library/warnings.rst:204 +#: ../../library/warnings.rst:206 msgid "Describing Warning Filters" msgstr "" -#: ../../library/warnings.rst:206 +#: ../../library/warnings.rst:208 msgid "" "The warnings filter is initialized by :option:`-W` options passed to the " "Python interpreter command line and the :envvar:`PYTHONWARNINGS` environment " @@ -425,17 +429,17 @@ msgid "" "after printing a message to :data:`sys.stderr`)." msgstr "" -#: ../../library/warnings.rst:213 +#: ../../library/warnings.rst:215 msgid "" "Individual warnings filters are specified as a sequence of fields separated " "by colons::" msgstr "" -#: ../../library/warnings.rst:216 +#: ../../library/warnings.rst:218 msgid "action:message:category:module:line" msgstr "" -#: ../../library/warnings.rst:218 +#: ../../library/warnings.rst:220 msgid "" "The meaning of each of these fields is as described in :ref:`warning-" "filter`. When listing multiple filters on a single line (as " @@ -445,14 +449,14 @@ msgid "" "filters take precedence over earlier ones)." msgstr "" -#: ../../library/warnings.rst:225 +#: ../../library/warnings.rst:227 msgid "" "Commonly used warning filters apply to either all warnings, warnings in a " "particular category, or warnings raised by particular modules or packages. " "Some examples::" msgstr "" -#: ../../library/warnings.rst:229 +#: ../../library/warnings.rst:231 msgid "" "default # Show all warnings (even those ignored by " "default)\n" @@ -465,24 +469,24 @@ msgid "" "error:::mymodule # Convert warnings to errors in \"mymodule\"" msgstr "" -#: ../../library/warnings.rst:241 +#: ../../library/warnings.rst:243 msgid "Default Warning Filter" msgstr "" -#: ../../library/warnings.rst:243 +#: ../../library/warnings.rst:245 msgid "" "By default, Python installs several warning filters, which can be overridden " "by the :option:`-W` command-line option, the :envvar:`PYTHONWARNINGS` " "environment variable and calls to :func:`filterwarnings`." msgstr "" -#: ../../library/warnings.rst:247 +#: ../../library/warnings.rst:249 msgid "" "In regular release builds, the default warning filter has the following " "entries (in order of precedence)::" msgstr "" -#: ../../library/warnings.rst:250 +#: ../../library/warnings.rst:252 msgid "" "default::DeprecationWarning:__main__\n" "ignore::DeprecationWarning\n" @@ -491,36 +495,36 @@ msgid "" "ignore::ResourceWarning" msgstr "" -#: ../../library/warnings.rst:256 +#: ../../library/warnings.rst:258 msgid "" "In a :ref:`debug build `, the list of default warning filters " "is empty." msgstr "" -#: ../../library/warnings.rst:258 +#: ../../library/warnings.rst:260 msgid "" ":exc:`DeprecationWarning` is now ignored by default in addition " "to :exc:`PendingDeprecationWarning`." msgstr "" -#: ../../library/warnings.rst:262 +#: ../../library/warnings.rst:264 msgid "" ":exc:`DeprecationWarning` is once again shown by default when triggered " "directly by code in ``__main__``." msgstr "" -#: ../../library/warnings.rst:266 +#: ../../library/warnings.rst:268 msgid "" ":exc:`BytesWarning` no longer appears in the default filter list and is " "instead configured via :data:`sys.warnoptions` when :option:`-b` is " "specified twice." msgstr "" -#: ../../library/warnings.rst:275 +#: ../../library/warnings.rst:277 msgid "Overriding the default filter" msgstr "" -#: ../../library/warnings.rst:277 +#: ../../library/warnings.rst:279 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 " @@ -530,7 +534,7 @@ msgid "" "should be disabled::" msgstr "" -#: ../../library/warnings.rst:283 +#: ../../library/warnings.rst:285 msgid "" "import sys\n" "\n" @@ -539,14 +543,14 @@ msgid "" " warnings.simplefilter(\"ignore\")" msgstr "" -#: ../../library/warnings.rst:289 +#: ../../library/warnings.rst:291 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 " "code like::" msgstr "" -#: ../../library/warnings.rst:293 +#: ../../library/warnings.rst:295 msgid "" "import sys\n" "\n" @@ -556,7 +560,7 @@ msgid "" " os.environ[\"PYTHONWARNINGS\"] = \"default\" # Also affect subprocesses" msgstr "" -#: ../../library/warnings.rst:300 +#: ../../library/warnings.rst:302 msgid "" "Finally, developers of interactive shells that run user code in a namespace " "other than ``__main__`` are advised to ensure that :exc:`DeprecationWarning` " @@ -564,18 +568,18 @@ msgid "" "``user_ns`` is the module used to execute code entered interactively)::" msgstr "" -#: ../../library/warnings.rst:305 +#: ../../library/warnings.rst:307 msgid "" "import warnings\n" "warnings.filterwarnings(\"default\", category=DeprecationWarning,\n" " module=user_ns.get(\"__name__\"))" msgstr "" -#: ../../library/warnings.rst:313 +#: ../../library/warnings.rst:315 msgid "Temporarily Suppressing Warnings" msgstr "" -#: ../../library/warnings.rst:315 +#: ../../library/warnings.rst:317 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 " @@ -583,7 +587,7 @@ msgid "" "to suppress the warning using the :class:`catch_warnings` context manager::" msgstr "" -#: ../../library/warnings.rst:320 +#: ../../library/warnings.rst:322 msgid "" "import warnings\n" "\n" @@ -595,7 +599,7 @@ msgid "" " fxn()" msgstr "" -#: ../../library/warnings.rst:329 +#: ../../library/warnings.rst:331 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 " @@ -603,19 +607,19 @@ msgid "" "its use of deprecated code." msgstr "" -#: ../../library/warnings.rst:336 ../../library/warnings.rst:378 -#: ../../library/warnings.rst:649 +#: ../../library/warnings.rst:338 ../../library/warnings.rst:380 +#: ../../library/warnings.rst:651 msgid "" "See :ref:`warning-concurrent-safe` for details on the concurrency-safety of " "the :class:`catch_warnings` context manager when used in programs using " "multiple threads or async functions." msgstr "" -#: ../../library/warnings.rst:343 +#: ../../library/warnings.rst:345 msgid "Testing Warnings" msgstr "" -#: ../../library/warnings.rst:345 +#: ../../library/warnings.rst:347 msgid "" "To test warnings raised by code, use the :class:`catch_warnings` context " "manager. With it you can temporarily mutate the warnings filter to " @@ -623,7 +627,7 @@ msgid "" "raised warnings to check::" msgstr "" -#: ../../library/warnings.rst:350 +#: ../../library/warnings.rst:352 msgid "" "import warnings\n" "\n" @@ -641,7 +645,7 @@ msgid "" " assert \"deprecated\" in str(w[-1].message)" msgstr "" -#: ../../library/warnings.rst:365 +#: ../../library/warnings.rst:367 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 " @@ -650,7 +654,7 @@ msgid "" "registry related to the warning has been cleared." msgstr "" -#: ../../library/warnings.rst:371 +#: ../../library/warnings.rst:373 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 " @@ -658,7 +662,7 @@ msgid "" "results." msgstr "" -#: ../../library/warnings.rst:382 +#: ../../library/warnings.rst:384 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 " @@ -668,18 +672,18 @@ msgid "" "entries from the warnings list before each new operation)." msgstr "" -#: ../../library/warnings.rst:393 +#: ../../library/warnings.rst:395 msgid "Updating Code For New Versions of Dependencies" msgstr "" -#: ../../library/warnings.rst:395 +#: ../../library/warnings.rst:397 msgid "" "Warning categories that are primarily of interest to Python developers " "(rather than end users of applications written in Python) are ignored by " "default." msgstr "" -#: ../../library/warnings.rst:398 +#: ../../library/warnings.rst:400 msgid "" "Notably, this \"ignored by default\" list includes :exc:`DeprecationWarning` " "(for every module except ``__main__``), which means developers should make " @@ -688,14 +692,14 @@ msgid "" "(whether in the standard library or third party packages)." msgstr "" -#: ../../library/warnings.rst:404 +#: ../../library/warnings.rst:406 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 " "(the test runner provided by the :mod:`unittest` module does this)." msgstr "" -#: ../../library/warnings.rst:408 +#: ../../library/warnings.rst:410 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 " @@ -707,11 +711,11 @@ msgid "" "what is possible." msgstr "" -#: ../../library/warnings.rst:421 +#: ../../library/warnings.rst:423 msgid "Available Functions" msgstr "" -#: ../../library/warnings.rst:426 +#: ../../library/warnings.rst:428 msgid "" "Issue a warning, or maybe ignore it or raise an exception. The *category* " "argument, if given, must be a :ref:`warning category class `. The entry is inserted at the front by default; if " @@ -854,7 +858,7 @@ msgid "" "everything." msgstr "" -#: ../../library/warnings.rst:543 +#: ../../library/warnings.rst:545 msgid "" "Insert a simple entry into the list of :ref:`warnings filter specifications " "`. The meaning of the function parameters is as " @@ -863,18 +867,18 @@ msgid "" "category and line number match." msgstr "" -#: ../../library/warnings.rst:552 +#: ../../library/warnings.rst:554 msgid "" "Reset the warnings filter. This discards the effect of all previous calls " "to :func:`filterwarnings`, including that of the :option:`-W` command line " "options and calls to :func:`simplefilter`." msgstr "" -#: ../../library/warnings.rst:559 +#: ../../library/warnings.rst:561 msgid "Decorator to indicate that a class, function or overload is deprecated." msgstr "" -#: ../../library/warnings.rst:561 +#: ../../library/warnings.rst:563 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 " @@ -882,11 +886,11 @@ msgid "" "deprecated object." msgstr "" -#: ../../library/warnings.rst:566 +#: ../../library/warnings.rst:568 msgid "Usage::" msgstr "" -#: ../../library/warnings.rst:568 +#: ../../library/warnings.rst:570 msgid "" "from warnings import deprecated\n" "from typing import overload\n" @@ -906,7 +910,7 @@ msgid "" "def g(x: str) -> int: ..." msgstr "" -#: ../../library/warnings.rst:585 +#: ../../library/warnings.rst:587 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 " @@ -918,7 +922,7 @@ msgid "" "*category* and *stacklevel* arguments." msgstr "" -#: ../../library/warnings.rst:596 +#: ../../library/warnings.rst:598 msgid "" "The deprecation message passed to the decorator is saved in the " "``__deprecated__`` attribute on the decorated object. If applied to an " @@ -927,15 +931,15 @@ msgid "" "by :func:`typing.get_overloads`." msgstr "" -#: ../../library/warnings.rst:603 +#: ../../library/warnings.rst:605 msgid "See :pep:`702`." msgstr "" -#: ../../library/warnings.rst:608 +#: ../../library/warnings.rst:610 msgid "Available Context Managers" msgstr "" -#: ../../library/warnings.rst:612 +#: ../../library/warnings.rst:614 msgid "" "A context manager that copies and, upon exit, restores the warnings filter " "and the :func:`showwarning` function. If the *record* argument " @@ -946,47 +950,47 @@ msgid "" "the list is guaranteed to have the following attributes:" msgstr "" -#: ../../library/warnings.rst:620 +#: ../../library/warnings.rst:622 msgid "``message``: the warning message (an instance of :exc:`Warning`)" msgstr "" -#: ../../library/warnings.rst:621 +#: ../../library/warnings.rst:623 msgid "``category``: the warning category (a subclass of :exc:`Warning`)" msgstr "" -#: ../../library/warnings.rst:622 +#: ../../library/warnings.rst:624 msgid "``filename``: the file name where the warning occurred (:class:`str`)" msgstr "" -#: ../../library/warnings.rst:623 +#: ../../library/warnings.rst:625 msgid "``lineno``: the line number in the file (:class:`int`)" msgstr "" -#: ../../library/warnings.rst:624 +#: ../../library/warnings.rst:626 msgid "``file``: the file object used for output (if any), or ``None``" msgstr "" -#: ../../library/warnings.rst:625 +#: ../../library/warnings.rst:627 msgid "``line``: the line of source code (if available), or ``None``" msgstr "" -#: ../../library/warnings.rst:626 +#: ../../library/warnings.rst:628 msgid "" "``source``: the original object that generated the warning (if available), " "or ``None``" msgstr "" -#: ../../library/warnings.rst:629 +#: ../../library/warnings.rst:631 msgid "The ``source`` attribute was added." msgstr "" -#: ../../library/warnings.rst:632 +#: ../../library/warnings.rst:634 msgid "" "The type of these objects is not specified and may change; only the presence " "of these attributes is guaranteed." msgstr "" -#: ../../library/warnings.rst:635 +#: ../../library/warnings.rst:637 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. " @@ -994,28 +998,28 @@ msgid "" "itself." msgstr "" -#: ../../library/warnings.rst:640 +#: ../../library/warnings.rst:642 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 " "context." msgstr "" -#: ../../library/warnings.rst:644 +#: ../../library/warnings.rst:646 msgid "" "See :ref:`warning-filter` for the meaning of the *category* and *lineno* " "parameters." msgstr "" -#: ../../library/warnings.rst:656 +#: ../../library/warnings.rst:658 msgid "Added the *action*, *category*, *lineno*, and *append* parameters." msgstr "" -#: ../../library/warnings.rst:662 +#: ../../library/warnings.rst:664 msgid "Concurrent safety of Context Managers" msgstr "" -#: ../../library/warnings.rst:664 +#: ../../library/warnings.rst:666 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 " @@ -1026,7 +1030,7 @@ msgid "" "defaults to true for free-threaded builds and false otherwise." msgstr "" -#: ../../library/warnings.rst:672 +#: ../../library/warnings.rst:674 msgid "" "If the :data:`~sys.flags.context_aware_warnings` flag is false, " "then :class:`catch_warnings` will modify the global attributes of the :mod:`!" @@ -1036,7 +1040,7 @@ msgid "" "behavior is undefined." msgstr "" -#: ../../library/warnings.rst:679 +#: ../../library/warnings.rst:681 msgid "" "If the flag is true, :class:`catch_warnings` will not modify global " "attributes and will instead use a :class:`~contextvars.ContextVar` to store " @@ -1045,7 +1049,7 @@ msgid "" "safe." msgstr "" -#: ../../library/warnings.rst:685 +#: ../../library/warnings.rst:687 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 " @@ -1053,7 +1057,7 @@ msgid "" "module's :func:`showwarning` function. That is not concurrent-safe." msgstr "" -#: ../../library/warnings.rst:690 +#: ../../library/warnings.rst:692 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 " @@ -1061,14 +1065,14 @@ msgid "" "function will not be restored when exiting the context handler." msgstr "" -#: ../../library/warnings.rst:695 +#: ../../library/warnings.rst:697 msgid "" "The :data:`~sys.flags.context_aware_warnings` flag can be set the :option:`-" "X context_aware_warnings<-X>` command-line option or by " "the :envvar:`PYTHON_CONTEXT_AWARE_WARNINGS` environment variable." msgstr "" -#: ../../library/warnings.rst:701 +#: ../../library/warnings.rst:703 msgid "" "It is likely that most programs that desire thread-safe behaviour of the " "warnings module will also want to set " @@ -1081,7 +1085,7 @@ msgid "" "by a :class:`catch_warnings` context manager will no longer be active." msgstr "" -#: ../../library/warnings.rst:714 +#: ../../library/warnings.rst:716 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 a24edc6d..05764ff2 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: Rafael Fontenelle , 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -224,22 +224,31 @@ msgstr "" #: ../../library/xml.dom.minidom.rst:154 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." +msgstr "" + +#: ../../library/xml.dom.minidom.rst:161 +msgid "" "The :meth:`writexml` method now preserves the attribute order specified by " "the user." msgstr "" -#: ../../library/xml.dom.minidom.rst:158 ../../library/xml.dom.minidom.rst:179 -#: ../../library/xml.dom.minidom.rst:198 +#: ../../library/xml.dom.minidom.rst:165 ../../library/xml.dom.minidom.rst:186 +#: ../../library/xml.dom.minidom.rst:205 msgid "The *standalone* parameter was added." msgstr "" -#: ../../library/xml.dom.minidom.rst:163 +#: ../../library/xml.dom.minidom.rst:170 msgid "" "Return a string or byte string containing the XML represented by the DOM " "node." msgstr "" -#: ../../library/xml.dom.minidom.rst:166 +#: ../../library/xml.dom.minidom.rst:173 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 +257,47 @@ msgid "" "incorrect, since UTF-8 is the default encoding of XML." msgstr "" -#: ../../library/xml.dom.minidom.rst:173 ../../library/xml.dom.minidom.rst:192 +#: ../../library/xml.dom.minidom.rst:180 ../../library/xml.dom.minidom.rst:199 msgid "The *standalone* argument behaves exactly as in :meth:`writexml`." msgstr "" -#: ../../library/xml.dom.minidom.rst:175 +#: ../../library/xml.dom.minidom.rst:182 msgid "" "The :meth:`toxml` method now preserves the attribute order specified by the " "user." msgstr "" -#: ../../library/xml.dom.minidom.rst:185 +#: ../../library/xml.dom.minidom.rst:192 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:189 +#: ../../library/xml.dom.minidom.rst:196 msgid "" "The *encoding* argument behaves like the corresponding argument " "of :meth:`toxml`." msgstr "" -#: ../../library/xml.dom.minidom.rst:194 +#: ../../library/xml.dom.minidom.rst:201 msgid "" "The :meth:`toprettyxml` method now preserves the attribute order specified " "by the user." msgstr "" -#: ../../library/xml.dom.minidom.rst:204 +#: ../../library/xml.dom.minidom.rst:211 msgid "DOM Example" msgstr "" -#: ../../library/xml.dom.minidom.rst:206 +#: ../../library/xml.dom.minidom.rst:213 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:209 +#: ../../library/xml.dom.minidom.rst:216 msgid "" "import xml.dom.minidom\n" "\n" @@ -356,23 +365,23 @@ msgid "" "handleSlideshow(dom)\n" msgstr "" -#: ../../library/xml.dom.minidom.rst:215 +#: ../../library/xml.dom.minidom.rst:222 msgid "minidom and the DOM standard" msgstr "" -#: ../../library/xml.dom.minidom.rst:217 +#: ../../library/xml.dom.minidom.rst:224 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:220 +#: ../../library/xml.dom.minidom.rst:227 msgid "" "Usage of the DOM interface in Python is straight-forward. The following " "mapping rules apply:" msgstr "" -#: ../../library/xml.dom.minidom.rst:223 +#: ../../library/xml.dom.minidom.rst:230 msgid "" "Interfaces are accessed through instance objects. Applications should not " "instantiate the classes themselves; they should use the creator functions " @@ -381,14 +390,14 @@ msgid "" "operations." msgstr "" -#: ../../library/xml.dom.minidom.rst:228 +#: ../../library/xml.dom.minidom.rst:235 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:232 +#: ../../library/xml.dom.minidom.rst:239 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 +405,13 @@ msgid "" "``readonly`` attributes must not be changed; this is not enforced at runtime." msgstr "" -#: ../../library/xml.dom.minidom.rst:237 +#: ../../library/xml.dom.minidom.rst:244 msgid "" "The types ``short int``, ``unsigned int``, ``unsigned long long``, and " "``boolean`` all map to Python integer objects." msgstr "" -#: ../../library/xml.dom.minidom.rst:240 +#: ../../library/xml.dom.minidom.rst:247 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 +419,35 @@ msgid "" "``null`` value by the DOM specification from the W3C." msgstr "" -#: ../../library/xml.dom.minidom.rst:245 +#: ../../library/xml.dom.minidom.rst:252 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:248 +#: ../../library/xml.dom.minidom.rst:255 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:252 +#: ../../library/xml.dom.minidom.rst:259 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:256 +#: ../../library/xml.dom.minidom.rst:263 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:260 +#: ../../library/xml.dom.minidom.rst:267 msgid "" ":attr:`~xml.dom.Node.attributes` supports ``len()``, the :keyword:`in` " "operator, subscription by a name or by a ``(namespaceURI, localName)`` " @@ -449,13 +458,13 @@ msgid "" "``len()`` and subscription by a name." msgstr "" -#: ../../library/xml.dom.minidom.rst:268 +#: ../../library/xml.dom.minidom.rst:275 msgid "" ":attr:`~xml.dom.Document.strictErrorChecking` " "and :attr:`~xml.dom.Attr.specified` are always ``False``." msgstr "" -#: ../../library/xml.dom.minidom.rst:271 +#: ../../library/xml.dom.minidom.rst:278 msgid "" ":meth:`~xml.dom.Element.removeAttribute` " "and :meth:`~xml.dom.Element.removeAttributeNS` " @@ -463,30 +472,30 @@ msgid "" "the DOM specifies that this has no effect." msgstr "" -#: ../../library/xml.dom.minidom.rst:276 +#: ../../library/xml.dom.minidom.rst:283 msgid "" "The following interfaces have no implementation in :mod:`!xml.dom.minidom`:" msgstr "" -#: ../../library/xml.dom.minidom.rst:278 +#: ../../library/xml.dom.minidom.rst:285 msgid ":class:`DOMTimeStamp`" msgstr "" -#: ../../library/xml.dom.minidom.rst:280 +#: ../../library/xml.dom.minidom.rst:287 msgid ":class:`EntityReference`" msgstr "" -#: ../../library/xml.dom.minidom.rst:282 +#: ../../library/xml.dom.minidom.rst:289 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:286 +#: ../../library/xml.dom.minidom.rst:293 msgid "Footnotes" msgstr "Fußnoten" -#: ../../library/xml.dom.minidom.rst:287 +#: ../../library/xml.dom.minidom.rst:294 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 19a93e8f..49fc2c84 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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: 2026-05-08 17:18+0000\n" "Last-Translator: python-doc bot, 2026\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:69 ../../library/xmlrpc.client.rst:549 +#: ../../library/xmlrpc.client.rst:69 ../../library/xmlrpc.client.rst:566 msgid "The *use_builtin_types* flag was added." msgstr "" @@ -254,7 +254,7 @@ msgstr "" #: ../../library/xmlrpc.client.rst:148 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:186 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:192 @@ -387,7 +387,7 @@ msgid "" msgstr "" #: ../../library/xmlrpc.client.rst:241 ../../library/xmlrpc.client.rst:291 -#: ../../library/xmlrpc.client.rst:401 ../../library/xmlrpc.client.rst:507 +#: ../../library/xmlrpc.client.rst:418 ../../library/xmlrpc.client.rst:524 msgid "The client code for the preceding server::" msgstr "" @@ -541,30 +541,46 @@ msgid "" msgstr "" #: ../../library/xmlrpc.client.rst:368 -msgid "Fault Objects" +msgid "Error objects" msgstr "" #: ../../library/xmlrpc.client.rst:372 msgid "" +"Base class of the :exc:`Fault`, :exc:`ProtocolError` " +"and :exc:`ResponseError` exceptions." +msgstr "" + +#: ../../library/xmlrpc.client.rst:378 +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:385 +msgid "Fault Objects" +msgstr "" + +#: ../../library/xmlrpc.client.rst:389 +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:378 +#: ../../library/xmlrpc.client.rst:395 msgid "An int indicating the fault type." msgstr "" -#: ../../library/xmlrpc.client.rst:383 +#: ../../library/xmlrpc.client.rst:400 msgid "A string containing a diagnostic message associated with the fault." msgstr "" -#: ../../library/xmlrpc.client.rst:385 +#: ../../library/xmlrpc.client.rst:402 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:388 +#: ../../library/xmlrpc.client.rst:405 msgid "" "from xmlrpc.server import SimpleXMLRPCServer\n" "\n" @@ -580,7 +596,7 @@ msgid "" "server.serve_forever()" msgstr "" -#: ../../library/xmlrpc.client.rst:403 +#: ../../library/xmlrpc.client.rst:420 msgid "" "import xmlrpc.client\n" "\n" @@ -593,42 +609,42 @@ msgid "" " print(\"Fault string: %s\" % err.faultString)" msgstr "" -#: ../../library/xmlrpc.client.rst:418 +#: ../../library/xmlrpc.client.rst:435 msgid "ProtocolError Objects" msgstr "" -#: ../../library/xmlrpc.client.rst:422 +#: ../../library/xmlrpc.client.rst:439 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:429 +#: ../../library/xmlrpc.client.rst:446 msgid "The URI or URL that triggered the error." msgstr "" -#: ../../library/xmlrpc.client.rst:434 +#: ../../library/xmlrpc.client.rst:451 msgid "The error code." msgstr "" -#: ../../library/xmlrpc.client.rst:439 +#: ../../library/xmlrpc.client.rst:456 msgid "The error message or diagnostic string." msgstr "" -#: ../../library/xmlrpc.client.rst:444 +#: ../../library/xmlrpc.client.rst:461 msgid "" "A dict containing the headers of the HTTP/HTTPS request that triggered the " "error." msgstr "" -#: ../../library/xmlrpc.client.rst:447 +#: ../../library/xmlrpc.client.rst:464 msgid "" "In the following example we're going to intentionally cause " "a :exc:`ProtocolError` by providing an invalid URI::" msgstr "" -#: ../../library/xmlrpc.client.rst:450 +#: ../../library/xmlrpc.client.rst:467 msgid "" "import xmlrpc.client\n" "\n" @@ -645,17 +661,17 @@ msgid "" " print(\"Error message: %s\" % err.errmsg)" msgstr "" -#: ../../library/xmlrpc.client.rst:465 +#: ../../library/xmlrpc.client.rst:482 msgid "MultiCall Objects" msgstr "" -#: ../../library/xmlrpc.client.rst:467 +#: ../../library/xmlrpc.client.rst:484 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:473 +#: ../../library/xmlrpc.client.rst:490 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:481 +#: ../../library/xmlrpc.client.rst:498 msgid "A usage example of this class follows. The server code::" msgstr "" -#: ../../library/xmlrpc.client.rst:483 +#: ../../library/xmlrpc.client.rst:500 msgid "" "from xmlrpc.server import SimpleXMLRPCServer\n" "\n" @@ -697,7 +713,7 @@ msgid "" "server.serve_forever()" msgstr "" -#: ../../library/xmlrpc.client.rst:509 +#: ../../library/xmlrpc.client.rst:526 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:523 +#: ../../library/xmlrpc.client.rst:540 msgid "Convenience Functions" msgstr "" -#: ../../library/xmlrpc.client.rst:527 +#: ../../library/xmlrpc.client.rst:544 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:538 +#: ../../library/xmlrpc.client.rst:555 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:546 +#: ../../library/xmlrpc.client.rst:563 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:556 +#: ../../library/xmlrpc.client.rst:573 msgid "Example of Client Usage" msgstr "" -#: ../../library/xmlrpc.client.rst:560 +#: ../../library/xmlrpc.client.rst:577 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:573 +#: ../../library/xmlrpc.client.rst:590 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:576 +#: ../../library/xmlrpc.client.rst:593 msgid "" "import http.client\n" "import xmlrpc.client\n" @@ -795,19 +811,19 @@ msgid "" "print(server.examples.getStateName(41))" msgstr "" -#: ../../library/xmlrpc.client.rst:598 +#: ../../library/xmlrpc.client.rst:615 msgid "Example of Client and Server Usage" msgstr "" -#: ../../library/xmlrpc.client.rst:600 +#: ../../library/xmlrpc.client.rst:617 msgid "See :ref:`simplexmlrpcserver-example`." msgstr "" -#: ../../library/xmlrpc.client.rst:604 +#: ../../library/xmlrpc.client.rst:621 msgid "Footnotes" msgstr "Fußnoten" -#: ../../library/xmlrpc.client.rst:605 +#: ../../library/xmlrpc.client.rst:622 msgid "" "This approach has been first presented in `a discussion on xmlrpc.com " "` 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-" @@ -3240,7 +3244,7 @@ msgstr "" "falsch, während ``x != x`` wahr ist. Dieses Verhalten entspricht dem IEEE " "754-Standard." -#: ../../reference/expressions.rst:1904 +#: ../../reference/expressions.rst:1907 msgid "" "``None`` and :data:`NotImplemented` are singletons. :PEP:`8` advises that " "comparisons for singletons should always be done with ``is`` or ``is not``, " @@ -3250,7 +3254,7 @@ msgstr "" "Vergleiche bei Singletons stets mit ``is`` oder ``is not`` durchzuführen, " "niemals mit den Gleichheitsoperatoren." -#: ../../reference/expressions.rst:1908 +#: ../../reference/expressions.rst:1911 msgid "" "Binary sequences (instances of :class:`bytes` or :class:`bytearray`) can be " "compared within and across their types. They compare lexicographically " @@ -3260,7 +3264,7 @@ msgstr "" "lassen sich innerhalb ihres Typs und typübergreifend vergleichen. Verglichen " "wird lexikografisch anhand der Zahlenwerte ihrer Elemente." -#: ../../reference/expressions.rst:1912 +#: ../../reference/expressions.rst:1915 msgid "" "Strings (instances of :class:`str`) compare lexicographically using the " "numerical Unicode code points (the result of the built-in " @@ -3270,13 +3274,13 @@ msgstr "" "numerischen Unicode-Codepunkte (das Ergebnis der integrierten " "Funktion :func:`ord`) ihrer Zeichen verglichen. [#]_" -#: ../../reference/expressions.rst:1916 +#: ../../reference/expressions.rst:1919 msgid "Strings and binary sequences cannot be directly compared." msgstr "" "Zeichenketten und Binärsequenzen lassen sich nicht direkt miteinander " "vergleichen." -#: ../../reference/expressions.rst:1918 +#: ../../reference/expressions.rst:1921 msgid "" "Sequences (instances of :class:`tuple`, :class:`list`, or :class:`range`) " "can be compared only within each of their types, with the restriction that " @@ -3290,7 +3294,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:1924 +#: ../../reference/expressions.rst:1927 msgid "" "Sequences compare lexicographically using comparison of corresponding " "elements. The built-in containers typically assume identical objects are " @@ -3304,14 +3308,14 @@ msgstr "" "um die Leistung zu verbessern und ihre internen Invarianten " "aufrechtzuerhalten." -#: ../../reference/expressions.rst:1929 +#: ../../reference/expressions.rst:1932 msgid "" "Lexicographical comparison between built-in collections works as follows:" msgstr "" "Der lexikografische Vergleich zwischen den integrierten Sammlungen " "funktioniert wie folgt:" -#: ../../reference/expressions.rst:1931 +#: ../../reference/expressions.rst:1934 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 " @@ -3322,7 +3326,7 @@ msgstr "" "Elemente muss als gleich erkannt werden (beispielsweise ist ``[1,2] == " "(1,2)`` falsch, da der Typ nicht derselbe ist)." -#: ../../reference/expressions.rst:1936 +#: ../../reference/expressions.rst:1939 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 " @@ -3336,7 +3340,7 @@ msgstr "" "vorhanden ist, wird die kürzere Sammlung zuerst geordnet (beispielsweise ist " "``[1,2] < [1,2,3]`` wahr)." -#: ../../reference/expressions.rst:1942 +#: ../../reference/expressions.rst:1945 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 " @@ -3346,14 +3350,14 @@ msgstr "" "gleiche ``(key, value)``-Paare aufweisen. Der Gleichheitsvergleich der " "Schlüssel und Werte gewährleistet Reflexivität." -#: ../../reference/expressions.rst:1946 +#: ../../reference/expressions.rst:1949 msgid "" "Order comparisons (``<``, ``>``, ``<=``, and ``>=``) raise :exc:`TypeError`." msgstr "" "Auftragsvergleiche (``<``, ``>``, ``<=`` und ``>=``) lösen den " "Fehler :exc:`TypeError` aus." -#: ../../reference/expressions.rst:1948 +#: ../../reference/expressions.rst:1951 msgid "" "Sets (instances of :class:`set` or :class:`frozenset`) can be compared " "within and across their types." @@ -3361,7 +3365,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:1951 +#: ../../reference/expressions.rst:1954 msgid "" "They define order comparison operators to mean subset and superset tests. " "Those relations do not define total orderings (for example, the two sets " @@ -3380,11 +3384,11 @@ msgstr "" "liefern :func:`min`, :func:`max` und :func:`sorted` undefinierte Ergebnisse, " "wenn eine Liste von Mengen als Eingabe gegeben wird)." -#: ../../reference/expressions.rst:1959 +#: ../../reference/expressions.rst:1962 msgid "Comparison of sets enforces reflexivity of its elements." msgstr "Der Vergleich von Mengen bedingt die Reflexivität ihrer Elemente." -#: ../../reference/expressions.rst:1961 +#: ../../reference/expressions.rst:1964 msgid "" "Most other built-in types have no comparison methods implemented, so they " "inherit the default comparison behavior." @@ -3392,7 +3396,7 @@ msgstr "" "Für die meisten anderen integrierten Typen sind keine Vergleichsmethoden " "implementiert, sodass sie das Standardvergleichsverhalten übernehmen." -#: ../../reference/expressions.rst:1964 +#: ../../reference/expressions.rst:1967 msgid "" "User-defined classes that customize their comparison behavior should follow " "some consistency rules, if possible:" @@ -3400,7 +3404,7 @@ msgstr "" "Benutzerdefinierte Klassen, die ihr Vergleichsverhalten anpassen, sollten " "nach Möglichkeit bestimmte Konsistenzregeln befolgen:" -#: ../../reference/expressions.rst:1967 +#: ../../reference/expressions.rst:1970 msgid "" "Equality comparison should be reflexive. In other words, identical objects " "should compare equal:" @@ -3408,11 +3412,11 @@ msgstr "" "Der Gleichheitsvergleich sollte reflexiv sein. Mit anderen Worten: " "Identische Objekte sollten als gleich angesehen werden:" -#: ../../reference/expressions.rst:1970 +#: ../../reference/expressions.rst:1973 msgid "``x is y`` implies ``x == y``" msgstr "``x is y`` bedeutet ``x == y``" -#: ../../reference/expressions.rst:1972 +#: ../../reference/expressions.rst:1975 msgid "" "Comparison should be symmetric. In other words, the following expressions " "should have the same result:" @@ -3420,23 +3424,23 @@ msgstr "" "Der Vergleich sollte symmetrisch sein. Mit anderen Worten: Die folgenden " "Ausdrücke sollten zum gleichen Ergebnis führen:" -#: ../../reference/expressions.rst:1975 +#: ../../reference/expressions.rst:1978 msgid "``x == y`` and ``y == x``" msgstr "``x == y`` und ``y == x``" -#: ../../reference/expressions.rst:1977 +#: ../../reference/expressions.rst:1980 msgid "``x != y`` and ``y != x``" msgstr "``x != y`` und ``y != x``" -#: ../../reference/expressions.rst:1979 +#: ../../reference/expressions.rst:1982 msgid "``x < y`` and ``y > x``" msgstr "``x < y`` und ``y > x``" -#: ../../reference/expressions.rst:1981 +#: ../../reference/expressions.rst:1984 msgid "``x <= y`` and ``y >= x``" msgstr "``x <= y`` und ``y >= x``" -#: ../../reference/expressions.rst:1983 +#: ../../reference/expressions.rst:1986 msgid "" "Comparison should be transitive. The following (non-exhaustive) examples " "illustrate that:" @@ -3444,15 +3448,15 @@ msgstr "" "Die Vergleichbarkeit sollte transitiv sein. Die folgenden (nicht " "erschöpfenden) Beispiele veranschaulichen dies:" -#: ../../reference/expressions.rst:1986 +#: ../../reference/expressions.rst:1989 msgid "``x > y and y > z`` implies ``x > z``" msgstr "``x > y and y > z`` bedeutet ``x > z``" -#: ../../reference/expressions.rst:1988 +#: ../../reference/expressions.rst:1991 msgid "``x < y and y <= z`` implies ``x < z``" msgstr "``x < y and y <= z`` bedeutet ``x < z``" -#: ../../reference/expressions.rst:1990 +#: ../../reference/expressions.rst:1993 msgid "" "Inverse comparison should result in the boolean negation. In other words, " "the following expressions should have the same result:" @@ -3460,19 +3464,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:1993 +#: ../../reference/expressions.rst:1996 msgid "``x == y`` and ``not x != y``" msgstr "``x == y`` und ``not x != y``" -#: ../../reference/expressions.rst:1995 +#: ../../reference/expressions.rst:1998 msgid "``x < y`` and ``not x >= y`` (for total ordering)" msgstr "``x < y`` und ``not x >= y`` (zum Thema Gesamtordnung)" -#: ../../reference/expressions.rst:1997 +#: ../../reference/expressions.rst:2000 msgid "``x > y`` and ``not x <= y`` (for total ordering)" msgstr "``x > y`` und ``not x <= y`` (zum Thema Gesamtordnung)" -#: ../../reference/expressions.rst:1999 +#: ../../reference/expressions.rst:2002 msgid "" "The last two expressions apply to totally ordered collections (e.g. to " "sequences, but not to sets or mappings). See also " @@ -3482,7 +3486,7 @@ msgstr "" "für Folgen, jedoch nicht für Mengen oder Abbildungen). Siehe auch den " "Dekorator :deco:`~functools.total_ordering` ." -#: ../../reference/expressions.rst:2003 +#: ../../reference/expressions.rst:2006 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." @@ -3491,7 +3495,7 @@ msgstr "" "Objekte, die gleich sind, sollten entweder denselben Hash-Wert haben oder " "als \"unhashable“ gekennzeichnet sein." -#: ../../reference/expressions.rst:2007 +#: ../../reference/expressions.rst:2010 msgid "" "Python does not enforce these consistency rules. In fact, the not-a-number " "values are an example for not following these rules." @@ -3499,11 +3503,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:2016 +#: ../../reference/expressions.rst:2019 msgid "Membership test operations" msgstr "Testbetrieb der Mitgliedschaft" -#: ../../reference/expressions.rst:2018 +#: ../../reference/expressions.rst:2021 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`` " @@ -3523,7 +3527,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:2026 +#: ../../reference/expressions.rst:2029 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 " @@ -3535,7 +3539,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:2031 +#: ../../reference/expressions.rst:2034 msgid "" "For user-defined classes which define the :meth:`~object.__contains__` " "method, ``x in y`` returns ``True`` if ``y.__contains__(x)`` returns a true " @@ -3546,7 +3550,7 @@ msgstr "" "Wert ``True`` zurück, wenn ``y.__contains__(x)`` einen wahren Wert " "zurückgibt, und andernfalls den Wert ``False`` ." -#: ../../reference/expressions.rst:2035 +#: ../../reference/expressions.rst:2038 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 " @@ -3561,7 +3565,7 @@ msgstr "" "eine Ausnahme ausgelöst, verhält es sich so, als hätte :keyword:`in` diese " "Ausnahme ausgelöst." -#: ../../reference/expressions.rst:2041 +#: ../../reference/expressions.rst:2044 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 " @@ -3577,7 +3581,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:2053 +#: ../../reference/expressions.rst:2056 msgid "" "The operator :keyword:`not in` is defined to have the inverse truth value " "of :keyword:`in`." @@ -3585,11 +3589,11 @@ msgstr "" "Der Operator :keyword:`not in` ist so definiert, dass er den umgekehrten " "Wahrheitswert von :keyword:`in` hat." -#: ../../reference/expressions.rst:2066 +#: ../../reference/expressions.rst:2069 msgid "Identity comparisons" msgstr "Identitätsvergleiche" -#: ../../reference/expressions.rst:2068 +#: ../../reference/expressions.rst:2071 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 " @@ -3602,11 +3606,11 @@ msgstr "" "Funktion :meth:`id` ermittelt. ``x is not y`` liefert den umgekehrten " "Wahrheitswert. [#]_" -#: ../../reference/expressions.rst:2080 +#: ../../reference/expressions.rst:2083 msgid "Boolean operations" msgstr "Boolesche Operationen" -#: ../../reference/expressions.rst:2091 +#: ../../reference/expressions.rst:2094 msgid "" "In the context of Boolean operations, and also when expressions are used by " "control flow statements, the following values are interpreted as false: " @@ -3625,7 +3629,7 @@ msgstr "" "können ihren Wahrheitswert anpassen, indem sie eine " "Methode :meth:`~object.__bool__` bereitstellen." -#: ../../reference/expressions.rst:2100 +#: ../../reference/expressions.rst:2103 msgid "" "The operator :keyword:`not` yields ``True`` if its argument is false, " "``False`` otherwise." @@ -3633,7 +3637,7 @@ msgstr "" "Der Operator :keyword:`not` liefert „ ``True`` “, wenn sein Argument falsch " "ist, andernfalls ``False`` ." -#: ../../reference/expressions.rst:2105 +#: ../../reference/expressions.rst:2108 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." @@ -3642,7 +3646,7 @@ msgstr "" "dessen Wert zurückgegeben; andernfalls wird *y* ausgewertet und der " "resultierende Wert zurückgegeben." -#: ../../reference/expressions.rst:2110 +#: ../../reference/expressions.rst:2113 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." @@ -3651,7 +3655,7 @@ msgstr "" "Wert zurückgegeben; andernfalls wird *y* ausgewertet und der resultierende " "Wert zurückgegeben." -#: ../../reference/expressions.rst:2113 +#: ../../reference/expressions.rst:2116 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 " @@ -3671,11 +3675,11 @@ msgstr "" "booleschen Wert zurück (beispielsweise erzeugt ``not 'foo'`` ``False`` statt " "``''`` )." -#: ../../reference/expressions.rst:2132 +#: ../../reference/expressions.rst:2135 msgid "Assignment expressions" msgstr "Zuweisungsausdrücke" -#: ../../reference/expressions.rst:2137 +#: ../../reference/expressions.rst:2140 msgid "" "An assignment expression (sometimes also called a \"named expression\" or " "\"walrus\") assigns an :token:`~python-grammar:expression` to " @@ -3687,13 +3691,13 @@ msgstr "" "eine :token:`~python-grammar:expression` zu und gibt gleichzeitig den Wert " "des :token:`~python-grammar:expression` zurück." -#: ../../reference/expressions.rst:2142 +#: ../../reference/expressions.rst:2145 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:2144 +#: ../../reference/expressions.rst:2147 msgid "" "if matching := pattern.search(data):\n" " do_something(matching)" @@ -3701,11 +3705,11 @@ msgstr "" "if matching := pattern.search(data):\n" " do_something(matching)" -#: ../../reference/expressions.rst:2149 +#: ../../reference/expressions.rst:2152 msgid "Or, when processing a file stream in chunks:" msgstr "Oder bei der Verarbeitung eines Dateistroms in Blöcken:" -#: ../../reference/expressions.rst:2151 +#: ../../reference/expressions.rst:2154 msgid "" "while chunk := file.read(9000):\n" " process(chunk)" @@ -3713,7 +3717,7 @@ msgstr "" "while chunk := file.read(9000):\n" " process(chunk)" -#: ../../reference/expressions.rst:2156 +#: ../../reference/expressions.rst:2159 msgid "" "Assignment expressions must be surrounded by parentheses when used as " "expression statements and when used as sub-expressions in slicing, " @@ -3730,16 +3734,16 @@ msgstr "" "können, sind Klammern nicht erforderlich, einschließlich in den Anweisungen " "``if`` und ``while`` ." -#: ../../reference/expressions.rst:2164 +#: ../../reference/expressions.rst:2167 msgid "See :pep:`572` for more details about assignment expressions." msgstr "" "Weitere Informationen zu Zuweisungsausdrücken finden Sie unter :pep:`572`." -#: ../../reference/expressions.rst:2171 +#: ../../reference/expressions.rst:2174 msgid "Conditional expressions" msgstr "Bedingte Ausdrücke" -#: ../../reference/expressions.rst:2183 +#: ../../reference/expressions.rst:2186 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 " @@ -3749,7 +3753,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:2187 +#: ../../reference/expressions.rst:2190 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; " @@ -3759,16 +3763,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:2191 +#: ../../reference/expressions.rst:2194 +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:2197 +msgid "" +">>> n = 2\n" +">>> print('positive' if n > 0\n" +"... else 'negative' if n < 0\n" +"... else 'zero')\n" +"positive" +msgstr "" + +#: ../../reference/expressions.rst:2203 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" "Weitere Informationen zu bedingten Ausdrücken finden Sie unter :pep:`308`." -#: ../../reference/expressions.rst:2198 +#: ../../reference/expressions.rst:2210 msgid "Lambdas" msgstr "Lambdas" -#: ../../reference/expressions.rst:2209 +#: ../../reference/expressions.rst:2221 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -3780,7 +3799,7 @@ msgstr "" "liefert ein Funktionsobjekt. Das namenlose Objekt verhält sich wie ein " "Funktionsobjekt, das so definiert wurde:" -#: ../../reference/expressions.rst:2213 +#: ../../reference/expressions.rst:2225 msgid "" "def (parameters):\n" " return expression" @@ -3788,7 +3807,7 @@ msgstr "" "def (parameters):\n" " return expression" -#: ../../reference/expressions.rst:2218 +#: ../../reference/expressions.rst:2230 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " @@ -3798,11 +3817,11 @@ msgstr "" "Abschnitt :ref:`function` . Beachten Sie, dass mit Lambda-Ausdrücken " "erstellte Funktionen keine Anweisungen oder Anmerkungen enthalten dürfen." -#: ../../reference/expressions.rst:2226 +#: ../../reference/expressions.rst:2238 msgid "Expression lists" msgstr "Ausdruckslisten" -#: ../../reference/expressions.rst:2242 +#: ../../reference/expressions.rst:2254 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 " @@ -3813,7 +3832,7 @@ msgstr "" "Tupels entspricht der Anzahl der Ausdrücke in der Liste. Die Ausdrücke " "werden von links nach rechts ausgewertet." -#: ../../reference/expressions.rst:2251 +#: ../../reference/expressions.rst:2263 msgid "" "An asterisk ``*`` denotes :dfn:`iterable unpacking`. Its operand must be " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -3825,20 +3844,20 @@ msgstr "" "einer Folge von Elementen erweitert, die in das neue Tupel, die neue Liste " "oder die neue Menge aufgenommen werden." -#: ../../reference/expressions.rst:2256 +#: ../../reference/expressions.rst:2268 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:2259 +#: ../../reference/expressions.rst:2271 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:2264 +#: ../../reference/expressions.rst:2276 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 " @@ -3852,11 +3871,11 @@ msgstr "" "Tupel, sondern liefert den Wert dieses Ausdrucks. (Um ein leeres Tupel zu " "bilden, verwenden Sie ein leeres Klammerpaar: ``()``.)" -#: ../../reference/expressions.rst:2275 +#: ../../reference/expressions.rst:2287 msgid "Evaluation order" msgstr "Bewertungsreihenfolge" -#: ../../reference/expressions.rst:2279 +#: ../../reference/expressions.rst:2291 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" @@ -3866,7 +3885,7 @@ msgstr "" "der Auswertung einer Zuweisung die rechte Seite vor der linken Seite " "ausgewertet wird." -#: ../../reference/expressions.rst:2282 +#: ../../reference/expressions.rst:2294 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" @@ -3874,7 +3893,7 @@ msgstr "" "In den folgenden Zeilen werden die Ausdrücke in der arithmetischen " "Reihenfolge ihrer Suffixe ausgewertet:" -#: ../../reference/expressions.rst:2285 +#: ../../reference/expressions.rst:2297 msgid "" "expr1, expr2, expr3, expr4\n" "(expr1, expr2, expr3, expr4)\n" @@ -3890,11 +3909,11 @@ msgstr "" "expr1(expr2, expr3, *expr4, **expr5)\n" "expr3, expr4 = expr1, expr2" -#: ../../reference/expressions.rst:2296 +#: ../../reference/expressions.rst:2308 msgid "Operator precedence" msgstr "Reihenfolge der Rechenoperatoren" -#: ../../reference/expressions.rst:2301 +#: ../../reference/expressions.rst:2313 msgid "" "The following table summarizes the operator precedence in Python, from " "highest precedence (most binding) to lowest precedence (least binding). " @@ -3911,7 +3930,7 @@ msgstr "" "rechts gruppiert (mit Ausnahme von Potenzierung und bedingten Ausdrücken, " "die von rechts nach links gruppiert werden)." -#: ../../reference/expressions.rst:2307 +#: ../../reference/expressions.rst:2319 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 " @@ -3921,23 +3940,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:2313 +#: ../../reference/expressions.rst:2325 msgid "Operator" msgstr "Operator" -#: ../../reference/expressions.rst:2313 +#: ../../reference/expressions.rst:2325 msgid "Description" msgstr "Beschreibung" -#: ../../reference/expressions.rst:2315 +#: ../../reference/expressions.rst:2327 msgid "``(expressions...)``," msgstr "``(expressions...)``," -#: ../../reference/expressions.rst:2317 +#: ../../reference/expressions.rst:2329 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" -#: ../../reference/expressions.rst:2315 +#: ../../reference/expressions.rst:2327 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" @@ -3945,86 +3964,86 @@ msgstr "" "Gebundener oder in Klammern gesetzter Ausdruck, Listen-Display, Wörterbuch-" "Display, Mengen-Display" -#: ../../reference/expressions.rst:2321 +#: ../../reference/expressions.rst:2333 msgid "``x[index]``, ``x[index:index]`` ``x(arguments...)``, ``x.attribute``" msgstr "``x[index]``, ``x[index:index]`` ``x(arguments...)`` , ``x.attribute``" -#: ../../reference/expressions.rst:2321 +#: ../../reference/expressions.rst:2333 msgid "Subscription (including slicing), call, attribute reference" msgstr "Indexierung (einschließlich Slicing), Aufruf, Attributreferenz" -#: ../../reference/expressions.rst:2324 +#: ../../reference/expressions.rst:2336 msgid ":keyword:`await x `" msgstr ":keyword:`await x `" -#: ../../reference/expressions.rst:2326 +#: ../../reference/expressions.rst:2338 msgid "``**``" msgstr "``**``" -#: ../../reference/expressions.rst:2326 +#: ../../reference/expressions.rst:2338 msgid "Exponentiation [#]_" msgstr "Potenzieren [#]_" -#: ../../reference/expressions.rst:2328 +#: ../../reference/expressions.rst:2340 msgid "``+x``, ``-x``, ``~x``" msgstr "``+x``, ``-x``, ``~x``" -#: ../../reference/expressions.rst:2328 +#: ../../reference/expressions.rst:2340 msgid "Positive, negative, bitwise NOT" msgstr "Positiv, negativ, bitweises NOT" -#: ../../reference/expressions.rst:2330 +#: ../../reference/expressions.rst:2342 msgid "``*``, ``@``, ``/``, ``//``, ``%``" msgstr "``*``, ``@``, ``/``, ``//``, ``%``" -#: ../../reference/expressions.rst:2330 +#: ../../reference/expressions.rst:2342 msgid "" "Multiplication, matrix multiplication, division, floor division, remainder " "[#]_" msgstr "" "Multiplikation, Matrixmultiplikation, Division, Rundung nach unten, Rest [#]_" -#: ../../reference/expressions.rst:2334 +#: ../../reference/expressions.rst:2346 msgid "``+``, ``-``" msgstr "``+``, ``-``" -#: ../../reference/expressions.rst:2334 +#: ../../reference/expressions.rst:2346 msgid "Addition and subtraction" msgstr "Addition und Subtraktion" -#: ../../reference/expressions.rst:2336 +#: ../../reference/expressions.rst:2348 msgid "``<<``, ``>>``" msgstr "``<<``, ``>>``" -#: ../../reference/expressions.rst:2336 +#: ../../reference/expressions.rst:2348 msgid "Shifts" msgstr "Verschiebungen" -#: ../../reference/expressions.rst:2338 +#: ../../reference/expressions.rst:2350 msgid "``&``" msgstr "``&``" -#: ../../reference/expressions.rst:2338 +#: ../../reference/expressions.rst:2350 msgid "Bitwise AND" msgstr "Bitweises UND" -#: ../../reference/expressions.rst:2340 +#: ../../reference/expressions.rst:2352 msgid "``^``" msgstr "``^``" -#: ../../reference/expressions.rst:2340 +#: ../../reference/expressions.rst:2352 msgid "Bitwise XOR" msgstr "Bitweises XOR" -#: ../../reference/expressions.rst:2342 +#: ../../reference/expressions.rst:2354 msgid "``|``" msgstr "``|``" -#: ../../reference/expressions.rst:2342 +#: ../../reference/expressions.rst:2354 msgid "Bitwise OR" msgstr "Bitweises ODER" -#: ../../reference/expressions.rst:2344 +#: ../../reference/expressions.rst:2356 msgid "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" @@ -4032,63 +4051,63 @@ msgstr "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" -#: ../../reference/expressions.rst:2344 +#: ../../reference/expressions.rst:2356 msgid "Comparisons, including membership tests and identity tests" msgstr "Vergleiche, einschließlich Zugehörigkeits- und Identitätsprüfungen" -#: ../../reference/expressions.rst:2348 +#: ../../reference/expressions.rst:2360 msgid ":keyword:`not x `" msgstr ":keyword:`nicht x `" -#: ../../reference/expressions.rst:2348 +#: ../../reference/expressions.rst:2360 msgid "Boolean NOT" msgstr "Boolesches NOT" -#: ../../reference/expressions.rst:2350 +#: ../../reference/expressions.rst:2362 msgid ":keyword:`and`" msgstr ":keyword:`and`" -#: ../../reference/expressions.rst:2350 +#: ../../reference/expressions.rst:2362 msgid "Boolean AND" msgstr "Boolesches UND" -#: ../../reference/expressions.rst:2352 +#: ../../reference/expressions.rst:2364 msgid ":keyword:`or`" msgstr ":keyword:`or`" -#: ../../reference/expressions.rst:2352 +#: ../../reference/expressions.rst:2364 msgid "Boolean OR" msgstr "Boolesches OR" -#: ../../reference/expressions.rst:2354 +#: ../../reference/expressions.rst:2366 msgid ":keyword:`if ` -- :keyword:`!else`" msgstr ":keyword:`if ` -- :keyword:`!else`" -#: ../../reference/expressions.rst:2354 +#: ../../reference/expressions.rst:2366 msgid "Conditional expression" msgstr "Bedingter Ausdruck" -#: ../../reference/expressions.rst:2356 +#: ../../reference/expressions.rst:2368 msgid ":keyword:`lambda`" msgstr ":keyword:`lambda`" -#: ../../reference/expressions.rst:2356 +#: ../../reference/expressions.rst:2368 msgid "Lambda expression" msgstr "Lambda-Ausdruck" -#: ../../reference/expressions.rst:2358 +#: ../../reference/expressions.rst:2370 msgid "``:=``" msgstr "``:=``" -#: ../../reference/expressions.rst:2358 +#: ../../reference/expressions.rst:2370 msgid "Assignment expression" msgstr "Zuweisungsausdruck" -#: ../../reference/expressions.rst:2363 +#: ../../reference/expressions.rst:2375 msgid "Footnotes" msgstr "Fußnoten" -#: ../../reference/expressions.rst:2364 +#: ../../reference/expressions.rst:2376 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 " @@ -4111,7 +4130,7 @@ msgstr "" "liefert in diesem Fall daher „ ``-1e-100`` “. Welcher Ansatz besser geeignet " "ist, hängt von der jeweiligen Anwendung ab." -#: ../../reference/expressions.rst:2373 +#: ../../reference/expressions.rst:2385 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, " @@ -4124,7 +4143,7 @@ msgstr "" "damit weiterhin gilt, dass ``divmod(x,y)[0] * y + x % y`` sehr nahe an ``x`` " "liegt." -#: ../../reference/expressions.rst:2378 +#: ../../reference/expressions.rst:2390 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 " @@ -4149,7 +4168,7 @@ msgstr "" "einem :dfn:`Kombinationszeichen` an der Codeposition U+0327 (COMBINING " "CEDILLA)." -#: ../../reference/expressions.rst:2389 +#: ../../reference/expressions.rst:2401 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -4162,7 +4181,7 @@ msgstr "" "“ gleichbedeutend mit „ ``False`` “, obwohl beide Zeichenketten dasselbe " "abstrakte Zeichen „LATIN CAPITAL LETTER C WITH CEDILLA“ darstellen." -#: ../../reference/expressions.rst:2394 +#: ../../reference/expressions.rst:2406 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." @@ -4171,7 +4190,7 @@ msgstr "" "eine für Menschen intuitive Weise), verwenden " "Sie :func:`unicodedata.normalize`." -#: ../../reference/expressions.rst:2397 +#: ../../reference/expressions.rst:2409 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -4184,7 +4203,7 @@ msgstr "" "Instanzmethoden oder Konstanten – zu scheinbar ungewöhnlichem Verhalten " "kommen. Weitere Informationen finden Sie in der entsprechenden Dokumentation." -#: ../../reference/expressions.rst:2402 +#: ../../reference/expressions.rst:2414 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." @@ -4193,7 +4212,7 @@ msgstr "" "bitweiser unärer Operator zu seiner Rechten, das heißt: ``2**-1`` ergibt " "``0.5``." -#: ../../reference/expressions.rst:2405 +#: ../../reference/expressions.rst:2417 msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." @@ -4202,9 +4221,9 @@ msgstr "" "verwendet; es gilt dieselbe Priorität." #: ../../reference/expressions.rst:8 ../../reference/expressions.rst:548 -#: ../../reference/expressions.rst:665 ../../reference/expressions.rst:2082 -#: ../../reference/expressions.rst:2122 ../../reference/expressions.rst:2173 -#: ../../reference/expressions.rst:2200 ../../reference/expressions.rst:2228 +#: ../../reference/expressions.rst:665 ../../reference/expressions.rst:2085 +#: ../../reference/expressions.rst:2125 ../../reference/expressions.rst:2176 +#: ../../reference/expressions.rst:2212 ../../reference/expressions.rst:2240 msgid "expression" msgstr "Ausdruck" @@ -4281,7 +4300,7 @@ msgstr "Typ" #: ../../reference/expressions.rst:1186 ../../reference/expressions.rst:1298 #: ../../reference/expressions.rst:1446 ../../reference/expressions.rst:1460 #: ../../reference/expressions.rst:1474 ../../reference/expressions.rst:1481 -#: ../../reference/expressions.rst:2047 ../../reference/expressions.rst:2240 +#: ../../reference/expressions.rst:2050 ../../reference/expressions.rst:2252 msgid "object" msgstr "Objekt" @@ -4303,18 +4322,18 @@ msgid "empty" msgstr "leer" #: ../../reference/expressions.rst:330 ../../reference/expressions.rst:1102 -#: ../../reference/expressions.rst:1186 ../../reference/expressions.rst:2240 +#: ../../reference/expressions.rst:1186 ../../reference/expressions.rst:2252 msgid "tuple" msgstr "Tupel" -#: ../../reference/expressions.rst:336 ../../reference/expressions.rst:2262 +#: ../../reference/expressions.rst:336 ../../reference/expressions.rst:2274 msgid "comma" msgstr "Komma" #: ../../reference/expressions.rst:336 ../../reference/expressions.rst:430 #: ../../reference/expressions.rst:456 ../../reference/expressions.rst:484 #: ../../reference/expressions.rst:1180 ../../reference/expressions.rst:1298 -#: ../../reference/expressions.rst:2228 +#: ../../reference/expressions.rst:2240 msgid ", (comma)" msgstr ", (Komma)" @@ -4331,7 +4350,7 @@ msgstr "für" msgid "in comprehensions" msgstr "in Comprehensions" -#: ../../reference/expressions.rst:361 ../../reference/expressions.rst:2173 +#: ../../reference/expressions.rst:361 ../../reference/expressions.rst:2176 msgid "if" msgstr "falls" @@ -4345,7 +4364,7 @@ msgstr "abwarten" #: ../../reference/expressions.rst:430 ../../reference/expressions.rst:1073 #: ../../reference/expressions.rst:1102 ../../reference/expressions.rst:1186 -#: ../../reference/expressions.rst:2228 +#: ../../reference/expressions.rst:2240 msgid "list" msgstr "Liste" @@ -4363,7 +4382,7 @@ msgid "list expression" msgstr "Listenausdruck" #: ../../reference/expressions.rst:430 ../../reference/expressions.rst:456 -#: ../../reference/expressions.rst:2228 +#: ../../reference/expressions.rst:2240 msgid "expression list" msgstr "Ausdrucksliste" @@ -4401,7 +4420,7 @@ msgid "dictionary expression" msgstr "Wörterbuchausdruck" #: ../../reference/expressions.rst:484 ../../reference/expressions.rst:1180 -#: ../../reference/expressions.rst:2200 +#: ../../reference/expressions.rst:2212 msgid ": (colon)" msgstr ": (Doppelpunkt)" @@ -4414,7 +4433,7 @@ msgid "in dictionary displays" msgstr "in Wörterbuch-Displays" #: ../../reference/expressions.rst:510 ../../reference/expressions.rst:1381 -#: ../../reference/expressions.rst:2247 +#: ../../reference/expressions.rst:2259 msgid "unpacking" msgstr "Auspacken" @@ -4449,7 +4468,7 @@ msgid "from" msgstr "aus" #: ../../reference/expressions.rst:665 ../../reference/expressions.rst:1446 -#: ../../reference/expressions.rst:1460 ../../reference/expressions.rst:2200 +#: ../../reference/expressions.rst:1460 ../../reference/expressions.rst:2212 msgid "function" msgstr "Funktion" @@ -4514,7 +4533,7 @@ msgid "subscription" msgstr "Abonnement" #: ../../reference/expressions.rst:1102 ../../reference/expressions.rst:1186 -#: ../../reference/expressions.rst:2047 +#: ../../reference/expressions.rst:2050 msgid "sequence" msgstr "Abfolge" @@ -4574,7 +4593,7 @@ msgid "parameter" msgstr "Parameter" #: ../../reference/expressions.rst:1381 ../../reference/expressions.rst:1617 -#: ../../reference/expressions.rst:2247 +#: ../../reference/expressions.rst:2259 msgid "* (asterisk)" msgstr "* (Sternchen)" @@ -4624,7 +4643,7 @@ msgstr "Leistung" #: ../../reference/expressions.rst:1519 ../../reference/expressions.rst:1556 #: ../../reference/expressions.rst:1604 ../../reference/expressions.rst:1738 -#: ../../reference/expressions.rst:1767 ../../reference/expressions.rst:2082 +#: ../../reference/expressions.rst:1767 ../../reference/expressions.rst:2085 msgid "operation" msgstr "Betrieb" @@ -4635,10 +4654,10 @@ msgstr "Betrieb" #: ../../reference/expressions.rst:1697 ../../reference/expressions.rst:1716 #: ../../reference/expressions.rst:1738 ../../reference/expressions.rst:1776 #: ../../reference/expressions.rst:1784 ../../reference/expressions.rst:1793 -#: ../../reference/expressions.rst:1808 ../../reference/expressions.rst:2047 -#: ../../reference/expressions.rst:2056 ../../reference/expressions.rst:2098 -#: ../../reference/expressions.rst:2103 ../../reference/expressions.rst:2108 -#: ../../reference/expressions.rst:2173 ../../reference/expressions.rst:2298 +#: ../../reference/expressions.rst:1808 ../../reference/expressions.rst:2050 +#: ../../reference/expressions.rst:2059 ../../reference/expressions.rst:2101 +#: ../../reference/expressions.rst:2106 ../../reference/expressions.rst:2111 +#: ../../reference/expressions.rst:2176 ../../reference/expressions.rst:2310 msgid "operator" msgstr "Operator" @@ -4756,7 +4775,7 @@ msgstr ">>" msgid "ValueError" msgstr "ValueError" -#: ../../reference/expressions.rst:1776 ../../reference/expressions.rst:2103 +#: ../../reference/expressions.rst:1776 ../../reference/expressions.rst:2106 msgid "and" msgstr "und" @@ -4773,7 +4792,7 @@ msgid "exclusive" msgstr "exklusiv" #: ../../reference/expressions.rst:1784 ../../reference/expressions.rst:1793 -#: ../../reference/expressions.rst:2108 +#: ../../reference/expressions.rst:2111 msgid "or" msgstr "oder" @@ -4833,118 +4852,118 @@ msgstr "Verkettung" msgid "comparisons" msgstr "Vergleiche" -#: ../../reference/expressions.rst:2047 +#: ../../reference/expressions.rst:2050 msgid "in" msgstr "in" -#: ../../reference/expressions.rst:2047 +#: ../../reference/expressions.rst:2050 msgid "not in" msgstr "nicht in" -#: ../../reference/expressions.rst:2047 +#: ../../reference/expressions.rst:2050 msgid "membership" msgstr "Mitgliedschaft" -#: ../../reference/expressions.rst:2047 ../../reference/expressions.rst:2056 +#: ../../reference/expressions.rst:2050 ../../reference/expressions.rst:2059 msgid "test" msgstr "Test" -#: ../../reference/expressions.rst:2056 +#: ../../reference/expressions.rst:2059 msgid "is" msgstr "ist" -#: ../../reference/expressions.rst:2056 +#: ../../reference/expressions.rst:2059 msgid "is not" msgstr "ist nicht" -#: ../../reference/expressions.rst:2056 +#: ../../reference/expressions.rst:2059 msgid "identity" msgstr "Identität" -#: ../../reference/expressions.rst:2082 +#: ../../reference/expressions.rst:2085 msgid "Conditional" msgstr "Bedingt" -#: ../../reference/expressions.rst:2082 +#: ../../reference/expressions.rst:2085 msgid "Boolean" msgstr "Boolesch" -#: ../../reference/expressions.rst:2098 +#: ../../reference/expressions.rst:2101 msgid "not" msgstr "nicht" -#: ../../reference/expressions.rst:2122 +#: ../../reference/expressions.rst:2125 msgid ":= (colon equals)" msgstr ":= (Doppelpunkt gleich)" -#: ../../reference/expressions.rst:2122 +#: ../../reference/expressions.rst:2125 msgid "assignment expression" msgstr "Zuweisungsausdruck" -#: ../../reference/expressions.rst:2122 +#: ../../reference/expressions.rst:2125 msgid "walrus operator" msgstr "Walross-Operator" -#: ../../reference/expressions.rst:2122 +#: ../../reference/expressions.rst:2125 msgid "named expression" msgstr "benannter Ausdruck" -#: ../../reference/expressions.rst:2122 +#: ../../reference/expressions.rst:2125 msgid "assignment" msgstr "Aufgabe" -#: ../../reference/expressions.rst:2173 +#: ../../reference/expressions.rst:2176 msgid "conditional" msgstr "bedingt" -#: ../../reference/expressions.rst:2173 +#: ../../reference/expressions.rst:2176 msgid "ternary" msgstr "ternär" -#: ../../reference/expressions.rst:2173 +#: ../../reference/expressions.rst:2176 msgid "conditional expression" msgstr "Bedingter Ausdruck" -#: ../../reference/expressions.rst:2173 +#: ../../reference/expressions.rst:2176 msgid "else" msgstr "sonst" -#: ../../reference/expressions.rst:2200 +#: ../../reference/expressions.rst:2212 msgid "lambda" msgstr "Lambda" -#: ../../reference/expressions.rst:2200 +#: ../../reference/expressions.rst:2212 msgid "form" msgstr "Formular" -#: ../../reference/expressions.rst:2200 +#: ../../reference/expressions.rst:2212 msgid "anonymous" msgstr "anonym" -#: ../../reference/expressions.rst:2200 +#: ../../reference/expressions.rst:2212 msgid "lambda expression" msgstr "Lambda-Ausdruck" -#: ../../reference/expressions.rst:2247 +#: ../../reference/expressions.rst:2259 msgid "iterable" msgstr "iterierbar" -#: ../../reference/expressions.rst:2247 +#: ../../reference/expressions.rst:2259 msgid "in expression lists" msgstr "in Ausdruckslisten" -#: ../../reference/expressions.rst:2262 +#: ../../reference/expressions.rst:2274 msgid "trailing" msgstr "nachlaufend" -#: ../../reference/expressions.rst:2277 +#: ../../reference/expressions.rst:2289 msgid "evaluation" msgstr "Bewertung" -#: ../../reference/expressions.rst:2277 +#: ../../reference/expressions.rst:2289 msgid "order" msgstr "Bestellung" -#: ../../reference/expressions.rst:2298 +#: ../../reference/expressions.rst:2310 msgid "precedence" msgstr "Priorität" diff --git a/using/ios.po b/using/ios.po index bd0c8245..13855dab 100644 --- a/using/ios.po +++ b/using/ios.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-10-26 03:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-13 21:00+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -511,9 +511,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 88314d6e..6fc102e6 100644 --- a/using/windows.po +++ b/using/windows.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-10-26 03:10+0000\n" +"POT-Creation-Date: 2026-11-30 03:06+0000\n" "PO-Revision-Date: 2026-10-13 21:00+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" @@ -374,13 +374,15 @@ msgstr "" "$> py -V:3-arm64 ..." #: ../../using/windows.rst:166 +#, 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 " @@ -390,7 +392,7 @@ msgstr "" "die des Schrägstrichs), wenn du die neueste Veröffentlichung einer " "bestimmten Company möchtest." -#: ../../using/windows.rst:174 +#: ../../using/windows.rst:175 msgid "" "$> py -V:Distributor\\1.0 ...\n" "$> py -V:distrib/ ..." @@ -398,7 +400,7 @@ msgstr "" "$> py -V:Distributor\\1.0 ...\n" "$> py -V:distrib/ ..." -#: ../../using/windows.rst:179 +#: ../../using/windows.rst:180 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 " @@ -413,7 +415,7 @@ msgstr "" "oder lässt sie sich nicht auflösen, wird das Skript mit der Standard-Runtime " "gestartet." -#: ../../using/windows.rst:185 +#: ../../using/windows.rst:186 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 " @@ -428,7 +430,7 @@ msgstr "" "stattgefunden. Dieses Verhalten stellt aber sicher, dass der Befehl ``py`` " "gleichwertig verwendet werden kann." -#: ../../using/windows.rst:191 +#: ../../using/windows.rst:192 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, " @@ -442,11 +444,11 @@ msgstr "" "und ``pymanager exec ...`` eine fehlende Version. Andere Befehlsformen " "zeigen einen Fehler an und verweisen dich auf ``py install``." -#: ../../using/windows.rst:199 +#: ../../using/windows.rst:200 msgid "Command help" msgstr "Hilfe zu den Befehlen" -#: ../../using/windows.rst:201 +#: ../../using/windows.rst:202 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 " @@ -456,7 +458,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:205 +#: ../../using/windows.rst:206 msgid "" "$> py help\n" "$> py help install\n" @@ -466,7 +468,7 @@ msgstr "" "$> py help install\n" "$> py install /?" -#: ../../using/windows.rst:212 +#: ../../using/windows.rst:213 msgid "" "All commands support some common options, which will be shown by ``py " "help``. These options must be specified after any subcommand. Specifying ``-" @@ -480,7 +482,7 @@ msgstr "" "Zwecken der Fehlersuche noch mehr. Mit ``-q`` oder ``--quiet`` wird weniger " "ausgegeben, mit ``-qq`` noch weniger." -#: ../../using/windows.rst:218 +#: ../../using/windows.rst:219 msgid "" "The ``--config=`` option allows specifying a configuration file to " "override multiple settings at once. See :ref:`pymanager-config` below for " @@ -490,11 +492,11 @@ msgstr "" "angeben, die mehrere Einstellungen auf einmal überschreibt. Mehr über diese " "Dateien steht unter :ref:`pymanager-config` weiter unten." -#: ../../using/windows.rst:224 +#: ../../using/windows.rst:225 msgid "Listing runtimes" msgstr "Runtimes auflisten" -#: ../../using/windows.rst:226 +#: ../../using/windows.rst:227 msgid "" "$> py list [-f=|--format=] [-1|--one] [--online|-s=|--source=] " "[...]" @@ -502,7 +504,7 @@ msgstr "" "$> py list [-f=|--format=] [-1|--one] [--online|-s=|--source=] " "[...]" -#: ../../using/windows.rst:230 +#: ../../using/windows.rst:231 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 " @@ -514,7 +516,7 @@ msgstr "" "darf ein Präfix ``<``, ``<=``, ``>=`` oder ``>`` tragen, um auf einen " "Bereich einzuschränken." -#: ../../using/windows.rst:234 +#: ../../using/windows.rst:235 #, fuzzy msgid "" "A range of formats are supported, and can be passed as the ``--" @@ -530,7 +532,7 @@ msgstr "" "Ergebnis), ``exe`` (nur der Pfad zur ausführbaren Datei) und ``prefix`` (nur " "der Präfixpfad)." -#: ../../using/windows.rst:240 +#: ../../using/windows.rst:241 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 " @@ -544,7 +546,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:246 +#: ../../using/windows.rst:247 msgid "" "The ``--only-managed`` option excludes results that were not installed by " "the Python install manager. This is useful when determining which runtimes " @@ -555,7 +557,7 @@ msgstr "" "welche Runtimes sich über den Befehl ``py`` aktualisieren oder " "deinstallieren lassen." -#: ../../using/windows.rst:250 +#: ../../using/windows.rst:251 msgid "" "The ``--online`` option is short for passing ``--source=`` with the " "default source. Passing either of these options will search the online index " @@ -569,12 +571,12 @@ msgstr "" "online --one `` gezeigte Ergebnis entspricht der Runtime, die ``py " "install `` installieren würde." -#: ../../using/windows.rst:257 +#: ../../using/windows.rst:258 #, fuzzy msgid "$> py list --online |version|" msgstr "$> py list --online 3.14" -#: ../../using/windows.rst:259 +#: ../../using/windows.rst:260 #, fuzzy msgid "" "For compatibility with the old launcher, the ``--list``, ``--list-paths``, " @@ -586,11 +588,11 @@ msgstr "" "erlauben keine zusätzlichen Optionen und erzeugen eine Ausgabe im alten " "Format." -#: ../../using/windows.rst:265 +#: ../../using/windows.rst:266 msgid "Installing runtimes" msgstr "Runtimes installieren" -#: ../../using/windows.rst:267 +#: ../../using/windows.rst:268 msgid "" "$> py install [-s=|--source=] [-f|--force] [-u|--update] [--dry-run] " "[...]" @@ -598,7 +600,7 @@ msgstr "" "$> py install [-s=|--source=] [-f|--force] [-u|--update] [--dry-run] " "[...]" -#: ../../using/windows.rst:271 +#: ../../using/windows.rst:272 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 " @@ -609,47 +611,47 @@ msgstr "" "``default`` lässt sich die Standardversion auswählen. Bereiche werden bei " "der Installation nicht unterstützt." -#: ../../using/windows.rst:275 +#: ../../using/windows.rst:276 msgid "" "CPython publishes multiple runtime variants. For most users, ``PythonCore`` " "is recommended and provides the standard CPython runtime. Tags without any " "prefix are treated as ``PythonCore\\``." msgstr "" -#: ../../using/windows.rst:279 +#: ../../using/windows.rst:280 msgid "" "``PythonTest`` includes the standard runtime together with the test suite " "and debugging symbols. It is intended for contributors or users who need " "these additional files for testing or debugging Python." msgstr "" -#: ../../using/windows.rst:283 +#: ../../using/windows.rst:284 msgid "" "``PythonEmbed`` provides a minimal embeddable distribution for applications " "that bundle Python rather than for interactive use. It would normally be " "used with the ``--target`` option described below." msgstr "" -#: ../../using/windows.rst:287 +#: ../../using/windows.rst:288 msgid "To see the available runtime variants, run::" msgstr "" -#: ../../using/windows.rst:289 +#: ../../using/windows.rst:290 #, fuzzy msgid "py list --online" msgstr "$> py list --online 3.14" -#: ../../using/windows.rst:291 +#: ../../using/windows.rst:292 msgid "" "To install a specific variant, include it in the tag passed to ``py " "install``:" msgstr "" -#: ../../using/windows.rst:296 +#: ../../using/windows.rst:297 msgid "py install PythonTest\\\\\\ |version|" msgstr "" -#: ../../using/windows.rst:298 +#: ../../using/windows.rst:299 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:302 +#: ../../using/windows.rst:303 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:305 +#: ../../using/windows.rst:306 #, fuzzy msgid "" "Passing ``--update`` will replace existing installs if the new version is " @@ -685,7 +687,7 @@ msgstr "" "Aktualisierungen entfernen alle Änderungen an der Installation, auch global " "installierte Pakete. Virtuelle Umgebungen funktionieren jedoch weiter." -#: ../../using/windows.rst:312 +#: ../../using/windows.rst:313 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:315 +#: ../../using/windows.rst:316 #, fuzzy msgid "" "Passing ``--refresh`` will update all registrations for installed runtimes. " @@ -709,7 +711,7 @@ msgstr "" "automatisch, nach dem Installieren von Paketen kann es aber nötig sein, es " "von Hand anzustoßen." -#: ../../using/windows.rst:321 +#: ../../using/windows.rst:322 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 " @@ -727,11 +729,11 @@ msgstr "" "Um die Runtime zu starten, führe die Hauptdatei (üblicherweise " "``python.exe``) im Zielverzeichnis direkt aus." -#: ../../using/windows.rst:329 +#: ../../using/windows.rst:330 msgid "$> py install ... [-t=|--target=] " msgstr "$> py install ... [-t=|--target=] " -#: ../../using/windows.rst:333 +#: ../../using/windows.rst:334 msgid "" "The ``py exec`` command will install the requested runtime if it is not " "already present. This is controlled by the ``automatic_install`` " @@ -751,11 +753,11 @@ msgstr "" "sondern den Befehl ``py exec`` oder ausdrückliche Installationsbefehle " "verwenden." -#: ../../using/windows.rst:345 +#: ../../using/windows.rst:346 msgid "Offline installs" msgstr "Offline-Installationen" -#: ../../using/windows.rst:347 +#: ../../using/windows.rst:348 msgid "" "To perform offline installs of Python, you will need to first create an " "offline index on a machine that has network access." @@ -763,11 +765,11 @@ msgstr "" "Um Python offline zu installieren, musst du zunächst auf einem Rechner mit " "Netzzugang einen Offline-Index anlegen." -#: ../../using/windows.rst:350 +#: ../../using/windows.rst:351 msgid "$> py install --download= ... ..." msgstr "$> py install --download= ... ..." -#: ../../using/windows.rst:354 +#: ../../using/windows.rst:355 msgid "" "The ``--download=`` option will download the packages for the listed " "tags and create a directory containing them and an ``index.json`` file " @@ -780,11 +782,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:359 +#: ../../using/windows.rst:360 msgid "$> py install --source=\"\\index.json\" ..." msgstr "$> py install --source=\"\\index.json\" ..." -#: ../../using/windows.rst:363 +#: ../../using/windows.rst:364 msgid "" "The Python install manager can be installed by downloading its installer and " "moving it to another machine before installing." @@ -793,7 +795,7 @@ msgstr "" "Installationsprogramm herunterlädst und vor der Installation auf einen " "anderen Rechner überträgst." -#: ../../using/windows.rst:366 +#: ../../using/windows.rst:367 msgid "" "Alternatively, the ZIP files in an offline index directory can simply be " "transferred to another machine and extracted. This will not register the " @@ -809,7 +811,7 @@ msgstr "" "dieses Vorgehen aber vorzuziehen, etwa wenn sich der Python Install Manager " "nicht installieren lässt oder das unpraktisch ist." -#: ../../using/windows.rst:372 +#: ../../using/windows.rst:373 msgid "" "In this way, Python runtimes can be installed and managed on a machine " "without access to the internet." @@ -817,15 +819,15 @@ msgstr "" "So lassen sich Python-Runtimes auf einem Rechner ohne Internetzugang " "installieren und verwalten." -#: ../../using/windows.rst:377 +#: ../../using/windows.rst:378 msgid "Uninstalling runtimes" msgstr "Runtimes deinstallieren" -#: ../../using/windows.rst:379 +#: ../../using/windows.rst:380 msgid "$> py uninstall [-y|--yes] ..." msgstr "$> py uninstall [-y|--yes] ..." -#: ../../using/windows.rst:383 +#: ../../using/windows.rst:384 msgid "" "Runtimes may be removed using the ``py uninstall`` command. One or more tags " "must be specified. Ranges are not supported here." @@ -834,13 +836,13 @@ msgstr "" "ein oder mehrere Tags angegeben werden. Bereiche werden hier nicht " "unterstützt." -#: ../../using/windows.rst:386 +#: ../../using/windows.rst:387 msgid "" "The ``--yes`` option bypasses the confirmation prompt before uninstalling." msgstr "" "Die Option ``--yes`` übergeht die Bestätigungsabfrage vor dem Deinstallieren." -#: ../../using/windows.rst:388 +#: ../../using/windows.rst:389 msgid "" "Instead of passing tags individually, the ``--purge`` option may be " "specified. This will remove all runtimes managed by the Python install " @@ -854,11 +856,11 @@ msgstr "" "auf. Runtimes, die nicht vom Python Install Manager installiert wurden, " "bleiben unberührt, ebenso von Hand angelegte Konfigurationsdateien." -#: ../../using/windows.rst:394 +#: ../../using/windows.rst:395 msgid "$> py uninstall [-y|--yes] --purge" msgstr "$> py uninstall [-y|--yes] --purge" -#: ../../using/windows.rst:398 +#: ../../using/windows.rst:399 msgid "" "The Python install manager can be uninstalled through the Windows " "\"Installed apps\" settings page. This does not remove any runtimes, and " @@ -875,11 +877,11 @@ msgstr "" "Runtimes vollständig aufzuräumen, rufe vor dem Deinstallieren des Python " "Install Managers ``--purge`` auf." -#: ../../using/windows.rst:408 +#: ../../using/windows.rst:409 msgid "Configuration" msgstr "Konfiguration" -#: ../../using/windows.rst:410 +#: ../../using/windows.rst:411 msgid "" "Python install manager is configured with a hierarchy of configuration " "files, environment variables, command-line options, and registry settings. " @@ -897,7 +899,7 @@ msgstr "" "Befehlszeilenoptionen überschreiben alle anderen Einstellungen, es ist aber " "nicht jede Option verfügbar." -#: ../../using/windows.rst:417 +#: ../../using/windows.rst:418 msgid "" "This section will describe the defaults, but be aware that modified or " "overridden installs may resolve settings differently." @@ -905,7 +907,7 @@ msgstr "" "Dieser Abschnitt beschreibt die Vorgabewerte. Bedenke aber, dass veränderte " "oder überschriebene Installationen Einstellungen anders auflösen können." -#: ../../using/windows.rst:420 +#: ../../using/windows.rst:421 #, fuzzy msgid "" "A global configuration file may be configured by an :ref:`administrator " @@ -927,7 +929,7 @@ msgstr "" "(nicht aber über beide). Diese Orte lassen sich über die weiter unten " "aufgeführten administrativen Anpassungsoptionen verändern." -#: ../../using/windows.rst:431 +#: ../../using/windows.rst:432 msgid "" "The following settings are those that are considered likely to be modified " "in normal use. Later sections list those that are intended for " @@ -937,29 +939,29 @@ msgstr "" "wahrscheinlich verändert werden. Spätere Abschnitte führen jene auf, die für " "administrative Anpassungen gedacht sind." -#: ../../using/windows.rst:439 +#: ../../using/windows.rst:440 msgid "Standard configuration options" msgstr "Übliche Konfigurationsoptionen" -#: ../../using/windows.rst:443 ../../using/windows.rst:780 +#: ../../using/windows.rst:444 ../../using/windows.rst:781 msgid "Config Key" msgstr "Konfigurationsschlüssel" -#: ../../using/windows.rst:444 +#: ../../using/windows.rst:445 msgid "Environment Variable" msgstr "Umgebungsvariable" -#: ../../using/windows.rst:445 ../../using/windows.rst:781 -#: ../../using/windows.rst:1649 ../../using/windows.rst:1669 -#: ../../using/windows.rst:2259 +#: ../../using/windows.rst:446 ../../using/windows.rst:782 +#: ../../using/windows.rst:1789 ../../using/windows.rst:1809 +#: ../../using/windows.rst:2399 msgid "Description" msgstr "Beschreibung" -#: ../../using/windows.rst:447 +#: ../../using/windows.rst:448 msgid "``default_tag``" msgstr "``default_tag``" -#: ../../using/windows.rst:449 +#: ../../using/windows.rst:450 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." @@ -968,15 +970,15 @@ msgstr "" "wird darunter die neueste Version des CPython-Teams verstanden, die keine " "Vorabversion ist." -#: ../../using/windows.rst:453 +#: ../../using/windows.rst:454 msgid "``default_platform``" msgstr "``default_platform``" -#: ../../using/windows.rst:454 +#: ../../using/windows.rst:455 msgid "``PYTHON_MANAGER_DEFAULT_PLATFORM``" msgstr "``PYTHON_MANAGER_DEFAULT_PLATFORM``" -#: ../../using/windows.rst:455 +#: ../../using/windows.rst:456 #, fuzzy msgid "" "The preferred default platform to launch or install. This is treated as a " @@ -990,25 +992,25 @@ msgstr "" "``default_platform`` den Wert ``-64`` hat), aber ``3.14`` verwendet, wenn es " "keine so gekennzeichnete Installation gibt." -#: ../../using/windows.rst:461 +#: ../../using/windows.rst:462 msgid "``logs_dir``" msgstr "``logs_dir``" -#: ../../using/windows.rst:462 +#: ../../using/windows.rst:463 msgid "``PYTHON_MANAGER_LOGS``" msgstr "``PYTHON_MANAGER_LOGS``" -#: ../../using/windows.rst:463 +#: ../../using/windows.rst:464 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:466 +#: ../../using/windows.rst:467 msgid "``automatic_install``" msgstr "``automatic_install``" -#: ../../using/windows.rst:468 +#: ../../using/windows.rst:469 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 " @@ -1019,15 +1021,15 @@ msgstr "" "Andere Befehle installieren unabhängig von dieser Einstellung nicht " "automatisch. Standardmäßig true." -#: ../../using/windows.rst:474 +#: ../../using/windows.rst:475 msgid "``include_unmanaged``" msgstr "``include_unmanaged``" -#: ../../using/windows.rst:475 +#: ../../using/windows.rst:476 msgid "``PYTHON_MANAGER_INCLUDE_UNMANAGED``" msgstr "``PYTHON_MANAGER_INCLUDE_UNMANAGED``" -#: ../../using/windows.rst:476 +#: ../../using/windows.rst:477 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." @@ -1036,15 +1038,15 @@ msgstr "" "Manager installiert wurden, oder false, um sie auszuschließen. Standardmäßig " "true." -#: ../../using/windows.rst:480 +#: ../../using/windows.rst:481 msgid "``shebang_can_run_anything``" msgstr "``shebang_can_run_anything``" -#: ../../using/windows.rst:481 +#: ../../using/windows.rst:482 msgid "``PYTHON_MANAGER_SHEBANG_CAN_RUN_ANYTHING``" msgstr "``PYTHON_MANAGER_SHEBANG_CAN_RUN_ANYTHING``" -#: ../../using/windows.rst:482 +#: ../../using/windows.rst:483 msgid "" "True to allow shebangs in ``.py`` files to launch applications other than " "Python runtimes, or false to prevent it. By default, true." @@ -1053,17 +1055,17 @@ msgstr "" "Runtimes starten zu lassen, oder false, um das zu verhindern. Standardmäßig " "true." -#: ../../using/windows.rst:486 +#: ../../using/windows.rst:487 msgid "``shebang_templates``" msgstr "``shebang_templates``" -#: ../../using/windows.rst:487 ../../using/windows.rst:511 -#: ../../using/windows.rst:524 ../../using/windows.rst:530 -#: ../../using/windows.rst:537 +#: ../../using/windows.rst:488 ../../using/windows.rst:512 +#: ../../using/windows.rst:525 ../../using/windows.rst:531 +#: ../../using/windows.rst:538 msgid "(none)" msgstr "(keine)" -#: ../../using/windows.rst:488 +#: ../../using/windows.rst:489 msgid "" "Mapping from shebang line template to alternative command, such as ``py -V:" "`` or a substitute string. See :ref:`pymanager-shebang` for more " @@ -1073,15 +1075,15 @@ msgstr "" "``py -V:``, oder zu einer Ersetzungszeichenkette. Mehr dazu " "unter :ref:`pymanager-shebang`." -#: ../../using/windows.rst:492 +#: ../../using/windows.rst:493 msgid "``log_level``" msgstr "``log_level``" -#: ../../using/windows.rst:493 +#: ../../using/windows.rst:494 msgid "``PYMANAGER_VERBOSE``, ``PYMANAGER_DEBUG``" msgstr "``PYMANAGER_VERBOSE``, ``PYMANAGER_DEBUG``" -#: ../../using/windows.rst:494 +#: ../../using/windows.rst:495 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 " @@ -1093,15 +1095,15 @@ msgstr "" "während des Starts zusätzliche Ausgaben erzeugen, die später von anderen " "Konfigurationen unterdrückt werden." -#: ../../using/windows.rst:500 +#: ../../using/windows.rst:501 msgid "``confirm``" msgstr "``confirm``" -#: ../../using/windows.rst:501 +#: ../../using/windows.rst:502 msgid "``PYTHON_MANAGER_CONFIRM``" msgstr "``PYTHON_MANAGER_CONFIRM``" -#: ../../using/windows.rst:502 +#: ../../using/windows.rst:503 msgid "" "True to confirm certain actions before taking them (such as uninstall), or " "false to skip the confirmation. By default, true." @@ -1110,24 +1112,24 @@ msgstr "" "bestätigen, oder false, um die Bestätigung zu überspringen. Standardmäßig " "true." -#: ../../using/windows.rst:506 +#: ../../using/windows.rst:507 msgid "``install.source``" msgstr "``install.source``" -#: ../../using/windows.rst:507 +#: ../../using/windows.rst:508 msgid "``PYTHON_MANAGER_SOURCE_URL``" msgstr "``PYTHON_MANAGER_SOURCE_URL``" -#: ../../using/windows.rst:508 +#: ../../using/windows.rst:509 msgid "Override the index feed to obtain new installs from." msgstr "" "Überschreibt den Index-Feed, von dem neue Installationen bezogen werden." -#: ../../using/windows.rst:510 +#: ../../using/windows.rst:511 msgid "``install.enable_entrypoints``" msgstr "``install.enable_entrypoints``" -#: ../../using/windows.rst:512 +#: ../../using/windows.rst:513 msgid "" "True to generate global commands for installed packages (such as " "``pip.exe``). These are defined by the packages themselves. If set to false, " @@ -1140,15 +1142,15 @@ msgstr "" "angelegt. Standardmäßig true. Nach einer Änderung dieser Einstellung " "solltest du ``py install --refresh`` ausführen." -#: ../../using/windows.rst:518 +#: ../../using/windows.rst:519 msgid "``list.format``" msgstr "``list.format``" -#: ../../using/windows.rst:519 +#: ../../using/windows.rst:520 msgid "``PYTHON_MANAGER_LIST_FORMAT``" msgstr "``PYTHON_MANAGER_LIST_FORMAT``" -#: ../../using/windows.rst:520 +#: ../../using/windows.rst:521 msgid "" "Specify the default format used by the ``py list`` command. By default, " "``table``." @@ -1156,11 +1158,11 @@ msgstr "" "Legt das Standardformat des Befehls ``py list`` fest. Standardmäßig " "``table``." -#: ../../using/windows.rst:523 +#: ../../using/windows.rst:524 msgid "``install_dir``" msgstr "``install_dir``" -#: ../../using/windows.rst:525 +#: ../../using/windows.rst:526 msgid "" "Specify the root directory that runtimes will be installed into. If you " "change this setting, previously installed runtimes will not be usable unless " @@ -1170,11 +1172,11 @@ msgstr "" "diese Einstellung änderst, sind zuvor installierte Runtimes nicht mehr " "verwendbar, sofern du sie nicht an den neuen Ort verschiebst." -#: ../../using/windows.rst:529 +#: ../../using/windows.rst:530 msgid "``global_dir``" msgstr "``global_dir``" -#: ../../using/windows.rst:531 +#: ../../using/windows.rst:532 #, fuzzy msgid "" "Specify the directory where global commands (such as |" @@ -1187,11 +1189,11 @@ msgstr "" "deinem :envvar:`PATH` hinzugefügt werden, damit die Befehle im Terminal " "verfügbar sind." -#: ../../using/windows.rst:536 +#: ../../using/windows.rst:537 msgid "``download_dir``" msgstr "``download_dir``" -#: ../../using/windows.rst:538 +#: ../../using/windows.rst:539 msgid "" "Specify the directory where downloaded files are stored. This directory is a " "temporary cache, and can be cleaned up from time to time." @@ -1200,7 +1202,7 @@ msgstr "" "Dieses Verzeichnis ist ein vorübergehender Zwischenspeicher und kann von " "Zeit zu Zeit aufgeräumt werden." -#: ../../using/windows.rst:543 +#: ../../using/windows.rst:544 msgid "" "Dotted names should be nested inside JSON objects, for example, " "``list.format`` would be specified as ``{\"list\": {\"format\": \"table\"}}" @@ -1209,11 +1211,11 @@ msgstr "" "Namen mit Punkten gehören verschachtelt in JSON-Objekte, ``list.format`` " "wird also als ``{\"list\": {\"format\": \"table\"}}`` angegeben." -#: ../../using/windows.rst:549 ../../using/windows.rst:2015 +#: ../../using/windows.rst:550 ../../using/windows.rst:2155 msgid "Shebang lines" msgstr "Shebang-Zeilen" -#: ../../using/windows.rst:551 +#: ../../using/windows.rst:552 #, fuzzy msgid "" "If the first line of a script file starts with ``#!``, it is known as a " @@ -1228,7 +1230,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:557 +#: ../../using/windows.rst:558 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 " @@ -1239,35 +1241,35 @@ msgstr "" "denen sich der zu verwendende Interpreter angeben lässt. Die unterstützten " "virtuellen Befehle sind:" -#: ../../using/windows.rst:561 +#: ../../using/windows.rst:562 msgid "``/usr/bin/env ``" msgstr "``/usr/bin/env ``" -#: ../../using/windows.rst:562 +#: ../../using/windows.rst:563 msgid "``/usr/bin/env -S ``" msgstr "``/usr/bin/env -S ``" -#: ../../using/windows.rst:563 +#: ../../using/windows.rst:564 msgid "``/usr/bin/``" msgstr "``/usr/bin/``" -#: ../../using/windows.rst:564 +#: ../../using/windows.rst:565 msgid "``/usr/local/bin/``" msgstr "``/usr/local/bin/``" -#: ../../using/windows.rst:565 +#: ../../using/windows.rst:566 msgid "````" msgstr "````" -#: ../../using/windows.rst:567 ../../using/windows.rst:2033 +#: ../../using/windows.rst:568 ../../using/windows.rst:2173 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:569 ../../using/windows.rst:2035 +#: ../../using/windows.rst:570 ../../using/windows.rst:2175 msgid "#! /usr/bin/python" msgstr "#! /usr/bin/python" -#: ../../using/windows.rst:573 ../../using/windows.rst:2039 +#: ../../using/windows.rst:574 ../../using/windows.rst:2179 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 " @@ -1283,7 +1285,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:579 +#: ../../using/windows.rst:580 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 " @@ -1300,7 +1302,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:585 +#: ../../using/windows.rst:586 msgid "" "If no runtimes are installed, or if automatic installation is enabled, the " "requested runtime will be installed if necessary. See :ref:`pymanager-" @@ -1310,7 +1312,7 @@ msgstr "" "eingeschaltet, wird die verlangte Runtime bei Bedarf installiert. " "Unter :ref:`pymanager-config` steht mehr zu den Konfigurationseinstellungen." -#: ../../using/windows.rst:589 +#: ../../using/windows.rst:590 msgid "" "The ``/usr/bin/env`` form of shebang line will also search " "the :envvar:`PATH` environment variable for unrecognized commands. This " @@ -1326,7 +1328,7 @@ msgstr "" "Warnung erscheinen. Diese Suche lässt sich über die Konfigurationsoption " "``shebang_can_run_anything`` abschalten." -#: ../../using/windows.rst:596 +#: ../../using/windows.rst:597 #, fuzzy msgid "" "Shebang lines that do not match any of the patterns are treated as *Windows* " @@ -1348,7 +1350,7 @@ msgstr "" "lässt sich über die Konfigurationsoption ``shebang_can_run_anything`` " "abschalten." -#: ../../using/windows.rst:605 +#: ../../using/windows.rst:606 msgid "" "Since version 26.3 of the Python install manager, custom shebang templates " "may be added to your configuration file. Add the ``shebang_templates`` " @@ -1367,7 +1369,7 @@ msgstr "" "`` ist erlaubt, ebenso ein einfaches ``py``, um die Standardversion " "zu starten. Andere Argumente werden nicht unterstützt." -#: ../../using/windows.rst:613 +#: ../../using/windows.rst:614 msgid "" "{\n" " \"shebang_templates\": {\n" @@ -1383,7 +1385,7 @@ msgstr "" " }\n" "}" -#: ../../using/windows.rst:622 +#: ../../using/windows.rst:623 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 " @@ -1399,7 +1401,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:631 +#: ../../using/windows.rst:632 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 " @@ -1416,11 +1418,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:649 +#: ../../using/windows.rst:650 msgid "Advanced installation" msgstr "Fortgeschrittene Installation" -#: ../../using/windows.rst:651 +#: ../../using/windows.rst:652 msgid "" "For situations where an MSIX cannot be installed, such as some older " "administrative distribution platforms, there is an MSI available from the " @@ -1437,7 +1439,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:660 +#: ../../using/windows.rst:661 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." @@ -1446,7 +1448,7 @@ msgstr "" "Version, die MSIX nicht unterstützt. Für Windows Server 2019 solltest du das " "MSI verwenden." -#: ../../using/windows.rst:663 +#: ../../using/windows.rst:664 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 " @@ -1459,7 +1461,7 @@ msgstr "" "offline` und :ref:`pymanager-admin-config` steht, wie du mit diesen Fällen " "umgehst." -#: ../../using/windows.rst:668 +#: ../../using/windows.rst:669 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 " @@ -1475,7 +1477,7 @@ msgstr "" "install --target=`` verwenden und eigene systemweite " "Änderungen an :envvar:`PATH`, der Registrierung oder dem Startmenü vornehmen." -#: ../../using/windows.rst:674 +#: ../../using/windows.rst:675 msgid "" "When the MSIX is installed, but commands are not available in " "the :envvar:`PATH` environment variable, they can be found " @@ -1497,7 +1499,7 @@ msgstr "" "ausführbare Datei direkt aus „Programme“ zu starten, ist nicht " "empfehlenswert." -#: ../../using/windows.rst:683 +#: ../../using/windows.rst:684 msgid "" "To programmatically install the Python install manager, it is easiest to use " "WinGet, which is included with all supported versions of Windows:" @@ -1505,7 +1507,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:686 +#: ../../using/windows.rst:687 msgid "" "$> winget install 9NQ7512CXL7T -e --accept-package-agreements --disable-" "interactivity\n" @@ -1519,7 +1521,7 @@ msgstr "" "# Optional die Konfigurationsprüfung ausführen und alle Änderungen annehmen\n" "$> py install --configure -y" -#: ../../using/windows.rst:693 +#: ../../using/windows.rst:694 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 " @@ -1535,7 +1537,7 @@ msgstr "" "nicht benötigt wird, denn das heruntergeladene MSIX lässt sich durch Starten " "oder mit den folgenden Befehlen installieren." -#: ../../using/windows.rst:699 +#: ../../using/windows.rst:700 msgid "" "$> winget download 9NQ7512CXL7T -e --skip-license --accept-package-" "agreements --accept-source-agreements" @@ -1543,7 +1545,7 @@ msgstr "" "$> winget download 9NQ7512CXL7T -e --skip-license --accept-package-" "agreements --accept-source-agreements" -#: ../../using/windows.rst:703 +#: ../../using/windows.rst:704 msgid "" "To programmatically install or uninstall an MSIX using only PowerShell, the " "`Add-AppxPackage`_ and `Remove-AppxPackage`_ PowerShell cmdlets are " @@ -1553,7 +1555,7 @@ msgstr "" "deinstallieren, empfehlen sich die PowerShell-Cmdlets `Add-AppxPackage`_ und " "`Remove-AppxPackage`_:" -#: ../../using/windows.rst:706 +#: ../../using/windows.rst:707 msgid "" "$> Add-AppxPackage C:\\Downloads\\python-manager-25.0.msix\n" "...\n" @@ -1565,7 +1567,7 @@ msgstr "" "$> Get-AppxPackage PythonSoftwareFoundation.PythonManager | Remove-" "AppxPackage" -#: ../../using/windows.rst:712 +#: ../../using/windows.rst:713 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 " @@ -1578,7 +1580,7 @@ msgstr "" "Fälle empfehlenswert, in denen eine Installation über den Store (von Hand " "oder mit WinGet) nicht möglich ist." -#: ../../using/windows.rst:717 +#: ../../using/windows.rst:718 msgid "" "$> Add-AppxPackage -AppInstallerFile https://www.python.org/ftp/python/" "pymanager/pymanager.appinstaller" @@ -1586,7 +1588,7 @@ msgstr "" "$> Add-AppxPackage -AppInstallerFile https://www.python.org/ftp/python/" "pymanager/pymanager.appinstaller" -#: ../../using/windows.rst:721 +#: ../../using/windows.rst:722 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. " @@ -1601,7 +1603,7 @@ msgstr "" "Klasse `PackageManager`_ oder die Dokumentation und Unterstützung deines " "Bereitstellungswerkzeugs zu werfen." -#: ../../using/windows.rst:727 +#: ../../using/windows.rst:728 #, fuzzy msgid "" "Regardless of the install method, users will still need to install their own " @@ -1615,7 +1617,7 @@ msgstr "" "neueste Python-Version allen Benutzern ohne Netzzugang zur Installation " "bereit." -#: ../../using/windows.rst:732 +#: ../../using/windows.rst:733 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 " @@ -1631,11 +1633,11 @@ msgstr "" "verringern. Es gibt beim Python Install Manager keine Lizenzeinschränkungen, " "die einer solchen Verwendung des Store-Pakets entgegenstünden." -#: ../../using/windows.rst:743 +#: ../../using/windows.rst:744 msgid "Administrative configuration" msgstr "Administrative Konfiguration" -#: ../../using/windows.rst:745 +#: ../../using/windows.rst:746 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 " @@ -1649,7 +1651,7 @@ msgstr "" "Arten von Verknüpfungen abschalten und mitgelieferte Inhalte überschreiben. " "Alle obigen Konfigurationsoptionen lassen sich setzen, ebenso die folgenden." -#: ../../using/windows.rst:750 +#: ../../using/windows.rst:751 msgid "" "Configuration options may be overridden in the registry by setting values " "under :file:`HKEY_LOCAL_MACHINE\\\\Software\\\\Policies\\\\Python\\" @@ -1673,7 +1675,7 @@ msgstr "" "eingestellte Einstellung, während ``base_config`` es Benutzern erlaubt, " "Einstellungen weiter nach Bedarf anzupassen." -#: ../../using/windows.rst:760 +#: ../../using/windows.rst:761 msgid "" "Note that most settings with environment variables support those variables " "because their default setting specifies the variable. If you override them, " @@ -1693,7 +1695,7 @@ msgstr "" "Umgebungsvariable nicht mehr verwendet. Überschreibst du ihn mit " "``%CONFIRM%``, wird stattdessen jene Umgebungsvariable verwendet." -#: ../../using/windows.rst:769 +#: ../../using/windows.rst:770 msgid "" "Configuration settings that are paths are interpreted as relative to the " "directory containing the configuration file that specified them." @@ -1702,15 +1704,15 @@ msgstr "" "Verzeichnis gelesen, in dem die Konfigurationsdatei liegt, die sie angegeben " "hat." -#: ../../using/windows.rst:776 +#: ../../using/windows.rst:777 msgid "Administrative configuration options" msgstr "Administrative Konfigurationsoptionen" -#: ../../using/windows.rst:783 +#: ../../using/windows.rst:784 msgid "``base_config``" msgstr "``base_config``" -#: ../../using/windows.rst:784 +#: ../../using/windows.rst:785 msgid "" "The highest priority configuration file to read. Note that only the built-in " "configuration file and the registry can modify this setting." @@ -1719,27 +1721,27 @@ msgstr "" "integrierte Konfigurationsdatei und die Registrierung diese Einstellung " "ändern können." -#: ../../using/windows.rst:788 +#: ../../using/windows.rst:789 msgid "``user_config``" msgstr "``user_config``" -#: ../../using/windows.rst:789 +#: ../../using/windows.rst:790 msgid "The second configuration file to read." msgstr "Die zweite zu lesende Konfigurationsdatei." -#: ../../using/windows.rst:791 +#: ../../using/windows.rst:792 msgid "``additional_config``" msgstr "``additional_config``" -#: ../../using/windows.rst:792 +#: ../../using/windows.rst:793 msgid "The third configuration file to read." msgstr "Die dritte zu lesende Konfigurationsdatei." -#: ../../using/windows.rst:794 +#: ../../using/windows.rst:795 msgid "``registry_override_key``" msgstr "``registry_override_key``" -#: ../../using/windows.rst:795 +#: ../../using/windows.rst:796 msgid "" "Registry location to check for overrides. Note that only the built-in " "configuration file can modify this setting." @@ -1747,30 +1749,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:798 +#: ../../using/windows.rst:799 msgid "``bundled_dir``" msgstr "``bundled_dir``" -#: ../../using/windows.rst:799 +#: ../../using/windows.rst:800 msgid "Read-only directory containing locally cached files." msgstr "Nur lesbares Verzeichnis mit lokal zwischengespeicherten Dateien." -#: ../../using/windows.rst:801 +#: ../../using/windows.rst:802 msgid "``install.fallback_source``" msgstr "``install.fallback_source``" -#: ../../using/windows.rst:802 +#: ../../using/windows.rst:803 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:804 +#: ../../using/windows.rst:805 msgid "``install.enable_shortcut_kinds``" msgstr "``install.enable_shortcut_kinds``" -#: ../../using/windows.rst:805 +#: ../../using/windows.rst:806 #, fuzzy msgid "" "Comma-separated list of shortcut kinds to allow (for example, " @@ -1781,11 +1783,11 @@ msgstr "" "``\"pep514,start\"``). Erlaubte Verknüpfungen können durch " "``disable_shortcut_kinds`` dennoch abgeschaltet werden." -#: ../../using/windows.rst:809 +#: ../../using/windows.rst:810 msgid "``install.disable_shortcut_kinds``" msgstr "``install.disable_shortcut_kinds``" -#: ../../using/windows.rst:810 +#: ../../using/windows.rst:811 #, fuzzy msgid "" "Comma-separated list of shortcut kinds to exclude (for example, " @@ -1796,11 +1798,11 @@ msgstr "" "``\"pep514,start\"``). Abgeschaltete Verknüpfungen werden durch " "``enable_shortcut_kinds`` nicht wieder aktiviert." -#: ../../using/windows.rst:814 +#: ../../using/windows.rst:815 msgid "``install.hard_link_entrypoints``" msgstr "``install.hard_link_entrypoints``" -#: ../../using/windows.rst:815 +#: ../../using/windows.rst:816 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 " @@ -1815,11 +1817,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:822 +#: ../../using/windows.rst:823 msgid "``pep514_root``" msgstr "``pep514_root``" -#: ../../using/windows.rst:823 +#: ../../using/windows.rst:824 msgid "" "Registry location to read and write PEP 514 entries into. By " "default, :file:`HKEY_CURRENT_USER\\\\Software\\\\Python`." @@ -1828,11 +1830,11 @@ msgstr "" "geschrieben werden. Standardmäßig :file:`HKEY_CURRENT_USER\\\\Software\\" "\\Python`." -#: ../../using/windows.rst:826 +#: ../../using/windows.rst:827 msgid "``start_folder``" msgstr "``start_folder``" -#: ../../using/windows.rst:827 +#: ../../using/windows.rst:828 msgid "" "Start menu folder to write shortcuts into. By default, ``Python``. This path " "is relative to the user's Programs folder." @@ -1840,11 +1842,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:831 +#: ../../using/windows.rst:832 msgid "``virtual_env``" msgstr "``virtual_env``" -#: ../../using/windows.rst:832 +#: ../../using/windows.rst:833 msgid "" "Path to the active virtual environment. By default, this is " "``%VIRTUAL_ENV%``, but may be set empty to disable venv detection." @@ -1853,11 +1855,11 @@ msgstr "" "aber leer gesetzt werden, um die Erkennung virtueller Umgebungen " "abzuschalten." -#: ../../using/windows.rst:836 +#: ../../using/windows.rst:837 msgid "``shebang_can_run_anything_silently``" msgstr "``shebang_can_run_anything_silently``" -#: ../../using/windows.rst:837 +#: ../../using/windows.rst:838 msgid "" "True to suppress visible warnings when a shebang launches an application " "other than a Python runtime." @@ -1865,11 +1867,11 @@ msgstr "" "True, um sichtbare Warnungen zu unterdrücken, wenn ein Shebang eine andere " "Anwendung als eine Python-Runtime startet." -#: ../../using/windows.rst:840 +#: ../../using/windows.rst:841 msgid "``source_settings``" msgstr "``source_settings``" -#: ../../using/windows.rst:841 +#: ../../using/windows.rst:842 msgid "" "A mapping from source URL to settings specific to that index. When multiple " "configuration files include this section, URL settings are added or " @@ -1882,11 +1884,11 @@ msgstr "" "zusammengeführt. Diese Einstellungen dienen derzeit ausschließlich " "den :ref:`Index-Signaturen `." -#: ../../using/windows.rst:851 ../../using/windows.rst:1828 +#: ../../using/windows.rst:852 ../../using/windows.rst:1968 msgid "Installing free-threaded binaries" msgstr "Free-Threading-Binärdateien installieren" -#: ../../using/windows.rst:855 +#: ../../using/windows.rst:856 msgid "" "Pre-built distributions of the free-threaded build are available by " "installing tags with the ``t`` suffix." @@ -1894,7 +1896,7 @@ msgstr "" "Vorgefertigte Distributionen des Free-Threading-Builds lassen sich " "installieren, indem Tags mit dem Suffix ``t`` angegeben werden." -#: ../../using/windows.rst:860 +#: ../../using/windows.rst:861 #, fuzzy msgid "" "$> py install |version|\\ t\n" @@ -1905,7 +1907,7 @@ msgstr "" "$> py install 3.14t-arm64\n" "$> py install 3.14t-32" -#: ../../using/windows.rst:864 +#: ../../using/windows.rst:865 #, fuzzy msgid "" "This will install and register as normal. If you have no other runtimes " @@ -1920,11 +1922,11 @@ msgstr "" "Aliasnamen zu deiner Umgebungsvariablen :envvar:`PATH` hinzugefügt hast, die " "Befehle ``python3.14t.exe``." -#: ../../using/windows.rst:873 +#: ../../using/windows.rst:874 msgid "Index signatures" msgstr "Index-Signaturen" -#: ../../using/windows.rst:877 +#: ../../using/windows.rst:878 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 " @@ -1943,7 +1945,7 @@ msgstr "" "werden, solange das Betriebssystem des Clients dessen Zertifizierungsstelle " "(Wurzel-CA) bereits vertraut." -#: ../../using/windows.rst:884 +#: ../../using/windows.rst:885 msgid "" "Index signatures are only downloaded and checked when the local " "configuration's ``source_settings`` section includes the index URL and " @@ -1958,7 +1960,7 @@ msgstr "" "lokalen Konfiguration — selbst auf false —, werden die Einstellungen im " "Index ignoriert." -#: ../../using/windows.rst:890 +#: ../../using/windows.rst:891 #, fuzzy msgid "" "As well as requiring a valid signature, the ``required_root_subject`` and " @@ -1977,7 +1979,7 @@ msgstr "" "ignoriert). Übliche Attribute sind ``CN=`` für den Common Name, ``O=`` für " "die Organisationseinheit und ``C=`` für das Land des Herausgebers." -#: ../../using/windows.rst:898 +#: ../../using/windows.rst:899 msgid "" "Finally, the ``required_publisher_eku`` setting allows requiring that a " "specific Enhanced Key Usage (EKU) has been assigned to the publisher " @@ -1994,7 +1996,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:905 +#: ../../using/windows.rst:906 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 " @@ -2009,7 +2011,7 @@ msgstr "" "Fall unter ``https://www.python.org/ftp/python/index-windows.json.cat`` zu " "finden." -#: ../../using/windows.rst:911 +#: ../../using/windows.rst:912 msgid "" "{\n" " \"source_settings\": {\n" @@ -2037,7 +2039,7 @@ msgstr "" " }\n" "}" -#: ../../using/windows.rst:924 +#: ../../using/windows.rst:925 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 " @@ -2049,7 +2051,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:929 +#: ../../using/windows.rst:930 msgid "" "{\n" " \"requires_signature\": true,\n" @@ -2067,7 +2069,7 @@ msgstr "" " ]\n" "}" -#: ../../using/windows.rst:939 +#: ../../using/windows.rst:940 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 " @@ -2081,7 +2083,7 @@ msgstr "" "Einstellungen in eine lokale Konfigurationsdatei zu übernehmen, damit " "unbefugte Änderungen am Feed die Überprüfung nicht abschalten können." -#: ../../using/windows.rst:944 +#: ../../using/windows.rst:945 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 " @@ -2093,7 +2095,7 @@ msgstr "" "``source_settings`` in einer verbindlichen Konfigurationsdatei bereitstellen " "(siehe :ref:`pymanager-admin-config`)." -#: ../../using/windows.rst:949 +#: ../../using/windows.rst:950 msgid "" "If signature validation fails, you will be notified and prompted to " "continue. When interactive confirmation is not allowed (for example, because " @@ -2108,7 +2110,7 @@ msgstr "" "Konfigurationsdatei bereitstellen, die die Signaturprüfung für diesen Feed " "abschaltet." -#: ../../using/windows.rst:955 +#: ../../using/windows.rst:956 msgid "" "\"source_settings\": {\n" " \"https://www.example.com/feed-with-invalid-signature.json\": {\n" @@ -2122,11 +2124,11 @@ msgstr "" " }\n" "}" -#: ../../using/windows.rst:965 +#: ../../using/windows.rst:966 msgid "Proxy settings" msgstr "Proxy-Einstellungen" -#: ../../using/windows.rst:969 +#: ../../using/windows.rst:970 msgid "" "By default, the Python install manager will use your system-wide proxy " "settings, including automatic authentication. For most users, this behaves " @@ -2137,7 +2139,7 @@ msgstr "" "Benutzer verhält er sich damit genauso wie der Browser und andere " "Anwendungen." -#: ../../using/windows.rst:973 +#: ../../using/windows.rst:974 msgid "" "To override the settings, use the ``NO_PROXY``, ``HTTP_PROXY`` and " "``HTTPS_PROXY`` environment variables. These should be set in the terminal " @@ -2151,7 +2153,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:979 +#: ../../using/windows.rst:980 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 " @@ -2161,7 +2163,7 @@ msgstr "" "Proxy verwendet. Damit umgehst du die Standard-Proxy-Einstellung deines " "Systems und versuchst, den Index-Server direkt zu erreichen." -#: ../../using/windows.rst:983 +#: ../../using/windows.rst:984 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 " @@ -2173,7 +2175,7 @@ msgstr "" "Standardindex laufen alle Verbindungen über HTTPS, deshalb ist das die " "übliche Einstellung zum Überschreiben." -#: ../../using/windows.rst:987 +#: ../../using/windows.rst:988 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 " @@ -2184,7 +2186,7 @@ msgstr "" "aber der Standard-Proxy-Server überschrieben werden muss. Sie hat dasselbe " "Format wie ``HTTPS_PROXY``." -#: ../../using/windows.rst:991 +#: ../../using/windows.rst:992 msgid "" "Credentials may be embedded in either setting, however, when ``HTTPS_PROXY`` " "has credentials embedded they will be used in preference to other " @@ -2196,11 +2198,234 @@ msgstr "" "Anmeldedaten vorgezogen. Für beide Proxy-Arten wird nur ein Satz " "Anmeldedaten verwendet." -#: ../../using/windows.rst:998 ../../using/windows.rst:1010 +#: ../../using/windows.rst:999 +msgid "Tags and tag matching" +msgstr "" + +#: ../../using/windows.rst:1001 +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:1007 +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:1012 +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:1015 +msgid "[/][-]" +msgstr "" + +#: ../../using/windows.rst:1019 +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:1024 +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:1030 +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:1038 +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:1042 +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:1049 +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:1056 +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:1063 +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:1070 +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:1078 +msgid "" +"Here are some example cases showing the different applications of " +"constraints:" +msgstr "" + +#: ../../using/windows.rst:1080 +msgid "``>=3.13`` matches ``3.13.4`` and ``3.14``" +msgstr "" + +#: ../../using/windows.rst:1081 +msgid "``>3.13`` matches ``3.14``, but not ``3.13.4``" +msgstr "" + +#: ../../using/windows.rst:1082 +msgid "``>=3.13t`` matches ``3.14t``, while ``>=3.13`` does not" +msgstr "" + +#: ../../using/windows.rst:1083 +msgid "``>=3.13`` matches ``3.14-abc`` but not ``3.14abc``" +msgstr "" + +#: ../../using/windows.rst:1084 +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:1089 +msgid "``>=3.0`` matches ``3``, but ``>3.0`` does not" +msgstr "" + +#: ../../using/windows.rst:1090 +msgid "``<4`` matches ``3``, but ``<3.12`` and ``<=3.12`` do not" +msgstr "" + +#: ../../using/windows.rst:1091 +msgid "" +"``==3.0`` does not match ``3``, while ``==3.10`` still matches ``3.10.1``" +msgstr "" + +#: ../../using/windows.rst:1092 +msgid "" +"``!=3.13`` rejects ``3`` (because it could be ``3.13``), but ``!=3.13t`` " +"accepts ``3`` (different suffix)" +msgstr "" + +#: ../../using/windows.rst:1095 +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:1106 +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:1110 +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:1117 +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:1122 +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:1128 +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:1138 ../../using/windows.rst:1150 msgid "Troubleshooting" msgstr "Fehlersuche" -#: ../../using/windows.rst:1000 +#: ../../using/windows.rst:1140 #, fuzzy msgid "" "If your Python install manager does not seem to be working correctly, work " @@ -2215,15 +2440,15 @@ msgstr "" "Protokolldateien bei (sie werden standardmäßig in dein " "Verzeichnis :file:`%TEMP%` geschrieben)." -#: ../../using/windows.rst:1014 +#: ../../using/windows.rst:1154 msgid "Symptom" msgstr "Symptom" -#: ../../using/windows.rst:1015 +#: ../../using/windows.rst:1155 msgid "Things to try" msgstr "Das kannst du versuchen" -#: ../../using/windows.rst:1017 +#: ../../using/windows.rst:1157 msgid "" "``python`` gives me a \"command not found\" error or opens the Store app " "when I type it in my terminal." @@ -2231,11 +2456,11 @@ msgstr "" "``python`` meldet „command not found“ oder öffnet die Store-App, wenn ich es " "im Terminal eingebe." -#: ../../using/windows.rst:1019 ../../using/windows.rst:1038 +#: ../../using/windows.rst:1159 ../../using/windows.rst:1178 msgid "Did you :ref:`install the Python install manager `?" msgstr "Hast du :ref:`den Python Install Manager installiert `?" -#: ../../using/windows.rst:1022 ../../using/windows.rst:1041 +#: ../../using/windows.rst:1162 ../../using/windows.rst:1181 msgid "" "Click Start, open \"Manage app execution aliases\", and check that the " "aliases for \"Python (default)\" are enabled. If they already are, try " @@ -2248,11 +2473,11 @@ msgstr "" "Befehle „Python (default windowed)“ und „Python install manager“ müssen " "möglicherweise erneuert werden." -#: ../../using/windows.rst:1029 +#: ../../using/windows.rst:1169 msgid "Check that the ``py`` and ``pymanager`` commands work." msgstr "Prüfe, ob die Befehle ``py`` und ``pymanager`` funktionieren." -#: ../../using/windows.rst:1032 ../../using/windows.rst:1048 +#: ../../using/windows.rst:1172 ../../using/windows.rst:1188 msgid "" "Ensure your :envvar:`PATH` variable contains the entry for ``%UserProfile%" "\\AppData\\Local\\Microsoft\\WindowsApps``. The operating system includes " @@ -2264,18 +2489,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:1037 +#: ../../using/windows.rst:1177 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:1053 +#: ../../using/windows.rst:1193 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:1055 +#: ../../using/windows.rst:1195 msgid "" "This usually means you have the legacy launcher installed and it has " "priority over the Python install manager. To remove, click Start, open " @@ -2285,11 +2510,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:1060 +#: ../../using/windows.rst:1200 msgid "``python`` doesn't launch the same runtime as ``py``" msgstr "``python`` startet nicht dieselbe Runtime wie ``py``" -#: ../../using/windows.rst:1061 +#: ../../using/windows.rst:1201 msgid "" "Click Start, open \"Installed apps\", look for any existing Python runtimes, " "and either remove them or Modify and disable the :envvar:`PATH` options." @@ -2298,7 +2523,7 @@ msgstr "" "Runtimes und entferne sie entweder oder wähle „Ändern“ und schalte " "die :envvar:`PATH`-Optionen ab." -#: ../../using/windows.rst:1065 +#: ../../using/windows.rst:1205 msgid "" "Click Start, open \"Manage app execution aliases\", and check that your " "``python.exe`` alias is set to \"Python (default)\"" @@ -2306,11 +2531,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:1068 +#: ../../using/windows.rst:1208 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:1069 +#: ../../using/windows.rst:1209 msgid "" "Check your :envvar:`PYTHON_MANAGER_DEFAULT` environment variable or " "``default_tag`` configuration. The ``py list`` command will show your " @@ -2320,7 +2545,7 @@ msgstr "" "Konfiguration ``default_tag``. Der Befehl ``py list`` zeigt deine " "Standardversion auf Grundlage dieser Einstellungen an." -#: ../../using/windows.rst:1074 +#: ../../using/windows.rst:1214 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, " @@ -2330,7 +2555,7 @@ msgstr "" "verwalteten Installationen vorgezogen. Verwende ``py install``, um die " "erwartete Runtime zu installieren, oder stelle dein Standard-Tag ein." -#: ../../using/windows.rst:1080 +#: ../../using/windows.rst:1220 msgid "" "Prerelease and experimental installs that are not managed by the Python " "install manager may be chosen ahead of stable releases. Configure your " @@ -2342,14 +2567,14 @@ msgstr "" "Stelle dein Standard-Tag ein oder deinstalliere die Vorabversion und " "installiere sie mit ``py install`` erneut." -#: ../../using/windows.rst:1085 +#: ../../using/windows.rst:1225 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:1086 +#: ../../using/windows.rst:1226 msgid "" "Click Start, open \"Manage app execution aliases\", and check that your " "``pythonw.exe`` and ``pyw.exe`` aliases are consistent with your others." @@ -2357,12 +2582,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:1089 +#: ../../using/windows.rst:1229 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:1090 ../../using/windows.rst:1102 +#: ../../using/windows.rst:1230 ../../using/windows.rst:1242 msgid "" "Have you activated a virtual environment? Run the " "``.venv\\Scripts\\activate`` script in your terminal to activate." @@ -2370,7 +2595,7 @@ msgstr "" "Hast du eine virtuelle Umgebung aktiviert? Führe dazu das Skript " "``.venv\\Scripts\\activate`` im Terminal aus." -#: ../../using/windows.rst:1094 +#: ../../using/windows.rst:1234 msgid "" "The package may be available but missing the generated executable. We " "recommend using the ``python -m pip`` command instead. Running ``py install " @@ -2386,13 +2611,13 @@ msgstr "" "es in der Ausgabe des Befehls genannt), sollten Befehle wie ``pip`` und die " "anderer installierter Pakete verfügbar sein." -#: ../../using/windows.rst:1101 +#: ../../using/windows.rst:1241 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:1106 +#: ../../using/windows.rst:1246 msgid "" "New packages do not automatically have global shortcuts created by the " "Python install manager. Similarly, uninstalled packages do not have their " @@ -2404,12 +2629,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:1112 +#: ../../using/windows.rst:1252 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:1113 +#: ../../using/windows.rst:1253 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\" " @@ -2421,11 +2646,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:1118 +#: ../../using/windows.rst:1258 msgid "Drag-dropping files onto a script doesn't work" msgstr "Dateien auf ein Skript zu ziehen funktioniert nicht" -#: ../../using/windows.rst:1119 +#: ../../using/windows.rst:1259 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 " @@ -2435,11 +2660,11 @@ msgstr "" "vom `legacy launcher`_ oder vom Python Install Manager, wenn er aus dem MSI " "installiert wurde." -#: ../../using/windows.rst:1123 +#: ../../using/windows.rst:1263 msgid "I have installed the Python install manager multiple times." msgstr "Ich habe den Python Install Manager mehrfach installiert." -#: ../../using/windows.rst:1124 +#: ../../using/windows.rst:1264 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 " @@ -2449,7 +2674,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:1129 +#: ../../using/windows.rst:1269 msgid "" "See the earlier :ref:`pymanager-advancedinstall` section for ways to " "uninstall the install manager other than the typical Installed Apps (Add and " @@ -2459,11 +2684,11 @@ msgstr "" "Install Manager anders zu deinstallieren als über die übliche " "Einstellungsseite „Installierte Apps“ (Programme hinzufügen oder entfernen)." -#: ../../using/windows.rst:1133 +#: ../../using/windows.rst:1273 msgid "My old ``py.ini`` settings no longer work." msgstr "Meine alten ``py.ini``-Einstellungen funktionieren nicht mehr." -#: ../../using/windows.rst:1134 +#: ../../using/windows.rst:1274 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 " @@ -2473,11 +2698,11 @@ msgstr "" "ihre Einstellungen nicht mehr, sie wird daher ignoriert. " "Unter :ref:`pymanager-config` steht mehr zu den Konfigurationseinstellungen." -#: ../../using/windows.rst:1141 +#: ../../using/windows.rst:1281 msgid "The embeddable package" msgstr "Das einbettbare Paket" -#: ../../using/windows.rst:1145 +#: ../../using/windows.rst:1285 msgid "" "The embedded distribution is a ZIP file containing a minimal Python " "environment. It is intended for acting as part of another application, " @@ -2487,7 +2712,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:1149 +#: ../../using/windows.rst:1289 msgid "" "To install an embedded distribution, we recommend using ``py install`` with " "the ``--target`` option:" @@ -2495,12 +2720,12 @@ msgstr "" "Um eine einbettbare Distribution zu installieren, empfehlen wir ``py " "install`` mit der Option ``--target``:" -#: ../../using/windows.rst:1154 +#: ../../using/windows.rst:1294 #, fuzzy msgid "$> py install |version|-embed --target=" msgstr "$> py install 3.14-embed --target=" -#: ../../using/windows.rst:1156 +#: ../../using/windows.rst:1296 #, fuzzy msgid "" "When extracted, the embedded distribution is (almost) fully isolated from " @@ -2519,7 +2744,7 @@ msgstr "" "sowie ``pythonw.exe`` sind alle enthalten. Tcl/tk (samt allem, was darauf " "aufbaut, etwa Idle), pip und die Python-Dokumentation sind nicht enthalten." -#: ../../using/windows.rst:1163 +#: ../../using/windows.rst:1303 msgid "" "A default ``._pth`` file is included, which further restricts the default " "search paths (as described below in :ref:`windows_finding_modules`). This " @@ -2530,7 +2755,7 @@ msgstr "" "Diese Datei ist dafür gedacht, von Einbettenden nach Bedarf angepasst zu " "werden." -#: ../../using/windows.rst:1167 +#: ../../using/windows.rst:1307 msgid "" "Third-party packages should be installed by the application installer " "alongside the embedded distribution. Using pip to manage dependencies as for " @@ -2550,18 +2775,18 @@ msgstr "" "Versionen sicherstellen kann, bevor sie Aktualisierungen an die Benutzer " "ausliefert." -#: ../../using/windows.rst:1175 +#: ../../using/windows.rst:1315 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:1178 +#: ../../using/windows.rst:1318 msgid "Python application" msgstr "Python-Anwendung" -#: ../../using/windows.rst:1180 +#: ../../using/windows.rst:1320 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 " @@ -2575,7 +2800,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:1186 +#: ../../using/windows.rst:1326 msgid "" "Using a specialized executable as a launcher requires some coding, but " "provides the most transparent experience for users. With a customized " @@ -2593,7 +2818,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:1193 +#: ../../using/windows.rst:1333 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 " @@ -2608,7 +2833,7 @@ msgstr "" "könnten Schwierigkeiten haben, sie von anderen laufenden Python-Prozessen " "oder Dateiverknüpfungen zu unterscheiden." -#: ../../using/windows.rst:1199 +#: ../../using/windows.rst:1339 msgid "" "With the latter approach, packages should be installed as directories " "alongside the Python executable to ensure they are available on the path. " @@ -2621,11 +2846,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:1205 +#: ../../using/windows.rst:1345 msgid "Embedding Python" msgstr "Python einbetten" -#: ../../using/windows.rst:1207 +#: ../../using/windows.rst:1347 msgid "" "Applications written in native code often require some form of scripting " "language, and the embedded Python distribution can be used for this purpose. " @@ -2643,7 +2868,7 @@ msgstr "" "Unterverzeichnis der Anwendungsinstallation zu entpacken, um einen ladbaren " "Python-Interpreter bereitzustellen." -#: ../../using/windows.rst:1214 +#: ../../using/windows.rst:1354 #, fuzzy msgid "" "As with the application use, packages can be installed to any location as " @@ -2656,11 +2881,11 @@ msgstr "" "festlegen lassen. Davon abgesehen gibt es keine grundlegenden Unterschiede " "zwischen der einbettbaren Distribution und einer gewöhnlichen Installation." -#: ../../using/windows.rst:1223 +#: ../../using/windows.rst:1363 msgid "The nuget.org packages" msgstr "Die Pakete von nuget.org" -#: ../../using/windows.rst:1227 +#: ../../using/windows.rst:1367 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 " @@ -2673,7 +2898,7 @@ msgstr "" "Paketmanager für .NET“, funktioniert aber auch für Pakete mit Werkzeugen für " "die Bauzeit einwandfrei." -#: ../../using/windows.rst:1232 +#: ../../using/windows.rst:1372 msgid "" "Visit `nuget.org `_ for the most up-to-date " "information on using nuget. What follows is a summary that is sufficient for " @@ -2683,7 +2908,7 @@ msgstr "" "`_. Es folgt eine Zusammenfassung, die Python-" "Entwicklern genügt." -#: ../../using/windows.rst:1236 +#: ../../using/windows.rst:1376 msgid "" "The ``nuget.exe`` command line tool may be downloaded directly from " "``https://dist.nuget.org/win-x86-commandline/latest/nuget.exe``, for " @@ -2695,7 +2920,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:1241 +#: ../../using/windows.rst:1381 msgid "" "nuget.exe install python -ExcludeVersion -OutputDirectory .\n" "nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory ." @@ -2703,7 +2928,7 @@ msgstr "" "nuget.exe install python -ExcludeVersion -OutputDirectory .\n" "nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory ." -#: ../../using/windows.rst:1244 +#: ../../using/windows.rst:1384 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 " @@ -2719,7 +2944,7 @@ msgstr "" "enthält dieser Name die installierte Version. In dem Unterverzeichnis liegt " "ein Verzeichnis ``tools`` mit der Python-Installation:" -#: ../../using/windows.rst:1251 +#: ../../using/windows.rst:1391 msgid "" "# Without -ExcludeVersion\n" "> .\\python.3.5.2\\tools\\python.exe -V\n" @@ -2737,7 +2962,7 @@ msgstr "" "> .\\python\\tools\\python.exe -V\n" "Python 3.5.2" -#: ../../using/windows.rst:1261 +#: ../../using/windows.rst:1401 msgid "" "In general, nuget packages are not upgradeable, and newer versions should be " "installed side-by-side and referenced using the full path. Alternatively, " @@ -2750,7 +2975,7 @@ msgstr "" "löschen und es erneut installieren. Viele CI-Systeme tun das automatisch, " "wenn sie Dateien zwischen Builds nicht aufbewahren." -#: ../../using/windows.rst:1266 +#: ../../using/windows.rst:1406 #, fuzzy msgid "" "Alongside the ``tools`` directory is a ``build\\native`` directory. This " @@ -2764,7 +2989,7 @@ msgstr "" "Werden die Einstellungen eingebunden, verwendet dein Build automatisch die " "Headerdateien und Importbibliotheken." -#: ../../using/windows.rst:1271 +#: ../../using/windows.rst:1411 #, fuzzy msgid "" "The package information pages on nuget.org are `www.nuget.org/packages/" @@ -2779,11 +3004,11 @@ msgstr "" "pythonx86>`_ für die 32-Bit-Version und `www.nuget.org/packages/pythonarm64 " "`_ für die ARM64-Version" -#: ../../using/windows.rst:1279 +#: ../../using/windows.rst:1419 msgid "Free-threaded packages" msgstr "Free-Threading-Pakete" -#: ../../using/windows.rst:1283 +#: ../../using/windows.rst:1423 #, fuzzy msgid "" "Packages containing free-threaded binaries are named `python-freethreaded " @@ -2803,11 +3028,11 @@ msgstr "" "``python3.13t.exe`` als auch ``python.exe``, die beide im Free-Threading-" "Betrieb laufen." -#: ../../using/windows.rst:1294 +#: ../../using/windows.rst:1434 msgid "Alternative bundles" msgstr "Alternative Distributionen" -#: ../../using/windows.rst:1296 +#: ../../using/windows.rst:1436 msgid "" "Besides the standard CPython distribution, there are modified packages " "including additional functionality. The following is a list of popular " @@ -2817,21 +3042,21 @@ msgstr "" "zusätzlichen Funktionen. Es folgt eine Liste verbreiteter Varianten und " "ihrer wichtigsten Eigenschaften:" -#: ../../using/windows.rst:1300 +#: ../../using/windows.rst:1440 msgid "`ActivePython `_" msgstr "`ActivePython `_" -#: ../../using/windows.rst:1301 +#: ../../using/windows.rst:1441 msgid "Installer with multi-platform compatibility, documentation, PyWin32" msgstr "" "Installationsprogramm mit plattformübergreifender Verträglichkeit, " "Dokumentation, PyWin32" -#: ../../using/windows.rst:1303 +#: ../../using/windows.rst:1443 msgid "`Anaconda `_" msgstr "`Anaconda `_" -#: ../../using/windows.rst:1304 +#: ../../using/windows.rst:1444 msgid "" "Popular scientific modules (such as numpy, scipy and pandas) and the " "``conda`` package manager." @@ -2839,17 +3064,17 @@ msgstr "" "Verbreitete wissenschaftliche Module (etwa numpy, scipy und pandas) und der " "Paketmanager ``conda``." -#: ../../using/windows.rst:1307 +#: ../../using/windows.rst:1447 msgid "" "`Enthought Deployment Manager `_" msgstr "" "`Enthought Deployment Manager `_" -#: ../../using/windows.rst:1308 +#: ../../using/windows.rst:1448 msgid "\"The Next Generation Python Environment and Package Manager\"." msgstr "„The Next Generation Python Environment and Package Manager“." -#: ../../using/windows.rst:1310 +#: ../../using/windows.rst:1450 msgid "" "Previously Enthought provided Canopy, but it `reached end of life in 2016 " "`_." -#: ../../using/windows.rst:1313 +#: ../../using/windows.rst:1453 msgid "`WinPython `_" msgstr "`WinPython `_" -#: ../../using/windows.rst:1314 +#: ../../using/windows.rst:1454 msgid "" "Windows-specific distribution with prebuilt scientific packages and tools " "for building packages." @@ -2873,7 +3098,7 @@ msgstr "" "Windows-spezifische Distribution mit vorgefertigten wissenschaftlichen " "Paketen und Werkzeugen zum Bauen von Paketen." -#: ../../using/windows.rst:1317 +#: ../../using/windows.rst:1457 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." @@ -2882,11 +3107,11 @@ msgstr "" "anderen Bibliotheken enthalten müssen und nicht vom Kern-Team von Python " "gepflegt oder unterstützt werden." -#: ../../using/windows.rst:1322 +#: ../../using/windows.rst:1462 msgid "Supported Windows versions" msgstr "Unterstützte Windows-Versionen" -#: ../../using/windows.rst:1324 +#: ../../using/windows.rst:1464 #, fuzzy msgid "" "As specified in :pep:`11`, a Python release only supports a Windows platform " @@ -2901,11 +3126,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:1334 ../../using/windows.rst:1615 +#: ../../using/windows.rst:1474 ../../using/windows.rst:1755 msgid "Removing the MAX_PATH limitation" msgstr "Die Beschränkung durch MAX_PATH aufheben" -#: ../../using/windows.rst:1336 ../../using/windows.rst:1617 +#: ../../using/windows.rst:1476 ../../using/windows.rst:1757 msgid "" "Windows historically has limited path lengths to 260 characters. This meant " "that paths longer than this would not resolve and errors would result." @@ -2914,7 +3139,7 @@ msgstr "" "beschränkt. Längere Pfade ließen sich dadurch nicht auflösen, und es kam zu " "Fehlern." -#: ../../using/windows.rst:1339 +#: ../../using/windows.rst:1479 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 " @@ -2929,7 +3154,7 @@ msgstr "" "``HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`` auf " "``1`` setzen." -#: ../../using/windows.rst:1344 ../../using/windows.rst:1626 +#: ../../using/windows.rst:1484 ../../using/windows.rst:1766 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." @@ -2938,7 +3163,7 @@ msgstr "" "anderen Pfadfunktionen Pfade mit mehr als 260 Zeichen annehmen und " "zurückgeben." -#: ../../using/windows.rst:1347 +#: ../../using/windows.rst:1487 msgid "" "After changing the above option and rebooting, no further configuration is " "required." @@ -2946,11 +3171,11 @@ msgstr "" "Nach dem Ändern der obigen Option und einem Neustart ist keine weitere " "Einrichtung nötig." -#: ../../using/windows.rst:1354 +#: ../../using/windows.rst:1494 msgid "UTF-8 mode" msgstr "UTF-8-Modus" -#: ../../using/windows.rst:1358 +#: ../../using/windows.rst:1498 msgid "" "Windows still uses legacy encodings for the system encoding (the ANSI Code " "Page). Python uses it for the default encoding of text files " @@ -2960,7 +3185,7 @@ msgstr "" "ANSI-Codepage). Python verwendet sie als Standardkodierung für Textdateien, " "etwa in :func:`locale.getencoding`." -#: ../../using/windows.rst:1362 +#: ../../using/windows.rst:1502 msgid "" "This may cause issues because UTF-8 is widely used on the internet and most " "Unix systems, including WSL (Windows Subsystem for Linux)." @@ -2968,7 +3193,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:1365 +#: ../../using/windows.rst:1505 msgid "" "You can use the :ref:`Python UTF-8 Mode ` to change the default " "text encoding to UTF-8. You can enable the :ref:`Python UTF-8 Mode ` is enabled, you can still use " "the system encoding (the ANSI Code Page) via the \"mbcs\" codec." @@ -2992,7 +3217,7 @@ msgstr "" "Systemkodierung (die ANSI-Codepage) weiterhin über den Codec „mbcs“ " "verwenden." -#: ../../using/windows.rst:1374 +#: ../../using/windows.rst:1514 msgid "" "Note that adding ``PYTHONUTF8=1`` to the default environment variables will " "affect all Python 3.7+ applications on your system. If you have any Python " @@ -3006,7 +3231,7 @@ msgstr "" "du die Umgebungsvariable besser nur zeitweise setzen oder die " "Befehlszeilenoption ``-X utf8`` verwenden." -#: ../../using/windows.rst:1381 +#: ../../using/windows.rst:1521 msgid "" "Even when UTF-8 mode is disabled, Python uses UTF-8 by default on Windows " "for:" @@ -3014,13 +3239,13 @@ msgstr "" "Auch bei abgeschaltetem UTF-8-Modus verwendet Python unter Windows " "standardmäßig UTF-8 für:" -#: ../../using/windows.rst:1384 +#: ../../using/windows.rst:1524 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:1385 +#: ../../using/windows.rst:1525 msgid "" "The :term:`filesystem encoding ` " "(see :pep:`529` for details)." @@ -3028,11 +3253,11 @@ msgstr "" "Die :term:`Dateisystemkodierung ` " "(Einzelheiten in :pep:`529`)." -#: ../../using/windows.rst:1392 +#: ../../using/windows.rst:1532 msgid "Finding modules" msgstr "Module finden" -#: ../../using/windows.rst:1394 +#: ../../using/windows.rst:1534 msgid "" "These notes supplement the description at :ref:`sys-path-init` with detailed " "Windows notes." @@ -3040,7 +3265,7 @@ msgstr "" "Diese Hinweise ergänzen die Beschreibung unter :ref:`sys-path-init` um " "Einzelheiten zu Windows." -#: ../../using/windows.rst:1397 +#: ../../using/windows.rst:1537 msgid "" "When no ``._pth`` file is found, this is how :data:`sys.path` is populated " "on Windows:" @@ -3048,7 +3273,7 @@ msgstr "" "Wird keine Datei ``._pth`` gefunden, wird :data:`sys.path` unter Windows so " "gefüllt:" -#: ../../using/windows.rst:1400 +#: ../../using/windows.rst:1540 msgid "" "An empty entry is added at the start, which corresponds to the current " "directory." @@ -3056,7 +3281,7 @@ msgstr "" "Am Anfang wird ein leerer Eintrag hinzugefügt, der dem aktuellen Verzeichnis " "entspricht." -#: ../../using/windows.rst:1403 +#: ../../using/windows.rst:1543 #, fuzzy msgid "" "If the environment variable :envvar:`PYTHONPATH` exists, as described " @@ -3070,7 +3295,7 @@ msgstr "" "getrennt sein müssen, um sie vom Doppelpunkt in Laufwerksbezeichnungen (``C:" "\\`` und so weiter) zu unterscheiden." -#: ../../using/windows.rst:1408 +#: ../../using/windows.rst:1548 msgid "" "Additional \"application paths\" can be added in the registry as subkeys " "of :samp:`\\\\SOFTWARE\\\\Python\\\\PythonCore\\\\{version}\\\\PythonPath` " @@ -3087,7 +3312,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:1415 +#: ../../using/windows.rst:1555 #, fuzzy msgid "" "If the environment variable :envvar:`PYTHONHOME` is set, it is assumed as " @@ -3107,7 +3332,7 @@ msgstr "" "Andernfalls wird der Kernpfad von Python aus dem in der Registrierung " "gespeicherten PythonPath gebildet." -#: ../../using/windows.rst:1423 +#: ../../using/windows.rst:1563 #, fuzzy msgid "" "If the Python Home cannot be located, no :envvar:`PYTHONPATH` is specified " @@ -3119,7 +3344,7 @@ msgstr "" "finden, wird ein Standardpfad mit relativen Einträgen verwendet (etwa ``." "\\Lib;.\\plat-win`` und so weiter)." -#: ../../using/windows.rst:1427 +#: ../../using/windows.rst:1567 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:" @@ -3127,7 +3352,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:1430 +#: ../../using/windows.rst:1570 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 " @@ -3137,11 +3362,11 @@ msgstr "" "beim Erschließen der Heimat dieser Pfad anstelle des Pfads zur ausführbaren " "Hauptdatei verwendet." -#: ../../using/windows.rst:1434 +#: ../../using/windows.rst:1574 msgid "The end result of all this is:" msgstr "Unterm Strich ergibt sich daraus:" -#: ../../using/windows.rst:1436 +#: ../../using/windows.rst:1576 msgid "" "When running :file:`python.exe`, or any other .exe in the main Python " "directory (either an installed version, or directly from the PCbuild " @@ -3154,7 +3379,7 @@ msgstr "" "Registrierung werden ignoriert. Andere „Anwendungspfade“ in der " "Registrierung werden immer gelesen." -#: ../../using/windows.rst:1441 +#: ../../using/windows.rst:1581 #, fuzzy msgid "" "When Python is hosted in another .exe (for example, in a different directory " @@ -3167,7 +3392,7 @@ msgstr "" "wird daher der Kernpfad aus der Registrierung verwendet. Andere " "„Anwendungspfade“ in der Registrierung werden immer gelesen." -#: ../../using/windows.rst:1445 +#: ../../using/windows.rst:1585 #, fuzzy msgid "" "If Python can't find its home and there are no registry values (frozen .exe, " @@ -3178,7 +3403,7 @@ msgstr "" "(eingefrorene .exe, sehr eigenartige Installationsaufbauten), erhältst du " "einen Pfad mit einigen vorgegebenen, aber relativen Pfaden." -#: ../../using/windows.rst:1449 +#: ../../using/windows.rst:1589 msgid "" "For those who want to bundle Python into their application or distribution, " "the following advice will prevent conflicts with other installations:" @@ -3186,7 +3411,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:1452 +#: ../../using/windows.rst:1592 msgid "" "Include a ``._pth`` file alongside your executable containing the " "directories to include. This will ignore paths listed in the registry and " @@ -3198,7 +3423,7 @@ msgstr "" "und in Umgebungsvariablen aufgeführte Pfade ignoriert, ebenso :mod:`site`, " "sofern dort nicht ``import site`` steht." -#: ../../using/windows.rst:1457 +#: ../../using/windows.rst:1597 #, fuzzy msgid "" "If you are loading :file:`python3.dll` or |python_xy_dll_literal| in your " @@ -3209,7 +3434,7 @@ msgstr "" "ausführbaren Datei lädst, setze :c:member:`PyConfig.module_search_paths` " "ausdrücklich vor :c:func:`Py_InitializeFromConfig`." -#: ../../using/windows.rst:1461 +#: ../../using/windows.rst:1601 msgid "" "Clear and/or overwrite :envvar:`PYTHONPATH` and set :envvar:`PYTHONHOME` " "before launching :file:`python.exe` from your application." @@ -3218,7 +3443,7 @@ msgstr "" "setze :envvar:`PYTHONHOME`, bevor du :file:`python.exe` aus deiner Anwendung " "startest." -#: ../../using/windows.rst:1464 +#: ../../using/windows.rst:1604 msgid "" "If you cannot use the previous suggestions (for example, you are a " "distribution that allows people to run :file:`python.exe` directly), ensure " @@ -3232,7 +3457,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:1470 +#: ../../using/windows.rst:1610 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 " @@ -3248,7 +3473,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:1478 +#: ../../using/windows.rst:1618 #, fuzzy msgid "" "Add ``._pth`` file support and remove ``applocal`` option from " @@ -3257,7 +3482,7 @@ msgstr "" "Unterstützung für die Datei ``._pth`` hinzugefügt und die Option " "``applocal`` aus ``pyvenv.cfg`` entfernt." -#: ../../using/windows.rst:1483 +#: ../../using/windows.rst:1623 msgid "" "Add :file:`python{XX}.zip` as a potential landmark when directly adjacent to " "the executable." @@ -3265,7 +3490,7 @@ msgstr "" ":file:`python{XX}.zip` als mögliche Wegmarke hinzugefügt, wenn sie direkt " "neben der ausführbaren Datei liegt." -#: ../../using/windows.rst:1488 +#: ../../using/windows.rst:1628 msgid "" "Modules specified in the registry under ``Modules`` (not ``PythonPath``) may " "be imported by :class:`importlib.machinery.WindowsRegistryFinder`. This " @@ -3279,11 +3504,11 @@ msgstr "" "künftig aber möglicherweise ausdrücklich zu :data:`sys.meta_path` " "hinzugefügt werden." -#: ../../using/windows.rst:1494 +#: ../../using/windows.rst:1634 msgid "Additional modules" msgstr "Zusätzliche Module" -#: ../../using/windows.rst:1496 +#: ../../using/windows.rst:1636 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 " @@ -3294,7 +3519,7 @@ msgstr "" "der Standardbibliothek und außerhalb — sowie Codeschnipsel, um diese " "Funktionen zu nutzen." -#: ../../using/windows.rst:1500 +#: ../../using/windows.rst:1640 msgid "" "The Windows-specific standard modules are documented in :ref:`mswin-specific-" "services`." @@ -3302,11 +3527,11 @@ msgstr "" "Die Windows-spezifischen Standardmodule sind unter :ref:`mswin-specific-" "services` beschrieben." -#: ../../using/windows.rst:1504 +#: ../../using/windows.rst:1644 msgid "PyWin32" msgstr "PyWin32" -#: ../../using/windows.rst:1506 +#: ../../using/windows.rst:1646 msgid "" "The :pypi:`PyWin32` module by Mark Hammond is a collection of modules for " "advanced Windows-specific support. This includes utilities for:" @@ -3315,7 +3540,7 @@ msgstr "" "fortgeschrittene Windows-spezifische Unterstützung. Dazu gehören Hilfsmittel " "für:" -#: ../../using/windows.rst:1510 +#: ../../using/windows.rst:1650 msgid "" "`Component Object Model `_ (COM)" @@ -3323,19 +3548,19 @@ msgstr "" "`Component Object Model `_ (COM)" -#: ../../using/windows.rst:1513 +#: ../../using/windows.rst:1653 msgid "Win32 API calls" msgstr "Win32-API-Aufrufe" -#: ../../using/windows.rst:1514 +#: ../../using/windows.rst:1654 msgid "Registry" msgstr "Registrierung" -#: ../../using/windows.rst:1515 +#: ../../using/windows.rst:1655 msgid "Event log" msgstr "Ereignisprotokoll" -#: ../../using/windows.rst:1516 +#: ../../using/windows.rst:1656 msgid "" "`Microsoft Foundation Classes `_ (MFC) user interfaces" @@ -3343,7 +3568,7 @@ msgstr "" "Benutzeroberflächen mit `Microsoft Foundation Classes `_ (MFC)" -#: ../../using/windows.rst:1520 +#: ../../using/windows.rst:1660 msgid "" "`PythonWin `_ is a sample MFC application shipped " @@ -3354,29 +3579,29 @@ msgstr "" "mit PyWin32 ausgeliefert wird. Es ist eine einbettbare Entwicklungsumgebung " "mit integriertem Debugger." -#: ../../using/windows.rst:1526 +#: ../../using/windows.rst:1666 msgid "" "`Win32 How Do I...? `_" msgstr "" "`Win32 How Do I...? `_" -#: ../../using/windows.rst:1527 +#: ../../using/windows.rst:1667 msgid "by Tim Golden" msgstr "von Tim Golden" -#: ../../using/windows.rst:1529 +#: ../../using/windows.rst:1669 msgid "`Python and COM `_" msgstr "`Python and COM `_" -#: ../../using/windows.rst:1530 +#: ../../using/windows.rst:1670 msgid "by David and Paul Boddie" msgstr "von David und Paul Boddie" -#: ../../using/windows.rst:1534 +#: ../../using/windows.rst:1674 msgid "cx_Freeze" msgstr "cx_Freeze" -#: ../../using/windows.rst:1536 +#: ../../using/windows.rst:1676 msgid "" "`cx_Freeze `_ wraps Python " "scripts into executable Windows programs (:file:`{*}.exe` files). When you " @@ -3388,11 +3613,11 @@ msgstr "" "kannst du deine Anwendung weitergeben, ohne dass deine Benutzer Python " "installieren müssen." -#: ../../using/windows.rst:1543 +#: ../../using/windows.rst:1683 msgid "Compiling Python on Windows" msgstr "Python unter Windows kompilieren" -#: ../../using/windows.rst:1545 +#: ../../using/windows.rst:1685 msgid "" "If you want to compile CPython yourself, first thing you should do is get " "the `source `_. You can download " @@ -3405,7 +3630,7 @@ msgstr "" "frischen `Checkout `_ holen." -#: ../../using/windows.rst:1550 +#: ../../using/windows.rst:1690 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 " @@ -3416,22 +3641,22 @@ msgstr "" "Veröffentlichungen gebaut werden. Diese Dateien liegen im " "Verzeichnis :file:`PCbuild`." -#: ../../using/windows.rst:1554 +#: ../../using/windows.rst:1694 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:1556 +#: ../../using/windows.rst:1696 msgid "For extension modules, consult :ref:`building-on-windows`." msgstr "Für Erweiterungsmodule siehe :ref:`building-on-windows`." -#: ../../using/windows.rst:1563 +#: ../../using/windows.rst:1703 msgid "The full installer (deprecated)" msgstr "Das vollständige Installationsprogramm (veraltet)" -#: ../../using/windows.rst:1567 +#: ../../using/windows.rst:1707 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." @@ -3440,11 +3665,11 @@ msgstr "" "und neuer nicht mehr erstellt. Das aktuelle Installationsprogramm findest du " "unter :ref:`pymanager`." -#: ../../using/windows.rst:1572 +#: ../../using/windows.rst:1712 msgid "Installation steps" msgstr "Installationsschritte" -#: ../../using/windows.rst:1574 +#: ../../using/windows.rst:1714 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 " @@ -3463,17 +3688,17 @@ msgstr "" "Funktionen eine Internetverbindung. Unter :ref:`install-layout-option` " "stehen weitere Wege, das Herunterladen während der Installation zu vermeiden." -#: ../../using/windows.rst:1582 +#: ../../using/windows.rst:1722 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:1586 +#: ../../using/windows.rst:1726 msgid "If you select \"Install Now\":" msgstr "Wenn du „Jetzt installieren“ wählst:" -#: ../../using/windows.rst:1588 +#: ../../using/windows.rst:1728 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)" @@ -3482,11 +3707,11 @@ msgstr "" "Systemaktualisierung der C-Laufzeitbibliothek ist nötig oder du installierst " "den :ref:`launcher` für alle Benutzer)" -#: ../../using/windows.rst:1591 +#: ../../using/windows.rst:1731 msgid "Python will be installed into your user directory" msgstr "Python wird in dein Benutzerverzeichnis installiert" -#: ../../using/windows.rst:1592 +#: ../../using/windows.rst:1732 msgid "" "The :ref:`launcher` will be installed according to the option at the bottom " "of the first page" @@ -3494,23 +3719,23 @@ msgstr "" "Der :ref:`launcher` wird gemäß der Option am unteren Rand der ersten Seite " "installiert" -#: ../../using/windows.rst:1594 +#: ../../using/windows.rst:1734 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:1595 +#: ../../using/windows.rst:1735 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:1596 +#: ../../using/windows.rst:1736 msgid "Shortcuts will only be visible for the current user" msgstr "Verknüpfungen sind nur für den aktuellen Benutzer sichtbar" -#: ../../using/windows.rst:1598 +#: ../../using/windows.rst:1738 msgid "" "Selecting \"Customize installation\" will allow you to select the features " "to install, the installation location and other options or post-install " @@ -3522,7 +3747,7 @@ msgstr "" "Installation auswählen. Um Debugsymbole oder Debug-Binärdateien zu " "installieren, brauchst du diese Option." -#: ../../using/windows.rst:1602 +#: ../../using/windows.rst:1742 msgid "" "To perform an all-users installation, you should select \"Customize " "installation\". In this case:" @@ -3530,40 +3755,40 @@ msgstr "" "Für eine Installation für alle Benutzer solltest du „Customize installation“ " "wählen. In diesem Fall:" -#: ../../using/windows.rst:1605 +#: ../../using/windows.rst:1745 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:1606 +#: ../../using/windows.rst:1746 msgid "Python will be installed into the Program Files directory" msgstr "Python wird in das Verzeichnis „Programme“ installiert" -#: ../../using/windows.rst:1607 +#: ../../using/windows.rst:1747 msgid "The :ref:`launcher` will be installed into the Windows directory" msgstr "Der :ref:`launcher` wird in das Windows-Verzeichnis installiert" -#: ../../using/windows.rst:1608 +#: ../../using/windows.rst:1748 msgid "Optional features may be selected during installation" msgstr "Optionale Funktionen lassen sich während der Installation auswählen" -#: ../../using/windows.rst:1609 +#: ../../using/windows.rst:1749 msgid "The standard library can be pre-compiled to bytecode" msgstr "Die Standardbibliothek kann vorab zu Bytecode kompiliert werden" -#: ../../using/windows.rst:1610 +#: ../../using/windows.rst:1750 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:1611 +#: ../../using/windows.rst:1751 msgid "Shortcuts are available for all users" msgstr "Verknüpfungen stehen allen Benutzern zur Verfügung" -#: ../../using/windows.rst:1620 +#: ../../using/windows.rst:1760 msgid "" "In the latest versions of Windows, this limitation can be expanded to " "approximately 32,000 characters. Your administrator will need to activate " @@ -3578,19 +3803,19 @@ msgstr "" "``HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\FileSystem`` auf " "``1`` setzen." -#: ../../using/windows.rst:1629 +#: ../../using/windows.rst:1769 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:1633 +#: ../../using/windows.rst:1773 msgid "Support for long paths was enabled in Python." msgstr "Die Unterstützung langer Pfade wurde in Python eingeschaltet." -#: ../../using/windows.rst:1638 +#: ../../using/windows.rst:1778 msgid "Installing without UI" msgstr "Ohne Oberfläche installieren" -#: ../../using/windows.rst:1640 +#: ../../using/windows.rst:1780 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 " @@ -3603,7 +3828,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:1645 +#: ../../using/windows.rst:1785 msgid "" "The following options (found by executing the installer with ``/?``) can be " "passed into the installer:" @@ -3611,61 +3836,61 @@ msgstr "" "Die folgenden Optionen (zu finden, indem das Installationsprogramm mit ``/?" "`` aufgerufen wird) lassen sich an das Installationsprogramm übergeben:" -#: ../../using/windows.rst:1649 ../../using/windows.rst:1669 -#: ../../using/windows.rst:2259 +#: ../../using/windows.rst:1789 ../../using/windows.rst:1809 +#: ../../using/windows.rst:2399 msgid "Name" msgstr "Name" -#: ../../using/windows.rst:1651 +#: ../../using/windows.rst:1791 msgid "/passive" msgstr "/passive" -#: ../../using/windows.rst:1651 +#: ../../using/windows.rst:1791 msgid "to display progress without requiring user interaction" msgstr "zeigt den Fortschritt an, ohne Zutun des Benutzers zu verlangen" -#: ../../using/windows.rst:1653 +#: ../../using/windows.rst:1793 msgid "/quiet" msgstr "/quiet" -#: ../../using/windows.rst:1653 +#: ../../using/windows.rst:1793 msgid "to install/uninstall without displaying any UI" msgstr "" "installiert beziehungsweise deinstalliert, ohne eine Oberfläche anzuzeigen" -#: ../../using/windows.rst:1655 +#: ../../using/windows.rst:1795 msgid "/simple" msgstr "/simple" -#: ../../using/windows.rst:1655 +#: ../../using/windows.rst:1795 msgid "to prevent user customization" msgstr "verhindert Anpassungen durch den Benutzer" -#: ../../using/windows.rst:1657 +#: ../../using/windows.rst:1797 msgid "/uninstall" msgstr "/uninstall" -#: ../../using/windows.rst:1657 +#: ../../using/windows.rst:1797 msgid "to remove Python (without confirmation)" msgstr "entfernt Python (ohne Bestätigung)" -#: ../../using/windows.rst:1659 +#: ../../using/windows.rst:1799 msgid "/layout [directory]" msgstr "/layout [directory]" -#: ../../using/windows.rst:1659 +#: ../../using/windows.rst:1799 msgid "to pre-download all components" msgstr "lädt alle Bestandteile vorab herunter" -#: ../../using/windows.rst:1661 +#: ../../using/windows.rst:1801 msgid "/log [filename]" msgstr "/log [filename]" -#: ../../using/windows.rst:1661 +#: ../../using/windows.rst:1801 msgid "to specify log files location" msgstr "gibt den Ort der Protokolldateien an" -#: ../../using/windows.rst:1664 +#: ../../using/windows.rst:1804 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 " @@ -3676,47 +3901,47 @@ msgstr "" "Funktion oder ein Pfad ist. Die vollständige Liste der verfügbaren Optionen " "steht unten." -#: ../../using/windows.rst:1669 +#: ../../using/windows.rst:1809 msgid "Default" msgstr "Standard" -#: ../../using/windows.rst:1671 +#: ../../using/windows.rst:1811 msgid "InstallAllUsers" msgstr "InstallAllUsers" -#: ../../using/windows.rst:1671 +#: ../../using/windows.rst:1811 msgid "Perform a system-wide installation." msgstr "Nimmt eine systemweite Installation vor." -#: ../../using/windows.rst:1671 ../../using/windows.rst:1697 -#: ../../using/windows.rst:1700 ../../using/windows.rst:1704 -#: ../../using/windows.rst:1713 ../../using/windows.rst:1735 -#: ../../using/windows.rst:1743 ../../using/windows.rst:1746 +#: ../../using/windows.rst:1811 ../../using/windows.rst:1837 +#: ../../using/windows.rst:1840 ../../using/windows.rst:1844 +#: ../../using/windows.rst:1853 ../../using/windows.rst:1875 +#: ../../using/windows.rst:1883 ../../using/windows.rst:1886 msgid "0" msgstr "0" -#: ../../using/windows.rst:1673 +#: ../../using/windows.rst:1813 msgid "TargetDir" msgstr "TargetDir" -#: ../../using/windows.rst:1673 +#: ../../using/windows.rst:1813 msgid "The installation directory" msgstr "Das Installations-Verzeichnis" -#: ../../using/windows.rst:1673 +#: ../../using/windows.rst:1813 msgid "Selected based on InstallAllUsers" msgstr "Wird anhand von InstallAllUsers gewählt" -#: ../../using/windows.rst:1676 +#: ../../using/windows.rst:1816 msgid "DefaultAllUsersTargetDir" msgstr "DefaultAllUsersTargetDir" -#: ../../using/windows.rst:1676 +#: ../../using/windows.rst:1816 msgid "The default installation directory for all-user installs" msgstr "" "Das Standardinstallationsverzeichnis für Installationen für alle Benutzer" -#: ../../using/windows.rst:1676 +#: ../../using/windows.rst:1816 msgid "" ":file:`%ProgramFiles%\\\\ Python X.Y` or :file:` %ProgramFiles(x86)%\\\\ " "Python X.Y`" @@ -3724,15 +3949,15 @@ msgstr "" ":file:`%ProgramFiles%\\\\ Python X.Y` or :file:` %ProgramFiles(x86)%\\\\ " "Python X.Y`" -#: ../../using/windows.rst:1681 +#: ../../using/windows.rst:1821 msgid "DefaultJustForMeTargetDir" msgstr "DefaultJustForMeTargetDir" -#: ../../using/windows.rst:1681 +#: ../../using/windows.rst:1821 msgid "The default install directory for just-for-me installs" msgstr "Das Standardinstallationsverzeichnis für Installationen nur für mich" -#: ../../using/windows.rst:1681 +#: ../../using/windows.rst:1821 msgid "" ":file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY` " "or :file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-32` " @@ -3742,50 +3967,50 @@ msgstr "" "or :file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-32` " "or :file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-64`" -#: ../../using/windows.rst:1691 +#: ../../using/windows.rst:1831 msgid "DefaultCustomTargetDir" msgstr "DefaultCustomTargetDir" -#: ../../using/windows.rst:1691 +#: ../../using/windows.rst:1831 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:1691 ../../using/windows.rst:1748 +#: ../../using/windows.rst:1831 ../../using/windows.rst:1888 msgid "(empty)" msgstr "(leer)" -#: ../../using/windows.rst:1694 +#: ../../using/windows.rst:1834 msgid "AssociateFiles" msgstr "AssociateFiles" -#: ../../using/windows.rst:1694 +#: ../../using/windows.rst:1834 msgid "Create file associations if the launcher is also installed." msgstr "Legt Dateiverknüpfungen an, wenn auch der Starter installiert ist." -#: ../../using/windows.rst:1694 ../../using/windows.rst:1708 -#: ../../using/windows.rst:1711 ../../using/windows.rst:1715 -#: ../../using/windows.rst:1719 ../../using/windows.rst:1723 -#: ../../using/windows.rst:1725 ../../using/windows.rst:1729 -#: ../../using/windows.rst:1733 ../../using/windows.rst:1737 -#: ../../using/windows.rst:1739 ../../using/windows.rst:1741 +#: ../../using/windows.rst:1834 ../../using/windows.rst:1848 +#: ../../using/windows.rst:1851 ../../using/windows.rst:1855 +#: ../../using/windows.rst:1859 ../../using/windows.rst:1863 +#: ../../using/windows.rst:1865 ../../using/windows.rst:1869 +#: ../../using/windows.rst:1873 ../../using/windows.rst:1877 +#: ../../using/windows.rst:1879 ../../using/windows.rst:1881 msgid "1" msgstr "1" -#: ../../using/windows.rst:1697 +#: ../../using/windows.rst:1837 msgid "CompileAll" msgstr "CompileAll" -#: ../../using/windows.rst:1697 +#: ../../using/windows.rst:1837 msgid "Compile all ``.py`` files to ``.pyc``." msgstr "Kompiliert alle ``.py``-Dateien zu ``.pyc``." -#: ../../using/windows.rst:1700 +#: ../../using/windows.rst:1840 msgid "PrependPath" msgstr "PrependPath" -#: ../../using/windows.rst:1700 +#: ../../using/windows.rst:1840 msgid "" "Prepend install and Scripts directories to :envvar:`PATH` and add ``.PY`` " "to :envvar:`PATHEXT`" @@ -3793,11 +4018,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:1704 +#: ../../using/windows.rst:1844 msgid "AppendPath" msgstr "AppendPath" -#: ../../using/windows.rst:1704 +#: ../../using/windows.rst:1844 msgid "" "Append install and Scripts directories to :envvar:`PATH` and add ``.PY`` " "to :envvar:`PATHEXT`" @@ -3805,38 +4030,38 @@ msgstr "" "Hängt die Installations- und Scripts-Verzeichnisse an :envvar:`PATH` an und " "fügt ``.PY`` zu :envvar:`PATHEXT` hinzu" -#: ../../using/windows.rst:1708 +#: ../../using/windows.rst:1848 msgid "Shortcuts" msgstr "Shortcuts" -#: ../../using/windows.rst:1708 +#: ../../using/windows.rst:1848 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:1711 +#: ../../using/windows.rst:1851 msgid "Include_doc" msgstr "Include_doc" -#: ../../using/windows.rst:1711 +#: ../../using/windows.rst:1851 msgid "Install Python manual" msgstr "Installiert das Python-Handbuch" -#: ../../using/windows.rst:1713 +#: ../../using/windows.rst:1853 msgid "Include_debug" msgstr "Include_debug" -#: ../../using/windows.rst:1713 +#: ../../using/windows.rst:1853 msgid "Install debug binaries" msgstr "Installiert die Debug-Binärdateien" -#: ../../using/windows.rst:1715 +#: ../../using/windows.rst:1855 msgid "Include_dev" msgstr "Include_dev" -#: ../../using/windows.rst:1715 +#: ../../using/windows.rst:1855 msgid "" "Install developer headers and libraries. Omitting this may lead to an " "unusable installation." @@ -3844,11 +4069,11 @@ msgstr "" "Installiert Headerdateien und Bibliotheken für die Entwicklung. Wird das " "weggelassen, kann die Installation unbrauchbar sein." -#: ../../using/windows.rst:1719 +#: ../../using/windows.rst:1859 msgid "Include_exe" msgstr "Include_exe" -#: ../../using/windows.rst:1719 +#: ../../using/windows.rst:1859 msgid "" "Install :file:`python.exe` and related files. Omitting this may lead to an " "unusable installation." @@ -3856,19 +4081,19 @@ msgstr "" "Installiert :file:`python.exe` und zugehörige Dateien. Wird das weggelassen, " "kann die Installation unbrauchbar sein." -#: ../../using/windows.rst:1723 +#: ../../using/windows.rst:1863 msgid "Include_launcher" msgstr "Include_launcher" -#: ../../using/windows.rst:1723 +#: ../../using/windows.rst:1863 msgid "Install :ref:`launcher`." msgstr "Installiert den :ref:`launcher`." -#: ../../using/windows.rst:1725 +#: ../../using/windows.rst:1865 msgid "InstallLauncherAllUsers" msgstr "InstallLauncherAllUsers" -#: ../../using/windows.rst:1725 +#: ../../using/windows.rst:1865 msgid "" "Installs the launcher for all users. Also requires ``Include_launcher`` to " "be set to 1" @@ -3876,11 +4101,11 @@ msgstr "" "Installiert den Starter für alle Benutzer. Erfordert außerdem, dass " "``Include_launcher`` auf 1 gesetzt ist" -#: ../../using/windows.rst:1729 +#: ../../using/windows.rst:1869 msgid "Include_lib" msgstr "Include_lib" -#: ../../using/windows.rst:1729 +#: ../../using/windows.rst:1869 msgid "" "Install standard library and extension modules. Omitting this may lead to an " "unusable installation." @@ -3888,74 +4113,74 @@ msgstr "" "Installiert die Standardbibliothek und die Erweiterungsmodule. Wird das " "weggelassen, kann die Installation unbrauchbar sein." -#: ../../using/windows.rst:1733 +#: ../../using/windows.rst:1873 msgid "Include_pip" msgstr "Include_pip" -#: ../../using/windows.rst:1733 +#: ../../using/windows.rst:1873 msgid "Install bundled pip and setuptools" msgstr "Installiert die beiliegenden pip und setuptools" -#: ../../using/windows.rst:1735 +#: ../../using/windows.rst:1875 msgid "Include_symbols" msgstr "Include_symbols" -#: ../../using/windows.rst:1735 +#: ../../using/windows.rst:1875 msgid "Install debugging symbols (``*.pdb``)" msgstr "Installiert Debugsymbole (``*.pdb``)" -#: ../../using/windows.rst:1737 +#: ../../using/windows.rst:1877 msgid "Include_tcltk" msgstr "Include_tcltk" -#: ../../using/windows.rst:1737 +#: ../../using/windows.rst:1877 msgid "Install Tcl/Tk support and IDLE" msgstr "Installiert die Unterstützung für Tcl/Tk und IDLE" -#: ../../using/windows.rst:1739 +#: ../../using/windows.rst:1879 msgid "Include_test" msgstr "Include_test" -#: ../../using/windows.rst:1739 +#: ../../using/windows.rst:1879 msgid "Install standard library test suite" msgstr "Installiert die Testsammlung der Standardbibliothek" -#: ../../using/windows.rst:1741 +#: ../../using/windows.rst:1881 msgid "Include_tools" msgstr "Include_tools" -#: ../../using/windows.rst:1741 +#: ../../using/windows.rst:1881 msgid "Install utility scripts" msgstr "Installiert Hilfsskripte" -#: ../../using/windows.rst:1743 +#: ../../using/windows.rst:1883 msgid "LauncherOnly" msgstr "LauncherOnly" -#: ../../using/windows.rst:1743 +#: ../../using/windows.rst:1883 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:1746 +#: ../../using/windows.rst:1886 msgid "SimpleInstall" msgstr "SimpleInstall" -#: ../../using/windows.rst:1746 +#: ../../using/windows.rst:1886 msgid "Disable most install UI" msgstr "Schaltet den größten Teil der Installationsoberfläche ab" -#: ../../using/windows.rst:1748 +#: ../../using/windows.rst:1888 msgid "SimpleInstallDescription" msgstr "SimpleInstallDescription" -#: ../../using/windows.rst:1748 +#: ../../using/windows.rst:1888 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:1752 +#: ../../using/windows.rst:1892 msgid "" "For example, to silently install a default, system-wide Python installation, " "you could use the following command (from an elevated command prompt)::" @@ -3964,11 +4189,11 @@ msgstr "" "Python vorzunehmen, kannst du den folgenden Befehl verwenden (an einer " "Eingabeaufforderung mit erhöhten Rechten)::" -#: ../../using/windows.rst:1755 +#: ../../using/windows.rst:1895 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:1757 +#: ../../using/windows.rst:1897 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 " @@ -3979,7 +4204,7 @@ msgstr "" "bereitstellen. Dabei wird eine vereinfachte erste Seite angezeigt und eine " "Anpassung verhindert::" -#: ../../using/windows.rst:1761 +#: ../../using/windows.rst:1901 msgid "" "python-3.9.0.exe InstallAllUsers=0 Include_launcher=0 Include_test=0\n" " SimpleInstall=1 SimpleInstallDescription=\"Just for me, no test suite.\"" @@ -3987,7 +4212,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:1764 +#: ../../using/windows.rst:1904 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 " @@ -3997,7 +4222,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:1768 +#: ../../using/windows.rst:1908 msgid "" "The options listed above can also be provided in a file named " "``unattend.xml`` alongside the executable. This file specifies a list of " @@ -4013,7 +4238,7 @@ msgstr "" "Werte bleiben immer Zeichenketten. Diese Beispieldatei setzt dieselben " "Optionen wie das vorige Beispiel:" -#: ../../using/windows.rst:1774 +#: ../../using/windows.rst:1914 msgid "" "\n" " " -#: ../../using/windows.rst:1787 +#: ../../using/windows.rst:1927 msgid "Installing without downloading" msgstr "Ohne Herunterladen installieren" -#: ../../using/windows.rst:1789 +#: ../../using/windows.rst:1929 msgid "" "As some features of Python are not included in the initial installer " "download, selecting those features may require an internet connection. To " @@ -4056,7 +4281,7 @@ msgstr "" "kann als nötig. Wenn aber viele Installationen vorgenommen werden sollen, " "ist eine lokal zwischengespeicherte Kopie sehr nützlich." -#: ../../using/windows.rst:1797 +#: ../../using/windows.rst:1937 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 " @@ -4069,22 +4294,22 @@ msgstr "" "Installationsprogramms zu ersetzen und Layouts in eigenen Verzeichnissen " "anzulegen, damit Dateien gleichen Namens nicht zusammenstoßen." -#: ../../using/windows.rst:1804 +#: ../../using/windows.rst:1944 msgid "python-3.9.0.exe /layout [optional target directory]" msgstr "python-3.9.0.exe /layout [optional target directory]" -#: ../../using/windows.rst:1806 +#: ../../using/windows.rst:1946 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:1809 +#: ../../using/windows.rst:1949 msgid "Modifying an install" msgstr "Eine Installation ändern" -#: ../../using/windows.rst:1811 +#: ../../using/windows.rst:1951 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 " @@ -4095,7 +4320,7 @@ msgstr "" "den Python-Eintrag und dann „Deinstallieren/Ändern“, um das " "Installationsprogramm im Wartungsmodus zu öffnen." -#: ../../using/windows.rst:1815 +#: ../../using/windows.rst:1955 msgid "" "\"Modify\" allows you to add or remove features by modifying the checkboxes " "- unchanged checkboxes will not install or remove anything. Some options " @@ -4108,7 +4333,7 @@ msgstr "" "Installationsverzeichnis. Dafür musst du Python vollständig entfernen und " "neu installieren." -#: ../../using/windows.rst:1820 +#: ../../using/windows.rst:1960 msgid "" "\"Repair\" will verify all the files that should be installed using the " "current settings and replace any that have been removed or modified." @@ -4117,7 +4342,7 @@ msgstr "" "Einstellungen installiert sein sollten, und alle ersetzt, die entfernt oder " "verändert wurden." -#: ../../using/windows.rst:1823 +#: ../../using/windows.rst:1963 msgid "" "\"Uninstall\" will remove Python entirely, with the exception of " "the :ref:`launcher`, which has its own entry in Programs and Features." @@ -4126,7 +4351,7 @@ msgstr "" "des :ref:`launcher`, der seinen eigenen Eintrag in „Programme und Features“ " "hat." -#: ../../using/windows.rst:1832 +#: ../../using/windows.rst:1972 msgid "" "To install pre-built binaries with free-threading enabled (see :pep:`703`), " "you should select \"Customize installation\". The second page of options " @@ -4137,7 +4362,7 @@ msgstr "" "wählen. Auf der zweiten Optionsseite findet sich das Kontrollkästchen " "„Download free-threaded binaries“." -#: ../../using/windows.rst:1838 +#: ../../using/windows.rst:1978 msgid "" "Selecting this option will download and install additional binaries to the " "same location as the main Python install. The main executable is called " @@ -4152,7 +4377,7 @@ msgstr "" "Quelldateien und beiliegende Abhängigkeiten von Dritten werden mit der " "Hauptinstallation gemeinsam genutzt." -#: ../../using/windows.rst:1844 +#: ../../using/windows.rst:1984 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 " @@ -4173,7 +4398,7 @@ msgstr "" "Form der Option verwendest, ziehst du es vielleicht vor, die Free-Threading-" "Binärdateien zunächst nicht zu installieren." -#: ../../using/windows.rst:1853 +#: ../../using/windows.rst:1993 msgid "" "To specify the install option at the command line, use " "``Include_freethreaded=1``. See :ref:`install-layout-option` for " @@ -4187,7 +4412,7 @@ msgstr "" "herunterlädst. Die Optionen zum Einbeziehen von Debugsymbolen und " "-binärdateien gelten auch für die Free-Threading-Builds." -#: ../../using/windows.rst:1859 +#: ../../using/windows.rst:1999 msgid "" "Free-threaded binaries are also available :ref:`on nuget.org `." @@ -4195,11 +4420,11 @@ msgstr "" "Free-Threading-Binärdateien gibt es auch :ref:`auf nuget.org `." -#: ../../using/windows.rst:1863 +#: ../../using/windows.rst:2003 msgid "Python launcher for Windows (deprecated)" msgstr "Python-Starter für Windows (veraltet)" -#: ../../using/windows.rst:1867 +#: ../../using/windows.rst:2007 msgid "" "The launcher and this documentation have been superseded by the Python " "Install Manager described above. This is preserved temporarily for " @@ -4209,7 +4434,7 @@ msgstr "" "Python Install Manager ersetzt. Beides bleibt vorübergehend aus historischem " "Interesse erhalten." -#: ../../using/windows.rst:1873 +#: ../../using/windows.rst:2013 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-" @@ -4221,7 +4446,7 @@ msgstr "" "der Befehlszeile), eine bestimmte Python-Version zu bevorzugen, und findet " "und führt diese Version aus." -#: ../../using/windows.rst:1878 +#: ../../using/windows.rst:2018 msgid "" "Unlike the :envvar:`PATH` variable, the launcher will correctly select the " "most appropriate version of Python. It will prefer per-user installations " @@ -4233,19 +4458,19 @@ msgstr "" "systemweiten vor und ordnet nach Sprachversion, statt die zuletzt " "installierte Version zu nehmen." -#: ../../using/windows.rst:1883 +#: ../../using/windows.rst:2023 msgid "The launcher was originally specified in :pep:`397`." msgstr "Der Starter wurde ursprünglich in :pep:`397` festgelegt." -#: ../../using/windows.rst:1886 +#: ../../using/windows.rst:2026 msgid "Getting started" msgstr "Los geht's" -#: ../../using/windows.rst:1889 +#: ../../using/windows.rst:2029 msgid "From the command-line" msgstr "Von der Befehlszeile" -#: ../../using/windows.rst:1893 +#: ../../using/windows.rst:2033 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 " @@ -4258,11 +4483,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:1898 +#: ../../using/windows.rst:2038 msgid "py" msgstr "py" -#: ../../using/windows.rst:1900 +#: ../../using/windows.rst:2040 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 " @@ -4272,7 +4497,7 @@ msgstr "" "startet — sie lässt sich wie üblich verlassen, und alle zusätzlich " "angegebenen Befehlszeilenargumente werden direkt an Python weitergegeben." -#: ../../using/windows.rst:1904 +#: ../../using/windows.rst:2044 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 " @@ -4282,11 +4507,11 @@ msgstr "" "dir aufgefallen, dass Python |version| gestartet wurde — um Python 3.7 zu " "starten, versuche den Befehl::" -#: ../../using/windows.rst:1908 +#: ../../using/windows.rst:2048 msgid "py -3.7" msgstr "py -3.7" -#: ../../using/windows.rst:1910 +#: ../../using/windows.rst:2050 msgid "" "If you want the latest version of Python 2 you have installed, try the " "command::" @@ -4294,17 +4519,17 @@ msgstr "" "Wenn du die neueste installierte Version von Python 2 möchtest, versuche den " "Befehl::" -#: ../../using/windows.rst:1913 +#: ../../using/windows.rst:2053 msgid "py -2" msgstr "py -2" -#: ../../using/windows.rst:1915 +#: ../../using/windows.rst:2055 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:1917 +#: ../../using/windows.rst:2057 msgid "" "'py' is not recognized as an internal or external command,\n" "operable program or batch file." @@ -4312,21 +4537,21 @@ msgstr "" "'py' is not recognized as an internal or external command,\n" "operable program or batch file." -#: ../../using/windows.rst:1920 +#: ../../using/windows.rst:2060 msgid "The command::" msgstr "Der Befehl::" -#: ../../using/windows.rst:1922 +#: ../../using/windows.rst:2062 msgid "py --list" msgstr "py --list" -#: ../../using/windows.rst:1924 +#: ../../using/windows.rst:2064 msgid "displays the currently installed version(s) of Python." msgstr "" "zeigt die derzeit installierte Python-Version beziehungsweise die " "installierten Versionen an." -#: ../../using/windows.rst:1926 +#: ../../using/windows.rst:2066 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 " @@ -4340,7 +4565,7 @@ msgstr "" "auffindbar. Der Befehl ``--list`` führt alle verfügbaren Runtimes im Format " "``-V:`` auf." -#: ../../using/windows.rst:1932 +#: ../../using/windows.rst:2072 msgid "" "When using the ``-V:`` argument, specifying the Company will limit selection " "to runtimes from that provider, while specifying only the Tag will select " @@ -4351,7 +4576,7 @@ msgstr "" "Anbietern auswählt. Beachte, dass ein fehlender Schrägstrich ein Tag " "bedeutet::" -#: ../../using/windows.rst:1936 +#: ../../using/windows.rst:2076 msgid "" "# Select any '3.*' tagged runtime\n" "py -V:3\n" @@ -4371,7 +4596,7 @@ msgstr "" "# Die neueste Python-3-Runtime von PythonCore auswählen\n" "py -V:PythonCore/3" -#: ../../using/windows.rst:1945 +#: ../../using/windows.rst:2085 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``) " @@ -4381,7 +4606,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:1949 +#: ../../using/windows.rst:2089 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 " @@ -4396,11 +4621,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:1957 +#: ../../using/windows.rst:2097 msgid "Virtual environments" msgstr "Virtuelle Umgebungen" -#: ../../using/windows.rst:1961 +#: ../../using/windows.rst:2101 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 " @@ -4416,11 +4641,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:1969 +#: ../../using/windows.rst:2109 msgid "From a script" msgstr "Aus einem Skript" -#: ../../using/windows.rst:1971 +#: ../../using/windows.rst:2111 msgid "" "Let's create a test Python script - create a file called ``hello.py`` with " "the following contents" @@ -4428,7 +4653,7 @@ msgstr "" "Legen wir ein Python-Testskript an — erstelle eine Datei namens ``hello.py`` " "mit folgendem Inhalt" -#: ../../using/windows.rst:1974 +#: ../../using/windows.rst:2114 msgid "" "#! python\n" "import sys\n" @@ -4438,16 +4663,16 @@ msgstr "" "import sys\n" "sys.stdout.write(\"hello from Python %s\\n\" % (sys.version,))" -#: ../../using/windows.rst:1980 +#: ../../using/windows.rst:2120 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:1982 +#: ../../using/windows.rst:2122 msgid "py hello.py" msgstr "py hello.py" -#: ../../using/windows.rst:1984 +#: ../../using/windows.rst:2124 msgid "" "You should notice the version number of your latest Python 2.x installation " "is printed. Now try changing the first line to be:" @@ -4455,11 +4680,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:1987 +#: ../../using/windows.rst:2127 msgid "#! python3" msgstr "#! python3" -#: ../../using/windows.rst:1991 +#: ../../using/windows.rst:2131 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 " @@ -4473,7 +4698,7 @@ msgstr "" "versuche, die erste Zeile in ``#! python3.7`` zu ändern, dann sollten die " "Versionsangaben von 3.7 ausgegeben werden." -#: ../../using/windows.rst:1997 +#: ../../using/windows.rst:2137 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 " @@ -4485,11 +4710,11 @@ msgstr "" "Abwärtsverträglichkeit und der Verträglichkeit mit Unix, wo der Befehl " "``python`` üblicherweise Python 2 meint." -#: ../../using/windows.rst:2003 +#: ../../using/windows.rst:2143 msgid "From file associations" msgstr "Über Dateiverknüpfungen" -#: ../../using/windows.rst:2005 +#: ../../using/windows.rst:2145 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 " @@ -4503,7 +4728,7 @@ msgstr "" "Starter verwendet, und du kannst daher dieselben oben beschriebenen Mittel " "nutzen, um im Skript die zu verwendende Version anzugeben." -#: ../../using/windows.rst:2011 +#: ../../using/windows.rst:2151 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." @@ -4511,7 +4736,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:2017 +#: ../../using/windows.rst:2157 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 " @@ -4527,7 +4752,7 @@ msgstr "" "dasselbe für Python-Skripte unter Windows, und die obigen Beispiele zeigen " "die Verwendung." -#: ../../using/windows.rst:2024 +#: ../../using/windows.rst:2164 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 " @@ -4538,23 +4763,23 @@ msgstr "" "mit denen sich der zu verwendende Interpreter angeben lässt. Die " "unterstützten virtuellen Befehle sind:" -#: ../../using/windows.rst:2028 +#: ../../using/windows.rst:2168 msgid "``/usr/bin/env``" msgstr "``/usr/bin/env``" -#: ../../using/windows.rst:2029 +#: ../../using/windows.rst:2169 msgid "``/usr/bin/python``" msgstr "``/usr/bin/python``" -#: ../../using/windows.rst:2030 +#: ../../using/windows.rst:2170 msgid "``/usr/local/bin/python``" msgstr "``/usr/local/bin/python``" -#: ../../using/windows.rst:2031 +#: ../../using/windows.rst:2171 msgid "``python``" msgstr "``python``" -#: ../../using/windows.rst:2045 +#: ../../using/windows.rst:2185 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 " @@ -4570,7 +4795,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:2054 +#: ../../using/windows.rst:2194 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 " @@ -4580,7 +4805,7 @@ msgstr "" "anfordern. Außerdem lassen sich Hauptversion und Architektur ohne " "Nebenversion angeben (also ``/usr/bin/python3-64``)." -#: ../../using/windows.rst:2060 +#: ../../using/windows.rst:2200 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 " @@ -4590,7 +4815,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:2066 +#: ../../using/windows.rst:2206 msgid "" "Virtual commands referencing ``python`` now prefer an active virtual " "environment rather than searching :envvar:`PATH`. This handles cases where " @@ -4602,7 +4827,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:2071 +#: ../../using/windows.rst:2211 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 " @@ -4626,7 +4851,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:2082 +#: ../../using/windows.rst:2222 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 `. " @@ -4645,7 +4870,7 @@ msgstr "" "der .INI angegebene zusätzliche Argumente werden als Teil des Dateinamens in " "Anführungszeichen gesetzt)." -#: ../../using/windows.rst:2090 +#: ../../using/windows.rst:2230 msgid "" "[commands]\n" "/bin/xpython=C:\\Program Files\\XPython\\python.exe" @@ -4653,7 +4878,7 @@ msgstr "" "[commands]\n" "/bin/xpython=C:\\Program Files\\XPython\\python.exe" -#: ../../using/windows.rst:2095 +#: ../../using/windows.rst:2235 msgid "" "Any commands not found in the .INI file are treated as **Windows** " "executable paths that are absolute or relative to the directory containing " @@ -4672,11 +4897,11 @@ msgstr "" "mehrere Argumente enthalten. Danach werden der Pfad zum Skript und etwaige " "weitere Argumente angehängt." -#: ../../using/windows.rst:2104 +#: ../../using/windows.rst:2244 msgid "Arguments in shebang lines" msgstr "Argumente in Shebang-Zeilen" -#: ../../using/windows.rst:2106 +#: ../../using/windows.rst:2246 msgid "" "The shebang lines can also specify additional options to be passed to the " "Python interpreter. For example, if you have a shebang line:" @@ -4685,23 +4910,23 @@ msgstr "" "Python-Interpreter weitergegeben werden. Wenn du zum Beispiel diese Shebang-" "Zeile hast:" -#: ../../using/windows.rst:2109 +#: ../../using/windows.rst:2249 msgid "#! /usr/bin/python -v" msgstr "#! /usr/bin/python -v" -#: ../../using/windows.rst:2113 +#: ../../using/windows.rst:2253 msgid "Then Python will be started with the ``-v`` option" msgstr "dann wird Python mit der Option ``-v`` gestartet" -#: ../../using/windows.rst:2116 +#: ../../using/windows.rst:2256 msgid "Customization" msgstr "Anpassung" -#: ../../using/windows.rst:2121 +#: ../../using/windows.rst:2261 msgid "Customization via INI files" msgstr "Anpassung über INI-Dateien" -#: ../../using/windows.rst:2123 +#: ../../using/windows.rst:2263 msgid "" "Two .ini files will be searched by the launcher - ``py.ini`` in the current " "user's application data directory (``%LOCALAPPDATA%`` or " @@ -4715,7 +4940,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:2129 +#: ../../using/windows.rst:2269 msgid "" "Customization specified in the \"application directory\" will have " "precedence over the one next to the executable, so a user, who may not have " @@ -4727,11 +4952,11 @@ msgstr "" "Schreibzugriff auf die .ini-Datei neben dem Starter hat, Befehle in dieser " "globalen .ini-Datei überschreiben kann." -#: ../../using/windows.rst:2134 +#: ../../using/windows.rst:2274 msgid "Customizing default Python versions" msgstr "Standard-Python-Versionen anpassen" -#: ../../using/windows.rst:2136 +#: ../../using/windows.rst:2276 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 " @@ -4747,7 +4972,7 @@ msgstr "" "durch Anfügen von „-32“ oder „-64“ angeben, ob eine 32- oder 64-Bit-" "Umsetzung angefordert wird." -#: ../../using/windows.rst:2142 +#: ../../using/windows.rst:2282 msgid "" "For example, a shebang line of ``#!python`` has no version qualifier, while " "``#!python3`` has a version qualifier which specifies only a major version." @@ -4756,7 +4981,7 @@ msgstr "" "während ``#!python3`` einen Versionszusatz hat, der nur eine Hauptversion " "angibt." -#: ../../using/windows.rst:2145 +#: ../../using/windows.rst:2285 msgid "" "If no version qualifiers are found in a command, the environment " "variable :envvar:`!PY_PYTHON` can be set to specify the default version " @@ -4772,7 +4997,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:2152 +#: ../../using/windows.rst:2292 msgid "" "If no minor version qualifiers are found, the environment variable " "``PY_PYTHON{major}`` (where ``{major}`` is the current major version " @@ -4790,7 +5015,7 @@ msgstr "" "Hauptversion. Das ist wahrscheinlich, aber nicht garantiert die zuletzt " "installierte Version dieser Familie." -#: ../../using/windows.rst:2160 +#: ../../using/windows.rst:2300 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 " @@ -4814,11 +5039,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:2171 +#: ../../using/windows.rst:2311 msgid "Examples:" msgstr "Beispiele:" -#: ../../using/windows.rst:2173 +#: ../../using/windows.rst:2313 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 " @@ -4828,7 +5053,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:2177 +#: ../../using/windows.rst:2317 msgid "" "The command ``python3.7`` will not consult any options at all as the " "versions are fully specified." @@ -4836,7 +5061,7 @@ msgstr "" "Der Befehl ``python3.7`` zieht überhaupt keine Optionen heran, da die " "Versionen vollständig angegeben sind." -#: ../../using/windows.rst:2180 +#: ../../using/windows.rst:2320 msgid "" "If ``PY_PYTHON=3``, the commands ``python`` and ``python3`` will both use " "the latest installed Python 3 version." @@ -4844,7 +5069,7 @@ msgstr "" "Bei ``PY_PYTHON=3`` verwenden die Befehle ``python`` und ``python3`` beide " "die neueste installierte Python-3-Version." -#: ../../using/windows.rst:2183 +#: ../../using/windows.rst:2323 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 " @@ -4856,7 +5081,7 @@ msgstr "" "Python verwendet (PY_PYTHON wurde überhaupt nicht herangezogen, da eine " "Hauptversion angegeben war)." -#: ../../using/windows.rst:2188 +#: ../../using/windows.rst:2328 msgid "" "If ``PY_PYTHON=3`` and ``PY_PYTHON3=3.7``, the commands ``python`` and " "``python3`` will both use specifically 3.7" @@ -4864,7 +5089,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:2191 +#: ../../using/windows.rst:2331 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 " @@ -4881,16 +5106,16 @@ msgstr "" "gelesen werden). Der Inhalt einer Umgebungsvariablen überschreibt die " "Angaben in der INI-Datei." -#: ../../using/windows.rst:2198 +#: ../../using/windows.rst:2338 msgid "For example:" msgstr "Zum Beispiel:" -#: ../../using/windows.rst:2200 +#: ../../using/windows.rst:2340 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:2202 +#: ../../using/windows.rst:2342 msgid "" "[defaults]\n" "python=3.7" @@ -4898,7 +5123,7 @@ msgstr "" "[defaults]\n" "python=3.7" -#: ../../using/windows.rst:2207 +#: ../../using/windows.rst:2347 msgid "" "Setting ``PY_PYTHON=3`` and ``PY_PYTHON3=3.7`` is equivalent to the INI file " "containing:" @@ -4906,7 +5131,7 @@ msgstr "" "``PY_PYTHON=3`` und ``PY_PYTHON3=3.7`` zu setzen entspricht einer INI-Datei " "mit folgendem Inhalt:" -#: ../../using/windows.rst:2210 +#: ../../using/windows.rst:2350 msgid "" "[defaults]\n" "python=3\n" @@ -4916,11 +5141,11 @@ msgstr "" "python=3\n" "python3=3.7" -#: ../../using/windows.rst:2217 +#: ../../using/windows.rst:2357 msgid "Diagnostics" msgstr "Diagnose" -#: ../../using/windows.rst:2219 +#: ../../using/windows.rst:2359 msgid "" "If an environment variable :envvar:`!PYLAUNCHER_DEBUG` is set (to any " "value), the launcher will print diagnostic information to stderr (i.e. to " @@ -4938,11 +5163,11 @@ msgstr "" "genau ausgeführt wurde. Sie sind vor allem zum Testen und zur Fehlersuche " "gedacht." -#: ../../using/windows.rst:2227 +#: ../../using/windows.rst:2367 msgid "Dry run" msgstr "Trockenlauf" -#: ../../using/windows.rst:2229 +#: ../../using/windows.rst:2369 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 " @@ -4959,11 +5184,11 @@ msgstr "" "UTF-8 kodiert ist und in der Konsole möglicherweise nicht richtig " "dargestellt wird." -#: ../../using/windows.rst:2237 +#: ../../using/windows.rst:2377 msgid "Install on demand" msgstr "Installation bei Bedarf" -#: ../../using/windows.rst:2239 +#: ../../using/windows.rst:2379 msgid "" "If an environment variable :envvar:`!PYLAUNCHER_ALLOW_INSTALL` is set (to " "any value), and the requested Python version is not installed but is " @@ -4977,7 +5202,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:2244 +#: ../../using/windows.rst:2384 msgid "" "An additional :envvar:`!PYLAUNCHER_ALWAYS_INSTALL` variable causes the " "launcher to always try to install Python, even if it is detected. This is " @@ -4989,11 +5214,11 @@ msgstr "" "wird. Das ist vor allem zum Testen gedacht (und sollte mit :envvar:`!" "PYLAUNCHER_DRYRUN` verwendet werden)." -#: ../../using/windows.rst:2249 +#: ../../using/windows.rst:2389 msgid "Return codes" msgstr "Rückgabewerte" -#: ../../using/windows.rst:2251 +#: ../../using/windows.rst:2391 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 " @@ -5002,7 +5227,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:2254 +#: ../../using/windows.rst:2394 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. " @@ -5013,43 +5238,43 @@ msgstr "" "außer diese Seite zu lesen. Die Einträge stehen in alphabetischer " "Reihenfolge der Namen." -#: ../../using/windows.rst:2259 +#: ../../using/windows.rst:2399 msgid "Value" msgstr "Wert" -#: ../../using/windows.rst:2261 +#: ../../using/windows.rst:2401 msgid "RC_BAD_VENV_CFG" msgstr "RC_BAD_VENV_CFG" -#: ../../using/windows.rst:2261 +#: ../../using/windows.rst:2401 msgid "107" msgstr "107" -#: ../../using/windows.rst:2261 +#: ../../using/windows.rst:2401 msgid "A :file:`pyvenv.cfg` was found but is corrupt." msgstr "Eine :file:`pyvenv.cfg` wurde gefunden, ist aber beschädigt." -#: ../../using/windows.rst:2263 +#: ../../using/windows.rst:2403 msgid "RC_CREATE_PROCESS" msgstr "RC_CREATE_PROCESS" -#: ../../using/windows.rst:2263 +#: ../../using/windows.rst:2403 msgid "101" msgstr "101" -#: ../../using/windows.rst:2263 +#: ../../using/windows.rst:2403 msgid "Failed to launch Python." msgstr "Python konnte nicht gestartet werden." -#: ../../using/windows.rst:2265 +#: ../../using/windows.rst:2405 msgid "RC_INSTALLING" msgstr "RC_INSTALLING" -#: ../../using/windows.rst:2265 +#: ../../using/windows.rst:2405 msgid "111" msgstr "111" -#: ../../using/windows.rst:2265 +#: ../../using/windows.rst:2405 msgid "" "An install was started, but the command will need to be re-run after it " "completes." @@ -5057,50 +5282,50 @@ msgstr "" "Eine Installation wurde angestoßen, der Befehl muss aber nach deren " "Abschluss erneut ausgeführt werden." -#: ../../using/windows.rst:2268 +#: ../../using/windows.rst:2408 msgid "RC_INTERNAL_ERROR" msgstr "RC_INTERNAL_ERROR" -#: ../../using/windows.rst:2268 +#: ../../using/windows.rst:2408 msgid "109" msgstr "109" -#: ../../using/windows.rst:2268 +#: ../../using/windows.rst:2408 msgid "Unexpected error. Please report a bug." msgstr "Unerwarteter Fehler. Bitte melde einen Fehlerbericht." -#: ../../using/windows.rst:2270 +#: ../../using/windows.rst:2410 msgid "RC_NO_COMMANDLINE" msgstr "RC_NO_COMMANDLINE" -#: ../../using/windows.rst:2270 +#: ../../using/windows.rst:2410 msgid "108" msgstr "108" -#: ../../using/windows.rst:2270 +#: ../../using/windows.rst:2410 msgid "Unable to obtain command line from the operating system." msgstr "Die Befehlszeile konnte nicht vom Betriebssystem bezogen werden." -#: ../../using/windows.rst:2273 +#: ../../using/windows.rst:2413 msgid "RC_NO_PYTHON" msgstr "RC_NO_PYTHON" -#: ../../using/windows.rst:2273 +#: ../../using/windows.rst:2413 msgid "103" msgstr "103" -#: ../../using/windows.rst:2273 +#: ../../using/windows.rst:2413 msgid "Unable to locate the requested version." msgstr "Die verlangte Version konnte nicht gefunden werden." -#: ../../using/windows.rst:2275 +#: ../../using/windows.rst:2415 msgid "RC_NO_VENV_CFG" msgstr "RC_NO_VENV_CFG" -#: ../../using/windows.rst:2275 +#: ../../using/windows.rst:2415 msgid "106" msgstr "106" -#: ../../using/windows.rst:2275 +#: ../../using/windows.rst:2415 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.14.po b/whatsnew/3.14.po index 1d4cc79a..eef9471b 100644 --- a/whatsnew/3.14.po +++ b/whatsnew/3.14.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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-05-08 17:19+0000\n" "Last-Translator: Swen Bachmann, 2026\n" "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" @@ -5069,7 +5069,7 @@ msgid "" "event:`BRANCH_LEFT`). (Contributed by Mark Shannon in :gh:`122548`.)" msgstr "" -#: ../../whatsnew/3.14.rst:2838 +#: ../../whatsnew/3.14.rst:2838 ../../whatsnew/3.14.rst:3535 msgid "C API changes" msgstr "Änderungen an der C-API" @@ -6674,3 +6674,16 @@ msgid "" "regardless of whether the platform trust store has removed trust. " "(Contributed by Christian Heimes in :gh:`160040` for :cve:`2026-115557`.)" msgstr "" + +#: ../../whatsnew/3.14.rst:3532 +msgid "Notable changes in 3.14.11" +msgstr "" + +#: ../../whatsnew/3.14.rst:3537 +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 "" diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po index 81a0437f..e05fcacb 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\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" @@ -32,32 +32,45 @@ msgstr "" msgid "*Release date: XXXX-XX-XX*" msgstr "" -#: ../NEWS:8 ../NEWS:543 ../NEWS:860 ../NEWS:1294 ../NEWS:2057 ../NEWS:2978 -#: ../NEWS:3276 ../NEWS:3334 ../NEWS:3590 ../NEWS:4132 ../NEWS:4565 -#: ../NEWS:4669 ../NEWS:5465 ../NEWS:5497 ../NEWS:5711 ../NEWS:5863 -#: ../NEWS:6073 ../NEWS:6351 ../NEWS:6643 ../NEWS:7458 ../NEWS:7844 -#: ../NEWS:8409 ../NEWS:9308 ../NEWS:9770 ../NEWS:10510 ../NEWS:12790 -#: ../NEWS:13940 ../NEWS:14396 ../NEWS:14952 ../NEWS:16471 ../NEWS:18950 -#: ../NEWS:20168 ../NEWS:20489 ../NEWS:21183 ../NEWS:21525 ../NEWS:21967 -#: ../NEWS:24240 ../NEWS:27942 ../NEWS:29899 ../NEWS:30615 ../NEWS:31046 -#: ../NEWS:31292 ../NEWS:31934 ../NEWS:32525 ../NEWS:32881 ../NEWS:34135 -#: ../NEWS:34488 ../NEWS:34940 ../NEWS:35446 ../NEWS:36147 ../NEWS:36532 -#: ../NEWS:38485 ../NEWS:39243 ../NEWS:39787 ../NEWS:40318 ../NEWS:43848 -#: ../NEWS:44066 ../NEWS:45794 ../NEWS:48247 ../NEWS:49014 ../NEWS:49478 -#: ../NEWS:49505 ../NEWS:51549 ../NEWS:51760 ../NEWS:52051 ../NEWS:53347 -#: ../NEWS:53406 ../NEWS:53823 ../NEWS:54526 +#: ../NEWS:8 ../NEWS:800 ../NEWS:1117 ../NEWS:1551 ../NEWS:2314 ../NEWS:3235 +#: ../NEWS:3533 ../NEWS:3591 ../NEWS:3847 ../NEWS:4389 ../NEWS:4822 +#: ../NEWS:4926 ../NEWS:5722 ../NEWS:5754 ../NEWS:5968 ../NEWS:6120 +#: ../NEWS:6330 ../NEWS:6608 ../NEWS:6900 ../NEWS:7715 ../NEWS:8101 +#: ../NEWS:8666 ../NEWS:9565 ../NEWS:10027 ../NEWS:10767 ../NEWS:13047 +#: ../NEWS:14197 ../NEWS:14653 ../NEWS:15209 ../NEWS:16728 ../NEWS:19207 +#: ../NEWS:20425 ../NEWS:20746 ../NEWS:21440 ../NEWS:21782 ../NEWS:22224 +#: ../NEWS:24497 ../NEWS:28199 ../NEWS:30156 ../NEWS:30872 ../NEWS:31303 +#: ../NEWS:31549 ../NEWS:32191 ../NEWS:32782 ../NEWS:33138 ../NEWS:34392 +#: ../NEWS:34745 ../NEWS:35197 ../NEWS:35703 ../NEWS:36404 ../NEWS:36789 +#: ../NEWS:38742 ../NEWS:39500 ../NEWS:40044 ../NEWS:40575 ../NEWS:44105 +#: ../NEWS:44323 ../NEWS:46051 ../NEWS:48504 ../NEWS:49271 ../NEWS:49735 +#: ../NEWS:49762 ../NEWS:51806 ../NEWS:52017 ../NEWS:52308 ../NEWS:53604 +#: ../NEWS:53663 ../NEWS:54080 ../NEWS:54783 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 " @@ -66,7 +79,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 " @@ -74,21 +87,21 @@ msgid "" "and :cve:`2026-118370`." msgstr "" -#: ../NEWS:25 +#: ../NEWS:32 msgid "" ":cve:`2026-119170`, :gh:`160923`: Fix fetching with ``-fips`` property for " "``usedforsecurity=True`` in :mod:`hashlib`. This issue only affects Python " "3.14.10, and all other Python versions are unaffected." msgstr "" -#: ../NEWS:29 +#: ../NEWS:36 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:33 +#: ../NEWS:40 msgid "" ":gh:`160499`: Fix unbounded memory growth in :mod:`asyncio` TLS connections " "when a peer stops reading but keeps sending records that make OpenSSL " @@ -97,7 +110,7 @@ msgid "" "when application data does." msgstr "" -#: ../NEWS:39 +#: ../NEWS:46 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 " @@ -105,7 +118,7 @@ msgid "" "``'tar'`` filter to create a file outside the destination directory." msgstr "" -#: ../NEWS:44 +#: ../NEWS:51 msgid "" ":gh:`161323`: On Windows, the ``'tar'`` and ``'data'`` :mod:`tarfile` " "extraction filters now refuse member names and link targets that have a " @@ -115,7 +128,7 @@ msgid "" "Fixes :cve:`2026-107784`." msgstr "" -#: ../NEWS:51 +#: ../NEWS:58 msgid "" ":gh:`160420`: Fix :class:`zoneinfo.ZoneInfo` on Windows accepting keys in " "which a component after a ``/`` starts with a drive letter, such as " @@ -123,59 +136,74 @@ msgid "" "package; it now raises :exc:`ValueError`." msgstr "" -#: ../NEWS:56 +#: ../NEWS:63 +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:69 msgid "" ":gh:`158928`: Fix a buffer overflow when initializing a :class:`bytearray` " "from an iterator." msgstr "" -#: ../NEWS:60 ../NEWS:565 ../NEWS:886 ../NEWS:1352 ../NEWS:2105 ../NEWS:3020 -#: ../NEWS:3283 ../NEWS:3374 ../NEWS:3614 ../NEWS:4418 ../NEWS:4606 -#: ../NEWS:5144 ../NEWS:5156 ../NEWS:5194 ../NEWS:5207 ../NEWS:5243 -#: ../NEWS:5316 ../NEWS:5346 ../NEWS:5561 ../NEWS:5656 ../NEWS:5764 -#: ../NEWS:5775 ../NEWS:5804 ../NEWS:6005 ../NEWS:6191 ../NEWS:6209 -#: ../NEWS:6233 ../NEWS:6248 ../NEWS:6526 ../NEWS:7069 ../NEWS:7110 -#: ../NEWS:7172 ../NEWS:7656 ../NEWS:7740 ../NEWS:8122 ../NEWS:8230 -#: ../NEWS:8290 ../NEWS:8700 ../NEWS:8736 ../NEWS:8837 ../NEWS:9127 -#: ../NEWS:9152 ../NEWS:9184 ../NEWS:9543 ../NEWS:9589 ../NEWS:10170 -#: ../NEWS:10190 ../NEWS:10207 ../NEWS:11787 ../NEWS:11811 ../NEWS:11906 -#: ../NEWS:12079 ../NEWS:12151 ../NEWS:12214 ../NEWS:12232 ../NEWS:12399 -#: ../NEWS:12800 ../NEWS:12828 ../NEWS:13442 ../NEWS:13553 ../NEWS:13957 -#: ../NEWS:13999 ../NEWS:14012 ../NEWS:14404 ../NEWS:14961 ../NEWS:15835 -#: ../NEWS:16496 ../NEWS:18974 ../NEWS:19104 ../NEWS:19871 ../NEWS:19912 -#: ../NEWS:19948 ../NEWS:20189 ../NEWS:20498 ../NEWS:20747 ../NEWS:20796 -#: ../NEWS:20861 ../NEWS:21197 ../NEWS:21235 ../NEWS:21545 ../NEWS:21678 -#: ../NEWS:22005 ../NEWS:22041 ../NEWS:22117 ../NEWS:22162 ../NEWS:22355 -#: ../NEWS:22373 ../NEWS:22390 ../NEWS:22515 ../NEWS:22638 ../NEWS:22653 -#: ../NEWS:24247 ../NEWS:24392 ../NEWS:24437 ../NEWS:25007 ../NEWS:25083 -#: ../NEWS:25108 ../NEWS:25620 ../NEWS:25703 ../NEWS:25755 ../NEWS:25780 -#: ../NEWS:26079 ../NEWS:26170 ../NEWS:26197 ../NEWS:26476 ../NEWS:26526 -#: ../NEWS:26550 ../NEWS:26615 ../NEWS:26928 ../NEWS:26986 ../NEWS:27416 -#: ../NEWS:27969 ../NEWS:28003 ../NEWS:28015 ../NEWS:28074 ../NEWS:28094 -#: ../NEWS:28126 ../NEWS:28256 ../NEWS:28307 ../NEWS:28327 ../NEWS:28426 -#: ../NEWS:29955 ../NEWS:29992 ../NEWS:30083 ../NEWS:30637 ../NEWS:30658 -#: ../NEWS:31053 ../NEWS:31098 ../NEWS:31123 ../NEWS:31298 ../NEWS:31351 -#: ../NEWS:31561 ../NEWS:31603 ../NEWS:31636 ../NEWS:31941 ../NEWS:31993 -#: ../NEWS:32038 ../NEWS:32049 ../NEWS:32536 ../NEWS:32615 ../NEWS:32902 -#: ../NEWS:32924 ../NEWS:32952 ../NEWS:32971 ../NEWS:32984 ../NEWS:33000 -#: ../NEWS:33014 ../NEWS:33026 ../NEWS:33044 ../NEWS:33085 ../NEWS:33104 -#: ../NEWS:33153 ../NEWS:33183 ../NEWS:33297 ../NEWS:33317 ../NEWS:34141 -#: ../NEWS:34503 ../NEWS:34947 ../NEWS:35457 ../NEWS:35798 ../NEWS:36165 -#: ../NEWS:36581 ../NEWS:38500 ../NEWS:39261 ../NEWS:39799 ../NEWS:40105 -#: ../NEWS:40366 ../NEWS:43346 ../NEWS:43458 ../NEWS:43671 ../NEWS:43862 -#: ../NEWS:44072 ../NEWS:44316 ../NEWS:44635 ../NEWS:44939 ../NEWS:45539 -#: ../NEWS:45828 ../NEWS:47920 ../NEWS:48257 ../NEWS:48574 ../NEWS:49023 -#: ../NEWS:49512 ../NEWS:49854 ../NEWS:49878 ../NEWS:50202 ../NEWS:50232 -#: ../NEWS:50296 ../NEWS:50410 ../NEWS:50534 ../NEWS:50802 ../NEWS:51311 -#: ../NEWS:51558 ../NEWS:51772 ../NEWS:52064 ../NEWS:53370 ../NEWS:53431 -#: ../NEWS:53832 ../NEWS:54505 ../NEWS:54548 ../NEWS:55256 ../NEWS:55274 -#: ../NEWS:55797 ../NEWS:55832 ../NEWS:55860 ../NEWS:55952 ../NEWS:56039 -#: ../NEWS:56144 ../NEWS:56187 ../NEWS:56463 ../NEWS:56698 ../NEWS:56884 -#: ../NEWS:57023 +#: ../NEWS:73 ../NEWS:822 ../NEWS:1143 ../NEWS:1609 ../NEWS:2362 ../NEWS:3277 +#: ../NEWS:3540 ../NEWS:3631 ../NEWS:3871 ../NEWS:4675 ../NEWS:4863 +#: ../NEWS:5401 ../NEWS:5413 ../NEWS:5451 ../NEWS:5464 ../NEWS:5500 +#: ../NEWS:5573 ../NEWS:5603 ../NEWS:5818 ../NEWS:5913 ../NEWS:6021 +#: ../NEWS:6032 ../NEWS:6061 ../NEWS:6262 ../NEWS:6448 ../NEWS:6466 +#: ../NEWS:6490 ../NEWS:6505 ../NEWS:6783 ../NEWS:7326 ../NEWS:7367 +#: ../NEWS:7429 ../NEWS:7913 ../NEWS:7997 ../NEWS:8379 ../NEWS:8487 +#: ../NEWS:8547 ../NEWS:8957 ../NEWS:8993 ../NEWS:9094 ../NEWS:9384 +#: ../NEWS:9409 ../NEWS:9441 ../NEWS:9800 ../NEWS:9846 ../NEWS:10427 +#: ../NEWS:10447 ../NEWS:10464 ../NEWS:12044 ../NEWS:12068 ../NEWS:12163 +#: ../NEWS:12336 ../NEWS:12408 ../NEWS:12471 ../NEWS:12489 ../NEWS:12656 +#: ../NEWS:13057 ../NEWS:13085 ../NEWS:13699 ../NEWS:13810 ../NEWS:14214 +#: ../NEWS:14256 ../NEWS:14269 ../NEWS:14661 ../NEWS:15218 ../NEWS:16092 +#: ../NEWS:16753 ../NEWS:19231 ../NEWS:19361 ../NEWS:20128 ../NEWS:20169 +#: ../NEWS:20205 ../NEWS:20446 ../NEWS:20755 ../NEWS:21004 ../NEWS:21053 +#: ../NEWS:21118 ../NEWS:21454 ../NEWS:21492 ../NEWS:21802 ../NEWS:21935 +#: ../NEWS:22262 ../NEWS:22298 ../NEWS:22374 ../NEWS:22419 ../NEWS:22612 +#: ../NEWS:22630 ../NEWS:22647 ../NEWS:22772 ../NEWS:22895 ../NEWS:22910 +#: ../NEWS:24504 ../NEWS:24649 ../NEWS:24694 ../NEWS:25264 ../NEWS:25340 +#: ../NEWS:25365 ../NEWS:25877 ../NEWS:25960 ../NEWS:26012 ../NEWS:26037 +#: ../NEWS:26336 ../NEWS:26427 ../NEWS:26454 ../NEWS:26733 ../NEWS:26783 +#: ../NEWS:26807 ../NEWS:26872 ../NEWS:27185 ../NEWS:27243 ../NEWS:27673 +#: ../NEWS:28226 ../NEWS:28260 ../NEWS:28272 ../NEWS:28331 ../NEWS:28351 +#: ../NEWS:28383 ../NEWS:28513 ../NEWS:28564 ../NEWS:28584 ../NEWS:28683 +#: ../NEWS:30212 ../NEWS:30249 ../NEWS:30340 ../NEWS:30894 ../NEWS:30915 +#: ../NEWS:31310 ../NEWS:31355 ../NEWS:31380 ../NEWS:31555 ../NEWS:31608 +#: ../NEWS:31818 ../NEWS:31860 ../NEWS:31893 ../NEWS:32198 ../NEWS:32250 +#: ../NEWS:32295 ../NEWS:32306 ../NEWS:32793 ../NEWS:32872 ../NEWS:33159 +#: ../NEWS:33181 ../NEWS:33209 ../NEWS:33228 ../NEWS:33241 ../NEWS:33257 +#: ../NEWS:33271 ../NEWS:33283 ../NEWS:33301 ../NEWS:33342 ../NEWS:33361 +#: ../NEWS:33410 ../NEWS:33440 ../NEWS:33554 ../NEWS:33574 ../NEWS:34398 +#: ../NEWS:34760 ../NEWS:35204 ../NEWS:35714 ../NEWS:36055 ../NEWS:36422 +#: ../NEWS:36838 ../NEWS:38757 ../NEWS:39518 ../NEWS:40056 ../NEWS:40362 +#: ../NEWS:40623 ../NEWS:43603 ../NEWS:43715 ../NEWS:43928 ../NEWS:44119 +#: ../NEWS:44329 ../NEWS:44573 ../NEWS:44892 ../NEWS:45196 ../NEWS:45796 +#: ../NEWS:46085 ../NEWS:48177 ../NEWS:48514 ../NEWS:48831 ../NEWS:49280 +#: ../NEWS:49769 ../NEWS:50111 ../NEWS:50135 ../NEWS:50459 ../NEWS:50489 +#: ../NEWS:50553 ../NEWS:50667 ../NEWS:50791 ../NEWS:51059 ../NEWS:51568 +#: ../NEWS:51815 ../NEWS:52029 ../NEWS:52321 ../NEWS:53627 ../NEWS:53688 +#: ../NEWS:54089 ../NEWS:54762 ../NEWS:54805 ../NEWS:55513 ../NEWS:55531 +#: ../NEWS:56054 ../NEWS:56089 ../NEWS:56117 ../NEWS:56209 ../NEWS:56296 +#: ../NEWS:56401 ../NEWS:56444 ../NEWS:56720 ../NEWS:56955 ../NEWS:57141 +#: ../NEWS:57280 msgid "Core and Builtins" msgstr "" -#: ../NEWS:62 +#: ../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 " @@ -183,14 +211,14 @@ msgid "" "class or function, or a generic type alias." msgstr "" -#: ../NEWS:67 +#: ../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:71 +#: ../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 " @@ -198,47 +226,56 @@ msgid "" "other tools that walk the stack can find the interpreter loop." msgstr "" -#: ../NEWS:76 +#: ../NEWS:92 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:80 +#: ../NEWS:96 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:84 +#: ../NEWS:100 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:88 +#: ../NEWS:104 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:92 +#: ../NEWS:108 msgid "" ":gh:`159184`: Fix a leak of NaN constants in code objects created " "by :func:`marshal.loads` on the free-threaded build." msgstr "" -#: ../NEWS:95 +#: ../NEWS:111 msgid "" ":gh:`160773`: Fix a crash in :func:`str` of an :exc:`OSError` when " "formatting one of its attributes modifies the others." msgstr "" -#: ../NEWS:98 +#: ../NEWS:114 +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:120 msgid "" ":gh:`112564`: Fix a crash in the garbage collector " "when :data:`gc.DEBUG_COLLECTABLE` or :data:`gc.DEBUG_UNCOLLECTABLE` is set " @@ -247,7 +284,25 @@ msgid "" "prefixed lowercase format on all platforms, including Windows." msgstr "" -#: ../NEWS:104 +#: ../NEWS:126 +msgid "" +":gh:`159101`: Fix use-after-free when :meth:`~object.__del__` changes the " +"base class. Patch by Sergey Miryanov." +msgstr "" + +#: ../NEWS:129 +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 " +"example a custom metaclass ``mro()`` or the ``__eq__`` of a :class:`str` " +"subclass used as a class ``__dict__`` key) and a thread that assigns to a " +"special method or to ``__bases__`` of a class. The type lock is no longer " +"held while waiting for a stop-the-world; the prepared slot, MRO and bases " +"updates are validated with the world stopped and recomputed if they went " +"stale." +msgstr "" + +#: ../NEWS:138 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 " @@ -257,11 +312,11 @@ msgid "" "there is not enough stack left to release it." msgstr "" -#: ../NEWS:111 +#: ../NEWS:145 msgid ":gh:`159449`: Fix a free-threaded asyncio race leading to segfaults." msgstr "" -#: ../NEWS:113 +#: ../NEWS:147 msgid "" ":gh:`159434`: Fix reading a function's :attr:`~function.__annotations__` " "using borrowed references to :attr:`~function.__annotate__` and the internal " @@ -270,7 +325,7 @@ msgid "" "is now kept." msgstr "" -#: ../NEWS:119 +#: ../NEWS:153 msgid "" ":gh:`159136`: Setting ``__name__``, ``__qualname__``, ``__doc__`` or " "``__module__`` on a function no longer stops all threads in the free-" @@ -278,25 +333,33 @@ msgid "" "using :func:`functools.wraps` since 3.14.7." msgstr "" -#: ../NEWS:124 +#: ../NEWS:158 msgid "" ":gh:`159054`: Fixed a crash when an allocation failure occurred while " "compiling code containing cold blocks." msgstr "" -#: ../NEWS:127 +#: ../NEWS:161 msgid "" ":gh:`158529`: Fixed crash on Android x86_64, API levels 27-28, caused by " "mimalloc calling system calls directly." msgstr "" -#: ../NEWS:130 +#: ../NEWS:164 msgid "" ":gh:`151126`: Fix a crash when allocation failure occurs during :ref:`interp-" "object-sharing`." msgstr "" -#: ../NEWS:133 +#: ../NEWS:167 +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:172 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 " @@ -304,131 +367,310 @@ msgid "" "memory, leading to an invalid free." msgstr "" -#: ../NEWS:138 +#: ../NEWS:177 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:141 +#: ../NEWS:180 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:144 +#: ../NEWS:183 msgid "" ":gh:`148891`: Fix a crash in :func:`contextvars.Context.run` where a GC " "invocation could free the current HAMT during traverse." msgstr "" -#: ../NEWS:148 ../NEWS:648 ../NEWS:969 ../NEWS:1460 ../NEWS:2241 ../NEWS:3089 -#: ../NEWS:3291 ../NEWS:3437 ../NEWS:3776 ../NEWS:4155 ../NEWS:4578 -#: ../NEWS:4612 ../NEWS:4702 ../NEWS:5150 ../NEWS:5188 ../NEWS:5201 -#: ../NEWS:5235 ../NEWS:5310 ../NEWS:5336 ../NEWS:5474 ../NEWS:5507 -#: ../NEWS:5619 ../NEWS:5721 ../NEWS:5770 ../NEWS:5798 ../NEWS:5900 -#: ../NEWS:6088 ../NEWS:6202 ../NEWS:6227 ../NEWS:6242 ../NEWS:6361 -#: ../NEWS:6653 ../NEWS:7104 ../NEWS:7166 ../NEWS:7314 ../NEWS:7473 -#: ../NEWS:7734 ../NEWS:7852 ../NEWS:8225 ../NEWS:8283 ../NEWS:8437 -#: ../NEWS:8730 ../NEWS:8830 ../NEWS:8844 ../NEWS:8950 ../NEWS:9145 -#: ../NEWS:9177 ../NEWS:9316 ../NEWS:9578 ../NEWS:9775 ../NEWS:10183 -#: ../NEWS:10200 ../NEWS:10303 ../NEWS:10561 ../NEWS:11805 ../NEWS:11900 -#: ../NEWS:12073 ../NEWS:12144 ../NEWS:12207 ../NEWS:12225 ../NEWS:12393 -#: ../NEWS:12821 ../NEWS:12999 ../NEWS:13544 ../NEWS:13559 ../NEWS:13992 -#: ../NEWS:14005 ../NEWS:14028 ../NEWS:14514 ../NEWS:15120 ../NEWS:16007 -#: ../NEWS:17132 ../NEWS:18968 ../NEWS:19094 ../NEWS:19190 ../NEWS:19905 -#: ../NEWS:19954 ../NEWS:20269 ../NEWS:20559 ../NEWS:20790 ../NEWS:20856 -#: ../NEWS:20868 ../NEWS:21226 ../NEWS:21272 ../NEWS:21703 ../NEWS:22033 -#: ../NEWS:22112 ../NEWS:22155 ../NEWS:22349 ../NEWS:22366 ../NEWS:22379 -#: ../NEWS:22505 ../NEWS:22633 ../NEWS:22648 ../NEWS:22675 ../NEWS:24383 -#: ../NEWS:24455 ../NEWS:25076 ../NEWS:25102 ../NEWS:25138 ../NEWS:25698 -#: ../NEWS:25748 ../NEWS:25771 ../NEWS:25795 ../NEWS:26164 ../NEWS:26187 -#: ../NEWS:26204 ../NEWS:26520 ../NEWS:26545 ../NEWS:26609 ../NEWS:26641 -#: ../NEWS:26980 ../NEWS:27060 ../NEWS:27525 ../NEWS:27994 ../NEWS:28008 -#: ../NEWS:28067 ../NEWS:28086 ../NEWS:28120 ../NEWS:28249 ../NEWS:28299 -#: ../NEWS:28320 ../NEWS:28419 ../NEWS:28543 ../NEWS:29984 ../NEWS:30077 -#: ../NEWS:30097 ../NEWS:30652 ../NEWS:30735 ../NEWS:31085 ../NEWS:31114 -#: ../NEWS:31130 ../NEWS:31344 ../NEWS:31360 ../NEWS:31596 ../NEWS:31610 -#: ../NEWS:31646 ../NEWS:31987 ../NEWS:32033 ../NEWS:32044 ../NEWS:32061 -#: ../NEWS:32608 ../NEWS:32622 ../NEWS:32918 ../NEWS:32934 ../NEWS:32959 -#: ../NEWS:32977 ../NEWS:32994 ../NEWS:33009 ../NEWS:33020 ../NEWS:33038 -#: ../NEWS:33080 ../NEWS:33097 ../NEWS:33148 ../NEWS:33177 ../NEWS:33290 -#: ../NEWS:33309 ../NEWS:33326 ../NEWS:34199 ../NEWS:34587 ../NEWS:35074 -#: ../NEWS:35534 ../NEWS:35896 ../NEWS:36242 ../NEWS:36898 ../NEWS:38664 -#: ../NEWS:39331 ../NEWS:39874 ../NEWS:40169 ../NEWS:40920 ../NEWS:43328 -#: ../NEWS:43361 ../NEWS:43489 ../NEWS:43697 ../NEWS:43888 ../NEWS:44093 -#: ../NEWS:44391 ../NEWS:44712 ../NEWS:45037 ../NEWS:45627 ../NEWS:46287 -#: ../NEWS:47957 ../NEWS:48303 ../NEWS:48669 ../NEWS:48993 ../NEWS:49096 -#: ../NEWS:49559 ../NEWS:49946 ../NEWS:50249 ../NEWS:50331 ../NEWS:50434 -#: ../NEWS:50604 ../NEWS:50939 ../NEWS:51357 ../NEWS:51575 ../NEWS:51812 -#: ../NEWS:52349 ../NEWS:53376 ../NEWS:53394 ../NEWS:53482 ../NEWS:53963 -#: ../NEWS:54678 ../NEWS:55342 ../NEWS:55780 ../NEWS:55807 ../NEWS:55845 -#: ../NEWS:55865 ../NEWS:55972 ../NEWS:56066 ../NEWS:56162 ../NEWS:56237 -#: ../NEWS:56495 ../NEWS:56718 ../NEWS:56891 ../NEWS:57249 +#: ../NEWS:187 ../NEWS:905 ../NEWS:1226 ../NEWS:1717 ../NEWS:2498 ../NEWS:3346 +#: ../NEWS:3548 ../NEWS:3694 ../NEWS:4033 ../NEWS:4412 ../NEWS:4835 +#: ../NEWS:4869 ../NEWS:4959 ../NEWS:5407 ../NEWS:5445 ../NEWS:5458 +#: ../NEWS:5492 ../NEWS:5567 ../NEWS:5593 ../NEWS:5731 ../NEWS:5764 +#: ../NEWS:5876 ../NEWS:5978 ../NEWS:6027 ../NEWS:6055 ../NEWS:6157 +#: ../NEWS:6345 ../NEWS:6459 ../NEWS:6484 ../NEWS:6499 ../NEWS:6618 +#: ../NEWS:6910 ../NEWS:7361 ../NEWS:7423 ../NEWS:7571 ../NEWS:7730 +#: ../NEWS:7991 ../NEWS:8109 ../NEWS:8482 ../NEWS:8540 ../NEWS:8694 +#: ../NEWS:8987 ../NEWS:9087 ../NEWS:9101 ../NEWS:9207 ../NEWS:9402 +#: ../NEWS:9434 ../NEWS:9573 ../NEWS:9835 ../NEWS:10032 ../NEWS:10440 +#: ../NEWS:10457 ../NEWS:10560 ../NEWS:10818 ../NEWS:12062 ../NEWS:12157 +#: ../NEWS:12330 ../NEWS:12401 ../NEWS:12464 ../NEWS:12482 ../NEWS:12650 +#: ../NEWS:13078 ../NEWS:13256 ../NEWS:13801 ../NEWS:13816 ../NEWS:14249 +#: ../NEWS:14262 ../NEWS:14285 ../NEWS:14771 ../NEWS:15377 ../NEWS:16264 +#: ../NEWS:17389 ../NEWS:19225 ../NEWS:19351 ../NEWS:19447 ../NEWS:20162 +#: ../NEWS:20211 ../NEWS:20526 ../NEWS:20816 ../NEWS:21047 ../NEWS:21113 +#: ../NEWS:21125 ../NEWS:21483 ../NEWS:21529 ../NEWS:21960 ../NEWS:22290 +#: ../NEWS:22369 ../NEWS:22412 ../NEWS:22606 ../NEWS:22623 ../NEWS:22636 +#: ../NEWS:22762 ../NEWS:22890 ../NEWS:22905 ../NEWS:22932 ../NEWS:24640 +#: ../NEWS:24712 ../NEWS:25333 ../NEWS:25359 ../NEWS:25395 ../NEWS:25955 +#: ../NEWS:26005 ../NEWS:26028 ../NEWS:26052 ../NEWS:26421 ../NEWS:26444 +#: ../NEWS:26461 ../NEWS:26777 ../NEWS:26802 ../NEWS:26866 ../NEWS:26898 +#: ../NEWS:27237 ../NEWS:27317 ../NEWS:27782 ../NEWS:28251 ../NEWS:28265 +#: ../NEWS:28324 ../NEWS:28343 ../NEWS:28377 ../NEWS:28506 ../NEWS:28556 +#: ../NEWS:28577 ../NEWS:28676 ../NEWS:28800 ../NEWS:30241 ../NEWS:30334 +#: ../NEWS:30354 ../NEWS:30909 ../NEWS:30992 ../NEWS:31342 ../NEWS:31371 +#: ../NEWS:31387 ../NEWS:31601 ../NEWS:31617 ../NEWS:31853 ../NEWS:31867 +#: ../NEWS:31903 ../NEWS:32244 ../NEWS:32290 ../NEWS:32301 ../NEWS:32318 +#: ../NEWS:32865 ../NEWS:32879 ../NEWS:33175 ../NEWS:33191 ../NEWS:33216 +#: ../NEWS:33234 ../NEWS:33251 ../NEWS:33266 ../NEWS:33277 ../NEWS:33295 +#: ../NEWS:33337 ../NEWS:33354 ../NEWS:33405 ../NEWS:33434 ../NEWS:33547 +#: ../NEWS:33566 ../NEWS:33583 ../NEWS:34456 ../NEWS:34844 ../NEWS:35331 +#: ../NEWS:35791 ../NEWS:36153 ../NEWS:36499 ../NEWS:37155 ../NEWS:38921 +#: ../NEWS:39588 ../NEWS:40131 ../NEWS:40426 ../NEWS:41177 ../NEWS:43585 +#: ../NEWS:43618 ../NEWS:43746 ../NEWS:43954 ../NEWS:44145 ../NEWS:44350 +#: ../NEWS:44648 ../NEWS:44969 ../NEWS:45294 ../NEWS:45884 ../NEWS:46544 +#: ../NEWS:48214 ../NEWS:48560 ../NEWS:48926 ../NEWS:49250 ../NEWS:49353 +#: ../NEWS:49816 ../NEWS:50203 ../NEWS:50506 ../NEWS:50588 ../NEWS:50691 +#: ../NEWS:50861 ../NEWS:51196 ../NEWS:51614 ../NEWS:51832 ../NEWS:52069 +#: ../NEWS:52606 ../NEWS:53633 ../NEWS:53651 ../NEWS:53739 ../NEWS:54220 +#: ../NEWS:54935 ../NEWS:55599 ../NEWS:56037 ../NEWS:56064 ../NEWS:56102 +#: ../NEWS:56122 ../NEWS:56229 ../NEWS:56323 ../NEWS:56419 ../NEWS:56494 +#: ../NEWS:56752 ../NEWS:56975 ../NEWS:57148 ../NEWS:57506 msgid "Library" msgstr "" -#: ../NEWS:150 +#: ../NEWS:189 +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:193 +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:199 +msgid "" +":gh:`162622`: Preserve literal braces in f-string and t-string format " +"specifiers when using :func:`ast.unparse`." +msgstr "" + +#: ../NEWS:202 +msgid "" +":gh:`162610`: Fix :mod:`asyncio` socket transports " +"of :class:`~asyncio.SelectorEventLoop` losing data " +"when :meth:`~asyncio.WriteTransport.writelines` is called while the socket " +"is full. Only platforms where the transport does not " +"use :meth:`socket.socket.sendmsg`, such as Windows, were affected." +msgstr "" + +#: ../NEWS:208 +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:215 +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:219 +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:224 +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:229 +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:233 +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:236 +msgid "" +":gh:`162061`: Fix the asyncio call graph to show which task " +"awaits :func:`asyncio.gather`. Patch by Timofei Ivankov." +msgstr "" + +#: ../NEWS:239 +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:243 +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:248 +msgid "" +":gh:`162246`: Fix :class:`io.BufferedRWPair` losing buffered writes on " +"deallocation when the reader and writer share a raw stream." +msgstr "" + +#: ../NEWS:251 +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:255 +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:259 +msgid "" +":gh:`161996`: Fix a crash " +"in :meth:`concurrent.interpreters.Interpreter.exec` when the uncaught " +"exception's ``__str__`` raises." +msgstr "" + +#: ../NEWS:262 +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:266 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:154 +#: ../NEWS:270 +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:274 +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:283 +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:287 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:158 +#: ../NEWS:291 +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:295 +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:299 +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:303 msgid "" ":gh:`161475`: Fix :mod:`ctypes` structures containing arrays of floating-" "point type returned by value on 64-bit Linux SPARC." msgstr "" -#: ../NEWS:161 +#: ../NEWS:306 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:165 +#: ../NEWS:310 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:169 +#: ../NEWS:314 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:173 +#: ../NEWS:318 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:176 +#: ../NEWS:321 msgid "" ":gh:`161389`: Fixes a crash in :class:`decimal.Context` when passing invalid " "signaling dicts as *flags* and *traps*." msgstr "" -#: ../NEWS:179 +#: ../NEWS:324 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:183 +#: ../NEWS:328 msgid "" ":gh:`93821`: Fix :class:`asyncio.ProactorEventLoop` servers that stopped " "accepting new connections on Windows when a client reset its connection " @@ -437,7 +679,7 @@ msgid "" "connections." msgstr "" -#: ../NEWS:189 +#: ../NEWS:334 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 " @@ -446,38 +688,44 @@ msgid "" "``setsockopt(TCP_NODELAY)`` are now ignored." msgstr "" -#: ../NEWS:195 +#: ../NEWS:340 msgid "" ":gh:`161233`: Fix unraisable :exc:`TypeError` when ``None`` was passed as a " "*timer* to :class:`cProfile.Profile `." msgstr "" -#: ../NEWS:198 +#: ../NEWS:343 msgid "" ":gh:`161212`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to " "version 26.3." msgstr "" -#: ../NEWS:201 +#: ../NEWS:346 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:205 +#: ../NEWS:350 msgid "" ":gh:`161166`: Fix :meth:`asyncio.Task.print_stack` displaying an incorrect " "exception line after a ``finally`` block. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:208 +#: ../NEWS:353 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:211 +#: ../NEWS:356 +msgid "" +":gh:`161083`: Fix stale task nodes left by :func:`asyncio.gather` when " +"argument validation fails. Patch by Timofei Ivankov" +msgstr "" + +#: ../NEWS:359 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` " @@ -486,31 +734,31 @@ msgid "" "reported to the default handler from a document that is not encoded in UTF-8." msgstr "" -#: ../NEWS:218 +#: ../NEWS:366 msgid "" ":gh:`161039`: Fix the :mod:`pydoc` pager not detecting ``less`` 706 and " "newer." msgstr "" -#: ../NEWS:221 +#: ../NEWS:369 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:225 +#: ../NEWS:373 msgid ":gh:`157928`: Correctly detect and handle OSC sequences in PyREPL." msgstr "" -#: ../NEWS:227 +#: ../NEWS:375 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:231 +#: ../NEWS:379 msgid "" ":gh:`53089`: :class:`urllib.request.HTTPDigestAuthHandler` now sends " "``uri=\"/\"`` in the Digest ``Authorization`` header for URLs with an empty " @@ -519,7 +767,7 @@ msgid "" "reject. Patch by Senthil Kumaran." msgstr "" -#: ../NEWS:237 +#: ../NEWS:385 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, " @@ -527,7 +775,7 @@ msgid "" "are now closed quietly." msgstr "" -#: ../NEWS:242 +#: ../NEWS:390 msgid "" ":gh:`59515`: :class:`urllib.request.HTTPDigestAuthHandler` " "and :class:`urllib.request.ProxyDigestAuthHandler` now parse all ``WWW-" @@ -535,41 +783,41 @@ msgid "" "challenges per header: the first Digest challenge is used." msgstr "" -#: ../NEWS:247 +#: ../NEWS:395 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:251 +#: ../NEWS:399 msgid "" ":gh:`160811`: Fix :meth:`io.TextIOWrapper.tell` reading past the end of the " "buffer after :meth:`~io.TextIOWrapper.seek`." msgstr "" -#: ../NEWS:254 +#: ../NEWS:402 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:258 +#: ../NEWS:406 msgid "" ":gh:`160781`: Fix :class:`io.BytesIO` implementation " "of :meth:`io.IOBase.truncate` rejecting sizes larger than ``2**31 - 1`` on " "Windows." msgstr "" -#: ../NEWS:262 +#: ../NEWS:410 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:266 +#: ../NEWS:414 msgid "" ":gh:`158500`: :meth:`datetime.date.fromisoformat` now rejects strings with " "trailing characters after a basic-format date, such as ``'2020010112'``. The " @@ -578,27 +826,27 @@ msgid "" "implementation." msgstr "" -#: ../NEWS:272 +#: ../NEWS:420 msgid "" ":gh:`160427`: Fix :attr:`~io.TextIOBase.buffer` of a " "detached :class:`io.TextIOWrapper` raising :exc:`ValueError` instead of " "returning ``None``." msgstr "" -#: ../NEWS:276 +#: ../NEWS:424 msgid "" ":gh:`160596`: Fix the error message for invalid data passed to :meth:`!" "asyncio.proactor_events.sendto`." msgstr "" -#: ../NEWS:279 +#: ../NEWS:427 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:283 +#: ../NEWS:431 msgid "" ":gh:`60299`: Fix :class:`urllib.request.ProxyDigestAuthHandler` failing to " "authenticate. It looked up credentials using the target request URL instead " @@ -606,7 +854,7 @@ msgid "" "against the proxy never matched. Patch by Senthil Kumaran." msgstr "" -#: ../NEWS:289 +#: ../NEWS:437 msgid "" ":gh:`160314`: Raise an error " "in :class:`lzma.LZMAFile`, :func:`lzma.decompress`, :class:`bz2.BZ2File` " @@ -615,7 +863,7 @@ msgid "" "it as trailing data." msgstr "" -#: ../NEWS:294 +#: ../NEWS:442 msgid "" ":gh:`159739`: Fix the ``hz`` codec sometimes encoding ``~`` as a single " "``~`` in text that mixes ASCII and Chinese characters, and the incremental " @@ -626,7 +874,15 @@ msgid "" "use." msgstr "" -#: ../NEWS:302 +#: ../NEWS:450 +msgid "" +":gh:`159739`: Fix crashes in :class:`io.TextIOWrapper` " +"and :class:`io.IncrementalNewlineDecoder` when a callback changes the active " +"codec or decoded buffer. :class:`io.StringIO` now raises :exc:`ValueError` " +"if converting the size passed to ``truncate()`` closes the stream." +msgstr "" + +#: ../NEWS:455 msgid "" ":gh:`160310`: Fix quadratic time complexity " "of :func:`gzip.decompress`, :func:`bz2.decompress`, :func:`lzma.decompress` " @@ -634,7 +890,7 @@ msgid "" "concatenated members." msgstr "" -#: ../NEWS:307 +#: ../NEWS:460 msgid "" ":gh:`160522`: Fix the incremental encoders and stream writers of the " "stateful CJK codecs (``iso2022_*`` and ``hz``) keeping a changed shift state " @@ -642,7 +898,7 @@ msgid "" "omit the escape sequence, writing multibyte characters in ASCII mode." msgstr "" -#: ../NEWS:312 +#: ../NEWS:465 msgid "" ":gh:`160316`: Fix :meth:`re.Pattern.match`, :meth:`re.Pattern.fullmatch` and " "the ``match()`` method of scanner objects returning an empty match, or " @@ -650,14 +906,14 @@ msgid "" "They now return ``None``, as documented." msgstr "" -#: ../NEWS:317 +#: ../NEWS:470 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:321 +#: ../NEWS:474 msgid "" ":gh:`160513`: Fix :meth:`asyncio.loop.start_tls` " "and :meth:`asyncio.StreamWriter.start_tls` not calling the " @@ -667,7 +923,7 @@ msgid "" "after such a failure." msgstr "" -#: ../NEWS:328 +#: ../NEWS:481 msgid "" ":gh:`160297`: Fix :meth:`tarfile.TarFile.extractall` " "and :meth:`tarfile.TarFile.extract` changing the mode, modification time and " @@ -676,21 +932,21 @@ msgid "" "``'tar'`` filter." msgstr "" -#: ../NEWS:334 +#: ../NEWS:487 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:338 +#: ../NEWS:491 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:342 +#: ../NEWS:495 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 " @@ -698,7 +954,7 @@ msgid "" "raises :exc:`ValueError`, as it already does for an ASCII space." msgstr "" -#: ../NEWS:347 +#: ../NEWS:500 msgid "" ":gh:`161094`: Fix :func:`zipfile.is_zipfile` raising :exc:`ValueError` " "instead of returning ``False`` for a file-like object, such " @@ -706,7 +962,7 @@ msgid "" "central directory before the start of the file." msgstr "" -#: ../NEWS:352 +#: ../NEWS:505 msgid "" ":gh:`161096`: Fix :meth:`zoneinfo.ZoneInfo.from_file` accepting TZif data " "with a negative or oversized abbreviation block, which could use hundreds of " @@ -714,21 +970,21 @@ msgid "" "indexes above 127 now also give the correct time zone abbreviation." msgstr "" -#: ../NEWS:358 +#: ../NEWS:511 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:362 +#: ../NEWS:515 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:366 +#: ../NEWS:519 msgid "" ":gh:`161108`: Fix quadratic time complexity of :meth:`!clear` and :meth:`!" "popitem` on :class:`configparser.ConfigParser` objects and their section " @@ -736,7 +992,7 @@ msgid "" "with :exc:`~configparser.InterpolationError` on a value it removes." msgstr "" -#: ../NEWS:371 +#: ../NEWS:524 msgid "" ":gh:`161102`: Fix the incremental decoder of the :mod:`idna " "` codec decoding some dots twice when its input starts with " @@ -745,7 +1001,7 @@ msgid "" "than the input holds." msgstr "" -#: ../NEWS:377 +#: ../NEWS:530 msgid "" ":gh:`160185`: Fix :meth:`codecs.StreamWriter.reset` of the stateful CJK " "codecs (``hz`` and the ``iso2022_*`` family) not writing the sequence that " @@ -755,7 +1011,7 @@ msgid "" "stream position." msgstr "" -#: ../NEWS:383 +#: ../NEWS:536 msgid "" ":gh:`159875`: Fix :exc:`AttributeError` from the methods of " "an :mod:`asyncio` SSL transport, such " @@ -767,51 +1023,80 @@ msgid "" "connection is lost." msgstr "" -#: ../NEWS:391 +#: ../NEWS:544 +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:548 msgid "" ":gh:`159739`: Avoid undefined behavior when :func:`struct.pack_into` copies " "a bytearray into overlapping output." msgstr "" -#: ../NEWS:394 +#: ../NEWS:551 +msgid "" +":gh:`159645`: Fix remote inspection of suspended asyncio tasks. Their stacks " +"could include frames from the event loop. Patch by Timofei Ivankov." +msgstr "" + +#: ../NEWS:554 +msgid "" +":gh:`159617`: Fix the :term:`REPL` dropping the last characters of a long " +"line that wraps across several rows, which could raise :exc:`IndexError` " +"when moving the cursor with the arrow keys." +msgstr "" + +#: ../NEWS:558 msgid "" ":gh:`159168`: Fix :exc:`RecursionError` in ``python -m asyncio pstree`` on a " "deep chain of awaiting tasks. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:397 +#: ../NEWS:561 +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:567 msgid "" ":gh:`155233`: Fix :meth:`asyncio.Barrier.wait` returning duplicate indices " "when a waiting task is cancelled before the barrier is released.```" msgstr "" -#: ../NEWS:400 +#: ../NEWS:570 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:404 +#: ../NEWS:574 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:408 +#: ../NEWS:578 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:411 +#: ../NEWS:581 msgid "" ":gh:`158032`: Fix a crash in :meth:`xml.etree.ElementTree.Element.iter` when " "a tag's equality comparison replaces that tag." msgstr "" -#: ../NEWS:414 +#: ../NEWS:584 msgid "" ":gh:`157856`: Fix :func:`asyncio.as_completed` raising :exc:`RuntimeError` " "(\"no running event loop\") when the iterator is created outside of a " @@ -819,19 +1104,25 @@ msgid "" "`." msgstr "" -#: ../NEWS:419 +#: ../NEWS:589 msgid "" ":gh:`157301`: Fix :class:`asyncio.Task` hanging the event loop when an eager " "start fails to enter the task's context." msgstr "" -#: ../NEWS:422 +#: ../NEWS:592 +msgid "" +":gh:`154923`: Fix a crash when creating Tcl interpreters concurrently in " +"different threads in the :term:`free-threaded build`." +msgstr "" + +#: ../NEWS:595 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:425 +#: ../NEWS:598 msgid "" ":gh:`155003`: Fix :class:`multiprocessing.shared_memory.SharedMemory` " "leaking its file descriptor and printing an ignored :exc:`BufferError` when " @@ -841,7 +1132,15 @@ msgid "" "the :class:`!SharedMemory` object is garbage collected." msgstr "" -#: ../NEWS:432 +#: ../NEWS:605 +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:610 msgid "" ":gh:`141276`: Fix duplicate :exc:`SyntaxWarning` messages when importing " "source modules from ZIP " @@ -852,177 +1151,289 @@ msgid "" "of filesystem-based loaders." msgstr "" -#: ../NEWS:440 +#: ../NEWS:618 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:444 +#: ../NEWS:622 +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:629 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:448 +#: ../NEWS:633 +msgid "" +":gh:`138720`: Fix an issue where :class:`io.BufferedWriter` " +"and :class:`io.BufferedRandom` had different definitions of \"closed\" " +"for :meth:`~io.IOBase.close` and :meth:`~io.IOBase.flush` which resulted in " +"an exception when close called flush but flush thought the file was already " +"closed." +msgstr "" + +#: ../NEWS:639 msgid "" ":issue:`44170`: Fix UnicodeDecodeError with multibyte utf8 characters in " "ShareableList." msgstr "" -#: ../NEWS:452 ../NEWS:1197 ../NEWS:1828 ../NEWS:2797 ../NEWS:3212 ../NEWS:3541 -#: ../NEWS:4002 ../NEWS:4413 ../NEWS:5131 ../NEWS:5651 ../NEWS:6000 -#: ../NEWS:6182 ../NEWS:7060 ../NEWS:7650 ../NEWS:8110 ../NEWS:8690 -#: ../NEWS:9537 ../NEWS:10157 ../NEWS:11733 ../NEWS:13328 ../NEWS:13793 -#: ../NEWS:14271 ../NEWS:14808 ../NEWS:15623 ../NEWS:18146 ../NEWS:19673 -#: ../NEWS:20118 ../NEWS:20389 ../NEWS:20668 ../NEWS:21079 ../NEWS:21404 -#: ../NEWS:21836 ../NEWS:23592 ../NEWS:24837 ../NEWS:25443 ../NEWS:25970 -#: ../NEWS:26333 ../NEWS:26797 ../NEWS:27193 ../NEWS:27692 ../NEWS:29355 -#: ../NEWS:30434 ../NEWS:30902 ../NEWS:31194 ../NEWS:31470 ../NEWS:31835 -#: ../NEWS:32296 ../NEWS:32768 ../NEWS:33812 ../NEWS:34360 ../NEWS:34804 -#: ../NEWS:35262 ../NEWS:35666 ../NEWS:36089 ../NEWS:36404 ../NEWS:37749 -#: ../NEWS:39055 ../NEWS:39522 ../NEWS:40000 ../NEWS:40242 ../NEWS:42426 -#: ../NEWS:43402 ../NEWS:43612 ../NEWS:43762 ../NEWS:43980 ../NEWS:44225 -#: ../NEWS:44550 ../NEWS:44890 ../NEWS:45373 ../NEWS:45716 ../NEWS:47326 -#: ../NEWS:48080 ../NEWS:48436 ../NEWS:48833 ../NEWS:49232 ../NEWS:49801 -#: ../NEWS:50121 ../NEWS:50277 ../NEWS:50380 ../NEWS:51739 ../NEWS:51990 -#: ../NEWS:53157 ../NEWS:53717 ../NEWS:54384 ../NEWS:55110 ../NEWS:55671 -#: ../NEWS:55924 ../NEWS:56123 ../NEWS:56434 ../NEWS:58635 +#: ../NEWS:643 ../NEWS:1454 ../NEWS:2085 ../NEWS:3054 ../NEWS:3469 ../NEWS:3798 +#: ../NEWS:4259 ../NEWS:4670 ../NEWS:5388 ../NEWS:5908 ../NEWS:6257 +#: ../NEWS:6439 ../NEWS:7317 ../NEWS:7907 ../NEWS:8367 ../NEWS:8947 +#: ../NEWS:9794 ../NEWS:10414 ../NEWS:11990 ../NEWS:13585 ../NEWS:14050 +#: ../NEWS:14528 ../NEWS:15065 ../NEWS:15880 ../NEWS:18403 ../NEWS:19930 +#: ../NEWS:20375 ../NEWS:20646 ../NEWS:20925 ../NEWS:21336 ../NEWS:21661 +#: ../NEWS:22093 ../NEWS:23849 ../NEWS:25094 ../NEWS:25700 ../NEWS:26227 +#: ../NEWS:26590 ../NEWS:27054 ../NEWS:27450 ../NEWS:27949 ../NEWS:29612 +#: ../NEWS:30691 ../NEWS:31159 ../NEWS:31451 ../NEWS:31727 ../NEWS:32092 +#: ../NEWS:32553 ../NEWS:33025 ../NEWS:34069 ../NEWS:34617 ../NEWS:35061 +#: ../NEWS:35519 ../NEWS:35923 ../NEWS:36346 ../NEWS:36661 ../NEWS:38006 +#: ../NEWS:39312 ../NEWS:39779 ../NEWS:40257 ../NEWS:40499 ../NEWS:42683 +#: ../NEWS:43659 ../NEWS:43869 ../NEWS:44019 ../NEWS:44237 ../NEWS:44482 +#: ../NEWS:44807 ../NEWS:45147 ../NEWS:45630 ../NEWS:45973 ../NEWS:47583 +#: ../NEWS:48337 ../NEWS:48693 ../NEWS:49090 ../NEWS:49489 ../NEWS:50058 +#: ../NEWS:50378 ../NEWS:50534 ../NEWS:50637 ../NEWS:51996 ../NEWS:52247 +#: ../NEWS:53414 ../NEWS:53974 ../NEWS:54641 ../NEWS:55367 ../NEWS:55928 +#: ../NEWS:56181 ../NEWS:56380 ../NEWS:56691 ../NEWS:58892 msgid "Documentation" msgstr "" -#: ../NEWS:454 +#: ../NEWS:645 msgid "" ":gh:`138277`: Rearranged documentation search results to emphasize built-in " "types and functions. Patch by Adam Hartz." msgstr "" -#: ../NEWS:458 ../NEWS:1204 ../NEWS:1835 ../NEWS:2808 ../NEWS:3222 ../NEWS:3310 -#: ../NEWS:4019 ../NEWS:4108 ../NEWS:4653 ../NEWS:5854 ../NEWS:6062 -#: ../NEWS:6336 ../NEWS:6622 ../NEWS:7447 ../NEWS:7827 ../NEWS:8393 -#: ../NEWS:8943 ../NEWS:9291 ../NEWS:9759 ../NEWS:10444 ../NEWS:13804 -#: ../NEWS:14279 ../NEWS:14822 ../NEWS:15637 ../NEWS:16229 ../NEWS:18193 -#: ../NEWS:19693 ../NEWS:20124 ../NEWS:20398 ../NEWS:20675 ../NEWS:21093 -#: ../NEWS:21425 ../NEWS:21844 ../NEWS:23678 ../NEWS:24874 ../NEWS:25469 -#: ../NEWS:25976 ../NEWS:26339 ../NEWS:26810 ../NEWS:27224 ../NEWS:27727 -#: ../NEWS:29490 ../NEWS:30457 ../NEWS:30917 ../NEWS:31203 ../NEWS:31479 -#: ../NEWS:31844 ../NEWS:32308 ../NEWS:32789 ../NEWS:33854 ../NEWS:34377 -#: ../NEWS:34818 ../NEWS:35281 ../NEWS:35691 ../NEWS:36418 ../NEWS:37853 -#: ../NEWS:39104 ../NEWS:39557 ../NEWS:40014 ../NEWS:40253 ../NEWS:42591 -#: ../NEWS:43627 ../NEWS:43781 ../NEWS:43997 ../NEWS:44249 ../NEWS:44563 -#: ../NEWS:44895 ../NEWS:45379 ../NEWS:47374 ../NEWS:48118 ../NEWS:48231 -#: ../NEWS:48456 ../NEWS:48846 ../NEWS:49244 ../NEWS:49823 ../NEWS:50134 -#: ../NEWS:50385 ../NEWS:50520 ../NEWS:50791 ../NEWS:51221 ../NEWS:51494 -#: ../NEWS:51748 ../NEWS:52002 ../NEWS:53175 ../NEWS:53735 ../NEWS:54389 -#: ../NEWS:54510 ../NEWS:55133 ../NEWS:55695 ../NEWS:55939 ../NEWS:56116 -#: ../NEWS:56425 ../NEWS:56654 ../NEWS:56864 ../NEWS:58675 +#: ../NEWS:649 ../NEWS:1461 ../NEWS:2092 ../NEWS:3065 ../NEWS:3479 ../NEWS:3567 +#: ../NEWS:4276 ../NEWS:4365 ../NEWS:4910 ../NEWS:6111 ../NEWS:6319 +#: ../NEWS:6593 ../NEWS:6879 ../NEWS:7704 ../NEWS:8084 ../NEWS:8650 +#: ../NEWS:9200 ../NEWS:9548 ../NEWS:10016 ../NEWS:10701 ../NEWS:14061 +#: ../NEWS:14536 ../NEWS:15079 ../NEWS:15894 ../NEWS:16486 ../NEWS:18450 +#: ../NEWS:19950 ../NEWS:20381 ../NEWS:20655 ../NEWS:20932 ../NEWS:21350 +#: ../NEWS:21682 ../NEWS:22101 ../NEWS:23935 ../NEWS:25131 ../NEWS:25726 +#: ../NEWS:26233 ../NEWS:26596 ../NEWS:27067 ../NEWS:27481 ../NEWS:27984 +#: ../NEWS:29747 ../NEWS:30714 ../NEWS:31174 ../NEWS:31460 ../NEWS:31736 +#: ../NEWS:32101 ../NEWS:32565 ../NEWS:33046 ../NEWS:34111 ../NEWS:34634 +#: ../NEWS:35075 ../NEWS:35538 ../NEWS:35948 ../NEWS:36675 ../NEWS:38110 +#: ../NEWS:39361 ../NEWS:39814 ../NEWS:40271 ../NEWS:40510 ../NEWS:42848 +#: ../NEWS:43884 ../NEWS:44038 ../NEWS:44254 ../NEWS:44506 ../NEWS:44820 +#: ../NEWS:45152 ../NEWS:45636 ../NEWS:47631 ../NEWS:48375 ../NEWS:48488 +#: ../NEWS:48713 ../NEWS:49103 ../NEWS:49501 ../NEWS:50080 ../NEWS:50391 +#: ../NEWS:50642 ../NEWS:50777 ../NEWS:51048 ../NEWS:51478 ../NEWS:51751 +#: ../NEWS:52005 ../NEWS:52259 ../NEWS:53432 ../NEWS:53992 ../NEWS:54646 +#: ../NEWS:54767 ../NEWS:55390 ../NEWS:55952 ../NEWS:56196 ../NEWS:56373 +#: ../NEWS:56682 ../NEWS:56911 ../NEWS:57121 ../NEWS:58932 msgid "Tests" msgstr "" -#: ../NEWS:460 +#: ../NEWS:651 +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:655 +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:659 +msgid "" +":gh:`162034`: The Apple testbed projects now build when the path of the " +"project contains a space." +msgstr "" + +#: ../NEWS:662 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:464 +#: ../NEWS:666 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:468 +#: ../NEWS:670 msgid "" ":gh:`161430`: No longer list tests expected to be skipped in the final " "report. Patch by Victor Stinner." msgstr "" -#: ../NEWS:471 +#: ../NEWS:673 msgid "" ":gh:`161263`: Skip tests which use MD5 algorithm for WWW-Authenticate " "challenges when libssl is in FIPS mode." msgstr "" -#: ../NEWS:474 +#: ../NEWS:676 msgid "" ":gh:`126253`: Fix ``test_os.test_attributes()`` on Windows NTFS: ignore " "unknown file attributes." msgstr "" -#: ../NEWS:478 ../NEWS:812 ../NEWS:1225 ../NEWS:1854 ../NEWS:2843 ../NEWS:3230 -#: ../NEWS:3551 ../NEWS:4034 ../NEWS:4543 ../NEWS:5400 ../NEWS:5694 -#: ../NEWS:5832 ../NEWS:6043 ../NEWS:6283 ../NEWS:6586 ../NEWS:7378 -#: ../NEWS:7765 ../NEWS:8347 ../NEWS:8915 ../NEWS:9235 ../NEWS:9700 -#: ../NEWS:10335 ../NEWS:12680 ../NEWS:13334 ../NEWS:13830 ../NEWS:14311 -#: ../NEWS:14832 ../NEWS:15677 ../NEWS:16263 ../NEWS:18441 ../NEWS:19715 -#: ../NEWS:19942 ../NEWS:20134 ../NEWS:20411 ../NEWS:20681 ../NEWS:21105 -#: ../NEWS:21446 ../NEWS:21672 ../NEWS:21864 ../NEWS:23800 ../NEWS:24432 -#: ../NEWS:24905 ../NEWS:25493 ../NEWS:25998 ../NEWS:26192 ../NEWS:26383 -#: ../NEWS:26837 ../NEWS:27246 ../NEWS:27776 ../NEWS:29612 ../NEWS:30480 -#: ../NEWS:30926 ../NEWS:31209 ../NEWS:31489 ../NEWS:31866 ../NEWS:32343 -#: ../NEWS:32805 ../NEWS:33905 ../NEWS:34386 ../NEWS:34844 ../NEWS:35297 -#: ../NEWS:35700 ../NEWS:36102 ../NEWS:36473 ../NEWS:38023 ../NEWS:39140 -#: ../NEWS:39611 ../NEWS:40027 ../NEWS:42758 ../NEWS:43414 ../NEWS:43636 -#: ../NEWS:43787 ../NEWS:44007 ../NEWS:44254 ../NEWS:44583 ../NEWS:45406 -#: ../NEWS:45726 ../NEWS:47437 ../NEWS:48126 ../NEWS:48236 ../NEWS:48471 -#: ../NEWS:48863 ../NEWS:48999 ../NEWS:49260 ../NEWS:49781 ../NEWS:49865 -#: ../NEWS:50156 ../NEWS:50221 ../NEWS:50393 ../NEWS:50511 ../NEWS:50780 -#: ../NEWS:51235 ../NEWS:51521 ../NEWS:51709 ../NEWS:52022 ../NEWS:53218 -#: ../NEWS:53773 ../NEWS:54435 ../NEWS:55156 ../NEWS:55708 ../NEWS:55768 -#: ../NEWS:55785 ../NEWS:56027 ../NEWS:56132 ../NEWS:56645 ../NEWS:56859 -#: ../NEWS:56994 ../NEWS:58526 +#: ../NEWS:679 +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:691 ../NEWS:1069 ../NEWS:1482 ../NEWS:2111 ../NEWS:3100 ../NEWS:3487 +#: ../NEWS:3808 ../NEWS:4291 ../NEWS:4800 ../NEWS:5657 ../NEWS:5951 +#: ../NEWS:6089 ../NEWS:6300 ../NEWS:6540 ../NEWS:6843 ../NEWS:7635 +#: ../NEWS:8022 ../NEWS:8604 ../NEWS:9172 ../NEWS:9492 ../NEWS:9957 +#: ../NEWS:10592 ../NEWS:12937 ../NEWS:13591 ../NEWS:14087 ../NEWS:14568 +#: ../NEWS:15089 ../NEWS:15934 ../NEWS:16520 ../NEWS:18698 ../NEWS:19972 +#: ../NEWS:20199 ../NEWS:20391 ../NEWS:20668 ../NEWS:20938 ../NEWS:21362 +#: ../NEWS:21703 ../NEWS:21929 ../NEWS:22121 ../NEWS:24057 ../NEWS:24689 +#: ../NEWS:25162 ../NEWS:25750 ../NEWS:26255 ../NEWS:26449 ../NEWS:26640 +#: ../NEWS:27094 ../NEWS:27503 ../NEWS:28033 ../NEWS:29869 ../NEWS:30737 +#: ../NEWS:31183 ../NEWS:31466 ../NEWS:31746 ../NEWS:32123 ../NEWS:32600 +#: ../NEWS:33062 ../NEWS:34162 ../NEWS:34643 ../NEWS:35101 ../NEWS:35554 +#: ../NEWS:35957 ../NEWS:36359 ../NEWS:36730 ../NEWS:38280 ../NEWS:39397 +#: ../NEWS:39868 ../NEWS:40284 ../NEWS:43015 ../NEWS:43671 ../NEWS:43893 +#: ../NEWS:44044 ../NEWS:44264 ../NEWS:44511 ../NEWS:44840 ../NEWS:45663 +#: ../NEWS:45983 ../NEWS:47694 ../NEWS:48383 ../NEWS:48493 ../NEWS:48728 +#: ../NEWS:49120 ../NEWS:49256 ../NEWS:49517 ../NEWS:50038 ../NEWS:50122 +#: ../NEWS:50413 ../NEWS:50478 ../NEWS:50650 ../NEWS:50768 ../NEWS:51037 +#: ../NEWS:51492 ../NEWS:51778 ../NEWS:51966 ../NEWS:52279 ../NEWS:53475 +#: ../NEWS:54030 ../NEWS:54692 ../NEWS:55413 ../NEWS:55965 ../NEWS:56025 +#: ../NEWS:56042 ../NEWS:56284 ../NEWS:56389 ../NEWS:56902 ../NEWS:57116 +#: ../NEWS:57251 ../NEWS:58783 msgid "Build" msgstr "" -#: ../NEWS:480 +#: ../NEWS:693 +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:699 +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:703 +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:707 +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:713 +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:723 +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:728 msgid "" ":gh:`75929`: Fix a ``configure`` probe that could omit functions such " "as :func:`os.fchdir` from builds using ``-Wall -Werror``." msgstr "" -#: ../NEWS:483 +#: ../NEWS:731 msgid "" ":gh:`159452`: ``Tools/build/regen-configure.sh`` no longer leaves root-owned " "files in the source tree." msgstr "" -#: ../NEWS:487 ../NEWS:1241 ../NEWS:1882 ../NEWS:2869 ../NEWS:3236 ../NEWS:3571 -#: ../NEWS:4056 ../NEWS:4096 ../NEWS:4624 ../NEWS:5446 ../NEWS:5485 -#: ../NEWS:5614 ../NEWS:6055 ../NEWS:6310 ../NEWS:6604 ../NEWS:7423 -#: ../NEWS:7798 ../NEWS:9275 ../NEWS:9721 ../NEWS:10391 ../NEWS:13356 -#: ../NEWS:13840 ../NEWS:14337 ../NEWS:14847 ../NEWS:15706 ../NEWS:16287 -#: ../NEWS:18528 ../NEWS:19753 ../NEWS:20142 ../NEWS:20428 ../NEWS:20714 -#: ../NEWS:21123 ../NEWS:21468 ../NEWS:21900 ../NEWS:23914 ../NEWS:24920 -#: ../NEWS:25525 ../NEWS:26028 ../NEWS:26423 ../NEWS:26884 ../NEWS:27374 -#: ../NEWS:27831 ../NEWS:29658 ../NEWS:30489 ../NEWS:30948 ../NEWS:31232 -#: ../NEWS:31515 ../NEWS:32367 ../NEWS:32812 ../NEWS:33926 ../NEWS:34396 -#: ../NEWS:34856 ../NEWS:35314 ../NEWS:35705 ../NEWS:36483 ../NEWS:38095 -#: ../NEWS:39163 ../NEWS:39672 ../NEWS:40041 ../NEWS:40286 ../NEWS:42876 -#: ../NEWS:43421 ../NEWS:43804 ../NEWS:44012 ../NEWS:44259 ../NEWS:44598 -#: ../NEWS:44904 ../NEWS:45439 ../NEWS:47549 ../NEWS:48146 ../NEWS:48477 -#: ../NEWS:48888 ../NEWS:49266 ../NEWS:49837 ../NEWS:50086 ../NEWS:50216 -#: ../NEWS:50506 ../NEWS:50747 ../NEWS:51277 ../NEWS:51509 ../NEWS:52012 -#: ../NEWS:53281 ../NEWS:53786 ../NEWS:54420 ../NEWS:55215 ../NEWS:55262 -#: ../NEWS:55719 ../NEWS:57008 ../NEWS:58822 +#: ../NEWS:735 ../NEWS:1498 ../NEWS:2139 ../NEWS:3126 ../NEWS:3493 ../NEWS:3828 +#: ../NEWS:4313 ../NEWS:4353 ../NEWS:4881 ../NEWS:5703 ../NEWS:5742 +#: ../NEWS:5871 ../NEWS:6312 ../NEWS:6567 ../NEWS:6861 ../NEWS:7680 +#: ../NEWS:8055 ../NEWS:9532 ../NEWS:9978 ../NEWS:10648 ../NEWS:13613 +#: ../NEWS:14097 ../NEWS:14594 ../NEWS:15104 ../NEWS:15963 ../NEWS:16544 +#: ../NEWS:18785 ../NEWS:20010 ../NEWS:20399 ../NEWS:20685 ../NEWS:20971 +#: ../NEWS:21380 ../NEWS:21725 ../NEWS:22157 ../NEWS:24171 ../NEWS:25177 +#: ../NEWS:25782 ../NEWS:26285 ../NEWS:26680 ../NEWS:27141 ../NEWS:27631 +#: ../NEWS:28088 ../NEWS:29915 ../NEWS:30746 ../NEWS:31205 ../NEWS:31489 +#: ../NEWS:31772 ../NEWS:32624 ../NEWS:33069 ../NEWS:34183 ../NEWS:34653 +#: ../NEWS:35113 ../NEWS:35571 ../NEWS:35962 ../NEWS:36740 ../NEWS:38352 +#: ../NEWS:39420 ../NEWS:39929 ../NEWS:40298 ../NEWS:40543 ../NEWS:43133 +#: ../NEWS:43678 ../NEWS:44061 ../NEWS:44269 ../NEWS:44516 ../NEWS:44855 +#: ../NEWS:45161 ../NEWS:45696 ../NEWS:47806 ../NEWS:48403 ../NEWS:48734 +#: ../NEWS:49145 ../NEWS:49523 ../NEWS:50094 ../NEWS:50343 ../NEWS:50473 +#: ../NEWS:50763 ../NEWS:51004 ../NEWS:51534 ../NEWS:51766 ../NEWS:52269 +#: ../NEWS:53538 ../NEWS:54043 ../NEWS:54677 ../NEWS:55472 ../NEWS:55519 +#: ../NEWS:55976 ../NEWS:57265 ../NEWS:59079 msgid "Windows" msgstr "" -#: ../NEWS:489 +#: ../NEWS:737 msgid ":gh:`161735`: Updated bundled version of ``zlib-ng`` to v2.2.5." msgstr "" -#: ../NEWS:491 +#: ../NEWS:739 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:496 +#: ../NEWS:744 +msgid "" +":gh:`158414`: Fix a hang when writing an incomplete UTF-8 sequence to the " +"Windows console." +msgstr "" + +#: ../NEWS:747 msgid "" ":gh:`157917`: Fix :attr:`sys.prefix`, :attr:`sys.exec_prefix` " "and :attr:`sys.executable` retaining the ``\\\\?\\`` extended-length path " @@ -1036,7 +1447,7 @@ msgid "" "without it." msgstr "" -#: ../NEWS:507 +#: ../NEWS:758 msgid "" ":gh:`140774`: Fix :func:`os.chmod` with " "``follow_symlinks=True``, :func:`os.fchmod` and :meth:`pathlib.Path.chmod` " @@ -1044,50 +1455,58 @@ msgid "" "attribute set is no longer silently ignored." msgstr "" -#: ../NEWS:513 ../NEWS:1261 ../NEWS:1909 ../NEWS:2891 ../NEWS:3253 ../NEWS:4408 -#: ../NEWS:5122 ../NEWS:7055 ../NEWS:8684 ../NEWS:11712 ../NEWS:13395 -#: ../NEWS:14363 ../NEWS:14882 ../NEWS:15796 ../NEWS:16320 ../NEWS:18587 -#: ../NEWS:19794 ../NEWS:24021 ../NEWS:26043 ../NEWS:26442 ../NEWS:27852 -#: ../NEWS:29712 ../NEWS:30546 ../NEWS:30954 ../NEWS:31242 ../NEWS:31529 -#: ../NEWS:32399 ../NEWS:32832 ../NEWS:33990 ../NEWS:34873 ../NEWS:35342 -#: ../NEWS:35724 ../NEWS:36115 ../NEWS:36497 ../NEWS:38235 ../NEWS:39184 -#: ../NEWS:39733 ../NEWS:40053 ../NEWS:40302 ../NEWS:43022 ../NEWS:43426 -#: ../NEWS:43656 ../NEWS:43814 ../NEWS:44030 ../NEWS:44283 ../NEWS:45459 -#: ../NEWS:45745 ../NEWS:47616 ../NEWS:48156 ../NEWS:48510 ../NEWS:48902 -#: ../NEWS:49280 ../NEWS:49752 ../NEWS:50078 ../NEWS:51192 ../NEWS:51465 -#: ../NEWS:51667 ../NEWS:51928 ../NEWS:53047 ../NEWS:54347 ../NEWS:54515 -#: ../NEWS:55057 ../NEWS:55574 ../NEWS:55907 ../NEWS:56419 ../NEWS:58443 +#: ../NEWS:764 ../NEWS:1518 ../NEWS:2166 ../NEWS:3148 ../NEWS:3510 ../NEWS:4665 +#: ../NEWS:5379 ../NEWS:7312 ../NEWS:8941 ../NEWS:11969 ../NEWS:13652 +#: ../NEWS:14620 ../NEWS:15139 ../NEWS:16053 ../NEWS:16577 ../NEWS:18844 +#: ../NEWS:20051 ../NEWS:24278 ../NEWS:26300 ../NEWS:26699 ../NEWS:28109 +#: ../NEWS:29969 ../NEWS:30803 ../NEWS:31211 ../NEWS:31499 ../NEWS:31786 +#: ../NEWS:32656 ../NEWS:33089 ../NEWS:34247 ../NEWS:35130 ../NEWS:35599 +#: ../NEWS:35981 ../NEWS:36372 ../NEWS:36754 ../NEWS:38492 ../NEWS:39441 +#: ../NEWS:39990 ../NEWS:40310 ../NEWS:40559 ../NEWS:43279 ../NEWS:43683 +#: ../NEWS:43913 ../NEWS:44071 ../NEWS:44287 ../NEWS:44540 ../NEWS:45716 +#: ../NEWS:46002 ../NEWS:47873 ../NEWS:48413 ../NEWS:48767 ../NEWS:49159 +#: ../NEWS:49537 ../NEWS:50009 ../NEWS:50335 ../NEWS:51449 ../NEWS:51722 +#: ../NEWS:51924 ../NEWS:52185 ../NEWS:53304 ../NEWS:54604 ../NEWS:54772 +#: ../NEWS:55314 ../NEWS:55831 ../NEWS:56164 ../NEWS:56676 ../NEWS:58700 msgid "IDLE" msgstr "" -#: ../NEWS:515 +#: ../NEWS:766 msgid "" ":gh:`161477`: Fix ``repr()`` of ``idlelib.redirector.WidgetRedirector`` and " "``idlelib.redirector.OriginalCommand``, which displayed a spurious one-" "element tuple." msgstr "" -#: ../NEWS:520 ../NEWS:848 ../NEWS:1267 ../NEWS:2034 ../NEWS:2957 ../NEWS:3258 -#: ../NEWS:4075 ../NEWS:4534 ../NEWS:5372 ../NEWS:5688 ../NEWS:5821 -#: ../NEWS:6037 ../NEWS:6266 ../NEWS:6580 ../NEWS:7319 ../NEWS:7757 -#: ../NEWS:8296 ../NEWS:8850 ../NEWS:9217 ../NEWS:9650 ../NEWS:10312 -#: ../NEWS:12425 ../NEWS:13400 ../NEWS:13869 ../NEWS:14377 ../NEWS:14905 -#: ../NEWS:15812 ../NEWS:16336 ../NEWS:18653 ../NEWS:19811 ../NEWS:20156 -#: ../NEWS:20459 ../NEWS:21163 ../NEWS:21501 ../NEWS:21923 ../NEWS:24078 -#: ../NEWS:24954 ../NEWS:25566 ../NEWS:26052 ../NEWS:26450 ../NEWS:26896 -#: ../NEWS:27404 ../NEWS:27857 ../NEWS:29767 ../NEWS:30565 ../NEWS:30961 -#: ../NEWS:31249 ../NEWS:31543 ../NEWS:31908 ../NEWS:32421 ../NEWS:32845 -#: ../NEWS:34023 ../NEWS:34434 ../NEWS:34895 ../NEWS:35368 ../NEWS:35739 -#: ../NEWS:36126 ../NEWS:36513 ../NEWS:38363 ../NEWS:39207 ../NEWS:39745 -#: ../NEWS:40089 ../NEWS:43244 ../NEWS:43334 ../NEWS:44050 ../NEWS:44620 -#: ../NEWS:44917 ../NEWS:45510 ../NEWS:45772 ../NEWS:47844 ../NEWS:48219 -#: ../NEWS:48552 ../NEWS:48972 ../NEWS:49775 ../NEWS:50104 ../NEWS:50272 -#: ../NEWS:50773 ../NEWS:51212 ../NEWS:51702 ../NEWS:52031 ../NEWS:53320 -#: ../NEWS:53795 ../NEWS:54375 ../NEWS:56687 ../NEWS:57002 ../NEWS:58606 +#: ../NEWS:771 ../NEWS:1105 ../NEWS:1524 ../NEWS:2291 ../NEWS:3214 ../NEWS:3515 +#: ../NEWS:4332 ../NEWS:4791 ../NEWS:5629 ../NEWS:5945 ../NEWS:6078 +#: ../NEWS:6294 ../NEWS:6523 ../NEWS:6837 ../NEWS:7576 ../NEWS:8014 +#: ../NEWS:8553 ../NEWS:9107 ../NEWS:9474 ../NEWS:9907 ../NEWS:10569 +#: ../NEWS:12682 ../NEWS:13657 ../NEWS:14126 ../NEWS:14634 ../NEWS:15162 +#: ../NEWS:16069 ../NEWS:16593 ../NEWS:18910 ../NEWS:20068 ../NEWS:20413 +#: ../NEWS:20716 ../NEWS:21420 ../NEWS:21758 ../NEWS:22180 ../NEWS:24335 +#: ../NEWS:25211 ../NEWS:25823 ../NEWS:26309 ../NEWS:26707 ../NEWS:27153 +#: ../NEWS:27661 ../NEWS:28114 ../NEWS:30024 ../NEWS:30822 ../NEWS:31218 +#: ../NEWS:31506 ../NEWS:31800 ../NEWS:32165 ../NEWS:32678 ../NEWS:33102 +#: ../NEWS:34280 ../NEWS:34691 ../NEWS:35152 ../NEWS:35625 ../NEWS:35996 +#: ../NEWS:36383 ../NEWS:36770 ../NEWS:38620 ../NEWS:39464 ../NEWS:40002 +#: ../NEWS:40346 ../NEWS:43501 ../NEWS:43591 ../NEWS:44307 ../NEWS:44877 +#: ../NEWS:45174 ../NEWS:45767 ../NEWS:46029 ../NEWS:48101 ../NEWS:48476 +#: ../NEWS:48809 ../NEWS:49229 ../NEWS:50032 ../NEWS:50361 ../NEWS:50529 +#: ../NEWS:51030 ../NEWS:51469 ../NEWS:51959 ../NEWS:52288 ../NEWS:53577 +#: ../NEWS:54052 ../NEWS:54632 ../NEWS:56944 ../NEWS:57259 ../NEWS:58863 msgid "C API" msgstr "" -#: ../NEWS:522 +#: ../NEWS:773 +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:779 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 " @@ -1095,43 +1514,43 @@ msgid "" "``PYTHONMALLOC=mimalloc`` or in the :ref:`Python Development Mode `." msgstr "" -#: ../NEWS:528 +#: ../NEWS:785 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:532 +#: ../NEWS:789 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:538 +#: ../NEWS:795 msgid "Python 3.14.10 final" msgstr "" -#: ../NEWS:540 +#: ../NEWS:797 msgid "*Release date: 2026-10-25*" msgstr "" -#: ../NEWS:545 +#: ../NEWS:802 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:549 +#: ../NEWS:806 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:553 +#: ../NEWS:810 msgid "" ":cve:`2026-115557`, :gh:`160040`: :mod:`ssl` now rejects TLS certificate " "chains that contain any of a set of compromised eMudhra intermediate CA " @@ -1145,14 +1564,14 @@ msgid "" "that reuse one of the distrusted keys." msgstr "" -#: ../NEWS:567 +#: ../NEWS:824 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:571 +#: ../NEWS:828 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 " @@ -1160,7 +1579,7 @@ msgid "" "parser." msgstr "" -#: ../NEWS:576 +#: ../NEWS:833 msgid "" ":gh:`106045`: Fix :mod:`venv` path discovery when the base executable " "resolves to a location outside the installation pointed to by the ``home`` " @@ -1169,7 +1588,7 @@ msgid "" "falling back to the compiled-in prefix." msgstr "" -#: ../NEWS:582 +#: ../NEWS:839 msgid "" ":gh:`160162`: Fix a crash on 32-bit platforms when left shifting " "an :class:`int` by a count close to ``sys.maxsize * " @@ -1177,7 +1596,7 @@ msgid "" "other too large counts." msgstr "" -#: ../NEWS:587 +#: ../NEWS:844 msgid "" ":gh:`160179`: Fix :meth:`!bytearray.__init__` leaving uninitialized memory " "in the object when it fails on a :class:`list` or :class:`tuple` containing " @@ -1185,68 +1604,68 @@ msgid "" "call." msgstr "" -#: ../NEWS:592 +#: ../NEWS:849 msgid "" ":gh:`159739`: Fix a possible crash when assigning metadata " "to :class:`classmethod` or :class:`staticmethod` objects." msgstr "" -#: ../NEWS:595 +#: ../NEWS:852 msgid "" ":gh:`159739`: Fix a race in ``list.__sizeof__()`` when a list is " "concurrently resized on a free-threaded build." msgstr "" -#: ../NEWS:598 +#: ../NEWS:855 msgid "" ":gh:`159739`: Fix a reference leak when the value of a type alias is " "evaluated recursively or concurrently." msgstr "" -#: ../NEWS:601 +#: ../NEWS:858 msgid "" ":gh:`159739`: Fix a crash in free-threaded builds " "when :func:`codecs.unregister` is called concurrently." msgstr "" -#: ../NEWS:604 +#: ../NEWS:861 msgid "" ":gh:`159739`: Fix reference leaks when free-threaded garbage collection " "aborts early because of an allocation error." msgstr "" -#: ../NEWS:607 +#: ../NEWS:864 msgid "" ":gh:`159739`: Prevent free-threaded builds from interning and immortalizing " "complex subclasses in code object constants." msgstr "" -#: ../NEWS:610 +#: ../NEWS:867 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:613 +#: ../NEWS:870 msgid "" ":gh:`159739`: Fix a crash when constructing an error for invalid generic " "alias arguments." msgstr "" -#: ../NEWS:616 +#: ../NEWS:873 msgid "" ":gh:`159739`: Allow the garbage collector to break reference cycles " "involving property accessors or names." msgstr "" -#: ../NEWS:619 +#: ../NEWS:876 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:623 +#: ../NEWS:880 msgid "" ":gh:`159431`: Fix an assertion failure, or an immortal object becoming " "mortal, on the :term:`free threaded ` build when an object " @@ -1254,40 +1673,40 @@ msgid "" "immortal before the delayed decref is processed by the garbage collector." msgstr "" -#: ../NEWS:628 +#: ../NEWS:885 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:632 +#: ../NEWS:889 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:637 +#: ../NEWS:894 msgid "" ":gh:`159111`: Update mimalloc version from 2.1.2 to 2.5.2. Patch by Donghee " "Na." msgstr "" -#: ../NEWS:640 +#: ../NEWS:897 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:644 +#: ../NEWS:901 msgid "" ":gh:`154318`: Fix a crash when hashing a deeply nested :class:`tuple`. " "A :exc:`RecursionError` is now raised instead of overflowing the C stack." msgstr "" -#: ../NEWS:650 +#: ../NEWS:907 msgid "" ":gh:`160549`: Fix a crash when a :class:`compression.zstd.ZstdCompressor` " "that uses worker threads and a :class:`~compression.zstd.ZstdDict` is " @@ -1296,7 +1715,7 @@ msgid "" "compressed." msgstr "" -#: ../NEWS:656 +#: ../NEWS:913 msgid "" ":gh:`160535`: Fix a crash in :mod:`compression.zstd` when the garbage " "collector frees a :class:`~compression.zstd.ZstdCompressor` that uses worker " @@ -1304,7 +1723,7 @@ msgid "" "compression of already submitted data has finished." msgstr "" -#: ../NEWS:661 +#: ../NEWS:918 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 " @@ -1312,7 +1731,7 @@ msgid "" "is now aborted with :exc:`TimeoutError` once the timeout expires." msgstr "" -#: ../NEWS:667 +#: ../NEWS:924 msgid "" ":gh:`160326`: Raise :exc:`ValueError` for a NaN *timeout* " "in :meth:`threading.Condition.wait` and the blocking calls built on it, such " @@ -1321,7 +1740,7 @@ msgid "" "ever timing out." msgstr "" -#: ../NEWS:673 +#: ../NEWS:930 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 " @@ -1329,20 +1748,20 @@ msgid "" "changes :attr:`~xml.parsers.expat.xmlparser.ordered_attributes`." msgstr "" -#: ../NEWS:678 +#: ../NEWS:935 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:682 +#: ../NEWS:939 msgid "" ":gh:`159739`: Fix a crash when a :mod:`ctypes` structure subclass cannot be " "created due to an allocation failure." msgstr "" -#: ../NEWS:685 +#: ../NEWS:942 msgid "" ":gh:`159739`: Fix clearing a :class:`pickle.Unpickler` memo so that the " "unpickler can be reused for independent records. Preserve a valid memo if " @@ -1350,7 +1769,7 @@ msgid "" "the memo." msgstr "" -#: ../NEWS:690 +#: ../NEWS:947 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 " @@ -1358,19 +1777,19 @@ msgid "" "of raising :exc:`AttributeError` when the client sent no certificate." msgstr "" -#: ../NEWS:696 +#: ../NEWS:953 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:699 +#: ../NEWS:956 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:702 +#: ../NEWS:959 msgid "" ":gh:`159739`: Raise :exc:`TypeError` if a string subclass returns a non-" "string during newline translation in :class:`io.TextIOWrapper`. Recheck the " @@ -1378,38 +1797,38 @@ msgid "" "the stream." msgstr "" -#: ../NEWS:707 +#: ../NEWS:964 msgid "" ":gh:`159739`: Fix :class:`contextvars.ContextVar` returning a stale value " "after a reentrant finalizer changes it " "during :meth:`~contextvars.ContextVar.reset`." msgstr "" -#: ../NEWS:711 +#: ../NEWS:968 msgid "" ":gh:`159739`: Detect recursive ``_as_parameter_`` chains for :mod:`ctypes` " "calls without argument types." msgstr "" -#: ../NEWS:714 +#: ../NEWS:971 msgid "" ":gh:`159739`: Fix a possible crash when a list of :mod:`sqlite3` parameters " "is modified concurrently on a free-threaded build." msgstr "" -#: ../NEWS:717 +#: ../NEWS:974 msgid "" ":gh:`159739`: Avoid a crash when a :class:`threading.local` subclass " "finalizer accesses attributes after construction fails." msgstr "" -#: ../NEWS:720 +#: ../NEWS:977 msgid "" ":gh:`159739`: Avoid a crash when a :class:`queue.SimpleQueue` subclass " "finalizer adds an item after construction fails." msgstr "" -#: ../NEWS:723 +#: ../NEWS:980 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 " @@ -1418,77 +1837,77 @@ msgid "" "Synchronized with :pypi:`zipp` 3.23.1." msgstr "" -#: ../NEWS:729 +#: ../NEWS:986 msgid "" ":gh:`159864`: Fix a crash in :func:`syslog.openlog` under the free-threaded " "build when :data:`sys.argv` is modified concurrently." msgstr "" -#: ../NEWS:732 +#: ../NEWS:989 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:736 +#: ../NEWS:993 msgid "" ":gh:`159739`: Fix allocation error handling in the fallback implementation " "of ``getaddrinfo()``." msgstr "" -#: ../NEWS:739 +#: ../NEWS:996 msgid "" ":gh:`159739`: Fix a double free if remote unwinder initialization runs out " "of memory." msgstr "" -#: ../NEWS:742 +#: ../NEWS:999 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:745 +#: ../NEWS:1002 msgid "" ":gh:`159739`: Fix multibyte encoders silently consuming a non-BMP character " "when looking up a two-character mapping." msgstr "" -#: ../NEWS:748 +#: ../NEWS:1005 msgid "" ":gh:`159739`: Fix off-by-one output buffer checks in the fallback " "implementation of ``getnameinfo()``." msgstr "" -#: ../NEWS:751 +#: ../NEWS:1008 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:755 +#: ../NEWS:1012 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:758 +#: ../NEWS:1015 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:762 +#: ../NEWS:1019 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:766 +#: ../NEWS:1023 msgid "" ":gh:`158126`: Speed up :func:`pickle.dumps` and creating " "a :class:`pickle.Pickler` by avoiding the creation of " @@ -1496,60 +1915,60 @@ msgid "" "and ``dispatch_table`` attributes." msgstr "" -#: ../NEWS:771 +#: ../NEWS:1028 msgid "" ":gh:`157880`: Fix :class:`mailbox.Babyl` to write the visible headers of " "a :class:`mailbox.BabylMessage` to the mailbox file." msgstr "" -#: ../NEWS:774 +#: ../NEWS:1031 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:777 +#: ../NEWS:1034 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:780 +#: ../NEWS:1037 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:784 +#: ../NEWS:1041 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:788 +#: ../NEWS:1045 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:792 +#: ../NEWS:1049 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:796 +#: ../NEWS:1053 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:801 +#: ../NEWS:1058 msgid "" ":gh:`146169`: :mod:`xml.parsers.expat`: raise :exc:`RuntimeError` when an " "Expat handler calls :meth:`parser.Parse ` " @@ -1557,20 +1976,20 @@ msgid "" "parser that called the handler. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:807 +#: ../NEWS:1064 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:814 +#: ../NEWS:1071 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:817 +#: ../NEWS:1074 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 ``--" @@ -1579,21 +1998,21 @@ msgid "" "from." msgstr "" -#: ../NEWS:823 +#: ../NEWS:1080 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:828 +#: ../NEWS:1085 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:832 +#: ../NEWS:1089 msgid "" ":gh:`159819`: Fix the shell version of :program:`python3-config` (used on " "all POSIX platforms except macOS) when the installation prefix contains " @@ -1603,48 +2022,48 @@ msgid "" "cannot determine its installation prefix." msgstr "" -#: ../NEWS:839 +#: ../NEWS:1096 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:843 +#: ../NEWS:1100 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:850 +#: ../NEWS:1107 msgid "" ":gh:`159739`: Avoid a crash if a context watcher is cleared while other " "context watchers are being notified." msgstr "" -#: ../NEWS:855 +#: ../NEWS:1112 msgid "Python 3.14.9 final" msgstr "" -#: ../NEWS:857 +#: ../NEWS:1114 msgid "*Release date: 2026-10-21*" msgstr "" -#: ../NEWS:862 +#: ../NEWS:1119 msgid "" ":gh:`159894`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to " "version 26.2.2." msgstr "" -#: ../NEWS:865 +#: ../NEWS:1122 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:869 +#: ../NEWS:1126 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 " @@ -1652,13 +2071,13 @@ msgid "" "link's." msgstr "" -#: ../NEWS:874 +#: ../NEWS:1131 msgid "" ":gh:`157953`: Update bundled `libexpat `_ to " "version 2.9.0." msgstr "" -#: ../NEWS:877 +#: ../NEWS:1134 msgid "" ":gh:`157579`: Fix a race condition in the cleanup " "of :class:`tempfile.TemporaryDirectory`. When working around file system " @@ -1669,80 +2088,80 @@ msgid "" "addresses :cve:`2026-12345`." msgstr "" -#: ../NEWS:888 +#: ../NEWS:1145 msgid "" ":gh:`159739`: Avoid a crash if allocation fails while creating " "a :class:`string.templatelib.Template` iterator." msgstr "" -#: ../NEWS:891 +#: ../NEWS:1148 msgid ":gh:`159739`: Propagate errors during generic class construction." msgstr "" -#: ../NEWS:893 +#: ../NEWS:1150 msgid "" ":gh:`159739`: Raise :exc:`OverflowError` when the absolute value of a " "dynamic printf-style formatting width is too large." msgstr "" -#: ../NEWS:896 +#: ../NEWS:1153 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:900 +#: ../NEWS:1157 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:904 +#: ../NEWS:1161 msgid "" ":gh:`159739`: Avoid a crash when an interpreter configuration string cannot " "be encoded as UTF-8." msgstr "" -#: ../NEWS:907 +#: ../NEWS:1164 msgid "" ":gh:`159739`: Preserve the original :exc:`SyntaxError` if allocating " "optional error metadata fails." msgstr "" -#: ../NEWS:910 +#: ../NEWS:1167 msgid "" ":gh:`159739`: Avoid a crash if formatting an integer with the ``c`` " "presentation type runs out of memory." msgstr "" -#: ../NEWS:913 +#: ../NEWS:1170 msgid "" ":gh:`159739`: Avoid a crash when a module filename cannot be encoded as " "UTF-8." msgstr "" -#: ../NEWS:916 +#: ../NEWS:1173 msgid "" ":gh:`159430`: Report the correct exception if looking " "up :meth:`~object.__bytes__` raises an exception while performing %-" "formatting of :class:`bytes`." msgstr "" -#: ../NEWS:920 +#: ../NEWS:1177 msgid "" ":gh:`159320`: Add dynamic detection of stack sizes on Android, allowing " "safer deep recursion." msgstr "" -#: ../NEWS:923 +#: ../NEWS:1180 msgid "" ":gh:`159041`: Fix a use-after-free in :mod:`asyncio` task bookkeeping when a " "finalizer creates a task during thread shutdown." msgstr "" -#: ../NEWS:926 +#: ../NEWS:1183 msgid "" ":gh:`158973`: Reset the warnings lock in the child after :func:`os.fork`, " "before clearing other threads' states, to avoid deadlocks when their " @@ -1750,175 +2169,175 @@ msgid "" "forking thread owns it." msgstr "" -#: ../NEWS:931 +#: ../NEWS:1188 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:935 +#: ../NEWS:1192 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:939 +#: ../NEWS:1196 msgid "" ":gh:`158592`: Skip the array reallocation when shrinking a " "small :class:`list`. Patch by Donghee Na." msgstr "" -#: ../NEWS:942 +#: ../NEWS:1199 msgid "" ":gh:`158583`: :meth:`bytes.fromhex` and :meth:`bytearray.fromhex`: Fix " "uninitialized memory read. Patch by Victor Stinner." msgstr "" -#: ../NEWS:945 +#: ../NEWS:1202 msgid "" ":gh:`158592`: ``del list[index]`` now triggers shrinking the list's internal " "array." msgstr "" -#: ../NEWS:948 +#: ../NEWS:1205 msgid "" ":gh:`158121`: Fix missing :mod:`sys.monitoring` ``INSTRUCTION`` events when " "a ``LINE`` callback returns :data:`sys.monitoring.DISABLE`." msgstr "" -#: ../NEWS:951 +#: ../NEWS:1208 msgid "" ":gh:`106045`: Fix standard library discovery in virtual environments created " "from a Python executable symlink located outside its base installation." msgstr "" -#: ../NEWS:954 +#: ../NEWS:1211 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:958 +#: ../NEWS:1215 msgid "" ":gh:`152075`: Reduced lock contention during LOAD_GLOBAL bytecode " "specialization under free threading." msgstr "" -#: ../NEWS:961 +#: ../NEWS:1218 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:965 +#: ../NEWS:1222 msgid "" ":gh:`149816`: Fix race conditions in ``invoke_gc_callback`` iterating " "``gc.callbacks`` in free-threading mode." msgstr "" -#: ../NEWS:971 +#: ../NEWS:1228 msgid "" ":gh:`138641`: Ignore :func:`pdb.set_trace` when called directly at " "the :mod:`pdb` prompt." msgstr "" -#: ../NEWS:974 +#: ../NEWS:1231 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:978 +#: ../NEWS:1235 msgid "" ":gh:`159739`: Fix copying :class:`collections.deque` subclasses with a large " "maximum length." msgstr "" -#: ../NEWS:981 +#: ../NEWS:1238 msgid "" ":gh:`159739`: Allow cyclic garbage collection to reclaim group records " "returned by :mod:`grp`." msgstr "" -#: ../NEWS:984 +#: ../NEWS:1241 msgid "" ":gh:`159739`: Fix :class:`io.BytesIO` reads into overlapping views of the " "same buffer." msgstr "" -#: ../NEWS:987 +#: ../NEWS:1244 msgid "" ":gh:`159739`: Avoid a crash when memory allocation fails while creating " "a :class:`collections.OrderedDict` items iterator." msgstr "" -#: ../NEWS:990 +#: ../NEWS:1247 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:994 +#: ../NEWS:1251 msgid "" ":gh:`159739`: Fix incorrect :mod:`ctypes` scalar values " "after :func:`ctypes.resize` enlarges the object." msgstr "" -#: ../NEWS:997 +#: ../NEWS:1254 msgid "" ":gh:`159739`: Fix a memory leak when Unicode normalization cannot grow its " "temporary buffer." msgstr "" -#: ../NEWS:1000 +#: ../NEWS:1257 msgid "" ":gh:`159739`: Fix resource leaks in :mod:`ssl` when certificate conversion " "or key log setup fails." msgstr "" -#: ../NEWS:1003 +#: ../NEWS:1260 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:1006 +#: ../NEWS:1263 msgid "" ":gh:`159620`: Fix ``python -m asyncio ps`` and ``pstree`` stacks stopping at " "asynchronous generators. Patch by Timofei Ivankov." msgstr "" -#: ../NEWS:1009 +#: ../NEWS:1266 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:1013 +#: ../NEWS:1270 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:1016 +#: ../NEWS:1273 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:1020 +#: ../NEWS:1277 msgid "" ":gh:`159225`: Prevent ``input`` calls in PyREPL from modifying readline " "history." msgstr "" -#: ../NEWS:1023 +#: ../NEWS:1280 msgid "" ":gh:`159044`: Restore the previous behaviour " "of :meth:`http.client.HTTPConnection.set_tunnel` where header values that " @@ -1927,14 +2346,14 @@ msgid "" "the request is sent." msgstr "" -#: ../NEWS:1029 +#: ../NEWS:1286 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:1034 +#: ../NEWS:1291 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 " @@ -1942,40 +2361,40 @@ msgid "" "elements. :exc:`RuntimeError` is now raised." msgstr "" -#: ../NEWS:1039 +#: ../NEWS:1296 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:1043 +#: ../NEWS:1300 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:1047 +#: ../NEWS:1304 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:1051 +#: ../NEWS:1308 msgid "" ":gh:`158893`: Make :func:`os.strerror` thread-safe: use the reentrant " "``strerror_r()`` function if available. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1054 +#: ../NEWS:1311 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:1057 +#: ../NEWS:1314 msgid "" ":gh:`156321`: Fix :func:`asyncio.shield` reporting an exception from the " "inner future through the loop exception handler as soon as it completes " @@ -1984,7 +2403,7 @@ msgid "" "with any other future." msgstr "" -#: ../NEWS:1063 +#: ../NEWS:1320 msgid "" ":gh:`158563`: Fix :func:`turtle.undo` after :func:`turtle.teleport` and " "after an exception in :func:`turtle.circle`, :func:`turtle.dot` " @@ -1993,32 +2412,32 @@ msgid "" "and :func:`turtle.reset` when the undo buffer is disabled." msgstr "" -#: ../NEWS:1069 +#: ../NEWS:1326 msgid "" ":gh:`158004`: Fix :func:`asyncio.as_completed` to continue yielding every " "awaitable after a pending iteration step is cancelled." msgstr "" -#: ../NEWS:1072 +#: ../NEWS:1329 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:1076 +#: ../NEWS:1333 msgid "" ":gh:`157242`: :class:`io.BytesIO` is no longer closed on ``write()`` and " "``truncate()`` failure (:exc:`MemoryError`). Patch by Victor Stinner." msgstr "" -#: ../NEWS:1079 +#: ../NEWS:1336 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:1083 +#: ../NEWS:1340 msgid "" ":gh:`156920`: Fix :mod:`asyncio` on Windows: closing " "a :class:`~asyncio.DatagramTransport` " @@ -2028,7 +2447,7 @@ msgid "" "hanging the close indefinitely." msgstr "" -#: ../NEWS:1090 +#: ../NEWS:1347 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 " @@ -2036,20 +2455,20 @@ msgid "" "buffer has drained." msgstr "" -#: ../NEWS:1095 +#: ../NEWS:1352 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:1099 +#: ../NEWS:1356 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:1102 +#: ../NEWS:1359 msgid "" ":gh:`155835`: :mod:`hashlib`: Fix data races when " "accessing :attr:`~hashlib.hash.digest_size` " @@ -2057,20 +2476,20 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:1106 +#: ../NEWS:1363 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:1109 +#: ../NEWS:1366 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:1113 +#: ../NEWS:1370 msgid "" ":gh:`155717`: :mod:`multiprocessing`'s default start method is " "now :ref:`\"spawn\" ` instead of " @@ -2079,14 +2498,14 @@ msgid "" "an :exc:`OSError` there. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1119 +#: ../NEWS:1376 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:1123 +#: ../NEWS:1380 msgid "" ":gh:`155426`: Make sure that the pure Python fallback of :func:`hmac.digest` " "rejects keys that are neither :class:`bytes` or :class:`bytearray`. " @@ -2094,27 +2513,27 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1128 +#: ../NEWS:1385 msgid "" ":gh:`154523`: Fixed data-race when calling :meth:`io.TextIOBase.detach` " "in :term:`free-threaded build`." msgstr "" -#: ../NEWS:1131 +#: ../NEWS:1388 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:1135 +#: ../NEWS:1392 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:1140 +#: ../NEWS:1397 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 " @@ -2123,7 +2542,7 @@ msgid "" "receives is unspecified." msgstr "" -#: ../NEWS:1146 +#: ../NEWS:1403 msgid "" ":gh:`153364`: Make frame, coroutine and task-waiter walks iterative and " "bounded, avoiding potential hangs and stack overflows. Fix asyncio task " @@ -2131,7 +2550,7 @@ msgid "" "Pawłowski-Wieroński." msgstr "" -#: ../NEWS:1151 +#: ../NEWS:1408 msgid "" ":gh:`152692`: Fix :func:`annotationlib.type_repr` returning a string such as " "``None.list.append`` for bound built-in methods, whose ``__module__`` is " @@ -2139,20 +2558,20 @@ msgid "" "builtins." msgstr "" -#: ../NEWS:1156 +#: ../NEWS:1413 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:1160 +#: ../NEWS:1417 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:1163 +#: ../NEWS:1420 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 " @@ -2160,40 +2579,40 @@ msgid "" "``0``, matching :mod:`gzip`." msgstr "" -#: ../NEWS:1168 +#: ../NEWS:1425 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:1172 ../NEWS:3098 +#: ../NEWS:1429 ../NEWS:3355 msgid "" ":gh:`143008`: Fix race conditions when re-initializing " "a :class:`io.TextIOWrapper` object." msgstr "" -#: ../NEWS:1175 +#: ../NEWS:1432 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:1179 +#: ../NEWS:1436 msgid "" ":gh:`146065`: Fix a crash in asyncio.Future iterator when send() is called " "after throw() or close()." msgstr "" -#: ../NEWS:1182 +#: ../NEWS:1439 msgid "" ":gh:`143008`: Fix crash in :class:`io.TextIOWrapper` when " "reentrant :meth:`io.TextIOBase.detach` is called reentrantly from the " "underlying buffer." msgstr "" -#: ../NEWS:1186 +#: ../NEWS:1443 msgid "" ":gh:`133998`: Fix :exc:`struct.error` exception when creating a file " "with :class:`gzip.GzipFile` or compressing data with :func:`gzip.compress` " @@ -2202,33 +2621,33 @@ msgid "" "argument is outside the range ``0`` to ``2**32-1``." msgstr "" -#: ../NEWS:1192 +#: ../NEWS:1449 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:1199 +#: ../NEWS:1456 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:1206 +#: ../NEWS:1463 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:1210 +#: ../NEWS:1467 msgid "" ":gh:`159211`: The iOS testbed no longer gathers simulator diagnostics when a " "test run fails." msgstr "" -#: ../NEWS:1213 +#: ../NEWS:1470 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 " @@ -2236,7 +2655,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:1218 +#: ../NEWS:1475 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 " @@ -2245,7 +2664,7 @@ msgid "" "The separate memory watchdog process is no longer used." msgstr "" -#: ../NEWS:1227 +#: ../NEWS:1484 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 " @@ -2253,7 +2672,7 @@ msgid "" "framework builds, which do not install one." msgstr "" -#: ../NEWS:1232 +#: ../NEWS:1489 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 " @@ -2261,13 +2680,13 @@ msgid "" "the build directory." msgstr "" -#: ../NEWS:1237 +#: ../NEWS:1494 msgid "" ":gh:`158683`: Fix the :file:`Modules/Setup` entry for the :mod:`!_zstd` " "module by adding missing source files." msgstr "" -#: ../NEWS:1243 +#: ../NEWS:1500 msgid "" ":gh:`159880`: Fix a key handle leak " "in :func:`winreg.CreateKey`, :func:`winreg.CreateKeyEx` " @@ -2275,90 +2694,90 @@ msgid "" "fails." msgstr "" -#: ../NEWS:1247 +#: ../NEWS:1504 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:1251 +#: ../NEWS:1508 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:1255 ../NEWS:1904 ../NEWS:2882 ../NEWS:3241 ../NEWS:3319 -#: ../NEWS:3579 ../NEWS:4067 ../NEWS:5439 ../NEWS:5605 ../NEWS:7413 -#: ../NEWS:7792 ../NEWS:8379 ../NEWS:8930 ../NEWS:10381 ../NEWS:13381 -#: ../NEWS:14358 ../NEWS:14869 ../NEWS:15747 ../NEWS:16299 ../NEWS:18578 -#: ../NEWS:19774 ../NEWS:20454 ../NEWS:21146 ../NEWS:21483 ../NEWS:21918 -#: ../NEWS:24011 ../NEWS:24936 ../NEWS:25551 ../NEWS:26437 ../NEWS:26890 -#: ../NEWS:27399 ../NEWS:27845 ../NEWS:29686 ../NEWS:30519 ../NEWS:31237 -#: ../NEWS:31522 ../NEWS:31889 ../NEWS:32376 ../NEWS:32827 ../NEWS:33969 -#: ../NEWS:34408 ../NEWS:34863 ../NEWS:35337 ../NEWS:36490 ../NEWS:38214 -#: ../NEWS:39177 ../NEWS:39725 ../NEWS:42986 ../NEWS:43649 ../NEWS:43809 -#: ../NEWS:44021 ../NEWS:44278 ../NEWS:44609 ../NEWS:45454 ../NEWS:48151 -#: ../NEWS:48502 ../NEWS:48897 +#: ../NEWS:1512 ../NEWS:2161 ../NEWS:3139 ../NEWS:3498 ../NEWS:3576 +#: ../NEWS:3836 ../NEWS:4324 ../NEWS:5696 ../NEWS:5862 ../NEWS:7670 +#: ../NEWS:8049 ../NEWS:8636 ../NEWS:9187 ../NEWS:10638 ../NEWS:13638 +#: ../NEWS:14615 ../NEWS:15126 ../NEWS:16004 ../NEWS:16556 ../NEWS:18835 +#: ../NEWS:20031 ../NEWS:20711 ../NEWS:21403 ../NEWS:21740 ../NEWS:22175 +#: ../NEWS:24268 ../NEWS:25193 ../NEWS:25808 ../NEWS:26694 ../NEWS:27147 +#: ../NEWS:27656 ../NEWS:28102 ../NEWS:29943 ../NEWS:30776 ../NEWS:31494 +#: ../NEWS:31779 ../NEWS:32146 ../NEWS:32633 ../NEWS:33084 ../NEWS:34226 +#: ../NEWS:34665 ../NEWS:35120 ../NEWS:35594 ../NEWS:36747 ../NEWS:38471 +#: ../NEWS:39434 ../NEWS:39982 ../NEWS:43243 ../NEWS:43906 ../NEWS:44066 +#: ../NEWS:44278 ../NEWS:44535 ../NEWS:44866 ../NEWS:45711 ../NEWS:48408 +#: ../NEWS:48759 ../NEWS:49154 msgid "macOS" msgstr "" -#: ../NEWS:1257 +#: ../NEWS:1514 msgid "" ":gh:`159739`: Propagate errors that occur while converting macOS system " "proxy settings." msgstr "" -#: ../NEWS:1263 +#: ../NEWS:1520 msgid "" ":gh:`159517`: Fix the completion list and the call tip grabbing the focus on " "macOS with Tcl/Tk 9.1." msgstr "" -#: ../NEWS:1269 +#: ../NEWS:1526 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:1273 +#: ../NEWS:1530 msgid "" ":gh:`159739`: :c:func:`PyInitConfig_SetStr` now releases a previously " "configured value and preserves it if conversion of the replacement fails." msgstr "" -#: ../NEWS:1276 +#: ../NEWS:1533 msgid "" ":gh:`159739`: Fix a reference leak when :c:func:`_PyTuple_Resize` fails." msgstr "" -#: ../NEWS:1278 +#: ../NEWS:1535 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:1281 +#: ../NEWS:1538 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:1284 +#: ../NEWS:1541 msgid "" ":gh:`142217`: Add tests on the undocumented and deprecated " "``_Py_Identifier`` C API. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1289 +#: ../NEWS:1546 msgid "Python 3.14.8 final" msgstr "" -#: ../NEWS:1291 +#: ../NEWS:1548 msgid "*Release date: 2026-09-30*" msgstr "" -#: ../NEWS:1296 +#: ../NEWS:1553 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 " @@ -2368,7 +2787,7 @@ msgid "" "precisions above ``INT_MAX``." msgstr "" -#: ../NEWS:1303 +#: ../NEWS:1560 msgid "" ":gh:`156793`: :mod:`asyncio`: :meth:`loop.start_tls() " "` and :meth:`loop.create_connection() " @@ -2377,14 +2796,14 @@ msgid "" "to ``True``." msgstr "" -#: ../NEWS:1309 +#: ../NEWS:1566 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:1313 +#: ../NEWS:1570 msgid "" "In particular, a context with :attr:`~ssl.SSLContext.check_hostname` enabled " "and no *server_hostname* passed to :meth:`!wrap_bio` now " @@ -2393,13 +2812,13 @@ msgid "" "that the check had been skipped." msgstr "" -#: ../NEWS:1319 +#: ../NEWS:1576 msgid "" ":gh:`157953`: Update bundled `libexpat `_ to " "version 2.8.5." msgstr "" -#: ../NEWS:1322 +#: ../NEWS:1579 msgid "" ":gh:`156002`: Bound the amount of data :mod:`zipfile` decompresses per read " "for members compressed with bzip2, LZMA, or Zstandard, matching the existing " @@ -2407,7 +2826,7 @@ msgid "" "unbounded allocation even when read in small chunks." msgstr "" -#: ../NEWS:1327 +#: ../NEWS:1584 msgid "" ":gh:`155999`: Fix the :mod:`tarfile` ``tar`` and ``data`` extraction filters " "creating directories outside the destination for members whose name leaves " @@ -2416,7 +2835,7 @@ msgid "" "created from the name as given." msgstr "" -#: ../NEWS:1333 +#: ../NEWS:1590 msgid "" ":gh:`156293`: Fix a crash in :mod:`ssl` when " "an :attr:`~ssl.SSLContext.sni_callback` switches a connection to " @@ -2427,14 +2846,14 @@ msgid "" "addresses :cve:`2026-19445`." msgstr "" -#: ../NEWS:1341 +#: ../NEWS:1598 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:1345 +#: ../NEWS:1602 msgid "" ":gh:`155694`: Fix :cve:`2026-15806` by " "scoping :class:`~urllib.request.HTTPPasswordMgr` credentials to the URL " @@ -2442,35 +2861,35 @@ msgid "" "matching HTTP URL, while URIs without a scheme continue to match any scheme." msgstr "" -#: ../NEWS:1354 +#: ../NEWS:1611 msgid "" ":gh:`158364`: Fix crash when :func:`sys._current_frames` " "or :func:`sys._current_exceptions` is called while another interpreter is " "running." msgstr "" -#: ../NEWS:1358 +#: ../NEWS:1615 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:1362 +#: ../NEWS:1619 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:1366 +#: ../NEWS:1623 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:1370 +#: ../NEWS:1627 msgid "" ":gh:`156762`: Fix undefined behaviour in :class:`operator.methodcaller`: " "its :c:member:`~PyTypeObject.tp_clear` slot function returned ``void`` " @@ -2478,7 +2897,7 @@ msgid "" "incompatible function type. Patched by Shamil Abdulaev." msgstr "" -#: ../NEWS:1375 +#: ../NEWS:1632 msgid "" ":gh:`157377`: Fix :func:`gc.get_count` on the free-threaded build resetting " "the thread-local allocation counter that schedules automatic garbage " @@ -2486,76 +2905,76 @@ msgid "" "garbage from ever being collected." msgstr "" -#: ../NEWS:1380 +#: ../NEWS:1637 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:1384 +#: ../NEWS:1641 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:1387 +#: ../NEWS:1644 msgid "" ":gh:`155525`: Fix quadratic-time tokenization of modules containing many f-" "strings or t-strings." msgstr "" -#: ../NEWS:1390 +#: ../NEWS:1647 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:1393 +#: ../NEWS:1650 msgid "" ":gh:`156371`: Fix missing ``PyRefTracer_DESTROY`` events for trashcan " "deferred objects. Patch by Donghee Na." msgstr "" -#: ../NEWS:1396 +#: ../NEWS:1653 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:1400 +#: ../NEWS:1657 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:1404 +#: ../NEWS:1661 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:1407 +#: ../NEWS:1664 msgid "" ":gh:`155504`: Fix a crash when thread state creation fails before the thread " "state is fully initialized." msgstr "" -#: ../NEWS:1410 +#: ../NEWS:1667 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:1414 +#: ../NEWS:1671 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:1417 +#: ../NEWS:1674 msgid "" ":gh:`155515`: Track the internal HAMT iterators, which back iteration over " "a :class:`contextvars.Context`, with the garbage collector. A reference " @@ -2563,26 +2982,26 @@ msgid "" "whole context it iterated over." msgstr "" -#: ../NEWS:1422 +#: ../NEWS:1679 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:1426 +#: ../NEWS:1683 msgid "" ":gh:`154902`: Fix a crash when ``__conditional_annotations__`` is rebound to " "a non-set object." msgstr "" -#: ../NEWS:1429 +#: ../NEWS:1686 msgid "" ":gh:`151464`: Exclude invalid token ``<>`` from :mod:`tokenize` " "output. :exc:`SyntaxError` for ``<>`` now suggests ``!=``." msgstr "" -#: ../NEWS:1432 +#: ../NEWS:1689 msgid "" ":gh:`154719`: Trailing whitespace in a t-string interpolation expression is " "now preserved in :attr:`string.templatelib.Interpolation.expression`, up to " @@ -2594,14 +3013,14 @@ msgid "" "string debug text containing comments." msgstr "" -#: ../NEWS:1441 +#: ../NEWS:1698 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:1445 +#: ../NEWS:1702 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 " @@ -2610,13 +3029,13 @@ msgid "" "moved to the CFG." msgstr "" -#: ../NEWS:1451 +#: ../NEWS:1708 msgid "" ":gh:`146096`: Fixed segmentation fault when called repr for " "BaseExceptionGroup with empty or 1-size tuple args." msgstr "" -#: ../NEWS:1454 +#: ../NEWS:1711 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 " @@ -2624,27 +3043,27 @@ msgid "" "``\"None\"``, ``\"True\"`` or ``\"False\"``." msgstr "" -#: ../NEWS:1462 +#: ../NEWS:1719 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:1466 +#: ../NEWS:1723 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:1469 +#: ../NEWS:1726 msgid "" ":gh:`157660`: Fix ``_remote_debugging`` 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:1473 +#: ../NEWS:1730 msgid "" ":gh:`157672`: Fix :mod:`tkinter` on macOS: creating a :class:`~tkinter.Tk` " "instance no longer replaces the Python handlers of SIGINT, SIGHUP and " @@ -2652,14 +3071,14 @@ msgid "" "raises :exc:`KeyboardInterrupt` again." msgstr "" -#: ../NEWS:1478 +#: ../NEWS:1735 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:1482 +#: ../NEWS:1739 msgid "" ":gh:`69919`: :meth:`code.InteractiveInterpreter.runsource` and the REPL now " "report any exception raised by compiling the source, such " @@ -2667,14 +3086,14 @@ msgid "" "instead of propagating it or printing a traceback of the REPL internals." msgstr "" -#: ../NEWS:1487 +#: ../NEWS:1744 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:1492 +#: ../NEWS:1749 msgid "" ":gh:`157335`: Fix out-of-bounds write in ``mmap.mmap.__setitem__`` that " "could occur when converting the index or the assigned value " @@ -2682,7 +3101,7 @@ msgid "" "for a slice) resized or closed the mmap object during the assignment." msgstr "" -#: ../NEWS:1497 +#: ../NEWS:1754 msgid "" ":gh:`157406`: Fix the Python implementation " "of :class:`xml.etree.ElementTree.XMLParser`: the ``doctype()`` method of the " @@ -2690,25 +3109,25 @@ msgid "" "identifier, like ````, as in the C implementation." msgstr "" -#: ../NEWS:1502 +#: ../NEWS:1759 msgid "" ":gh:`128509`: :func:`marshal.load` and :func:`marshal.loads` can now get 1-" "byte string singletons. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1505 +#: ../NEWS:1762 msgid "" ":gh:`157325`: Fix an out-of-bounds read in the ``hz`` incremental decoder " "when the input ends with ``~``." msgstr "" -#: ../NEWS:1508 +#: ../NEWS:1765 msgid "" ":gh:`157213`: Fix :func:`asyncio.gather` leaving stale await-graph edges on " "children that outlive it." msgstr "" -#: ../NEWS:1511 +#: ../NEWS:1768 msgid "" ":gh:`156002`: :mod:`zipfile` again reads members through a third-party " "decompressor installed by monkey-patching the private " @@ -2718,13 +3137,13 @@ msgid "" "to :cve:`2026-15310`." msgstr "" -#: ../NEWS:1518 +#: ../NEWS:1775 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:1521 +#: ../NEWS:1778 msgid "" ":gh:`123018`: Fix :func:`readline.write_history_file` " "and :func:`readline.append_history_file` producing a history file " @@ -2734,25 +3153,25 @@ msgid "" "60322>`_." msgstr "" -#: ../NEWS:1528 +#: ../NEWS:1785 msgid "" ":gh:`157058`: :func:`asyncio.wait_for` with a non-positive timeout now " "records the waiter in the call graph." msgstr "" -#: ../NEWS:1531 +#: ../NEWS:1788 msgid "" ":gh:`156933`: Fix incorrect integer return values from :mod:`ctypes` " "callbacks on some platforms, such as s390x." msgstr "" -#: ../NEWS:1534 +#: ../NEWS:1791 msgid "" ":gh:`157048`: Preserve the position and contents of :class:`io.BytesIO` " "when :meth:`!BytesIO.__init__` fails because a buffer is exported." msgstr "" -#: ../NEWS:1537 +#: ../NEWS:1794 msgid "" ":gh:`156961`: Fix :func:`tkinter.font.nametofont` and " "the :class:`tkinter.font.Font` constructor for a font name returned by Tk as " @@ -2760,32 +3179,32 @@ msgid "" "`." msgstr "" -#: ../NEWS:1542 +#: ../NEWS:1799 msgid "" ":gh:`156988`: :func:`asyncio.print_call_graph` no longer truncates the call " "stack at a synchronous generator." msgstr "" -#: ../NEWS:1545 +#: ../NEWS:1802 msgid "" ":gh:`156970`: Set the docstring of :attr:`unittest.mock.Mock.return_value`." msgstr "" -#: ../NEWS:1547 +#: ../NEWS:1804 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:1551 +#: ../NEWS:1808 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:1556 +#: ../NEWS:1813 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, " @@ -2793,7 +3212,7 @@ msgid "" "raising :exc:`OverflowError`." msgstr "" -#: ../NEWS:1561 +#: ../NEWS:1818 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 " @@ -2802,7 +3221,7 @@ msgid "" "XMLParser.feed` or :func:`~xml.etree.ElementTree.fromstring`." msgstr "" -#: ../NEWS:1567 +#: ../NEWS:1824 msgid "" ":gh:`156713`: Fix :func:`!nturl2path.pathname2url` and :func:`!" "nturl2path.url2pathname`: the filesystem encoding and error handler are now " @@ -2811,14 +3230,14 @@ msgid "" "raised :exc:`UnicodeEncodeError`." msgstr "" -#: ../NEWS:1573 +#: ../NEWS:1830 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:1577 +#: ../NEWS:1834 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 " @@ -2828,19 +3247,19 @@ msgid "" "content`` feature turned off." msgstr "" -#: ../NEWS:1585 +#: ../NEWS:1842 msgid "" ":gh:`156512`: Fix :mod:`asyncio` losing a connection twice when " "``resume_writing()`` closes the transport." msgstr "" -#: ../NEWS:1588 +#: ../NEWS:1845 msgid "" ":gh:`156523`: Fix :func:`asyncio.as_completed` not recording the awaiting " "task in the call graph." msgstr "" -#: ../NEWS:1591 +#: ../NEWS:1848 msgid "" ":gh:`156476`: The pure Python implementation " "of :meth:`queue.SimpleQueue.get` now ignores *timeout* when *block* is " @@ -2848,7 +3267,7 @@ msgid "" "previously raised :exc:`ValueError`." msgstr "" -#: ../NEWS:1595 +#: ../NEWS:1852 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 " @@ -2856,20 +3275,20 @@ msgid "" "longer matches ``b'B'``." msgstr "" -#: ../NEWS:1600 +#: ../NEWS:1857 msgid "" ":gh:`156408`: Fix :func:`asyncio.print_call_graph` " "raising :exc:`AttributeError` when called on a task that has already " "finished." msgstr "" -#: ../NEWS:1603 +#: ../NEWS:1860 msgid "" ":gh:`156353`: Fix :mod:`configparser` parsing when using whitespace in " "*delimiters*." msgstr "" -#: ../NEWS:1606 +#: ../NEWS:1863 msgid "" ":gh:`156166`: :mod:`ssl`: A failed assignment or deletion of the " "``_msg_callback`` attribute of :class:`ssl.SSLContext` no longer removes the " @@ -2877,25 +3296,25 @@ msgid "" "of :exc:`TypeError`." msgstr "" -#: ../NEWS:1611 +#: ../NEWS:1868 msgid "" ":gh:`156173`: Calling :meth:`zlib.Decompress.flush` on invalid compressed " "data now raises :exc:`zlib.error` instead of being silently ignored." msgstr "" -#: ../NEWS:1614 +#: ../NEWS:1871 msgid "" ":gh:`152817`: :mod:`sqlite3`: Disallow removing the ``row_factory`` " "attribute of a cursor to prevent a crash on a query." msgstr "" -#: ../NEWS:1617 +#: ../NEWS:1874 msgid "" ":gh:`156124`: Fix a crash in the free-threaded build when deleting " "the :attr:`!contents` attribute of a :mod:`ctypes` pointer." msgstr "" -#: ../NEWS:1620 +#: ../NEWS:1877 msgid "" ":gh:`156112`: :mod:`!_ios_support` no longer fails to import " "when :func:`ctypes.util.find_library` cannot resolve the ObjC runtime " @@ -2903,40 +3322,40 @@ msgid "" "loaded by name, which dyld resolves against the cache directly." msgstr "" -#: ../NEWS:1625 +#: ../NEWS:1882 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:1629 +#: ../NEWS:1886 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:1634 +#: ../NEWS:1891 msgid "" ":gh:`156099`: Fix a crash when deleting the ``keylog_filename`` attribute " "of :class:`ssl.SSLContext`. It now raises :exc:`AttributeError`." msgstr "" -#: ../NEWS:1637 +#: ../NEWS:1894 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:1640 +#: ../NEWS:1897 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:1644 +#: ../NEWS:1901 msgid "" ":gh:`155941`: Fix :func:`asyncio.start_server` when a plain-function " "*client_connected_cb* raises: the error is now reported like the coroutine " @@ -2944,7 +3363,7 @@ msgid "" "forever (which also made :meth:`asyncio.Server.wait_closed` hang)." msgstr "" -#: ../NEWS:1649 +#: ../NEWS:1906 msgid "" ":gh:`155952`: Fix the signatures " "of :meth:`sqlite3.Connection.execute`, :func:`warnings.warn` " @@ -2952,13 +3371,13 @@ msgid "" "the correct defaults for parameters." msgstr "" -#: ../NEWS:1653 +#: ../NEWS:1910 msgid "" ":gh:`155888`: Fix :meth:`asyncio.WriteTransport.writelines` hanging the " "transport when the last data chunk is empty." msgstr "" -#: ../NEWS:1656 +#: ../NEWS:1913 msgid "" ":gh:`155775`: Fix a regression in :mod:`imaplib` introduced in the fix " "for :gh:`63121`: refreshing the capabilities after a " @@ -2967,7 +3386,7 @@ msgid "" "so it could no longer be read with :meth:`~imaplib.IMAP4.response`." msgstr "" -#: ../NEWS:1662 +#: ../NEWS:1919 msgid "" ":gh:`113318`: Fix crashes when deleting an attribute whose setter is " "generated by Argument Clinic and is not prepared for deletion, among " @@ -2976,26 +3395,26 @@ msgid "" "raises :exc:`AttributeError`." msgstr "" -#: ../NEWS:1668 +#: ../NEWS:1925 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:1672 +#: ../NEWS:1929 msgid "" ":gh:`155519`: Avoid a data-race in free-threaded builds when reading and " "writing context variables from different threads." msgstr "" -#: ../NEWS:1675 +#: ../NEWS:1932 msgid "" ":gh:`155336`: Fix error handling in :func:`socket.gethostbyaddr` " "and :func:`socket.gethostbyname_ex` when hostname resolution fails." msgstr "" -#: ../NEWS:1678 +#: ../NEWS:1935 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 " @@ -3004,20 +3423,20 @@ msgid "" "drive." msgstr "" -#: ../NEWS:1684 +#: ../NEWS:1941 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:1687 +#: ../NEWS:1944 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:1691 +#: ../NEWS:1948 msgid "" ":gh:`155319`: :func:`warnings.warn_explicit` now displays the source line " "taken from the loader of the module whose globals are passed as " @@ -3025,14 +3444,14 @@ msgid "" "out of the range of the module source." msgstr "" -#: ../NEWS:1696 +#: ../NEWS:1953 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:1700 +#: ../NEWS:1957 msgid "" ":gh:`69370`: :program:`python -m inspect --details` no longer fails " "with :exc:`UnicodeEncodeError` if the path of the module contains characters " @@ -3040,7 +3459,7 @@ msgid "" "escaped with backslashes." msgstr "" -#: ../NEWS:1705 +#: ../NEWS:1962 msgid "" ":gh:`69371`: Fix :mod:`pydoc` for modules whose path contains undecodable " "bytes. :func:`!pydoc.writedoc` and the pydoc HTTP server no longer fail " @@ -3049,26 +3468,26 @@ msgid "" "page are escaped with backslashes." msgstr "" -#: ../NEWS:1711 +#: ../NEWS:1968 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:1714 +#: ../NEWS:1971 msgid "" ":gh:`154871`: Fixed a crash in :meth:`asyncio.Task.get_context` when called " "on an uninitialized task." msgstr "" -#: ../NEWS:1717 +#: ../NEWS:1974 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:1721 +#: ../NEWS:1978 msgid "" ":gh:`135683`: :class:`logging.FileHandler` " "and :class:`logging.handlers.WatchedFileHandler` now " @@ -3076,14 +3495,14 @@ msgid "" "the file, like for other errors during logging." msgstr "" -#: ../NEWS:1726 +#: ../NEWS:1983 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:1730 +#: ../NEWS:1987 msgid "" ":gh:`153005`: :meth:`!concurrent.interpreters.Queue.get` and :meth:`!" "concurrent.interpreters.Queue.put` now compute their ``timeout`` deadline " @@ -3091,7 +3510,7 @@ msgid "" "system clock during the call no longer makes them over- or under-wait." msgstr "" -#: ../NEWS:1736 +#: ../NEWS:1993 msgid "" ":gh:`153772`: :func:`isinstance` checks against :mod:`collections.abc` " "classes such as :class:`~collections.abc.Mapping` no longer " @@ -3100,20 +3519,20 @@ msgid "" "case, matching the behaviour of the built-in :func:`isinstance`." msgstr "" -#: ../NEWS:1742 +#: ../NEWS:1999 msgid "" ":gh:`81241`: Fix :exc:`OSError` when importing :mod:`ctypes` from a " "statically linked interpreter." msgstr "" -#: ../NEWS:1745 +#: ../NEWS:2002 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:1749 +#: ../NEWS:2006 msgid "" ":gh:`153539`: Fix a crash in the C implementation " "of :meth:`io.TextIOWrapper.tell` when the decoder's ``getstate`` method " @@ -3121,7 +3540,7 @@ msgid "" "concurrently. Patch by tonghuaroot." msgstr "" -#: ../NEWS:1754 +#: ../NEWS:2011 msgid "" ":gh:`152907`: Restore cooked-mode terminal output flags " "around :c:data:`PyOS_InputHook` callbacks in the new :term:`REPL` (:mod:`!" @@ -3130,19 +3549,19 @@ msgid "" "its carriage returns." msgstr "" -#: ../NEWS:1760 +#: ../NEWS:2017 msgid "" ":gh:`153319`: The :mod:`turtledemo` viewer now reads each demo script as " "UTF-8 instead of the locale encoding." msgstr "" -#: ../NEWS:1763 +#: ../NEWS:2020 msgid "" ":gh:`153133`: Fix a socket leak in :meth:`asyncio.loop.create_connection` " "when the transport cannot be created." msgstr "" -#: ../NEWS:1766 +#: ../NEWS:2023 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 " @@ -3150,7 +3569,7 @@ msgid "" "colored when it shouldn't" msgstr "" -#: ../NEWS:1771 +#: ../NEWS:2028 msgid "" ":gh:`152204`: Fix the pure-Python implementations " "of :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` " @@ -3161,13 +3580,13 @@ msgid "" "implementation." msgstr "" -#: ../NEWS:1779 +#: ../NEWS:2036 msgid "" ":gh:`151955`: Allow more types to be used in the ``bound`` argument " "to :class:`typing.ParamSpec`." msgstr "" -#: ../NEWS:1782 +#: ../NEWS:2039 msgid "" ":gh:`150771`: Fix serialization of :mod:`email` messages using the " "``shift_jis`` or ``euc-jp`` charsets: ``set_content()`` now encodes the " @@ -3175,7 +3594,7 @@ msgid "" "raises :exc:`UnicodeEncodeError`." msgstr "" -#: ../NEWS:1787 +#: ../NEWS:2044 msgid "" ":gh:`145856`: Fix :func:`plistlib.dumps` and :func:`plistlib.dump` so that " "``skipkeys=True`` together with ``sort_keys=True`` correctly drops non-" @@ -3183,20 +3602,20 @@ msgid "" "keys. Previously the sort ran before the filter and raised :exc:`TypeError`." msgstr "" -#: ../NEWS:1793 +#: ../NEWS:2050 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:1797 +#: ../NEWS:2054 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:1800 +#: ../NEWS:2057 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 " @@ -3204,19 +3623,19 @@ msgid "" "from the current position." msgstr "" -#: ../NEWS:1805 +#: ../NEWS:2062 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:1809 +#: ../NEWS:2066 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:1812 +#: ../NEWS:2069 msgid "" ":issue:`44012`: The ``exploded`` attribute of :class:`ipaddress.IPv6Address` " "and :class:`ipaddress.IPv6Interface` now supports addresses with a scope ID " @@ -3225,7 +3644,7 @@ msgid "" "ID." msgstr "" -#: ../NEWS:1817 +#: ../NEWS:2074 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 " @@ -3234,34 +3653,34 @@ msgid "" "of the sparse file. All following members were unreachable." msgstr "" -#: ../NEWS:1823 +#: ../NEWS:2080 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:1830 +#: ../NEWS:2087 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:1837 +#: ../NEWS:2094 msgid "" ":gh:`158051`: The iOS testbed has been updated for compatibilty with Xcode " "27." msgstr "" -#: ../NEWS:1840 +#: ../NEWS:2097 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:1844 +#: ../NEWS:2101 msgid "" ":gh:`132581`: The list of tests which altered the execution environment now " "includes the reasons why the environment was considered altered, for example " @@ -3269,25 +3688,25 @@ msgid "" "longer repeats the same state twice (like ``ENV CHANGED then ENV CHANGED``)." msgstr "" -#: ../NEWS:1850 +#: ../NEWS:2107 msgid "" ":gh:`142414`: Isolate reloading modules in test_interpreters to avoid having " "broken references." msgstr "" -#: ../NEWS:1856 +#: ../NEWS:2113 msgid "" ":gh:`158010`: Update Android and iOS build scripts to use OpenSSL 3.5.9." msgstr "" -#: ../NEWS:1858 +#: ../NEWS:2115 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:1862 +#: ../NEWS:2119 msgid "" ":gh:`157142`: Fix the link of ``Programs/_freeze_module`` when extension " "modules are built in (``MODULE_BUILDTYPE=static``) and the test modules are " @@ -3295,13 +3714,13 @@ msgid "" "``_Py_Get_Getpath_CodeObject()``, which ``_testinternalcapi`` uses." msgstr "" -#: ../NEWS:1867 +#: ../NEWS:2124 msgid "" ":gh:`155911`: Fix curses detection when a curses library is already in " "``LIBS``. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:1870 +#: ../NEWS:2127 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 " @@ -3309,44 +3728,44 @@ msgid "" "detection silently failed." msgstr "" -#: ../NEWS:1875 +#: ../NEWS:2132 msgid "" ":gh:`152023`: Update Android builds to SQLite 3.53.4. Additionally, enable " "the ``median()`` and ``percentile()`` functions." msgstr "" -#: ../NEWS:1878 +#: ../NEWS:2135 msgid "" ":gh:`144679`: When building with Visual Studio 2026 (Version 18), use " "PlatformToolSet v145 by default. Patch by Chris Eibl." msgstr "" -#: ../NEWS:1884 +#: ../NEWS:2141 msgid ":gh:`158010`: Updated Windows builds to use OpenSSL 3.5.9." msgstr "" -#: ../NEWS:1886 +#: ../NEWS:2143 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:1890 +#: ../NEWS:2147 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:1894 +#: ../NEWS:2151 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:1898 +#: ../NEWS:2155 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`` " @@ -3354,71 +3773,71 @@ msgid "" "reported as ``\"utf-8\"`` instead of ``\"cp65001\"``." msgstr "" -#: ../NEWS:1906 +#: ../NEWS:2163 msgid ":gh:`158010`: Update macOS installer to use OpenSSL 3.5.9." msgstr "" -#: ../NEWS:1911 +#: ../NEWS:2168 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:1914 +#: ../NEWS:2171 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:1918 +#: ../NEWS:2175 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:1921 +#: ../NEWS:2178 msgid "" ":gh:`64007`: IDLE no longer applies syntax coloring to the text entered " "for :func:`input` in the Shell." msgstr "" -#: ../NEWS:1924 +#: ../NEWS:2181 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:1928 +#: ../NEWS:2185 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:1931 +#: ../NEWS:2188 msgid "" ":gh:`74112`: Ctrl-C in the IDLE Shell now interrupts blocking calls such " "as :func:`time.sleep` and :meth:`socket.recv `." msgstr "" -#: ../NEWS:1934 +#: ../NEWS:2191 msgid ":gh:`151471`: Colorize the soft keyword ``type`` in IDLE." msgstr "" -#: ../NEWS:1936 +#: ../NEWS:2193 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:1939 +#: ../NEWS:2196 msgid "" ":gh:`89544`: Fix IDLE hanging after Restart Shell while receiving a large " "output from the user process." msgstr "" -#: ../NEWS:1942 +#: ../NEWS:2199 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 " @@ -3426,83 +3845,83 @@ msgid "" "IDLE imports, such as ``random.py`` or ``tkinter.py``." msgstr "" -#: ../NEWS:1947 +#: ../NEWS:2204 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:1951 +#: ../NEWS:2208 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:1954 +#: ../NEWS:2211 msgid "" ":gh:`69004`: The Debugger item of the IDLE Debug menu is now disabled while " "user code runs, like Stack Viewer." msgstr "" -#: ../NEWS:1957 +#: ../NEWS:2214 msgid "" ":gh:`69365`: The IDLE search dialogs now show a regular expression error " "below the entry instead of in a message box." msgstr "" -#: ../NEWS:1960 +#: ../NEWS:2217 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:1964 +#: ../NEWS:2221 msgid "" ":gh:`105689`: Fix calltips, parenthesis matching and auto-indent in the IDLE " "Shell after output containing unbalanced quotes or parentheses." msgstr "" -#: ../NEWS:1967 +#: ../NEWS:2224 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:1970 +#: ../NEWS:2227 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:1974 +#: ../NEWS:2231 msgid "" ":gh:`75234`: Fix editing help sources and key bindings in the IDLE Settings " "dialog after selecting them with the keyboard." msgstr "" -#: ../NEWS:1977 +#: ../NEWS:2234 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:1981 +#: ../NEWS:2238 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:1984 +#: ../NEWS:2241 msgid "" ":gh:`71136`: Fix a hang of the IDLE Shell when code run under the debugger " "raises :exc:`KeyboardInterrupt`." msgstr "" -#: ../NEWS:1987 +#: ../NEWS:2244 msgid "" ":gh:`154511`: Consolidate IDLE's mouse wheel handling in ``idlelib.util``. " "``wheel_event`` moves there from ``idlelib.tree`` and joins ``x11_buttons``, " @@ -3511,12 +3930,12 @@ msgid "" "sends." msgstr "" -#: ../NEWS:1993 +#: ../NEWS:2250 msgid "" ":gh:`156896`: Stop deleting tkinter submodules when idlelib.run is imported." msgstr "" -#: ../NEWS:1995 +#: ../NEWS:2252 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 " @@ -3524,21 +3943,21 @@ msgid "" "elsewhere, or ignore it." msgstr "" -#: ../NEWS:2000 +#: ../NEWS:2257 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:2004 +#: ../NEWS:2261 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:2008 +#: ../NEWS:2265 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 " @@ -3546,36 +3965,36 @@ msgid "" "width." msgstr "" -#: ../NEWS:2013 +#: ../NEWS:2270 msgid "" ":gh:`135511`: Fix display of :exc:`NameError` and :exc:`AttributeError` with " "multi-line message." msgstr "" -#: ../NEWS:2017 ../NEWS:2943 ../NEWS:4102 ../NEWS:4630 ../NEWS:5451 -#: ../NEWS:5490 ../NEWS:5705 ../NEWS:5844 ../NEWS:6330 ../NEWS:6613 -#: ../NEWS:7438 ../NEWS:7804 ../NEWS:8384 ../NEWS:8936 ../NEWS:9285 -#: ../NEWS:9750 ../NEWS:10438 ../NEWS:14369 ../NEWS:14891 ../NEWS:16328 -#: ../NEWS:18593 ../NEWS:19804 ../NEWS:20151 ../NEWS:21154 ../NEWS:21491 -#: ../NEWS:24043 ../NEWS:24941 ../NEWS:25560 ../NEWS:29746 ../NEWS:31899 -#: ../NEWS:32411 ../NEWS:34421 ../NEWS:34883 ../NEWS:35356 ../NEWS:38338 -#: ../NEWS:39201 ../NEWS:39740 ../NEWS:40082 ../NEWS:43205 ../NEWS:43827 -#: ../NEWS:44044 ../NEWS:44304 ../NEWS:44910 ../NEWS:45498 ../NEWS:47813 -#: ../NEWS:48201 ../NEWS:48542 ../NEWS:48965 ../NEWS:49452 ../NEWS:49817 -#: ../NEWS:50211 ../NEWS:50285 ../NEWS:51270 ../NEWS:51731 ../NEWS:52039 -#: ../NEWS:53299 ../NEWS:54408 ../NEWS:55234 ../NEWS:55757 ../NEWS:56444 -#: ../NEWS:56663 ../NEWS:56871 ../NEWS:58783 +#: ../NEWS:2274 ../NEWS:3200 ../NEWS:4359 ../NEWS:4887 ../NEWS:5708 +#: ../NEWS:5747 ../NEWS:5962 ../NEWS:6101 ../NEWS:6587 ../NEWS:6870 +#: ../NEWS:7695 ../NEWS:8061 ../NEWS:8641 ../NEWS:9193 ../NEWS:9542 +#: ../NEWS:10007 ../NEWS:10695 ../NEWS:14626 ../NEWS:15148 ../NEWS:16585 +#: ../NEWS:18850 ../NEWS:20061 ../NEWS:20408 ../NEWS:21411 ../NEWS:21748 +#: ../NEWS:24300 ../NEWS:25198 ../NEWS:25817 ../NEWS:30003 ../NEWS:32156 +#: ../NEWS:32668 ../NEWS:34678 ../NEWS:35140 ../NEWS:35613 ../NEWS:38595 +#: ../NEWS:39458 ../NEWS:39997 ../NEWS:40339 ../NEWS:43462 ../NEWS:44084 +#: ../NEWS:44301 ../NEWS:44561 ../NEWS:45167 ../NEWS:45755 ../NEWS:48070 +#: ../NEWS:48458 ../NEWS:48799 ../NEWS:49222 ../NEWS:49709 ../NEWS:50074 +#: ../NEWS:50468 ../NEWS:50542 ../NEWS:51527 ../NEWS:51988 ../NEWS:52296 +#: ../NEWS:53556 ../NEWS:54665 ../NEWS:55491 ../NEWS:56014 ../NEWS:56701 +#: ../NEWS:56920 ../NEWS:57128 ../NEWS:59040 msgid "Tools/Demos" msgstr "" -#: ../NEWS:2019 +#: ../NEWS:2276 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:2023 +#: ../NEWS:2280 msgid "" ":gh:`113318`: Fix Argument Clinic for ``@getter`` and ``@setter`` in a " "preprocessor conditional block. It failed with an internal error. Argument " @@ -3584,21 +4003,21 @@ msgid "" "invalid or duplicated entries of :c:type:`PyGetSetDef`." msgstr "" -#: ../NEWS:2029 +#: ../NEWS:2286 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:2036 +#: ../NEWS:2293 msgid "" ":gh:`156995`: On Free Threading, ``_PyBytes_Resize(&obj, 1)`` no longer " "returns a single byte singleton if the current thread is different than the " "thread which created the object. Patch by Stan Ulbrych." msgstr "" -#: ../NEWS:2040 +#: ../NEWS:2297 msgid "" ":gh:`156101`: Don't set the result in error " "in :c:func:`PyLong_AsInt32`, :c:func:`PyLong_AsUInt32`, :c:func:`PyLong_AsInt64` " @@ -3606,7 +4025,7 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:2045 +#: ../NEWS:2302 msgid "" ":gh:`131740`: On the free-threaded " "build, :c:func:`PyUnstable_GC_VisitObjects` now also visits frozen objects " @@ -3614,15 +4033,15 @@ msgid "" "the behavior of the default build." msgstr "" -#: ../NEWS:2052 +#: ../NEWS:2309 msgid "Python 3.14.7 final" msgstr "" -#: ../NEWS:2054 +#: ../NEWS:2311 msgid "*Release date: 2026-08-05*" msgstr "" -#: ../NEWS:2059 +#: ../NEWS:2316 msgid "" ":gh:`153030`: Fixed quadratic complexity in incremental parsing of long " "unterminated constructs (such as tags or comments) " @@ -3630,7 +4049,7 @@ msgid "" "service." msgstr "" -#: ../NEWS:2064 +#: ../NEWS:2321 msgid "" ":gh:`152674`: The :class:`xml.etree.ElementTree.Element` " "methods :meth:`~xml.etree.ElementTree.Element.findall`, :meth:`~xml.etree.ElementTree.Element.iterfind` " @@ -3639,25 +4058,25 @@ msgid "" "XML documents with many same-tag siblings." msgstr "" -#: ../NEWS:2071 +#: ../NEWS:2328 msgid "" ":gh:`152216`: Update bundled `libexpat `_ to " "version 2.8.2." msgstr "" -#: ../NEWS:2074 +#: ../NEWS:2331 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:2078 +#: ../NEWS:2335 msgid "" ":gh:`151981`: In :mod:`tarfile`, seeking a stream now stops when end of the " "stream is reached." msgstr "" -#: ../NEWS:2081 +#: ../NEWS:2338 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 " @@ -3665,7 +4084,7 @@ msgid "" "indicator of running in a source tree." msgstr "" -#: ../NEWS:2086 +#: ../NEWS:2343 msgid "" ":gh:`151558`: Fixed an vulnerability in the :mod:`tarfile` ``data`` and " "``tar`` extraction filters where crafted archives could create a symlink " @@ -3673,7 +4092,7 @@ msgid "" "of :cve:`2025-4330`." msgstr "" -#: ../NEWS:2091 +#: ../NEWS:2348 msgid "" ":gh:`150743`: :mod:`http.client` now limits the number of chunked-response " "trailer lines it will read to 100, and the number of interim (1xx) responses " @@ -3683,120 +4102,120 @@ msgid "" "g22w-6fr4." msgstr "" -#: ../NEWS:2098 +#: ../NEWS:2355 msgid "" ":gh:`143927`: Normalize all line endings (CR, CRLF, and LF) to LF+TAB when " "writing multi-line configparser values." msgstr "" -#: ../NEWS:2101 +#: ../NEWS:2358 msgid "" ":gh:`143921`: Reject NUL, CR and LF characters in IMAP commands. Other " "control characters are allowed and sent quoted." msgstr "" -#: ../NEWS:2107 +#: ../NEWS:2364 msgid "" ":gh:`133931`: Fix data races when setting attributes of function objects on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:2110 +#: ../NEWS:2367 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:2114 +#: ../NEWS:2371 msgid "" ":gh:`154695`: Fix :class:`asyncio.Task` raising :exc:`AttributeError` when " "created with ``eager_start=True`` and no explicit *loop* argument." msgstr "" -#: ../NEWS:2117 +#: ../NEWS:2374 msgid "" ":gh:`153809`: Fix interpreter crash while deallocating objects " "of :class:`asyncio.Task` on free-threaded builds. Contributed by Sergey " "Miryanov." msgstr "" -#: ../NEWS:2121 +#: ../NEWS:2378 msgid "" ":gh:`154275`: Fix a crash when getting deeply nested ``__parameters__`` from " "a :class:`types.GenericAlias` objects." msgstr "" -#: ../NEWS:2124 +#: ../NEWS:2381 msgid "" ":gh:`153932`: Fix thread safety issue in the ``__reduce__`` method " "of :py:class:`enumerate`." msgstr "" -#: ../NEWS:2127 +#: ../NEWS:2384 msgid "" ":gh:`153298`: Fixes a data race in :class:`types.GenericAlias` " "``__parameters__`` initialization on free-threading builds." msgstr "" -#: ../NEWS:2130 +#: ../NEWS:2387 msgid "" ":gh:`153205`: Fix a potential :exc:`SystemError` during vector calls when " "memory allocation fails. A :exc:`MemoryError` is now raised instead." msgstr "" -#: ../NEWS:2133 +#: ../NEWS:2390 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:2137 +#: ../NEWS:2394 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:2141 +#: ../NEWS:2398 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:2144 +#: ../NEWS:2401 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:2148 +#: ../NEWS:2405 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:2151 +#: ../NEWS:2408 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:2154 +#: ../NEWS:2411 msgid "" ":gh:`151763`: Fixes possible crash on :class:`types.CodeType` deallocation." msgstr "" -#: ../NEWS:2156 +#: ../NEWS:2413 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:2160 +#: ../NEWS:2417 msgid "" ":gh:`151763`: Fix a potential crash " "in :func:`compile`, :func:`exec`, :func:`eval` and :func:`ast.parse` when an " @@ -3804,33 +4223,33 @@ msgid "" "exception." msgstr "" -#: ../NEWS:2164 +#: ../NEWS:2421 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:2168 +#: ../NEWS:2425 msgid "" ":gh:`151905`: Fix OOM error handling in :c:func:`PyFrame_GetBack` to " "propagate exceptions instead of masking them as None." msgstr "" -#: ../NEWS:2171 +#: ../NEWS:2428 msgid "" ":gh:`151773`: Fix a crash in :func:`contextvars.ContextVar.set` when memory " "allocation fails." msgstr "" -#: ../NEWS:2174 +#: ../NEWS:2431 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:2178 +#: ../NEWS:2435 msgid "" ":gh:`151644`: Fix a data race in :func:`sys.setdlopenflags` " "and :func:`sys.getdlopenflags` when called concurrently in the free-threaded " @@ -3838,101 +4257,101 @@ msgid "" "``_PyImport_SetDLOpenFlags`` functions now use atomic load/store operations." msgstr "" -#: ../NEWS:2184 +#: ../NEWS:2441 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:2187 +#: ../NEWS:2444 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:2191 +#: ../NEWS:2448 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:2196 +#: ../NEWS:2453 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:2200 +#: ../NEWS:2457 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:2204 +#: ../NEWS:2461 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:2207 ../NEWS:2684 +#: ../NEWS:2464 ../NEWS:2941 msgid "" ":gh:`151126`: Fix a crash, when there's no memory left on a device, which " "happened in :mod:`!_interpchannels` module." msgstr "" -#: ../NEWS:2210 ../NEWS:2687 +#: ../NEWS:2467 ../NEWS:2944 msgid "Now it raises proper :exc:`MemoryError` errors." msgstr "" -#: ../NEWS:2212 +#: ../NEWS:2469 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:2216 +#: ../NEWS:2473 msgid "" ":gh:`151065`: Fix memory leak when using the :ref:`mimalloc memory allocator " "`." msgstr "" -#: ../NEWS:2219 +#: ../NEWS:2476 msgid "" ":gh:`151029`: On Linux, fix :func:`sys.remote_exec` unable to find remote " "writable memory when ``libpython`` replaced on disk." msgstr "" -#: ../NEWS:2222 +#: ../NEWS:2479 msgid "" ":gh:`150988`: Fix a reference leak in :exc:`OSError` when attributes are set " "before ``super().__init__()``." msgstr "" -#: ../NEWS:2225 +#: ../NEWS:2482 msgid "" ":gh:`144774`: Fix data race in :class:`BaseException` when an exception is " "copied while being mutated." msgstr "" -#: ../NEWS:2228 +#: ../NEWS:2485 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:2232 +#: ../NEWS:2489 msgid "" ":gh:`149689`: Fix missing error propagation in parser action helpers when " "memory allocation fails. Patch by Thomas Kowalski." msgstr "" -#: ../NEWS:2235 +#: ../NEWS:2492 msgid "" ":gh:`149162`: Fix a potential deadlock " "in :c:func:`PyUnicode_InternFromString` and other interning functions in " @@ -3940,37 +4359,37 @@ msgid "" "initializers." msgstr "" -#: ../NEWS:2243 +#: ../NEWS:2500 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:2247 +#: ../NEWS:2504 msgid "" ":gh:`155063`: Bump the version of pip bundled in ensurepip to version 26.2.1" msgstr "" -#: ../NEWS:2249 +#: ../NEWS:2506 msgid "" ":gh:`155063`: Bump the version of pip bundled in ensurepip to version 26.2" msgstr "" -#: ../NEWS:2251 +#: ../NEWS:2508 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:2254 +#: ../NEWS:2511 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:2258 +#: ../NEWS:2515 msgid "" ":gh:`154848`: The :mod:`pickle` C accelerator now enforces frame boundaries " "when unpickling, as the pure Python implementation already did. An argument " @@ -3980,21 +4399,21 @@ msgid "" "diverging from the :mod:`pickletools` disassembly of the same pickle." msgstr "" -#: ../NEWS:2266 +#: ../NEWS:2523 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:2270 +#: ../NEWS:2527 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:2274 +#: ../NEWS:2531 msgid "" ":gh:`154738`: Fix :meth:`!ExternalEntityParserCreate` not propagating the " "reparse-deferral setting to the subparser, which left :meth:`!" @@ -4002,7 +4421,7 @@ msgid "" "tonghuaroot." msgstr "" -#: ../NEWS:2279 +#: ../NEWS:2536 msgid "" ":gh:`93251`: Fix :exc:`UnicodeDecodeError` in :mod:`socket` functions (such " "as :func:`~socket.getaddrinfo` and :func:`~socket.gethostbyaddr`) when the " @@ -4010,20 +4429,20 @@ msgid "" "locale encoding." msgstr "" -#: ../NEWS:2284 +#: ../NEWS:2541 msgid "" ":gh:`154551`: Fix :func:`ctypes.util.find_library` returning ``None`` in non-" "UTF-8 locales." msgstr "" -#: ../NEWS:2287 +#: ../NEWS:2544 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:2291 +#: ../NEWS:2548 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 " @@ -4032,67 +4451,67 @@ msgid "" "is only aliased to ``::1``." msgstr "" -#: ../NEWS:2297 +#: ../NEWS:2554 msgid "" ":gh:`154460`: Fix :func:`time.strftime` " "and :meth:`datetime.datetime.strftime` returning a wrong ISO 8601 week " "number (``%V``) on OpenBSD." msgstr "" -#: ../NEWS:2301 +#: ../NEWS:2558 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:2305 +#: ../NEWS:2562 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:2308 +#: ../NEWS:2565 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:2311 +#: ../NEWS:2568 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:2315 +#: ../NEWS:2572 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:2319 +#: ../NEWS:2576 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:2323 +#: ../NEWS:2580 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:2326 +#: ../NEWS:2583 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:2330 +#: ../NEWS:2587 msgid "" ":gh:`131565`: :func:`ctypes.util.dllist` now works on NetBSD. It is " "implemented in the :mod:`!_ctypes` extension module so that " @@ -4101,20 +4520,20 @@ msgid "" "called through ctypes." msgstr "" -#: ../NEWS:2336 +#: ../NEWS:2593 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:2340 +#: ../NEWS:2597 msgid "" ":gh:`154227`: Fix :func:`os.posix_openpt` on OpenBSD, where it rejected " "the :data:`~os.O_CLOEXEC` flag." msgstr "" -#: ../NEWS:2343 +#: ../NEWS:2600 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 " @@ -4122,23 +4541,23 @@ msgid "" "transport." msgstr "" -#: ../NEWS:2348 +#: ../NEWS:2605 msgid "" ":gh:`154001`: Fix :func:`random.binomialvariate` " "raising :exc:`ZeroDivisionError` when :func:`random.random` returns zero." msgstr "" -#: ../NEWS:2351 +#: ../NEWS:2608 msgid "" ":gh:`153908`: Fix data race when calling :func:`repr` " "on :class:`itertools.count` under the :term:`free-threaded build`." msgstr "" -#: ../NEWS:2354 +#: ../NEWS:2611 msgid ":gh:`153896`: Deduplicate unhashable args in :data:`typing.Literal`." msgstr "" -#: ../NEWS:2356 +#: ../NEWS:2613 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 " @@ -4146,7 +4565,7 @@ msgid "" "code point." msgstr "" -#: ../NEWS:2361 +#: ../NEWS:2618 msgid "" ":gh:`153862`: On a wide :mod:`curses` build, :meth:`curses.window.inch` now " "returns the locale-encoded byte of a non-ASCII character, " @@ -4154,27 +4573,27 @@ msgid "" "point." msgstr "" -#: ../NEWS:2365 +#: ../NEWS:2622 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:2369 +#: ../NEWS:2626 msgid "" ":gh:`153761`: Fix cancelling :meth:`asyncio.loop.sock_accept` dropping a " "pending connection." msgstr "" -#: ../NEWS:2372 +#: ../NEWS:2629 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:2376 +#: ../NEWS:2633 msgid "" ":gh:`127049`: Fix a race condition in :mod:`asyncio` on Unix " "where :meth:`asyncio.subprocess.Process.send_signal`, :meth:`~asyncio.subprocess.Process.terminate` " @@ -4183,14 +4602,14 @@ msgid "" "ThreadedChildWatcher is used. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:2383 +#: ../NEWS:2640 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:2387 +#: ../NEWS:2644 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 " @@ -4198,7 +4617,7 @@ msgid "" "longer mixes :class:`str` and :class:`bytes` keys." msgstr "" -#: ../NEWS:2392 +#: ../NEWS:2649 msgid "" ":gh:`153404`: :class:`urllib.robotparser.RobotFileParser` now silently " "ignores a ``Crawl-delay`` or ``Request-rate`` value written with non-decimal " @@ -4207,33 +4626,33 @@ msgid "" "file." msgstr "" -#: ../NEWS:2397 +#: ../NEWS:2654 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:2401 +#: ../NEWS:2658 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:2405 +#: ../NEWS:2662 msgid "" ":gh:`153083`: Defer GC tracking of an :class:`array.array` to the end of its " "construction. Patch by Donghee Na." msgstr "" -#: ../NEWS:2408 +#: ../NEWS:2665 msgid "" ":gh:`153292`: Fix data race in repr of :class:`threading.RLock` in free-" "threading build." msgstr "" -#: ../NEWS:2411 +#: ../NEWS:2668 msgid "" ":gh:`143990`: A :class:`tkinter.font.Font` created from a named font, " "including by :meth:`~tkinter.font.Font.copy`, now copies its configured " @@ -4241,37 +4660,37 @@ msgid "" "preserving a size specified in pixels (a negative size)." msgstr "" -#: ../NEWS:2416 +#: ../NEWS:2673 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:2420 +#: ../NEWS:2677 msgid ":gh:`153210`: Fix crash on :mod:`array` import under a memory pressure." msgstr "" -#: ../NEWS:2422 +#: ../NEWS:2679 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:2426 +#: ../NEWS:2683 msgid "" ":gh:`153068`: Fix :meth:`!cProfile.Profile.enable` to no longer overwrite " "errors from :mod:`sys.monitoring`." msgstr "" -#: ../NEWS:2429 +#: ../NEWS:2686 msgid "" ":gh:`153062`: Fix a crash when concurrently iterating " "an :func:`itertools.tee` iterator on the free-threaded build." msgstr "" -#: ../NEWS:2432 +#: ../NEWS:2689 msgid "" ":gh:`153056`: Fix :class:`string.Template` raising a " "spurious :exc:`ValueError` when the *pattern* attribute is a compiled " @@ -4279,27 +4698,27 @@ msgid "" "threaded build this also occurred as a data race on the first concurrent use." msgstr "" -#: ../NEWS:2437 +#: ../NEWS:2694 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:2441 +#: ../NEWS:2698 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:2445 +#: ../NEWS:2702 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:2448 +#: ../NEWS:2705 msgid "" ":gh:`54930`: Error responses of :class:`http.server.BaseHTTPRequestHandler` " "to malformed request lines now include a status line and headers instead of " @@ -4307,7 +4726,7 @@ msgid "" "word ``GET`` request line) now receives an HTTP/0.9 style response." msgstr "" -#: ../NEWS:2453 +#: ../NEWS:2710 msgid "" ":gh:`119592`: Fix :class:`concurrent.futures.ProcessPoolExecutor` stranding " "submitted work forever when a worker process exited upon reaching its " @@ -4322,33 +4741,33 @@ msgid "" "crash the executor management thread." msgstr "" -#: ../NEWS:2465 +#: ../NEWS:2722 msgid "" ":gh:`152951`: :class:`collections.deque` prevent rare crash when calling " "``extend`` under high memory pressure conditions." msgstr "" -#: ../NEWS:2468 +#: ../NEWS:2725 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:2472 +#: ../NEWS:2729 msgid "" ":gh:`152849`: Out-of-range float and integer timestamps now " "raise :exc:`OverflowError` with the same message. Patch by tonghuaroot." msgstr "" -#: ../NEWS:2475 +#: ../NEWS:2732 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:2479 +#: ../NEWS:2736 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) " @@ -4356,7 +4775,7 @@ msgid "" "``imaplib.IMAP4.error: None``." msgstr "" -#: ../NEWS:2484 +#: ../NEWS:2741 msgid "" ":gh:`63121`: :mod:`imaplib` now refreshes the cached capability list after a " "successful :meth:`~imaplib.IMAP4.login` " @@ -4367,7 +4786,7 @@ msgid "" "greeting are now also used, avoiding a redundant ``CAPABILITY`` command." msgstr "" -#: ../NEWS:2493 +#: ../NEWS:2750 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 " @@ -4375,7 +4794,7 @@ msgid "" "Such blank lines are now skipped without swallowing the following line." msgstr "" -#: ../NEWS:2498 +#: ../NEWS:2755 msgid "" ":gh:`152502`: Detect the :mod:`curses` mouse interface " "(:func:`~curses.getmouse`, the ``BUTTON*`` constants, and others) with a " @@ -4385,13 +4804,13 @@ msgid "" "``windows-curses``)." msgstr "" -#: ../NEWS:2505 +#: ../NEWS:2762 msgid "" ":gh:`151842`: Fix a crash in :func:`!_interpreters.capture_exception` " "when :exc:`MemoryError` happens. Patch by Amrutha Modela." msgstr "" -#: ../NEWS:2508 +#: ../NEWS:2765 msgid "" ":gh:`40038`: :mod:`imaplib` now again quotes command arguments when " "necessary, for example mailbox names containing a space. Such quoting was " @@ -4401,7 +4820,7 @@ msgid "" "unchanged, so code that quotes arguments itself keeps working." msgstr "" -#: ../NEWS:2515 +#: ../NEWS:2772 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 " @@ -4409,7 +4828,7 @@ msgid "" "previously crash the interpreter." msgstr "" -#: ../NEWS:2520 +#: ../NEWS:2777 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 " @@ -4417,7 +4836,7 @@ msgid "" "returns, even for pending futures." msgstr "" -#: ../NEWS:2525 +#: ../NEWS:2782 msgid "" ":gh:`78335`: Update the docstrings of :mod:`tkinter` and :mod:`tkinter.ttk` " "widget classes to list all supported widget options, including options added " @@ -4425,26 +4844,26 @@ msgid "" "previously had no option list at all." msgstr "" -#: ../NEWS:2530 +#: ../NEWS:2787 msgid "" ":gh:`152431`: Fix ``asyncio.StreamWriter.start_tls()`` to keep the linked " "``StreamReader`` transport in sync with the upgraded transport." msgstr "" -#: ../NEWS:2533 +#: ../NEWS:2790 msgid "" ":gh:`151126`: Fix two crashes in :mod:`tkinter` and :mod:`socket` modules " "initialization under a memory pressure. Sets missing :exc:`MemoryError`." msgstr "" -#: ../NEWS:2536 +#: ../NEWS:2793 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:2540 +#: ../NEWS:2797 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 " @@ -4453,7 +4872,7 @@ msgid "" "which keeps the cursor in place." msgstr "" -#: ../NEWS:2546 +#: ../NEWS:2803 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 " @@ -4461,14 +4880,14 @@ msgid "" "reported." msgstr "" -#: ../NEWS:2551 +#: ../NEWS:2808 msgid "" ":gh:`152305`: Fix the pure-Python :meth:`datetime.time.strftime` " "implementation raising :exc:`AttributeError` for the year directives. Patch " "by tonghuaroot." msgstr "" -#: ../NEWS:2555 +#: ../NEWS:2812 msgid "" ":gh:`88758`: :meth:`!tkinter.Misc.focus_get`, :meth:`!" "focus_displayof`, :meth:`!focus_lastfor` and :meth:`!winfo_containing` now " @@ -4476,21 +4895,21 @@ msgid "" "created by :mod:`tkinter` (for example a torn-off menu)." msgstr "" -#: ../NEWS:2560 +#: ../NEWS:2817 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:2564 +#: ../NEWS:2821 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:2569 +#: ../NEWS:2826 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 " @@ -4498,14 +4917,14 @@ msgid "" "reference cycle." msgstr "" -#: ../NEWS:2574 +#: ../NEWS:2831 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:2578 +#: ../NEWS:2835 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 " @@ -4513,7 +4932,7 @@ msgid "" "callbacks now keep running until input is actually available on stdin." msgstr "" -#: ../NEWS:2584 +#: ../NEWS:2841 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:`!" @@ -4522,7 +4941,7 @@ msgid "" "is available. Based on a patch by Michiel de Hoon." msgstr "" -#: ../NEWS:2590 +#: ../NEWS:2847 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 " @@ -4530,13 +4949,13 @@ msgid "" "tonghuaroot." msgstr "" -#: ../NEWS:2595 +#: ../NEWS:2852 msgid "" ":gh:`152156`: Fix a possible crash in :func:`concurrent.interpreters.create` " "under limited memory conditions." msgstr "" -#: ../NEWS:2598 +#: ../NEWS:2855 msgid "" ":gh:`152157`: The C implementations " "of :meth:`~datetime.datetime.fromisoformat` " @@ -4544,32 +4963,32 @@ msgid "" "is not followed by any fractional digit before a timezone designator." msgstr "" -#: ../NEWS:2603 +#: ../NEWS:2860 msgid "" ":gh:`151763`: Fix crash in :func:`!_interpqueues.create` " "whe :exc:`MemoryError` happens on queue creation." msgstr "" -#: ../NEWS:2606 +#: ../NEWS:2863 msgid "" ":gh:`105895`: Add :keyword:`match` and :keyword:`case` to the list of " "supported topics by :func:`help`." msgstr "" -#: ../NEWS:2609 +#: ../NEWS:2866 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:2613 +#: ../NEWS:2870 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:2616 +#: ../NEWS:2873 msgid "" ":gh:`152060`: Fix :meth:`datetime.datetime.fromisoformat` " "raising :exc:`AssertionError` instead of :exc:`ValueError` for some " @@ -4577,40 +4996,40 @@ msgid "" "implementation." msgstr "" -#: ../NEWS:2620 +#: ../NEWS:2877 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:2624 +#: ../NEWS:2881 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:2629 +#: ../NEWS:2886 msgid "" ":gh:`151814`: Fix unbounded memory growth in :class:`io.TextIOWrapper` when " "repeatedly writing an empty string." msgstr "" -#: ../NEWS:2632 +#: ../NEWS:2889 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:2636 +#: ../NEWS:2893 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:2639 +#: ../NEWS:2896 msgid "" ":gh:`151695`: Fix a use-after-free in the :mod:`curses` module. The " "encoding of the initial screen, used by :func:`curses.unctrl` " @@ -4619,27 +5038,27 @@ msgid "" "deallocated." msgstr "" -#: ../NEWS:2645 +#: ../NEWS:2902 msgid "" ":gh:`151596`: Add missing ``size`` positional argument to the pure-Python " "implementation of :meth:`io.TextIOBase.readline`." msgstr "" -#: ../NEWS:2648 +#: ../NEWS:2905 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:2652 +#: ../NEWS:2909 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:2656 +#: ../NEWS:2913 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 " @@ -4648,7 +5067,7 @@ msgid "" "longer trigger memory exhaustion." msgstr "" -#: ../NEWS:2662 +#: ../NEWS:2919 msgid "" ":gh:`151403`: Fixed a crash in :class:`subprocess.Popen` (and " "``_posixsubprocess.fork_exec``) when an ``argv`` " @@ -4656,19 +5075,19 @@ msgid "" "sequence being converted." msgstr "" -#: ../NEWS:2667 +#: ../NEWS:2924 msgid "" ":gh:`151390`: Colorize ``match`` in the :term:`REPL` when followed by a " "unary ``+`` or ``-`` operator. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:2670 +#: ../NEWS:2927 msgid "" ":gh:`151126`: Fix crash on unset :exc:`MemoryError` on allocation failure " "in :func:`ctypes.get_errno`." msgstr "" -#: ../NEWS:2673 +#: ../NEWS:2930 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* " @@ -4677,17 +5096,17 @@ msgid "" "embedded null, are no longer replaced with a generic :exc:`TypeError`." msgstr "" -#: ../NEWS:2679 +#: ../NEWS:2936 msgid ":gh:`151337`: Avoid possible memory leak in ``tkinter.c`` on Windows." msgstr "" -#: ../NEWS:2681 +#: ../NEWS:2938 msgid "" ":gh:`151126`: Fix a crash when :exc:`MemoryError` in :func:`!" "os._path_splitroot` was not set properly." msgstr "" -#: ../NEWS:2689 +#: ../NEWS:2946 msgid "" ":gh:`119710`: Fix :mod:`asyncio` " "subprocess :meth:`~asyncio.subprocess.Process.wait` hanging when the process " @@ -4696,7 +5115,7 @@ msgid "" "process exits, regardless of the pipes' state." msgstr "" -#: ../NEWS:2695 +#: ../NEWS:2952 msgid "" ":gh:`151295`: Fixed a crash (use-after-free) in :meth:`bytes.join` " "and :meth:`bytearray.join` that could occur if an " @@ -4704,51 +5123,51 @@ msgid "" "joined. The mutation is now reported as a :exc:`RuntimeError` instead." msgstr "" -#: ../NEWS:2700 +#: ../NEWS:2957 msgid "" ":gh:`109940`: Fix Windows :mod:`venv` activation in ``cmd.exe`` to respect " "``VIRTUAL_ENV_DISABLE_PROMPT``." msgstr "" -#: ../NEWS:2703 +#: ../NEWS:2960 msgid "" ":gh:`117807`: Fix :mod:`mimetypes` initialization from MIME map files " "containing invalid UTF-8 bytes." msgstr "" -#: ../NEWS:2706 +#: ../NEWS:2963 msgid "" ":gh:`150583`: Correctly set the default compression level " "in :mod:`compression.zstd` when passing a digested dictionary during " "compression." msgstr "" -#: ../NEWS:2710 +#: ../NEWS:2967 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:2714 +#: ../NEWS:2971 msgid "" ":gh:`150484`: Fix :func:`unittest.mock.mock_open` ``__exit__`` raising " "``TypeError`` when used with :class:`contextlib.ExitStack`." msgstr "" -#: ../NEWS:2717 +#: ../NEWS:2974 msgid "" ":gh:`149816`: Fix a potential use after free condition " "in :func:`pickle.dumps` in free-threaded mode when serializing lists." msgstr "" -#: ../NEWS:2720 +#: ../NEWS:2977 msgid "" ":gh:`149319`: The :mod:`asyncio` REPL now ignores :envvar:`PYTHONSTARTUP` " "and :envvar:`PYTHON_BASIC_REPL` when :option:`-E` or :option:`-I` is used. " "Patch by Jonathan Dung." msgstr "" -#: ../NEWS:2724 +#: ../NEWS:2981 msgid "" ":gh:`47005`: Fix :meth:`!urllib.request.AbstractHTTPHandler.do_open` to give " "regular headers set via :meth:`~urllib.request.Request.add_header` priority " @@ -4757,13 +5176,13 @@ msgid "" "and :meth:`~urllib.request.Request.header_items`." msgstr "" -#: ../NEWS:2730 +#: ../NEWS:2987 msgid "" ":gh:`123471`: Make concurrent iteration over :class:`itertools.zip_longest` " "safe under free-threading." msgstr "" -#: ../NEWS:2733 +#: ../NEWS:2990 msgid "" ":gh:`123720`: asyncio: Fix :func:`asyncio.Server.serve_forever` shutdown " "regression. Since 3.12, cancelling ``serve_forever()`` could hang waiting " @@ -4773,33 +5192,33 @@ msgid "" "observe EOF." msgstr "" -#: ../NEWS:2740 +#: ../NEWS:2997 msgid "" ":gh:`123471`: Make concurrent iteration over :class:`itertools.accumulate` " "safe under free-threading." msgstr "" -#: ../NEWS:2743 +#: ../NEWS:3000 msgid "" ":gh:`123471`: Make concurrent iteration " "over :class:`itertools.combinations_with_replacement` " "and :class:`itertools.permutations` safe under free-threading." msgstr "" -#: ../NEWS:2747 +#: ../NEWS:3004 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:2751 +#: ../NEWS:3008 msgid "" ":gh:`130796`: Undeprecate the :func:`locale.getdefaultlocale` function. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:2754 +#: ../NEWS:3011 msgid "" ":gh:`115634`: Fix a deadlock " "in :class:`concurrent.futures.ProcessPoolExecutor` when using " @@ -4809,59 +5228,59 @@ msgid "" "Mohammed." msgstr "" -#: ../NEWS:2761 +#: ../NEWS:3018 msgid "" ":gh:`140326`: Fix the :mod:`asyncio` REPL namespace so that relative imports " "no longer resolve against the :mod:`asyncio` package and ``__file__`` is no " "longer set." msgstr "" -#: ../NEWS:2765 +#: ../NEWS:3022 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:2768 +#: ../NEWS:3025 msgid "" ":gh:`123471`: Make concurrent iterations over :class:`itertools.chain` safe " "under :term:`free threading`." msgstr "" -#: ../NEWS:2771 +#: ../NEWS:3028 msgid "" ":gh:`123471`: Make concurrent iterations " "over :class:`itertools.combinations` and :class:`itertools.product` safe " "under free-threading." msgstr "" -#: ../NEWS:2774 +#: ../NEWS:3031 msgid "" ":gh:`123471`: Make concurrent iterations over :class:`itertools.cycle` safe " "under free-threading." msgstr "" -#: ../NEWS:2777 +#: ../NEWS:3034 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:2781 +#: ../NEWS:3038 msgid "" ":gh:`105708`: Accept an uppercase V prefix in IPvFuture addresses " "in :func:`urllib.parse.urlsplit`." msgstr "" -#: ../NEWS:2784 +#: ../NEWS:3041 msgid "" ":gh:`103925`: Fix :meth:`csv.Sniffer.sniff` for a sample with ``\\r\\n`` " "line endings in which a quoted field ends a line: a letter could be detected " "as the delimiter." msgstr "" -#: ../NEWS:2788 +#: ../NEWS:3045 msgid "" ":gh:`101267`: When a worker process terminates " "unexpectedly, :class:`concurrent.futures.ProcessPoolExecutor` now sets a " @@ -4872,13 +5291,13 @@ msgid "" "raised the same object, appending another copy of the traceback to it." msgstr "" -#: ../NEWS:2799 +#: ../NEWS:3056 msgid "" ":gh:`118150`: Clarify in the :mod:`difflib` documentation what *junk* " "actually does, its drawbacks, and how to control it." msgstr "" -#: ../NEWS:2802 +#: ../NEWS:3059 msgid "" ":gh:`86726`: Greatly expand the :mod:`tkinter` documentation to cover the " "full public API of the package and its submodules. The descriptions are " @@ -4886,43 +5305,43 @@ msgid "" "``versionadded``/``versionchanged`` information." msgstr "" -#: ../NEWS:2810 +#: ../NEWS:3067 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:2814 +#: ../NEWS:3071 msgid ":gh:`76595`: Add C API tests for :c:func:`PyCapsule_Import`." msgstr "" -#: ../NEWS:2816 +#: ../NEWS:3073 msgid "" ":gh:`154211`: Add ``test.support.skip_if_huge_c_stack()`` and use it to skip " "tests that exhaust the C stack if the stack limit is very large (e.g. on " "DragonFly BSD or with ``ulimit -s unlimited``)." msgstr "" -#: ../NEWS:2820 +#: ../NEWS:3077 msgid "" ":gh:`154167`: The test runner (regrtest) now restores the default SIGINT " "handler if it was inherited as ignored, so the test suite no longer hangs " "when run as a shell background job." msgstr "" -#: ../NEWS:2824 +#: ../NEWS:3081 msgid ":gh:`154144`: Fix building the :mod:`!_testcapi` module on NetBSD." msgstr "" -#: ../NEWS:2826 +#: ../NEWS:3083 msgid "" ":gh:`152548`: Add the :func:`test.support.isolation.runInSubprocess` " "decorator to run a test method or ``TestCase`` subclass in a fresh " "interpreter subprocess, isolated from the rest of the test run." msgstr "" -#: ../NEWS:2830 +#: ../NEWS:3087 msgid "" ":gh:`151626`: Fix several tests in ``test.test_inspect``, " "``test.test_import``, ``test.test_importlib``, ``test.test_py_compile`` and " @@ -4931,19 +5350,19 @@ msgid "" "pycache prefix where they assume the default ``__pycache__`` bytecode layout." msgstr "" -#: ../NEWS:2836 +#: ../NEWS:3093 msgid "" ":gh:`151096`: Fix ``test_embed`` failing when CPython is configured with a " "split exec prefix (``--exec-prefix`` differing from ``--prefix``)." msgstr "" -#: ../NEWS:2839 +#: ../NEWS:3096 msgid "" ":gh:`148853`: Fix tests failing on FreeBSD in test.support's " "in_systemd_nspawn_sync_suppressed() due to unreadable /run directory." msgstr "" -#: ../NEWS:2845 +#: ../NEWS:3102 msgid "" ":gh:`154070`: Build the :mod:`curses` module against a wide-character " "capable ncurses even when it is not named ``ncursesw`` -- for example the " @@ -4951,19 +5370,19 @@ msgid "" "a library previously produced a narrow build." msgstr "" -#: ../NEWS:2850 +#: ../NEWS:3107 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:2853 +#: ../NEWS:3110 msgid "" ":gh:`153438`: Update Windows build and installer tooling and documentation " "to use the current download URL for ``nuget.exe``." msgstr "" -#: ../NEWS:2856 +#: ../NEWS:3113 msgid "" ":gh:`152502`: The :mod:`curses` module now detects ``set_escdelay()``, " "``set_tabsize()`` and the ``ESCDELAY`` and ``TABSIZE`` variables " @@ -4972,28 +5391,28 @@ msgid "" "curses implementations such as NetBSD curses that provide them." msgstr "" -#: ../NEWS:2862 +#: ../NEWS:3119 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:2866 +#: ../NEWS:3123 msgid ":gh:`138800`: Fix library name in python3.pc on Android." msgstr "" -#: ../NEWS:2871 +#: ../NEWS:3128 msgid ":gh:`124111`: Updated Windows builds to use Tcl/Tk 9.0.4." msgstr "" -#: ../NEWS:2873 +#: ../NEWS:3130 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:2876 +#: ../NEWS:3133 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 " @@ -5001,80 +5420,80 @@ msgid "" "cpython test suite." msgstr "" -#: ../NEWS:2884 +#: ../NEWS:3141 msgid "" ":gh:`153711`: On macOS, do not attempt to use the :manpage:`dup3(2)` " "and :manpage:`pipe2(2)` system calls introduced in macOS 27 to prevent " "problems when running on older systems." msgstr "" -#: ../NEWS:2888 +#: ../NEWS:3145 msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 9.0.4." msgstr "" -#: ../NEWS:2893 +#: ../NEWS:3150 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:2897 +#: ../NEWS:3154 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:2901 +#: ../NEWS:3158 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:2905 +#: ../NEWS:3162 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:2909 +#: ../NEWS:3166 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:2913 +#: ../NEWS:3170 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:2917 +#: ../NEWS:3174 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:2921 +#: ../NEWS:3178 msgid "" ":gh:`152728`: Move functions run.fix_scaling, editor.fixwordbreaks (as " "fix_word_breaks) and pyshell.fix_x11_paste to idlelib.util." msgstr "" -#: ../NEWS:2924 +#: ../NEWS:3181 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:2928 +#: ../NEWS:3185 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-" @@ -5082,97 +5501,97 @@ msgid "" "files portable between environments." msgstr "" -#: ../NEWS:2933 +#: ../NEWS:3190 msgid "" ":gh:`94523`: Detect file if modified at local disk and prompt to ask " "refresh. Patch by Shixian Li." msgstr "" -#: ../NEWS:2936 +#: ../NEWS:3193 msgid ":gh:`139551`: Support rendering :exc:`BaseExceptionGroup` in IDLE." msgstr "" -#: ../NEWS:2938 +#: ../NEWS:3195 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:2945 +#: ../NEWS:3202 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:2948 +#: ../NEWS:3205 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:2952 +#: ../NEWS:3209 msgid "" ":gh:`154580`: Fix ``python-gdb.py`` raising :exc:`UnicodeEncodeError` when " "pretty-printing a non-ASCII :class:`str` in a locale whose host charset " "cannot encode it, such as any non-ASCII string in the C locale." msgstr "" -#: ../NEWS:2959 +#: ../NEWS:3216 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:2963 +#: ../NEWS:3220 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:2967 +#: ../NEWS:3224 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:2973 +#: ../NEWS:3230 msgid "Python 3.14.6 final" msgstr "" -#: ../NEWS:2975 +#: ../NEWS:3232 msgid "*Release date: 2026-06-10*" msgstr "" -#: ../NEWS:2980 +#: ../NEWS:3237 msgid ":gh:`151159`: Update Android and iOS installers to use OpenSSL 3.5.7." msgstr "" -#: ../NEWS:2982 +#: ../NEWS:3239 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:2986 +#: ../NEWS:3243 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:2990 +#: ../NEWS:3247 msgid "" ":gh:`149698`: Update bundled `libexpat `_ to " "version 2.8.1 for the fix for :cve:`2026-45186`." msgstr "" -#: ../NEWS:2993 +#: ../NEWS:3250 msgid "" ":gh:`87451`: The :mod:`ftplib` module's undocumented ``ftpcp`` function no " "longer trusts the IPv4 address value returned from the source server in " @@ -5183,7 +5602,7 @@ msgid "" "Aurascape AI for the report." msgstr "" -#: ../NEWS:3001 +#: ../NEWS:3258 msgid "" ":gh:`149486`: :func:`tarfile.data_filter` now validates link targets using " "the same normalised value that is written to disk, strips trailing " @@ -5193,7 +5612,7 @@ msgid "" "filter." msgstr "" -#: ../NEWS:3008 +#: ../NEWS:3265 msgid "" ":gh:`149079`: Fix a potential denial of service " "in :func:`unicodedata.normalize`. The canonical ordering step of Unicode " @@ -5203,34 +5622,34 @@ msgid "" "counting sort for long runs." msgstr "" -#: ../NEWS:3015 +#: ../NEWS:3272 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:3022 +#: ../NEWS:3279 msgid "" ":gh:`151112`: Fix a crash in the compiler that could occur when running out " "of memory." msgstr "" -#: ../NEWS:3025 +#: ../NEWS:3282 msgid "" ":gh:`151126`: Fix a crash, when there's no memory left on a device, which " "happened in:" msgstr "" -#: ../NEWS:3028 +#: ../NEWS:3285 msgid "code compilation - :func:`!_winapi.CreateProcess`" msgstr "" -#: ../NEWS:3030 +#: ../NEWS:3287 msgid "Now these places raise proper :exc:`MemoryError` errors." msgstr "" -#: ../NEWS:3032 +#: ../NEWS:3289 msgid "" ":gh:`150700`: Fix a :exc:`SystemError` when compiling a class-scope " "comprehension containing a ``lambda`` that references ``__class__``, " @@ -5238,28 +5657,28 @@ msgid "" "Sławecki." msgstr "" -#: ../NEWS:3037 +#: ../NEWS:3294 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:3041 +#: ../NEWS:3298 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:3045 +#: ../NEWS:3302 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:3049 +#: ../NEWS:3306 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 " @@ -5267,122 +5686,122 @@ msgid "" "handler." msgstr "" -#: ../NEWS:3054 +#: ../NEWS:3311 msgid "" ":gh:`150207`: Fix a crash when a memory allocation fails during tokenizer " "initialization. A proper :exc:`MemoryError` is now raised instead." msgstr "" -#: ../NEWS:3057 +#: ../NEWS:3314 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:3061 +#: ../NEWS:3318 msgid ":gh:`150146`: Fix a crash on a complex type variable substitution." msgstr "" -#: ../NEWS:3063 +#: ../NEWS:3320 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:3067 +#: ../NEWS:3324 msgid ":gh:`149590`: Fix crash when faulthandler is imported more than once." msgstr "" -#: ../NEWS:3069 +#: ../NEWS:3326 msgid "" ":gh:`149816`: Fix a race condition in ``_PyBytes_FromList`` in free-" "threading mode." msgstr "" -#: ../NEWS:3072 +#: ../NEWS:3329 msgid "" ":gh:`149816`: Fix a race condition in :class:`memoryview` with free-" "threading." msgstr "" -#: ../NEWS:3075 +#: ../NEWS:3332 msgid "" ":gh:`149805`: Fix a :exc:`SystemError` when compiling a compiling " "``__classdict__`` class annotation. Found by OSS-Fuzz in :oss-" "fuzz:`512907042`." msgstr "" -#: ../NEWS:3079 +#: ../NEWS:3336 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:3082 +#: ../NEWS:3339 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:3085 +#: ../NEWS:3342 msgid "" ":gh:`148450`: Fix ``abc.register()`` so it invalidates type version tags for " "registered classes." msgstr "" -#: ../NEWS:3091 +#: ../NEWS:3348 msgid "" ":gh:`151039`: Fix a crash when static :mod:`datetime` types outlive the " "``_datetime`` module." msgstr "" -#: ../NEWS:3094 +#: ../NEWS:3351 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:3101 +#: ../NEWS:3358 msgid "" ":gh:`150750`: Fix a race condition in :meth:`collections.deque.index` with " "free-threading." msgstr "" -#: ../NEWS:3104 +#: ../NEWS:3361 msgid ":gh:`150685`: Update bundled pip to 26.1.2" msgstr "" -#: ../NEWS:3106 +#: ../NEWS:3363 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:3110 +#: ../NEWS:3367 msgid "" ":gh:`150372`: :mod:`readline`: Fix a potential crash during tab completion " "caused by an out-of-memory error during module initialization." msgstr "" -#: ../NEWS:3113 +#: ../NEWS:3370 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:3117 +#: ../NEWS:3374 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:3121 +#: ../NEWS:3378 msgid "" ":gh:`84353`: Preserve non-UTF-8 encoded filenames when appending to " "a :class:`zipfile.ZipFile`. Previously, non-ASCII names stored in a legacy " @@ -5391,54 +5810,54 @@ msgid "" "stored as UTF-8." msgstr "" -#: ../NEWS:3127 +#: ../NEWS:3384 msgid ":gh:`149816`: Fix race condition in :attr:`ssl.SSLContext.sni_callback`" msgstr "" -#: ../NEWS:3129 +#: ../NEWS:3386 msgid ":gh:`149995`: Update various docstrings in :mod:`typing`." msgstr "" -#: ../NEWS:3131 +#: ../NEWS:3388 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:3135 +#: ../NEWS:3392 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:3139 +#: ../NEWS:3396 msgid "" ":gh:`149921`: Fix reference leaks in error paths of the :mod:`!" "_interpchannels` and :mod:`!_interpqueues` extension modules." msgstr "" -#: ../NEWS:3142 +#: ../NEWS:3399 msgid "" ":gh:`149816`: Fix a race condition in ``_random.Random.__init__`` method in " "free-threading mode." msgstr "" -#: ../NEWS:3145 +#: ../NEWS:3402 msgid "" ":gh:`149801`: Add IANA registered names and aliases with leading zeros " "before number (like IBM00858, CP00858, IBM01140, CP01140) for corresponding " "codecs." msgstr "" -#: ../NEWS:3149 +#: ../NEWS:3406 msgid "" ":gh:`149701`: Fix bad return code from Lib/venv/bin/activate if hashing is " "disabled" msgstr "" -#: ../NEWS:3152 +#: ../NEWS:3409 msgid "" ":gh:`112821`: In the REPL, autocompletion might run arbitrary code in the " "getter of a descriptor. If that getter raised an exception, autocompletion " @@ -5446,7 +5865,7 @@ msgid "" "works as expected for these objects." msgstr "" -#: ../NEWS:3157 +#: ../NEWS:3414 msgid "" ":gh:`149489`: Fix :mod:`~xml.etree.ElementTree` serialization to HTML. The " "content of elements \"xmp\", \"iframe\", \"noembed\", \"noframes\", and " @@ -5454,26 +5873,26 @@ msgid "" "the closing tag." msgstr "" -#: ../NEWS:3162 +#: ../NEWS:3419 msgid "" ":gh:`149231`: In :mod:`tomllib`, the number of parts in TOML keys is now " "limited." msgstr "" -#: ../NEWS:3165 +#: ../NEWS:3422 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:3168 +#: ../NEWS:3425 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:3172 +#: ../NEWS:3429 msgid "" ":gh:`148441`: :mod:`xml.parsers.expat`: prevent a crash " "in :meth:`~xml.parsers.expat.xmlparser.CharacterDataHandler` when the " @@ -5481,19 +5900,19 @@ msgid "" "`." msgstr "" -#: ../NEWS:3177 +#: ../NEWS:3434 msgid "" ":gh:`146452`: Fix segfault in :mod:`pickle` when pickling a dictionary " "concurrently mutated by another thread in the free-threaded build." msgstr "" -#: ../NEWS:3180 +#: ../NEWS:3437 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:3183 +#: ../NEWS:3440 msgid "" ":gh:`90949`: " "Add :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` " @@ -5503,13 +5922,13 @@ msgid "" "attacks. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:3192 +#: ../NEWS:3449 msgid "" ":gh:`134261`: zip: On reproducible builds, ZipFile uses UTC instead of the " "local time when writing file datetimes to avoid underflows." msgstr "" -#: ../NEWS:3195 +#: ../NEWS:3452 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 " @@ -5518,85 +5937,85 @@ msgid "" "unstructured headers like *Subject*)." msgstr "" -#: ../NEWS:3201 +#: ../NEWS:3458 msgid "" ":gh:`107398`: Fix :mod:`tarfile` stream mode exception when process the file " "with the gzip extra field." msgstr "" -#: ../NEWS:3204 +#: ../NEWS:3461 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:3208 +#: ../NEWS:3465 msgid "" ":gh:`91099`: :meth:`imaplib.IMAP4.login` now raises exceptions " "with :class:`str` instead of :class:`bytes`. Patch by Florian Best." msgstr "" -#: ../NEWS:3214 +#: ../NEWS:3471 msgid "" ":gh:`150319`: Generic builtin and standard library types now document the " "meaning of their type parameters." msgstr "" -#: ../NEWS:3217 +#: ../NEWS:3474 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:3224 +#: ../NEWS:3481 msgid ":gh:`151130`: Add more tests for ``PyWeakref_*`` C API." msgstr "" -#: ../NEWS:3226 +#: ../NEWS:3483 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:3232 +#: ../NEWS:3489 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:3238 +#: ../NEWS:3495 msgid ":gh:`151159`: Updated bundled version of OpenSSL to 3.5.7." msgstr "" -#: ../NEWS:3243 +#: ../NEWS:3500 msgid ":gh:`151159`: Update macOS installer to use OpenSSL 3.5.7." msgstr "" -#: ../NEWS:3245 +#: ../NEWS:3502 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:3250 +#: ../NEWS:3507 msgid ":gh:`115119`: Update macOS installer to use libmpdecimal 4.0.1." msgstr "" -#: ../NEWS:3255 +#: ../NEWS:3512 msgid ":issue:`6699`: Warn the user if a file will be overwritten when saving." msgstr "" -#: ../NEWS:3260 +#: ../NEWS:3517 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:3264 +#: ../NEWS:3521 msgid "" ":gh:`145235`: " "Made :c:func:`PyDict_AddWatcher`, :c:func:`PyDict_ClearWatcher`, :c:func:`PyDict_Watch`, " @@ -5604,119 +6023,119 @@ msgid "" "threading>` build." msgstr "" -#: ../NEWS:3271 +#: ../NEWS:3528 msgid "Python 3.14.5 final" msgstr "" -#: ../NEWS:3273 +#: ../NEWS:3530 msgid "*Release date: 2026-05-10*" msgstr "" -#: ../NEWS:3278 +#: ../NEWS:3535 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:3285 +#: ../NEWS:3542 msgid ":gh:`146270`: Fix a sequential consistency bug in ``structmember.c``." msgstr "" -#: ../NEWS:3287 +#: ../NEWS:3544 msgid "" ":gh:`137293`: Fix :exc:`SystemError` when searching ELF Files " "in :func:`sys.remote_exec`." msgstr "" -#: ../NEWS:3293 +#: ../NEWS:3550 msgid "" ":gh:`149388`: Make :class:`!asyncio.windows_utils.PipeHandle` closing " "idempotent." msgstr "" -#: ../NEWS:3296 +#: ../NEWS:3553 msgid ":gh:`149377`: Update bundled pip to 26.1.1" msgstr "" -#: ../NEWS:3298 +#: ../NEWS:3555 msgid ":gh:`138907`: Support :rfc:`9309` in :mod:`urllib.robotparser`." msgstr "" -#: ../NEWS:3300 +#: ../NEWS:3557 msgid "" ":gh:`148615`: Fix :mod:`pdb` to accept standard -- end of options separator. " "Reported by haampie. Patched by Shrey Naithani." msgstr "" -#: ../NEWS:3303 +#: ../NEWS:3560 msgid "" ":gh:`130750`: Restore quoting of choices in :mod:`argparse` error messages " "for improved clarity and consistency with documentation." msgstr "" -#: ../NEWS:3306 +#: ../NEWS:3563 msgid "" ":gh:`141449`: Improve tests and documentation for non-function callables " "as :term:`annotate functions `." msgstr "" -#: ../NEWS:3312 +#: ../NEWS:3569 msgid "" ":gh:`149425`: Increase time delta in " "``test.test_zipfile.test_core.OtherTests.test_write_without_source_date_epoch``" msgstr "" -#: ../NEWS:3315 +#: ../NEWS:3572 msgid "" ":gh:`145736`: Fix test_tkinter test_configure_values test case backport miss " "for Tk 9." msgstr "" -#: ../NEWS:3321 +#: ../NEWS:3578 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:3325 +#: ../NEWS:3582 msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 9.0.3." msgstr "" -#: ../NEWS:3329 +#: ../NEWS:3586 msgid "Python 3.14.5 release candidate 1" msgstr "" -#: ../NEWS:3331 +#: ../NEWS:3588 msgid "*Release date: 2026-05-04*" msgstr "" -#: ../NEWS:3336 +#: ../NEWS:3593 msgid ":gh:`149254`: Update Android and iOS installer to use OpenSSL 3.0.20." msgstr "" -#: ../NEWS:3338 +#: ../NEWS:3595 msgid "" ":gh:`149017`: Update bundled `libexpat `_ to " "version 2.8.0." msgstr "" -#: ../NEWS:3341 +#: ../NEWS:3598 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:3345 +#: ../NEWS:3602 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:3349 +#: ../NEWS:3606 msgid "" ":gh:`148395`: Fix a dangling input pointer " "in :class:`lzma.LZMADecompressor`, :class:`bz2.BZ2Decompressor`, and " @@ -5726,13 +6145,13 @@ msgid "" "buffer." msgstr "" -#: ../NEWS:3356 +#: ../NEWS:3613 msgid "" ":gh:`148169`: A bypass in :mod:`webbrowser` allowed URLs prefixed with " "``%action`` to pass the dash-prefix safety check." msgstr "" -#: ../NEWS:3359 +#: ../NEWS:3616 msgid "" ":gh:`146581`: Fix vulnerability in :func:`shutil.unpack_archive` for ZIP " "files on Windows which allowed to write files outside of the destination " @@ -5741,7 +6160,7 @@ msgid "" "\"foo..bar\") are no longer skipped." msgstr "" -#: ../NEWS:3365 +#: ../NEWS:3622 msgid "" ":gh:`146333`: Fix quadratic backtracking " "in :class:`configparser.RawConfigParser` option parsing regexes (``OPTCRE`` " @@ -5749,13 +6168,13 @@ msgid "" "characters could cause excessive CPU usage." msgstr "" -#: ../NEWS:3370 +#: ../NEWS:3627 msgid "" ":gh:`146211`: Reject CR/LF characters in tunnel request headers for the " "HTTPConnection.set_tunnel() method." msgstr "" -#: ../NEWS:3376 +#: ../NEWS:3633 msgid "" ":gh:`149122`: Fix a crash in optimized calls " "to :func:`all`, :func:`any`, :func:`tuple`, :func:`list`, and :func:`set` " @@ -5764,7 +6183,7 @@ msgid "" "crashing." msgstr "" -#: ../NEWS:3381 +#: ../NEWS:3638 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 " @@ -5772,7 +6191,7 @@ msgid "" "immortalize the original." msgstr "" -#: ../NEWS:3386 +#: ../NEWS:3643 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 " @@ -5781,20 +6200,20 @@ msgid "" "error." msgstr "" -#: ../NEWS:3392 +#: ../NEWS:3649 msgid "" ":gh:`148653`: Forbid :mod:`marshalling ` recursive code objects " "and :class:`slice` objects which cannot be correctly unmarshalled." msgstr "" -#: ../NEWS:3395 +#: ../NEWS:3652 msgid "" ":gh:`142516`: Forward-port the generational cycle garbage collector to the " "default 3.14 build, replacing the incremental collector while leaving the " "free-threaded collector unchanged." msgstr "" -#: ../NEWS:3399 +#: ../NEWS:3656 msgid "" ":gh:`148390`: Fix an undefined behavior in :class:`memoryview` when using " "the native boolean format (``?``) in :meth:`~memoryview.cast`. Previously, " @@ -5803,33 +6222,33 @@ msgid "" "*b*. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:3405 +#: ../NEWS:3662 msgid "" ":gh:`148418`: Fix a possible reference leak in a corrupted ``TYPE_CODE`` " "marshal stream." msgstr "" -#: ../NEWS:3408 +#: ../NEWS:3665 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:3412 +#: ../NEWS:3669 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:3416 +#: ../NEWS:3673 msgid "" ":gh:`148037`: Remove critical section from :c:func:`!PyCode_Addr2Line` in " "free-threading." msgstr "" -#: ../NEWS:3419 +#: ../NEWS:3676 msgid "" ":gh:`148222`: Fix vectorcall support in :class:`types.GenericAlias` when the " "underlying type does not support the vectorcall protocol. Fix possible leaks " @@ -5837,55 +6256,55 @@ msgid "" "memory error." msgstr "" -#: ../NEWS:3424 +#: ../NEWS:3681 msgid ":gh:`148208`: Fix recursion depth leak in :c:func:`PyObject_Print`" msgstr "" -#: ../NEWS:3426 +#: ../NEWS:3683 msgid "" ":gh:`137814`: Fix the ``__qualname__`` attribute of ``__annotate__`` " "functions on functions." msgstr "" -#: ../NEWS:3429 +#: ../NEWS:3686 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:3433 +#: ../NEWS:3690 msgid "" ":gh:`146455`: Fix O(N²) compile-time regression in constant folding after it " "was moved from AST to CFG optimizer." msgstr "" -#: ../NEWS:3439 +#: ../NEWS:3696 msgid "" ":gh:`149221`: Catch rare math domain error " "for :func:`random.binomialvariate`." msgstr "" -#: ../NEWS:3442 +#: ../NEWS:3699 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:3446 +#: ../NEWS:3703 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:3449 +#: ../NEWS:3706 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:3453 +#: ../NEWS:3710 msgid "" ":gh:`148914`: Fix memoization of in-band :class:`~pickle.PickleBuffer` in " "the Python implementation of :mod:`pickle`. Previously, identical :class:`!" @@ -5894,14 +6313,14 @@ msgid "" "following references to ``b''`` were unpickled as an empty bytearray object." msgstr "" -#: ../NEWS:3460 +#: ../NEWS:3717 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:3464 +#: ../NEWS:3721 msgid "" ":gh:`148680`: ``ForwardRef`` objects that contain internal names to " "represent known objects now show the ``type_repr`` of the known object " @@ -5909,45 +6328,45 @@ msgid "" "strings." msgstr "" -#: ../NEWS:3468 +#: ../NEWS:3725 msgid "" ":gh:`148801`: :mod:`xml.etree.ElementTree`: Fix a crash " "in :meth:`Element.__deepcopy__ ` on deeply nested trees." msgstr "" -#: ../NEWS:3471 +#: ../NEWS:3728 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:3475 +#: ../NEWS:3732 msgid "" ":gh:`148740`: Fix usage for :mod:`uuid` command-line interface to support a " "custom namespace be provided for uuid3 and uuid5." msgstr "" -#: ../NEWS:3478 +#: ../NEWS:3735 msgid "" ":gh:`148651`: Fix reference leak " "in :class:`compression.zstd.ZstdDecompressor` when an invalid option key is " "passed." msgstr "" -#: ../NEWS:3482 +#: ../NEWS:3739 msgid "" ":gh:`146553`: Fix infinite loop in :func:`typing.get_type_hints` when " "``__wrapped__`` forms a cycle. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:3485 +#: ../NEWS:3742 msgid "" ":gh:`148508`: An intermittent timing error when running SSL tests on iOS has " "been resolved." msgstr "" -#: ../NEWS:3488 +#: ../NEWS:3745 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 " @@ -5956,34 +6375,34 @@ msgid "" "as the result." msgstr "" -#: ../NEWS:3494 +#: ../NEWS:3751 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:3498 +#: ../NEWS:3755 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:3502 +#: ../NEWS:3759 msgid "" ":gh:`148254`: Use singular \"sec\" instead of \"secs\" in :mod:`timeit` " "verbose output for consistency with other time units." msgstr "" -#: ../NEWS:3505 +#: ../NEWS:3762 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:3509 +#: ../NEWS:3766 msgid "" ":gh:`146313`: Fix a deadlock in :mod:`multiprocessing`'s resource tracker " "where the parent process could hang indefinitely in :func:`os.waitpid` " @@ -5991,21 +6410,21 @@ msgid "" "held the resource tracker's pipe open." msgstr "" -#: ../NEWS:3514 +#: ../NEWS:3771 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:3518 +#: ../NEWS:3775 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:3522 +#: ../NEWS:3779 msgid "" ":gh:`105936`: Attempting to mutate non-field attributes " "of :mod:`dataclasses` with both *frozen* and *slots* being ``True`` now " @@ -6015,37 +6434,37 @@ msgid "" "collected." msgstr "" -#: ../NEWS:3528 +#: ../NEWS:3785 msgid "" ":gh:`140287`: The :mod:`asyncio` REPL now handles exceptions when " "executing :envvar:`PYTHONSTARTUP` scripts. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:3531 +#: ../NEWS:3788 msgid "" ":gh:`132631`: Fix \"I/O operation on closed file\" when parsing JSON Lines " "file with :mod:`JSON CLI `." msgstr "" -#: ../NEWS:3534 +#: ../NEWS:3791 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:3537 +#: ../NEWS:3794 msgid "" ":gh:`83281`: :mod:`email`: improve handling trailing garbage in address " "lists to avoid throwing AttributeError in certain edge cases" msgstr "" -#: ../NEWS:3543 +#: ../NEWS:3800 msgid "" ":gh:`148663`: Document that :class:`calendar.IllegalMonthError` is a " "subclass of both :exc:`ValueError` and :exc:`IndexError` since Python 3.12." msgstr "" -#: ../NEWS:3546 +#: ../NEWS:3803 msgid "" ":gh:`146646`: Document " "that :func:`glob.glob`, :func:`glob.iglob`, :meth:`pathlib.Path.glob`, " @@ -6053,19 +6472,19 @@ msgid "" "raised from scanning the filesystem." msgstr "" -#: ../NEWS:3553 +#: ../NEWS:3810 msgid "" ":gh:`149351`: Avoid possible broken macOS framework install names when " "DESTDIR is specified during builds." msgstr "" -#: ../NEWS:3556 +#: ../NEWS:3813 msgid "" ":gh:`146475`: Block Apple Clang from being used to build the JIT as it ships " "without required LLVM tools." msgstr "" -#: ../NEWS:3559 +#: ../NEWS:3816 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 " @@ -6075,36 +6494,36 @@ msgid "" "fprofile-update=atomic`` on i686 anymore. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3566 +#: ../NEWS:3823 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:3573 +#: ../NEWS:3830 msgid ":gh:`149254`: Updated bundled version of OpenSSL to 3.0.20." msgstr "" -#: ../NEWS:3575 +#: ../NEWS:3832 msgid "" ":gh:`146458`: Fix incorrect REPL height and width tracking on console window " "resize on Windows." msgstr "" -#: ../NEWS:3581 +#: ../NEWS:3838 msgid ":gh:`149254`: Update macOS installer to use OpenSSL 3.0.20." msgstr "" -#: ../NEWS:3585 +#: ../NEWS:3842 msgid "Python 3.14.4 final" msgstr "" -#: ../NEWS:3587 +#: ../NEWS:3844 msgid "*Release date: 2026-04-07*" msgstr "" -#: ../NEWS:3592 +#: ../NEWS:3849 msgid "" ":gh:`145986`: :mod:`xml.parsers.expat`: Fixed a crash caused by unbounded C " "recursion when converting deeply nested XML content models " @@ -6112,7 +6531,7 @@ msgid "" "addresses :cve:`2026-4224`." msgstr "" -#: ../NEWS:3597 +#: ../NEWS:3854 msgid "" ":gh:`145599`: Reject control characters " "in :class:`http.cookies.Morsel` :meth:`~http.cookies.Morsel.update` " @@ -6120,47 +6539,47 @@ msgid "" "addresses :cve:`2026-3644`." msgstr "" -#: ../NEWS:3602 +#: ../NEWS:3859 msgid "" ":gh:`145506`: Fixes :cve:`2026-2297` by ensuring that " "``SourcelessFileLoader`` uses :func:`io.open_code` when opening ``.pyc`` " "files." msgstr "" -#: ../NEWS:3606 +#: ../NEWS:3863 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:3610 +#: ../NEWS:3867 msgid "" ":gh:`143930`: Reject leading dashes in URLs passed " "to :func:`webbrowser.open`." msgstr "" -#: ../NEWS:3616 +#: ../NEWS:3873 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:3619 +#: ../NEWS:3876 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:3623 +#: ../NEWS:3880 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:3627 +#: ../NEWS:3884 msgid "" ":gh:`146308`: Fixed several error handling issues in the :mod:`!" "_remote_debugging` module, including safer validation of remote ``int`` " @@ -6169,186 +6588,186 @@ msgid "" "Pablo Galindo." msgstr "" -#: ../NEWS:3633 +#: ../NEWS:3890 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:3637 +#: ../NEWS:3894 msgid "" ":gh:`146250`: Fixed a memory leak in :exc:`SyntaxError` when re-initializing " "it." msgstr "" -#: ../NEWS:3640 +#: ../NEWS:3897 msgid "" ":gh:`146245`: Fixed reference leaks in :mod:`socket` when audit hooks raise " "exceptions in :func:`socket.getaddrinfo` and :meth:`!socket.sendto`." msgstr "" -#: ../NEWS:3643 +#: ../NEWS:3900 msgid "" ":gh:`146196`: Fix potential Undefined Behavior " "in :c:func:`PyUnicodeWriter_WriteASCII` by adding a zero-length check. Patch " "by Shamil Abdulaev." msgstr "" -#: ../NEWS:3647 +#: ../NEWS:3904 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:3651 +#: ../NEWS:3908 msgid "" ":gh:`146056`: Fix :func:`repr` for lists and tuples containing ``NULL``\\ s." msgstr "" -#: ../NEWS:3653 +#: ../NEWS:3910 msgid "" ":gh:`146092`: Handle properly memory allocation failures on str and float " "opcodes. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3656 +#: ../NEWS:3913 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:3660 +#: ../NEWS:3917 msgid "" ":gh:`145990`: ``python --help-env`` sections are now sorted by environment " "variable name." msgstr "" -#: ../NEWS:3663 +#: ../NEWS:3920 msgid "" ":gh:`145990`: ``python --help-xoptions`` is now sorted by ``-X`` option name." msgstr "" -#: ../NEWS:3665 +#: ../NEWS:3922 msgid ":gh:`145376`: Fix GC tracking in ``structseq.__replace__()``." msgstr "" -#: ../NEWS:3667 +#: ../NEWS:3924 msgid "" ":gh:`145792`: Fix out-of-bounds access when invoking faulthandler on a " "CPython build compiled without support for VLAs." msgstr "" -#: ../NEWS:3670 +#: ../NEWS:3927 msgid "" ":gh:`142183`: Avoid a pathological case where repeated calls at a specific " "stack depth could be significantly slower." msgstr "" -#: ../NEWS:3673 +#: ../NEWS:3930 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:3677 +#: ../NEWS:3934 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:3680 +#: ../NEWS:3937 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:3684 +#: ../NEWS:3941 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:3688 +#: ../NEWS:3945 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:3692 +#: ../NEWS:3949 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:3696 +#: ../NEWS:3953 msgid "" ":gh:`145566`: In the free threading build, skip the stop-the-world pause " "when reassigning ``__class__`` on a newly created object." msgstr "" -#: ../NEWS:3699 +#: ../NEWS:3956 msgid "" ":gh:`145335`: Fix a crash in :func:`os.pathconf` when called with ``-1`` as " "the path argument." msgstr "" -#: ../NEWS:3702 +#: ../NEWS:3959 msgid "" ":gh:`145036`: In free-threaded build, fix race condition when " "calling :meth:`!__sizeof__` on a :class:`list`" msgstr "" -#: ../NEWS:3705 +#: ../NEWS:3962 msgid ":gh:`145376`: Fix reference leaks in various unusual error scenarios." msgstr "" -#: ../NEWS:3707 +#: ../NEWS:3964 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:3711 +#: ../NEWS:3968 msgid "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:3713 +#: ../NEWS:3970 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:3717 +#: ../NEWS:3974 msgid "" ":gh:`145187`: Fix compiler assertion fail when a type parameter bound " "contains an invalid expression in a conditional block." msgstr "" -#: ../NEWS:3720 +#: ../NEWS:3977 msgid "" ":gh:`145142`: Fix a crash in the free-threaded build when the dictionary " "argument to :meth:`str.maketrans` is concurrently modified." msgstr "" -#: ../NEWS:3723 +#: ../NEWS:3980 msgid ":gh:`144872`: Fix heap buffer overflow in the parser found by OSS-Fuzz." msgstr "" -#: ../NEWS:3725 +#: ../NEWS:3982 msgid "" ":gh:`144766`: Fix a crash in fork child process when perf support is enabled." msgstr "" -#: ../NEWS:3727 +#: ../NEWS:3984 msgid "" ":gh:`144759`: Fix undefined behavior in the lexer when ``start`` and " "``multi_line_start`` pointers are ``NULL`` in " @@ -6357,7 +6776,7 @@ msgid "" "(``NULL - valid_pointer``) is now guarded with explicit ``NULL`` checks." msgstr "" -#: ../NEWS:3733 +#: ../NEWS:3990 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 " @@ -6365,75 +6784,75 @@ msgid "" "information to be confused. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:3738 +#: ../NEWS:3995 msgid "" ":gh:`144601`: Fix crash when importing a module whose ``PyInit`` function " "raises an exception from a subinterpreter." msgstr "" -#: ../NEWS:3741 +#: ../NEWS:3998 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:3744 +#: ../NEWS:4001 msgid "" ":gh:`144513`: Fix potential deadlock when using critical sections during " "stop-the-world pauses in the free-threaded build." msgstr "" -#: ../NEWS:3747 +#: ../NEWS:4004 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:3750 +#: ../NEWS:4007 msgid "" ":gh:`143636`: Fix a crash when calling :class:`SimpleNamespace.__replace__() " "` on non-namespace instances. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:3754 +#: ../NEWS:4011 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:3757 +#: ../NEWS:4014 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:3761 +#: ../NEWS:4018 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:3764 +#: ../NEWS:4021 msgid "" ":gh:`91636`: While performing garbage collection, clear weakrefs to " "unreachable objects that are created during running of finalizers. If those " "weakrefs were are not cleared, they could reveal unreachable objects." msgstr "" -#: ../NEWS:3769 +#: ../NEWS:4026 msgid "" ":gh:`130327`: Fix erroneous clearing of an object's :attr:`~object.__dict__` " "if overwritten at runtime." msgstr "" -#: ../NEWS:3772 +#: ../NEWS:4029 msgid "" ":gh:`80667`: Literals using the ``\\N{name}`` escape syntax can now " "construct CJK ideographs and Hangul syllables using case-insensitive names." msgstr "" -#: ../NEWS:3778 +#: ../NEWS:4035 msgid "" ":gh:`144503`: Fix a regression introduced in 3.14.3 and 3.13.12 where " "the :mod:`multiprocessing` ``forkserver`` start method would fail " @@ -6443,19 +6862,19 @@ msgid "" "command string, avoiding the operating system's per-argument length limit." msgstr "" -#: ../NEWS:3785 +#: ../NEWS:4042 msgid "" ":gh:`146613`: :mod:`itertools`: Fix a crash in :func:`itertools.groupby` " "when the grouper iterator is concurrently mutated." msgstr "" -#: ../NEWS:3788 +#: ../NEWS:4045 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:3792 +#: ../NEWS:4049 msgid "" ":gh:`146556`: Fix :func:`annotationlib.get_annotations` hanging indefinitely " "when called with ``eval_str=True`` on a callable that has a circular " @@ -6464,52 +6883,52 @@ msgid "" "found so far, mirroring the approach of :func:`inspect.unwrap`." msgstr "" -#: ../NEWS:3798 +#: ../NEWS:4055 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:3802 +#: ../NEWS:4059 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:3806 +#: ../NEWS:4063 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:3810 +#: ../NEWS:4067 msgid "" ":gh:`146310`: The :mod:`ensurepip` module no longer looks for ``pip-*.whl`` " "wheel packages in the current directory." msgstr "" -#: ../NEWS:3813 +#: ../NEWS:4070 msgid "" ":gh:`146083`: Update bundled `libexpat `_ to " "version 2.7.5." msgstr "" -#: ../NEWS:3816 +#: ../NEWS:4073 msgid "" ":gh:`146076`: :mod:`zoneinfo`: fix crashes when deleting ``_weak_cache`` " "from a :class:`zoneinfo.ZoneInfo` subclass." msgstr "" -#: ../NEWS:3819 +#: ../NEWS:4076 msgid "" ":gh:`146054`: Limit the size of :func:`encodings.search_function` cache. " "Found by OSS Fuzz in :oss-fuzz:`493449985`." msgstr "" -#: ../NEWS:3822 +#: ../NEWS:4079 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 " @@ -6523,61 +6942,61 @@ msgid "" "``warn_default_encoding``." msgstr "" -#: ../NEWS:3833 +#: ../NEWS:4090 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:3837 +#: ../NEWS:4094 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:3841 +#: ../NEWS:4098 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:3845 +#: ../NEWS:4102 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:3849 +#: ../NEWS:4106 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:3853 +#: ../NEWS:4110 msgid "" ":gh:`145616`: Detect Android sysconfig ABI correctly on 32-bit ARM Android " "on 64-bit ARM kernel" msgstr "" -#: ../NEWS:3856 +#: ../NEWS:4113 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:3860 +#: ../NEWS:4117 msgid "" ":gh:`145446`: Now :mod:`functools` is safer in free-threaded build when " "using keywords in :func:`functools.partial`" msgstr "" -#: ../NEWS:3863 +#: ../NEWS:4120 msgid "" ":gh:`145417`: :mod:`venv`: Prevent incorrect preservation of SELinux context " "when copying the ``Activate.ps1`` script. The script inherited the SELinux " @@ -6585,25 +7004,25 @@ msgid "" "destination project directory." msgstr "" -#: ../NEWS:3868 +#: ../NEWS:4125 msgid "" ":gh:`145376`: Fix double free and null pointer dereference in unusual error " "scenarios in :mod:`hashlib` and :mod:`hmac` modules." msgstr "" -#: ../NEWS:3871 +#: ../NEWS:4128 msgid "" ":gh:`145301`: :mod:`hmac`: fix a crash when the initialization of the " "underlying C extension module fails." msgstr "" -#: ../NEWS:3874 +#: ../NEWS:4131 msgid "" ":gh:`145301`: :mod:`hashlib`: fix a crash when the initialization of the " "underlying C extension module fails." msgstr "" -#: ../NEWS:3877 +#: ../NEWS:4134 msgid "" ":gh:`145264`: Base64 decoder " "(see :func:`binascii.a2b_base64`, :func:`base64.b64decode`, etc) no longer " @@ -6613,13 +7032,13 @@ msgid "" "data." msgstr "" -#: ../NEWS:3883 +#: ../NEWS:4140 msgid "" ":gh:`145158`: Avoid undefined behaviour from signed integer overflow when " "parsing format strings in the :mod:`struct` module." msgstr "" -#: ../NEWS:3886 +#: ../NEWS:4143 msgid "" ":gh:`144984`: Fix crash " "in :meth:`xml.parsers.expat.xmlparser.ExternalEntityParserCreate` when an " @@ -6627,55 +7046,55 @@ msgid "" "double-decrement the parent parser's reference count." msgstr "" -#: ../NEWS:3891 +#: ../NEWS:4148 msgid "" ":gh:`88091`: Fix :func:`unicodedata.decomposition` for Hangul characters." msgstr "" -#: ../NEWS:3893 +#: ../NEWS:4150 msgid "" ":gh:`144986`: Fix a memory leak in :func:`atexit.register`. Patch by Shamil " "Abdulaev." msgstr "" -#: ../NEWS:3896 +#: ../NEWS:4153 msgid "" ":gh:`144777`: Fix data races in :class:`io.IncrementalNewlineDecoder` in " "the :term:`free-threaded build`." msgstr "" -#: ../NEWS:3899 +#: ../NEWS:4156 msgid "" ":gh:`144809`: Make :class:`collections.deque` copy atomic in the :term:`free-" "threaded build`." msgstr "" -#: ../NEWS:3902 +#: ../NEWS:4159 msgid "" ":gh:`144835`: Added missing explanations for some parameters " "in :func:`glob.glob` and :func:`glob.iglob`." msgstr "" -#: ../NEWS:3905 +#: ../NEWS:4162 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:3909 +#: ../NEWS:4166 msgid "" ":gh:`144782`: Fix :class:`argparse.ArgumentParser` to be :mod:`pickleable " "`." msgstr "" -#: ../NEWS:3912 +#: ../NEWS:4169 msgid "" ":gh:`144259`: Fix inconsistent display of long multiline pasted content in " "the REPL." msgstr "" -#: ../NEWS:3915 +#: ../NEWS:4172 msgid "" ":gh:`144156`: Fix the folding of headers by the :mod:`email` library " "when :rfc:`2047` encoded words are used. Now whitespace is correctly " @@ -6684,14 +7103,14 @@ msgid "" "previous failures to preserve whitespace." msgstr "" -#: ../NEWS:3921 +#: ../NEWS:4178 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:3925 +#: ../NEWS:4182 msgid "" ":gh:`140814`: :func:`multiprocessing.freeze_support` no longer sets the " "default start method as a side effect, which previously caused a " @@ -6699,102 +7118,102 @@ msgid "" "raise :exc:`RuntimeError`." msgstr "" -#: ../NEWS:3930 +#: ../NEWS:4187 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:3934 +#: ../NEWS:4191 msgid "" ":gh:`144538`: Bump the version of pip bundled in ensurepip to version 26.0.1" msgstr "" -#: ../NEWS:3936 +#: ../NEWS:4193 msgid "" ":gh:`144494`: Fix performance regression in :func:`asyncio.all_tasks` " "on :term:`free-threaded builds `. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:3939 +#: ../NEWS:4196 msgid "" ":gh:`144316`: Fix crash in ``_remote_debugging`` that caused " "``test_external_inspection`` to intermittently fail. Patch by Taegyun Kim." msgstr "" -#: ../NEWS:3942 +#: ../NEWS:4199 msgid "" ":gh:`144363`: Update bundled `libexpat `_ to " "2.7.4" msgstr "" -#: ../NEWS:3945 +#: ../NEWS:4202 msgid "" ":gh:`143637`: Fixed a crash in socket.sendmsg() that could occur if " "ancillary data is mutated re-entrantly during argument parsing." msgstr "" -#: ../NEWS:3948 +#: ../NEWS:4205 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:3952 +#: ../NEWS:4209 msgid "" ":gh:`140652`: Fix a crash in :func:`!_interpchannels.list_all` after closing " "a channel." msgstr "" -#: ../NEWS:3955 +#: ../NEWS:4212 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:3959 +#: ../NEWS:4216 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:3963 +#: ../NEWS:4220 msgid "" ":gh:`142516`: :mod:`ssl`: fix reference leaks in :class:`ssl.SSLContext` " "objects. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:3966 +#: ../NEWS:4223 msgid "" ":gh:`143304`: Fix :class:`ctypes.CDLL` to honor the ``handle`` parameter on " "POSIX systems." msgstr "" -#: ../NEWS:3969 +#: ../NEWS:4226 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:3973 +#: ../NEWS:4230 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:3977 +#: ../NEWS:4234 msgid "" ":gh:`142787`: Fix assertion failure in :mod:`sqlite3` blob subscript when " "slicing with indices that result in an empty slice." msgstr "" -#: ../NEWS:3980 +#: ../NEWS:4237 msgid "" ":gh:`142352`: Fix :meth:`asyncio.StreamWriter.start_tls` to transfer " "buffered data from :class:`~asyncio.StreamReader` to the SSL layer, " @@ -6802,68 +7221,68 @@ msgid "" "when implementing PROXY protocol support)." msgstr "" -#: ../NEWS:3985 +#: ../NEWS:4242 msgid "" ":gh:`141707`: Don't change :class:`tarfile.TarInfo` type from ``AREGTYPE`` " "to ``DIRTYPE`` when parsing GNU long name or link headers." msgstr "" -#: ../NEWS:3988 +#: ../NEWS:4245 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:3992 +#: ../NEWS:4249 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:3996 +#: ../NEWS:4253 msgid "" ":gh:`80667`: Support lookup for Tangut Ideographs in :mod:`unicodedata`." msgstr "" -#: ../NEWS:3998 +#: ../NEWS:4255 msgid "" ":issue:`40243`: Fix :meth:`!unicodedata.ucd_3_2_0.numeric` for non-decimal " "values." msgstr "" -#: ../NEWS:4004 +#: ../NEWS:4261 msgid "" ":gh:`126676`: Expand :mod:`argparse` documentation for ``type=bool`` with a " "demonstration of the surprising behavior and pointers to common alternatives." msgstr "" -#: ../NEWS:4008 +#: ../NEWS:4265 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:4011 +#: ../NEWS:4268 msgid "" ":gh:`145450`: Document missing public :class:`wave.Wave_write` getter " "methods." msgstr "" -#: ../NEWS:4014 +#: ../NEWS:4271 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:4021 +#: ../NEWS:4278 msgid "" ":gh:`144418`: The Android testbed's emulator RAM has been increased from 2 " "GB to 4 GB." msgstr "" -#: ../NEWS:4024 +#: ../NEWS:4281 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 " @@ -6871,39 +7290,39 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:4029 +#: ../NEWS:4286 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:4036 +#: ../NEWS:4293 msgid "" ":gh:`146541`: The Android testbed can now be built for 32-bit ARM and x86 " "targets." msgstr "" -#: ../NEWS:4039 +#: ../NEWS:4296 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:4043 +#: ../NEWS:4300 msgid "" ":gh:`146450`: The Android build script was modified to improve parity with " "other platform build scripts." msgstr "" -#: ../NEWS:4046 +#: ../NEWS:4303 msgid "" ":gh:`146446`: The clean target for the Apple/iOS XCframework build script is " "now more selective when targeting a single architecture." msgstr "" -#: ../NEWS:4049 +#: ../NEWS:4306 msgid "" ":gh:`145801`: When Python build is optimized with GCC using PGO, use ``-" "fprofile-update=atomic`` option to use atomic operations when updating " @@ -6911,46 +7330,46 @@ msgid "" "corruption which can cause random GCC crashes. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4058 +#: ../NEWS:4315 msgid "" ":gh:`145307`: Defers loading of the ``psapi.dll`` module until it is used " "by :func:`ctypes.util.dllist`." msgstr "" -#: ../NEWS:4061 +#: ../NEWS:4318 msgid ":gh:`144551`: Updated bundled version of OpenSSL to 3.0.19." msgstr "" -#: ../NEWS:4063 +#: ../NEWS:4320 msgid "" ":gh:`140131`: Fix REPL cursor position on Windows when module completion " "suggestion line hits console width." msgstr "" -#: ../NEWS:4069 +#: ../NEWS:4326 msgid ":gh:`144551`: Update macOS installer to use OpenSSL 3.0.19." msgstr "" -#: ../NEWS:4071 +#: ../NEWS:4328 msgid "" ":gh:`137586`: Invoke :program:`osascript` with absolute path " "in :mod:`webbrowser` and :mod:`!turtledemo`." msgstr "" -#: ../NEWS:4077 +#: ../NEWS:4334 msgid "" ":gh:`146056`: :c:func:`PyUnicodeWriter_WriteRepr` now supports ``NULL`` " "argument." msgstr "" -#: ../NEWS:4080 +#: ../NEWS:4337 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:4084 +#: ../NEWS:4341 msgid "" ":gh:`144981`: " "Made :c:func:`PyUnstable_Code_SetExtra`, :c:func:`PyUnstable_Code_GetExtra`, " @@ -6958,27 +7377,27 @@ msgid "" "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:4091 +#: ../NEWS:4348 msgid "Python 3.14.3 final" msgstr "" -#: ../NEWS:4093 +#: ../NEWS:4350 msgid "*Release date: 2026-02-03*" msgstr "" -#: ../NEWS:4098 +#: ../NEWS:4355 msgid "" ":gh:`128067`: Fix a bug in PyREPL on Windows where output without a trailing " "newline was overwritten by the next prompt." msgstr "" -#: ../NEWS:4104 +#: ../NEWS:4361 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:4110 +#: ../NEWS:4367 msgid "" ":gh:`144415`: The Android testbed now distinguishes between stdout/stderr " "messages which were triggered by a newline, and those triggered by a manual " @@ -6986,38 +7405,38 @@ msgid "" "content." msgstr "" -#: ../NEWS:4115 +#: ../NEWS:4372 msgid "" ":gh:`143460`: Skip tests relying on infinite recusion if stack size is " "unlimited." msgstr "" -#: ../NEWS:4118 +#: ../NEWS:4375 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:4122 +#: ../NEWS:4379 msgid "" ":gh:`143553`: Add support for parametrized resources, such as ``-u " "xpickle=2.7``." msgstr "" -#: ../NEWS:4125 +#: ../NEWS:4382 msgid "" ":gh:`142836`: Accommodated Solaris in " "``test_pdb.test_script_target_anonymous_pipe``." msgstr "" -#: ../NEWS:4128 +#: ../NEWS:4385 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:4134 +#: ../NEWS:4391 msgid "" ":gh:`144125`: :mod:`~email.generator.BytesGenerator` will now refuse to " "serialize (write) headers that are unsafely folded or delimited; " @@ -7025,7 +7444,7 @@ msgid "" "Bas Bloemsaat and Petr Viktorin in :gh:`121650`)." msgstr "" -#: ../NEWS:4139 +#: ../NEWS:4396 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 " @@ -7035,80 +7454,80 @@ msgid "" "enabled header injection with carefully crafted inputs." msgstr "" -#: ../NEWS:4146 +#: ../NEWS:4403 msgid ":gh:`143925`: Reject control characters in ``data:`` URL media types." msgstr "" -#: ../NEWS:4148 +#: ../NEWS:4405 msgid "" ":gh:`143919`: Reject control characters in :class:`http.cookies.Morsel` " "fields and values." msgstr "" -#: ../NEWS:4151 +#: ../NEWS:4408 msgid "" ":gh:`143916`: Reject C0 control characters within wsgiref.headers.Headers " "fields, values, and parameters." msgstr "" -#: ../NEWS:4157 +#: ../NEWS:4414 msgid "" ":gh:`144380`: Improve performance of :class:`io.BufferedReader` line " "iteration by ~49%." msgstr "" -#: ../NEWS:4160 +#: ../NEWS:4417 msgid "" ":gh:`144169`: Fix three crashes when non-string keyword arguments are " "supplied to objects in the :mod:`ast` module." msgstr "" -#: ../NEWS:4163 +#: ../NEWS:4420 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:4168 +#: ../NEWS:4425 msgid "" ":gh:`144050`: Fix :func:`stat.filemode` in the pure-Python implementation to " "avoid misclassifying invalid mode values as block devices." msgstr "" -#: ../NEWS:4171 +#: ../NEWS:4428 msgid "" ":gh:`144023`: Fixed validation of file descriptor 0 in posix functions when " "used with follow_symlinks parameter." msgstr "" -#: ../NEWS:4174 +#: ../NEWS:4431 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:4178 +#: ../NEWS:4435 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:4182 +#: ../NEWS:4439 msgid "" ":gh:`143874`: Fixed a bug in :mod:`pdb` where expression results were not " "sent back to remote client." msgstr "" -#: ../NEWS:4185 +#: ../NEWS:4442 msgid "" ":gh:`143880`: Fix data race in :func:`functools.partial` in the :term:`free " "threading` build." msgstr "" -#: ../NEWS:4188 +#: ../NEWS:4445 msgid "" ":gh:`143706`: Fix :mod:`multiprocessing` forkserver so that :data:`sys.argv` " "is correctly set before ``__main__`` is preloaded. " @@ -7118,7 +7537,7 @@ msgid "" "thanks!" msgstr "" -#: ../NEWS:4194 +#: ../NEWS:4451 msgid "" ":gh:`143638`: Forbid reentrant calls of the :class:`pickle.Pickler` " "and :class:`pickle.Unpickler` methods for the C implementation. Previously, " @@ -7126,40 +7545,40 @@ msgid "" "of the same object raise :exc:`RuntimeError`." msgstr "" -#: ../NEWS:4199 +#: ../NEWS:4456 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:4203 +#: ../NEWS:4460 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:4207 +#: ../NEWS:4464 msgid "" ":gh:`143191`: :func:`_thread.stack_size` now raises :exc:`ValueError` if the " "stack size is too small. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4210 +#: ../NEWS:4467 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:4213 +#: ../NEWS:4470 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:4217 +#: ../NEWS:4474 msgid "" ":gh:`143517`: :func:`annotationlib.get_annotations` no longer raises " "a :exc:`SyntaxError` when evaluating a stringified starred annotation that " @@ -7167,67 +7586,67 @@ msgid "" "Bartosz Sławecki." msgstr "" -#: ../NEWS:4222 +#: ../NEWS:4479 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:4226 +#: ../NEWS:4483 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:4230 +#: ../NEWS:4487 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:4234 +#: ../NEWS:4491 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:4238 +#: ../NEWS:4495 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:4242 +#: ../NEWS:4499 msgid "" ":gh:`143237`: Fix support of named pipes in the rotating :mod:`logging` " "handlers." msgstr "" -#: ../NEWS:4245 +#: ../NEWS:4502 msgid "" ":gh:`143249`: Fix possible buffer leaks in Windows overlapped I/O on error " "handling." msgstr "" -#: ../NEWS:4248 +#: ../NEWS:4505 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:4252 +#: ../NEWS:4509 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:4256 +#: ../NEWS:4513 msgid "" ":gh:`143200`: :mod:`xml.etree.ElementTree`: fix use-after-free crashes " "in :meth:`~object.__getitem__` and :meth:`~object.__setitem__` methods " @@ -7235,46 +7654,46 @@ msgid "" "mutated. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4261 +#: ../NEWS:4518 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:4265 +#: ../NEWS:4522 msgid "" ":gh:`142164`: Fix the ctypes bitfield overflow error message to report the " "correct offset and size calculation." msgstr "" -#: ../NEWS:4268 +#: ../NEWS:4525 msgid "" ":gh:`143145`: Fixed a possible reference leak in ctypes when constructing " "results with multiple output parameters on error." msgstr "" -#: ../NEWS:4271 +#: ../NEWS:4528 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:4275 +#: ../NEWS:4532 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:4279 +#: ../NEWS:4536 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:4282 +#: ../NEWS:4539 msgid "" ":gh:`140648`: The :mod:`asyncio` REPL now respects the :option:`-I` flag " "(isolated mode). Previously, it would load and " @@ -7282,38 +7701,38 @@ msgid "" "Bartosz Sławecki." msgstr "" -#: ../NEWS:4287 +#: ../NEWS:4544 msgid "" ":gh:`142991`: Fixed socket operations such as recvfrom() and sendto() for " "FreeBSD divert(4) socket." msgstr "" -#: ../NEWS:4290 +#: ../NEWS:4547 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:4294 +#: ../NEWS:4551 msgid "" ":gh:`142881`: Fix concurrent and reentrant call of :func:`atexit.unregister`." msgstr "" -#: ../NEWS:4296 +#: ../NEWS:4553 msgid "" ":gh:`112127`: Fix possible use-after-free in :func:`atexit.unregister` when " "the callback is unregistered during comparison." msgstr "" -#: ../NEWS:4299 +#: ../NEWS:4556 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:4303 +#: ../NEWS:4560 msgid "" ":gh:`142754`: Add the *ownerDocument* attribute to :mod:`xml.dom.minidom` " "elements and attributes created by directly instantiating the ``Element`` or " @@ -7322,34 +7741,34 @@ msgid "" "used instead." msgstr "" -#: ../NEWS:4309 +#: ../NEWS:4566 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:4313 +#: ../NEWS:4570 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:4317 +#: ../NEWS:4574 msgid "" ":gh:`142594`: Fix crash in ``TextIOWrapper.close()`` when the underlying " "buffer's ``closed`` property calls :meth:`~io.TextIOBase.detach`." msgstr "" -#: ../NEWS:4320 +#: ../NEWS:4577 msgid "" ":gh:`142451`: :mod:`hmac`: Ensure that the :attr:`HMAC.block_size " "` attribute is correctly copied by :meth:`HMAC.copy " "`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4324 +#: ../NEWS:4581 msgid "" ":gh:`142495`: :class:`collections.defaultdict` now " "prioritizes :meth:`~object.__setitem__` when inserting default values from " @@ -7357,33 +7776,33 @@ msgid "" "would overwrite a value set before ``default_factory`` returns." msgstr "" -#: ../NEWS:4329 +#: ../NEWS:4586 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:4334 +#: ../NEWS:4591 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:4338 +#: ../NEWS:4595 msgid "" ":gh:`142556`: Fix crash when a task gets re-registered during finalization " "in :mod:`asyncio`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:4341 +#: ../NEWS:4598 msgid "" ":gh:`123241`: Avoid reference count operations in garbage collection " "of :mod:`ctypes` objects." msgstr "" -#: ../NEWS:4344 +#: ../NEWS:4601 msgid "" ":gh:`142517`: The non-``compat32`` :mod:`email` policies now correctly " "handle refolding encoded words that contain bytes that can not be decoded in " @@ -7391,174 +7810,174 @@ msgid "" "exception during folding." msgstr "" -#: ../NEWS:4349 +#: ../NEWS:4606 msgid "" ":gh:`112527`: The help text for required options in :mod:`argparse` no " "longer extended with \" (default: None)\"." msgstr "" -#: ../NEWS:4352 +#: ../NEWS:4609 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:4356 +#: ../NEWS:4613 msgid "" ":gh:`142315`: Pdb can now run scripts from anonymous pipes used in process " "substitution. Patch by Bartosz Sławecki." msgstr "" -#: ../NEWS:4359 +#: ../NEWS:4616 msgid "" ":gh:`142332`: Fix usage formatting for positional arguments in mutually " "exclusive groups in :mod:`argparse`. in :mod:`argparse`." msgstr "" -#: ../NEWS:4362 +#: ../NEWS:4619 msgid "" ":gh:`142282`: Fix :func:`winreg.QueryValueEx` to not accidentally read " "garbage buffer under race condition." msgstr "" -#: ../NEWS:4365 +#: ../NEWS:4622 msgid "" ":gh:`75949`: Fix :mod:`argparse` to preserve ``|`` separators in mutually " "exclusive groups when the usage line wraps due to length." msgstr "" -#: ../NEWS:4368 +#: ../NEWS:4625 msgid "" ":gh:`142267`: Improve :mod:`argparse` performance by caching the formatter " "used for argument validation." msgstr "" -#: ../NEWS:4371 +#: ../NEWS:4628 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:4375 +#: ../NEWS:4632 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:4379 +#: ../NEWS:4636 msgid "" ":gh:`105836`: Fix :meth:`asyncio.run_coroutine_threadsafe` leaving " "underlying cancelled asyncio task running." msgstr "" -#: ../NEWS:4382 +#: ../NEWS:4639 msgid "" ":gh:`139971`: :mod:`pydoc`: Ensure that the link to the online documentation " "of a :term:`stdlib` module is correct." msgstr "" -#: ../NEWS:4385 +#: ../NEWS:4642 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:4389 +#: ../NEWS:4646 msgid "" ":gh:`138897`: Improved :data:`license`/:data:`copyright`/:data:`credits` " "display in the :term:`REPL`: now uses a pager." msgstr "" -#: ../NEWS:4392 +#: ../NEWS:4649 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:4396 +#: ../NEWS:4653 msgid "" ":gh:`136282`: Add support for :const:`~configparser.UNNAMED_SECTION` when " "creating a section via the mapping protocol access" msgstr "" -#: ../NEWS:4399 +#: ../NEWS:4656 msgid "" ":gh:`109263`: Starting a process from spawn context " "in :mod:`multiprocessing` no longer sets the start method globally." msgstr "" -#: ../NEWS:4402 +#: ../NEWS:4659 msgid ":gh:`133253`: Fix thread-safety issues in :mod:`linecache`." msgstr "" -#: ../NEWS:4404 +#: ../NEWS:4661 msgid "" ":gh:`132715`: Skip writing objects during marshalling once a failure has " "occurred." msgstr "" -#: ../NEWS:4410 +#: ../NEWS:4667 msgid "" ":gh:`143774`: Better explain the operation of Format / Format Paragraph." msgstr "" -#: ../NEWS:4415 +#: ../NEWS:4672 msgid ":gh:`140806`: Add documentation for :func:`enum.bin`." msgstr "" -#: ../NEWS:4420 +#: ../NEWS:4677 msgid "" ":gh:`144307`: Prevent a reference leak in module teardown at interpreter " "finalization." msgstr "" -#: ../NEWS:4423 +#: ../NEWS:4680 msgid "" ":gh:`144194`: Fix error handling in perf jitdump initialization on memory " "allocation failure." msgstr "" -#: ../NEWS:4426 +#: ../NEWS:4683 msgid "" ":gh:`144012`: Check if the result is ``NULL`` in ``BINARY_OP_EXTENT`` opcode." msgstr "" -#: ../NEWS:4428 +#: ../NEWS:4685 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:4432 +#: ../NEWS:4689 msgid ":gh:`143670`: Fixes a crash in ``ga_repr_items_list`` function." msgstr "" -#: ../NEWS:4434 +#: ../NEWS:4691 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:4437 +#: ../NEWS:4694 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:4441 +#: ../NEWS:4698 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:4445 +#: ../NEWS:4702 msgid "" ":gh:`143228`: Fix use-after-free in perf trampoline when toggling profiling " "while threads are running or during interpreter finalization with daemon " @@ -7567,91 +7986,91 @@ msgid "" "Galindo" msgstr "" -#: ../NEWS:4451 +#: ../NEWS:4708 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:4455 +#: ../NEWS:4712 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:4459 +#: ../NEWS:4716 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:4463 +#: ../NEWS:4720 msgid "" ":gh:`142975`: Fix crash after unfreezing all objects tracked by the garbage " "collector on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:4466 +#: ../NEWS:4723 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:4470 +#: ../NEWS:4727 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:4474 +#: ../NEWS:4731 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:4478 +#: ../NEWS:4735 msgid "" ":gh:`143057`: Avoid locking in :c:func:`PyTraceMalloc_Track` " "and :c:func:`PyTraceMalloc_Untrack` when :mod:`tracemalloc` is not enabled." msgstr "" -#: ../NEWS:4481 +#: ../NEWS:4738 msgid ":gh:`142776`: Fix a file descriptor leak in import.c" msgstr "" -#: ../NEWS:4483 +#: ../NEWS:4740 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:4487 +#: ../NEWS:4744 msgid "" ":gh:`142766`: Clear the frame of a generator when :meth:`generator.close` is " "called." msgstr "" -#: ../NEWS:4490 +#: ../NEWS:4747 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:4494 +#: ../NEWS:4751 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:4497 +#: ../NEWS:4754 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`, " @@ -7662,7 +8081,7 @@ msgid "" "used for this." msgstr "" -#: ../NEWS:4506 +#: ../NEWS:4763 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 " @@ -7671,61 +8090,61 @@ msgid "" "free-threaded GC must scan those too." msgstr "" -#: ../NEWS:4512 +#: ../NEWS:4769 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:4516 +#: ../NEWS:4773 msgid "" ":gh:`133932`: Fix crash in the free threading build when clearing frames " "that hold tagged integers." msgstr "" -#: ../NEWS:4519 +#: ../NEWS:4776 msgid "" ":gh:`142343`: Fix SIGILL crash on m68k due to incorrect assembly constraint." msgstr "" -#: ../NEWS:4521 +#: ../NEWS:4778 msgid "" ":gh:`100964`: Fix reference cycle in exhausted generator frames. Patch by " "Savannah Ostrowski." msgstr "" -#: ../NEWS:4524 +#: ../NEWS:4781 msgid "" ":gh:`69605`: Fix edge-cases around already imported modules in " "the :term:`REPL` auto-completion of imports." msgstr "" -#: ../NEWS:4527 +#: ../NEWS:4784 msgid "" ":gh:`138568`: Adjusted the built-in :func:`help` function so that empty " "inputs are ignored in interactive mode." msgstr "" -#: ../NEWS:4530 +#: ../NEWS:4787 msgid "" ":gh:`137007`: Fix a bug during JIT compilation failure which caused garbage " "collection debug assertions to fail." msgstr "" -#: ../NEWS:4536 +#: ../NEWS:4793 msgid "" ":gh:`142589`: Fix :c:func:`PyUnstable_Object_IsUniqueReferencedTemporary()` " "handling of tagged ints on the interpreter stack." msgstr "" -#: ../NEWS:4539 +#: ../NEWS:4796 msgid "" ":gh:`142571`: :c:func:`!PyUnstable_CopyPerfMapFile` now checks that opening " "the file succeeded before flushing." msgstr "" -#: ../NEWS:4545 +#: ../NEWS:4802 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. " @@ -7733,7 +8152,7 @@ msgid "" "independent on filesystem order." msgstr "" -#: ../NEWS:4550 +#: ../NEWS:4807 msgid "" ":gh:`141808`: When running ``make clean-retain-profile``, keep the generated " "JIT stencils. That way, the stencils are not generated twice when Profile-" @@ -7741,27 +8160,27 @@ msgid "" "their own pre-built JIT stencils." msgstr "" -#: ../NEWS:4555 +#: ../NEWS:4812 msgid "" ":gh:`138061`: Ensure reproducible builds by making JIT stencil header " "generation deterministic." msgstr "" -#: ../NEWS:4560 +#: ../NEWS:4817 msgid "Python 3.14.2 final" msgstr "" -#: ../NEWS:4562 +#: ../NEWS:4819 msgid "*Release date: 2025-12-05*" msgstr "" -#: ../NEWS:4567 +#: ../NEWS:4824 msgid "" ":gh:`142145`: Remove quadratic behavior in ``xml.minidom`` node ID cache " "clearing." msgstr "" -#: ../NEWS:4570 +#: ../NEWS:4827 msgid "" ":gh:`119452`: Fix a potential memory denial of service in " "the :mod:`http.server` module. When a malicious user is connected to the CGI " @@ -7771,7 +8190,7 @@ msgid "" "crashes." msgstr "" -#: ../NEWS:4580 +#: ../NEWS:4837 msgid "" ":gh:`140797`: Revert changes to the undocumented :class:`!re.Scanner` class. " "Capturing groups are still allowed for backward compatibility, although " @@ -7779,7 +8198,7 @@ msgid "" "Python versions." msgstr "" -#: ../NEWS:4585 +#: ../NEWS:4842 msgid "" ":gh:`142206`: The resource tracker in the :mod:`multiprocessing` module now " "uses the original communication protocol, as in Python 3.14.0 and below, by " @@ -7789,57 +8208,57 @@ msgid "" "using Python 3.13.10, 3.14.1 and 3.15)." msgstr "" -#: ../NEWS:4592 +#: ../NEWS:4849 msgid "" ":gh:`142214`: Fix two regressions in :mod:`dataclasses` in Python 3.14.1 " "related to annotations." msgstr "" -#: ../NEWS:4595 +#: ../NEWS:4852 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:4599 +#: ../NEWS:4856 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:4603 ../NEWS:30319 +#: ../NEWS:4860 ../NEWS:30576 msgid "Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:4608 +#: ../NEWS:4865 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:4614 +#: ../NEWS:4871 msgid "" ":gh:`116738`: Fix :mod:`cmath` data race when initializing trigonometric " "tables with subinterpreters." msgstr "" -#: ../NEWS:4619 +#: ../NEWS:4876 msgid "Python 3.14.1 final" msgstr "" -#: ../NEWS:4621 +#: ../NEWS:4878 msgid "*Release date: 2025-12-02*" msgstr "" -#: ../NEWS:4626 +#: ../NEWS:4883 msgid "" ":gh:`139810`: Installing with ``py install 3[.x]-dev`` will now select final " "versions as well as prereleases." msgstr "" -#: ../NEWS:4632 +#: ../NEWS:4889 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 " @@ -7847,69 +8266,69 @@ msgid "" "linking." msgstr "" -#: ../NEWS:4637 +#: ../NEWS:4894 msgid "" ":gh:`141442`: The iOS testbed now correctly handles test arguments that " "contain spaces." msgstr "" -#: ../NEWS:4640 +#: ../NEWS:4897 msgid "" ":gh:`140702`: The iOS testbed app will now expose the ``GITHUB_ACTIONS`` " "environment variable to iOS apps being tested." msgstr "" -#: ../NEWS:4643 +#: ../NEWS:4900 msgid "" ":gh:`137484`: Have ``Tools/wasm/wasi`` put the build Python into a directory " "named after the build triple instead of \"build\"." msgstr "" -#: ../NEWS:4646 +#: ../NEWS:4903 msgid "" ":gh:`137248`: Add a ``--logdir`` option to ``Tools/wasm/wasi`` for " "specifying where to write log files." msgstr "" -#: ../NEWS:4649 +#: ../NEWS:4906 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:4655 +#: ../NEWS:4912 msgid "" ":gh:`140482`: Preserve and restore the state of ``stty echo`` as part of the " "test environment." msgstr "" -#: ../NEWS:4658 +#: ../NEWS:4915 msgid "" ":gh:`140082`: Update ``python -m test`` to set ``FORCE_COLOR=1`` when being " "run with color enabled so that :mod:`unittest` which is run by it with " "redirected output will output in color." msgstr "" -#: ../NEWS:4662 +#: ../NEWS:4919 msgid "" ":gh:`139208`: Fix regrtest ``--fast-ci --verbose``: don't ignore the ``--" "verbose`` option anymore. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4665 +#: ../NEWS:4922 msgid "" ":gh:`136442`: Use exitcode ``1`` instead of ``5`` " "if :func:`unittest.TestCase.setUpClass` raises an exception" msgstr "" -#: ../NEWS:4671 +#: ../NEWS:4928 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:4675 +#: ../NEWS:4932 msgid "" ":gh:`139283`: :mod:`sqlite3`: correctly handle maximum number of rows to " "fetch in :meth:`Cursor.fetchmany ` and reject " @@ -7917,24 +8336,24 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4680 +#: ../NEWS:4937 msgid "" ":gh:`137836`: Add support of the \"plaintext\" element, RAWTEXT elements " "\"xmp\", \"iframe\", \"noembed\" and \"noframes\", and optionally RAWTEXT " "element \"noscript\" in :class:`html.parser.HTMLParser`." msgstr "" -#: ../NEWS:4684 +#: ../NEWS:4941 msgid "" ":gh:`136063`: :mod:`email.message`: ensure linear complexity for legacy HTTP " "parameters parsing. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4687 +#: ../NEWS:4944 msgid ":gh:`136065`: Fix quadratic complexity in :func:`os.path.expandvars`." msgstr "" -#: ../NEWS:4689 +#: ../NEWS:4946 msgid "" ":gh:`119451`: Fix a potential memory denial of service in " "the :mod:`http.client` module. When connecting to a malicious server, it " @@ -7943,7 +8362,7 @@ msgid "" "(OOM) killed processes or containers, or even system crashes." msgstr "" -#: ../NEWS:4695 +#: ../NEWS:4952 msgid "" ":gh:`119342`: Fix a potential memory denial of service in " "the :mod:`plistlib` module. When reading a Plist file received from " @@ -7953,7 +8372,7 @@ msgid "" "crashes." msgstr "" -#: ../NEWS:4704 +#: ../NEWS:4961 msgid "" ":gh:`74389`: When the stdin being used by a :class:`subprocess.Popen` " "instance is closed, this is now ignored " @@ -7961,7 +8380,7 @@ msgid "" "inconsistent state." msgstr "" -#: ../NEWS:4709 +#: ../NEWS:4966 msgid "" ":gh:`87512`: Fix :func:`subprocess.Popen.communicate` timeout handling on " "Windows when writing large input. Previously, the timeout was ignored during " @@ -7970,7 +8389,7 @@ msgid "" "background thread, allowing the timeout to be properly enforced." msgstr "" -#: ../NEWS:4716 +#: ../NEWS:4973 msgid "" ":gh:`141473`: When :meth:`subprocess.Popen.communicate` was called with " "*input* and a *timeout* and is called for a second time after " @@ -7978,13 +8397,13 @@ msgid "" "it should no longer hang." msgstr "" -#: ../NEWS:4721 +#: ../NEWS:4978 msgid "" ":gh:`59000`: Fix :mod:`pdb` breakpoint resolution for class methods when the " "module defining the class is not imported." msgstr "" -#: ../NEWS:4724 +#: ../NEWS:4981 msgid "" ":gh:`141570`: Support :term:`file-like object` raising :exc:`OSError` " "from :meth:`~io.IOBase.fileno` in color detection " @@ -7992,17 +8411,17 @@ msgid "" "redirected." msgstr "" -#: ../NEWS:4729 +#: ../NEWS:4986 msgid "" ":gh:`141659`: Fix bad file descriptor errors from ``_posixsubprocess`` on " "AIX." msgstr "" -#: ../NEWS:4732 +#: ../NEWS:4989 msgid ":gh:`141600`: Fix musl version detection on Void Linux." msgstr "" -#: ../NEWS:4734 +#: ../NEWS:4991 msgid "" ":gh:`141497`: :mod:`ipaddress`: ensure that the " "methods :meth:`IPv4Network.hosts() ` " @@ -8010,20 +8429,20 @@ msgid "" "an iterator." msgstr "" -#: ../NEWS:4739 +#: ../NEWS:4996 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:4743 +#: ../NEWS:5000 msgid "" ":gh:`124111`: Updated Tcl threading configuration in :mod:`_tkinter` to " "assume that threads are always available in Tcl 9 and later." msgstr "" -#: ../NEWS:4746 +#: ../NEWS:5003 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 " @@ -8032,40 +8451,40 @@ msgid "" "thread." msgstr "" -#: ../NEWS:4752 +#: ../NEWS:5009 msgid "" ":gh:`141314`: Fix assertion failure in :meth:`io.TextIOWrapper.tell` when " "reading files with standalone carriage return (``\\r``) line endings." msgstr "" -#: ../NEWS:4755 +#: ../NEWS:5012 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:4759 +#: ../NEWS:5016 msgid "" ":gh:`141141`: Fix a thread safety issue with :func:`base64.b85decode`. " "Contributed by Benel Tayar." msgstr "" -#: ../NEWS:4762 +#: ../NEWS:5019 msgid "" ":gh:`137969`: Fix :meth:`annotationlib.ForwardRef.evaluate` " "returning :class:`~annotationlib.ForwardRef` objects which don't update with " "new globals." msgstr "" -#: ../NEWS:4766 +#: ../NEWS:5023 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:4770 +#: ../NEWS:5027 msgid "" ":gh:`140797`: The undocumented :class:`!re.Scanner` class now forbids " "regular expressions containing capturing groups in its lexicon patterns. " @@ -8073,159 +8492,159 @@ msgid "" "segmentation fault. Use non-capturing groups (?:...) instead." msgstr "" -#: ../NEWS:4775 +#: ../NEWS:5032 msgid "" ":gh:`125115`: Refactor the :mod:`pdb` parsing issue so positional arguments " "can pass through intuitively." msgstr "" -#: ../NEWS:4778 +#: ../NEWS:5035 msgid "" ":gh:`140815`: :mod:`faulthandler` now detects if a frame or a code object is " "invalid or freed. Patch by Victor Stinner." msgstr "" -#: ../NEWS:4781 +#: ../NEWS:5038 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:4785 +#: ../NEWS:5042 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:4789 +#: ../NEWS:5046 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:4792 +#: ../NEWS:5049 msgid "" ":gh:`140874`: Bump the version of pip bundled in ensurepip to version 25.3" msgstr "" -#: ../NEWS:4794 +#: ../NEWS:5051 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:4798 +#: ../NEWS:5055 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:4802 +#: ../NEWS:5059 msgid ":gh:`120057`: Add :func:`os.reload_environ` to ``os.__all__``." msgstr "" -#: ../NEWS:4804 +#: ../NEWS:5061 msgid "" ":gh:`140228`: Avoid making unnecessary filesystem calls for frozen modules " "in :mod:`linecache` when the global module cache is not present." msgstr "" -#: ../NEWS:4807 +#: ../NEWS:5064 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:4811 +#: ../NEWS:5068 msgid "" ":gh:`125434`: Display thread name in :mod:`faulthandler` on Windows. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:4814 +#: ../NEWS:5071 msgid "" ":gh:`140634`: Fix a reference counting bug in :meth:`!" "os.sched_param.__reduce__`." msgstr "" -#: ../NEWS:4817 +#: ../NEWS:5074 msgid "" ":gh:`140633`: Ignore :exc:`AttributeError` when setting a module's " "``__file__`` attribute when loading an extension module packaged as Apple " "Framework." msgstr "" -#: ../NEWS:4821 +#: ../NEWS:5078 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:4825 +#: ../NEWS:5082 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:4829 +#: ../NEWS:5086 msgid "" ":gh:`138162`: Fix :class:`logging.LoggerAdapter` with ``merge_extra=True`` " "and without the *extra* argument." msgstr "" -#: ../NEWS:4832 +#: ../NEWS:5089 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:4836 +#: ../NEWS:5093 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:4839 +#: ../NEWS:5096 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:4843 +#: ../NEWS:5100 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:4847 +#: ../NEWS:5104 msgid "" ":gh:`140272`: Fix memory leak in the :meth:`!clear` method of " "the :mod:`dbm.gnu` database." msgstr "" -#: ../NEWS:4850 +#: ../NEWS:5107 msgid "" ":gh:`140041`: Fix import of :mod:`ctypes` on Android and Cygwin when ABI " "flags are present." msgstr "" -#: ../NEWS:4853 +#: ../NEWS:5110 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:4856 +#: ../NEWS:5113 msgid "" ":gh:`139905`: Add suggestion to error message for :class:`typing.Generic` " "subclasses when ``cls.__parameters__`` is missing due to a parent class " @@ -8233,38 +8652,38 @@ msgid "" "` in its ``__init_subclass__``." msgstr "" -#: ../NEWS:4861 +#: ../NEWS:5118 msgid "" ":gh:`139894`: Fix incorrect sharing of current task with the child process " "while forking in :mod:`asyncio`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:4864 +#: ../NEWS:5121 msgid "" ":gh:`139845`: Fix to not print KeyboardInterrupt twice in default asyncio " "REPL." msgstr "" -#: ../NEWS:4867 +#: ../NEWS:5124 msgid "" ":gh:`139783`: Fix :func:`inspect.getsourcelines` for the case when a " "decorator is followed by a comment or an empty line." msgstr "" -#: ../NEWS:4870 +#: ../NEWS:5127 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:4874 +#: ../NEWS:5131 msgid "" ":gh:`139736`: Fix excessive indentation in the " "default :mod:`argparse` :class:`!HelpFormatter`. Patch by Alexander Edland." msgstr "" -#: ../NEWS:4877 +#: ../NEWS:5134 msgid "" ":gh:`70765`: :mod:`http.server`: fix default handling of HTTP/0.9 requests " "in :class:`~http.server.BaseHTTPRequestHandler`. Previously, :meth:`!" @@ -8272,38 +8691,38 @@ msgid "" "request although those are not supported in HTTP/0.9. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4883 +#: ../NEWS:5140 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:4887 +#: ../NEWS:5144 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:4891 +#: ../NEWS:5148 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:4895 +#: ../NEWS:5152 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:4898 +#: ../NEWS:5155 msgid ":gh:`139246`: fix: paste zero-width in default repl width is wrong." msgstr "" -#: ../NEWS:4900 +#: ../NEWS:5157 msgid "" ":gh:`90949`: " "Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` " @@ -8313,113 +8732,113 @@ msgid "" "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:4908 +#: ../NEWS:5165 msgid "" ":gh:`139210`: Fix use-after-free when reporting unknown event " "in :func:`xml.etree.ElementTree.iterparse`. Patch by Ken Jin." msgstr "" -#: ../NEWS:4911 +#: ../NEWS:5168 msgid "" ":gh:`138860`: Lazy import :mod:`rlcompleter` in :mod:`pdb` to avoid deadlock " "in subprocess." msgstr "" -#: ../NEWS:4914 +#: ../NEWS:5171 msgid "" ":gh:`112729`: Fix crash when calling :func:`concurrent.interpreters.create` " "when the process is out of memory." msgstr "" -#: ../NEWS:4917 +#: ../NEWS:5174 msgid "" ":gh:`135729`: Fix unraisable exception during finalization when " "using :mod:`concurrent.interpreters` in the REPL." msgstr "" -#: ../NEWS:4920 +#: ../NEWS:5177 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:4924 +#: ../NEWS:5181 msgid "" ":gh:`139065`: Fix trailing space before a wrapped long word if the line " "length is exactly *width* in :mod:`textwrap`." msgstr "" -#: ../NEWS:4927 +#: ../NEWS:5184 msgid "" ":gh:`139001`: Fix race condition in :class:`pathlib.Path` on the internal " "``_raw_paths`` field." msgstr "" -#: ../NEWS:4930 +#: ../NEWS:5187 msgid "" ":gh:`138813`: :class:`!multiprocessing.BaseProcess` defaults ``kwargs`` to " "``None`` instead of a shared dictionary." msgstr "" -#: ../NEWS:4933 +#: ../NEWS:5190 msgid ":gh:`138993`: Dedent :data:`credits` text." msgstr "" -#: ../NEWS:4935 +#: ../NEWS:5192 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:4939 +#: ../NEWS:5196 msgid "" ":gh:`130567`: Fix possible crash in :func:`locale.strxfrm` due to a platform " "bug on macOS." msgstr "" -#: ../NEWS:4942 +#: ../NEWS:5199 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:4946 +#: ../NEWS:5203 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:4951 +#: ../NEWS:5208 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:4955 +#: ../NEWS:5212 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:4958 +#: ../NEWS:5215 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:4962 +#: ../NEWS:5219 msgid "" ":gh:`137706`: Fix the partial evaluation of annotations that use " "``typing.Annotated[T, x]`` where ``T`` is a forward reference." msgstr "" -#: ../NEWS:4965 +#: ../NEWS:5222 msgid "" ":gh:`88375`: Fix normalization of the ``robots.txt`` rules and URLs in " "the :mod:`urllib.robotparser` module. No longer ignore trailing ``?``. " @@ -8427,26 +8846,26 @@ msgid "" "encoded ones." msgstr "" -#: ../NEWS:4970 +#: ../NEWS:5227 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:4974 +#: ../NEWS:5231 msgid "" ":gh:`98896`: Fix a failure in multiprocessing resource_tracker when " "SharedMemory names contain colons. Patch by Rani Pinchuk." msgstr "" -#: ../NEWS:4977 +#: ../NEWS:5234 msgid "" ":gh:`138425`: Fix partial evaluation of :class:`annotationlib.ForwardRef` " "objects which rely on names defined as globals." msgstr "" -#: ../NEWS:4980 +#: ../NEWS:5237 msgid "" ":gh:`138432`: :meth:`zoneinfo.reset_tzpath` will now convert " "any :class:`os.PathLike` objects it receives into strings before adding them " @@ -8456,31 +8875,31 @@ msgid "" "``TypeError``, and present a more informative error message." msgstr "" -#: ../NEWS:4987 +#: ../NEWS:5244 msgid "" ":gh:`138008`: Fix segmentation faults in the :mod:`ctypes` module due to " "invalid :attr:`~ctypes._CFuncPtr.argtypes`. Patch by Dung Nguyen." msgstr "" -#: ../NEWS:4990 +#: ../NEWS:5247 msgid "" ":gh:`60462`: Fix :func:`locale.strxfrm` on Solaris (and possibly other " "platforms)." msgstr "" -#: ../NEWS:4993 +#: ../NEWS:5250 msgid "" ":gh:`138239`: The REPL now highlights :keyword:`type` as a soft keyword " "in :ref:`type statements `." msgstr "" -#: ../NEWS:4996 +#: ../NEWS:5253 msgid "" ":gh:`138204`: Forbid expansion of shared anonymous :mod:`memory maps ` " "on Linux, which caused a bus error." msgstr "" -#: ../NEWS:4999 +#: ../NEWS:5256 msgid "" ":gh:`138010`: Fix an issue where defining a class with " "an :func:`@warnings.deprecated `-decorated base class " @@ -8488,39 +8907,39 @@ msgid "" "involving multiple inheritance. Patch by Brian Schubert." msgstr "" -#: ../NEWS:5004 +#: ../NEWS:5261 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:5008 +#: ../NEWS:5265 msgid "" ":gh:`137317`: :func:`inspect.signature` now correctly handles classes that " "use a descriptor on a wrapped :meth:`!__init__` or :meth:`!__new__` method. " "Contributed by Yongyu Yan." msgstr "" -#: ../NEWS:5012 +#: ../NEWS:5269 msgid "" ":gh:`137754`: Fix import of the :mod:`zoneinfo` module if the C " "implementation of the :mod:`datetime` module is not available." msgstr "" -#: ../NEWS:5015 +#: ../NEWS:5272 msgid "" ":gh:`137490`: Handle :data:`~errno.ECANCELED` in the same way " "as :data:`~errno.EINTR` in :func:`signal.sigwaitinfo` on NetBSD." msgstr "" -#: ../NEWS:5018 +#: ../NEWS:5275 msgid "" ":gh:`137477`: Fix :func:`!inspect.getblock`, :func:`inspect.getsourcelines` " "and :func:`inspect.getsource` for generator expressions." msgstr "" -#: ../NEWS:5021 +#: ../NEWS:5278 msgid "" ":gh:`137044`: Return large limit values as positive integers instead of " "negative integers in :func:`resource.getrlimit`. Accept large values and " @@ -8528,14 +8947,14 @@ msgid "" "in :func:`resource.setrlimit`." msgstr "" -#: ../NEWS:5026 +#: ../NEWS:5283 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:5031 +#: ../NEWS:5288 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 " @@ -8543,92 +8962,92 @@ msgid "" "premature :obj:`threading.Thread.is_alive` calls." msgstr "" -#: ../NEWS:5036 +#: ../NEWS:5293 msgid "" ":gh:`137273`: Fix debug assertion failure in :func:`locale.setlocale` on " "Windows." msgstr "" -#: ../NEWS:5039 +#: ../NEWS:5296 msgid "" ":gh:`137239`: :mod:`heapq`: Update :data:`!heapq.__all__` with ``*_max`` " "functions." msgstr "" -#: ../NEWS:5042 +#: ../NEWS:5299 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:5046 +#: ../NEWS:5303 msgid "" ":gh:`137185`: Fix a potential async-signal-safety issue " "in :mod:`faulthandler` when printing C stack traces." msgstr "" -#: ../NEWS:5049 +#: ../NEWS:5306 msgid "" ":gh:`136914`: Fix retrieval of :attr:`doctest.DocTest.lineno` for objects " "decorated with :func:`functools.cache` or :class:`functools.cached_property`." msgstr "" -#: ../NEWS:5053 +#: ../NEWS:5310 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:5057 +#: ../NEWS:5314 msgid "" ":gh:`83424`: Allows creating a :class:`ctypes.CDLL` without name when " "passing a handle as an argument." msgstr "" -#: ../NEWS:5060 +#: ../NEWS:5317 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:5064 +#: ../NEWS:5321 msgid ":gh:`136507`: Fix mimetypes CLI to handle multiple file parameters." msgstr "" -#: ../NEWS:5066 +#: ../NEWS:5323 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:5069 +#: ../NEWS:5326 msgid "" ":gh:`135386`: Fix opening a :mod:`dbm.sqlite3` database for reading from " "read-only file or directory." msgstr "" -#: ../NEWS:5072 +#: ../NEWS:5329 msgid "" ":gh:`135444`: Fix :meth:`asyncio.DatagramTransport.sendto` to account for " "datagram header size when data cannot be sent." msgstr "" -#: ../NEWS:5075 +#: ../NEWS:5332 msgid "" ":gh:`126631`: Fix :mod:`multiprocessing` ``forkserver`` bug which prevented " "``__main__`` from being preloaded." msgstr "" -#: ../NEWS:5078 +#: ../NEWS:5335 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:5081 +#: ../NEWS:5338 msgid "" ":gh:`134453`: Fixed :func:`subprocess.Popen.communicate` ``input=`` handling " "of :class:`memoryview` instances that were non-byte shaped on POSIX " @@ -8636,87 +9055,87 @@ msgid "" "truncating the input. Windows platforms did not have this bug." msgstr "" -#: ../NEWS:5086 +#: ../NEWS:5343 msgid "" ":gh:`134698`: Fix a crash when calling methods of :class:`ssl.SSLContext` " "or :class:`ssl.SSLSocket` across multiple threads." msgstr "" -#: ../NEWS:5089 +#: ../NEWS:5346 msgid "" ":gh:`125996`: Fix thread safety of :class:`collections.OrderedDict`. Patch " "by Kumar Aditya." msgstr "" -#: ../NEWS:5092 +#: ../NEWS:5349 msgid "" ":gh:`133789`: Fix unpickling of :mod:`pathlib` objects that were pickled in " "Python 3.13." msgstr "" -#: ../NEWS:5095 +#: ../NEWS:5352 msgid "" ":gh:`127081`: Fix libc thread safety issues with :mod:`dbm` by performing " "stateful operations in critical sections." msgstr "" -#: ../NEWS:5098 +#: ../NEWS:5355 msgid "" ":gh:`132551`: Make :class:`io.BytesIO` safe in :term:`free-threaded ` build." msgstr "" -#: ../NEWS:5101 +#: ../NEWS:5358 msgid "" ":gh:`131788`: Make ``ResourceTracker.send`` from :mod:`multiprocessing` re-" "entrant safe" msgstr "" -#: ../NEWS:5104 +#: ../NEWS:5361 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:5108 +#: ../NEWS:5365 msgid "" ":gh:`102431`: Clarify constraints for \"logical\" arguments in methods " "of :class:`decimal.Context`." msgstr "" -#: ../NEWS:5111 +#: ../NEWS:5368 msgid "" ":gh:`78319`: UTF8 support for the IMAP APPEND command has been made RFC " "compliant." msgstr "" -#: ../NEWS:5114 +#: ../NEWS:5371 msgid "" ":issue:`38735`: Fix failure when importing a module from the root directory " "on unix-like platforms with sys.pycache_prefix set." msgstr "" -#: ../NEWS:5117 +#: ../NEWS:5374 msgid "" ":issue:`41839`: Allow negative priority values " "from :func:`os.sched_get_priority_min` and :func:`os.sched_get_priority_max` " "functions." msgstr "" -#: ../NEWS:5124 +#: ../NEWS:5381 msgid "" ":gh:`96491`: Deduplicate version number in IDLE shell title bar after saving " "to a file." msgstr "" -#: ../NEWS:5127 +#: ../NEWS:5384 msgid "" ":gh:`139742`: Colorize t-string prefixes for template strings in IDLE, as " "done for f-string prefixes." msgstr "" -#: ../NEWS:5133 +#: ../NEWS:5390 msgid "" ":gh:`141994`: :mod:`xml.sax.handler`: Make Documentation " "of :data:`xml.sax.handler.feature_external_ges` warn of opening up to " @@ -8724,39 +9143,39 @@ msgid "" "XML_external_entity_attack>`_. Patch by Sebastian Pipping." msgstr "" -#: ../NEWS:5139 +#: ../NEWS:5396 msgid "" ":gh:`140578`: Remove outdated sencence in the documentation " "for :mod:`multiprocessing`, that implied " "that :class:`concurrent.futures.ThreadPoolExecutor` did not exist." msgstr "" -#: ../NEWS:5146 +#: ../NEWS:5403 msgid "" ":gh:`142048`: Fix quadratically increasing garbage collection delays in free-" "threaded build." msgstr "" -#: ../NEWS:5152 +#: ../NEWS:5409 msgid "" ":gh:`116738`: Fix thread safety issue with :mod:`re` scanner objects in free-" "threaded builds." msgstr "" -#: ../NEWS:5158 +#: ../NEWS:5415 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:5162 +#: ../NEWS:5419 msgid "" ":gh:`120158`: Fix inconsistent state when enabling or disabling monitoring " "events too many times." msgstr "" -#: ../NEWS:5165 +#: ../NEWS:5422 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 " @@ -8764,25 +9183,25 @@ msgid "" "positives when user-space threads swap stacks." msgstr "" -#: ../NEWS:5170 +#: ../NEWS:5427 msgid "" ":gh:`139103`: Improve multithreaded scaling of dataclasses on the free-" "threaded build." msgstr "" -#: ../NEWS:5173 +#: ../NEWS:5430 msgid "" ":gh:`141579`: Fix :func:`sys.activate_stack_trampoline` to properly support " "the ``perf_jit`` backend. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:5176 +#: ../NEWS:5433 msgid "" ":gh:`114203`: Skip locking if object is already locked by two-mutex critical " "section." msgstr "" -#: ../NEWS:5179 +#: ../NEWS:5436 msgid "" ":gh:`141528`: Suggest " "using :meth:`concurrent.interpreters.Interpreter.close` instead of the " @@ -8790,71 +9209,71 @@ msgid "" "subinterpreters. Patch by Sergey Miryanov." msgstr "" -#: ../NEWS:5183 +#: ../NEWS:5440 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:5190 +#: ../NEWS:5447 msgid "" ":gh:`116738`: Make csv module thread-safe on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:5196 +#: ../NEWS:5453 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:5203 +#: ../NEWS:5460 msgid "" ":gh:`140260`: Fix :mod:`struct` data race in endian table initialization " "with subinterpreters. Patch by Shamil Abdulaev." msgstr "" -#: ../NEWS:5209 +#: ../NEWS:5466 msgid "" ":gh:`140530`: Fix a reference leak when ``raise exc from cause`` fails. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5212 +#: ../NEWS:5469 msgid "" ":gh:`140373`: Correctly emit ``PY_UNWIND`` event when generator object is " "closed. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:5215 +#: ../NEWS:5472 msgid "" ":gh:`140576`: Fixed crash in :func:`tokenize.generate_tokens` in case of " "specific incorrect input. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:5218 +#: ../NEWS:5475 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:5221 +#: ../NEWS:5478 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:5225 +#: ../NEWS:5482 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:5229 +#: ../NEWS:5486 msgid "" ":gh:`140431`: Fix a crash in Python's :term:`garbage collector ` due to partially initialized :term:`coroutine` objects when " @@ -8862,20 +9281,20 @@ msgid "" "(:func:`sys.set_coroutine_origin_tracking_depth`)." msgstr "" -#: ../NEWS:5237 +#: ../NEWS:5494 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:5245 +#: ../NEWS:5502 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:5248 +#: ../NEWS:5505 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 " @@ -8883,58 +9302,58 @@ msgid "" "unreachable objects. Contributed by Pål Grønås Drange." msgstr "" -#: ../NEWS:5253 +#: ../NEWS:5510 msgid "" ":gh:`140306`: Fix memory leaks in cross-interpreter channel operations and " "shared namespace handling." msgstr "" -#: ../NEWS:5256 +#: ../NEWS:5513 msgid ":gh:`140301`: Fix memory leak of ``PyConfig`` in subinterpreters." msgstr "" -#: ../NEWS:5258 +#: ../NEWS:5515 msgid "" ":gh:`140257`: Fix data race between interpreter_clear() and take_gil() on " "eval_breaker during finalization with daemon threads." msgstr "" -#: ../NEWS:5261 +#: ../NEWS:5518 msgid "" ":gh:`139951`: Fixes a regression in GC performance for a growing heap " "composed mostly of small tuples." msgstr "" -#: ../NEWS:5264 +#: ../NEWS:5521 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:5266 +#: ../NEWS:5523 msgid "" "Does not track most untrackable tuples during creation. This prevents large " "numbers of small tuples causing excessive GCs." msgstr "" -#: ../NEWS:5269 +#: ../NEWS:5526 msgid "" ":gh:`140104`: Fix a bug with exception handling in the JIT. Patch by Ken " "Jin. Bug reported by Daniel Diniz." msgstr "" -#: ../NEWS:5272 +#: ../NEWS:5529 msgid "" ":gh:`140061`: Fixing the checking of whether an object is uniquely " "referenced to ensure free-threaded compatibility. Patch by Sergey Miryanov." msgstr "" -#: ../NEWS:5275 +#: ../NEWS:5532 msgid ":gh:`140067`: Fix memory leak in sub-interpreter creation." msgstr "" -#: ../NEWS:5277 +#: ../NEWS:5534 msgid "" ":gh:`140000`: Fix potential memory leak when a reference cycle exists " "between an instance " @@ -8943,46 +9362,46 @@ msgid "" "Mikhail Efimov." msgstr "" -#: ../NEWS:5282 +#: ../NEWS:5539 msgid "" ":gh:`139914`: Restore support for HP PA-RISC, which has an upwards-growing " "stack." msgstr "" -#: ../NEWS:5285 +#: ../NEWS:5542 msgid "" ":gh:`139988`: Fix a memory leak when failing to create " "a :class:`~typing.Union` type. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5288 +#: ../NEWS:5545 msgid "" ":gh:`139748`: Fix reference leaks in error branches of functions accepting " "path strings or bytes such as :func:`compile` and :func:`os.system`. Patch " "by Bénédikt Tran." msgstr "" -#: ../NEWS:5292 +#: ../NEWS:5549 msgid "" ":gh:`139516`: Fix lambda colon erroneously start format spec in f-string in " "tokenizer." msgstr "" -#: ../NEWS:5295 +#: ../NEWS:5552 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:5299 +#: ../NEWS:5556 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:5303 +#: ../NEWS:5560 msgid "" ":gh:`63161`: Support non-UTF-8 shebang and comments in Python source files " "if non-UTF-8 encoding is specified. Detect decoding error in comments for " @@ -8991,32 +9410,32 @@ msgid "" "when it conflicts with the BOM in a traceback." msgstr "" -#: ../NEWS:5312 +#: ../NEWS:5569 msgid "" ":gh:`116738`: Make :mod:`mmap` thread-safe on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:5318 +#: ../NEWS:5575 msgid "" ":gh:`138558`: Fix handling of unusual t-string annotations in annotationlib. " "Patch by Dave Peck." msgstr "" -#: ../NEWS:5321 +#: ../NEWS:5578 msgid "" ":gh:`134466`: Don't run PyREPL in a degraded environment where setting " "termios attributes is not allowed." msgstr "" -#: ../NEWS:5324 +#: ../NEWS:5581 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:5328 +#: ../NEWS:5585 msgid "" ":gh:`105487`: Remove non-" "existent :meth:`~object.__copy__`, :meth:`~object.__deepcopy__`, " @@ -9024,33 +9443,33 @@ msgid "" "of :class:`types.GenericAlias`." msgstr "" -#: ../NEWS:5332 +#: ../NEWS:5589 msgid "" ":gh:`69605`: Fix some standard library submodules missing from " "the :term:`REPL` auto-completion of imports." msgstr "" -#: ../NEWS:5338 +#: ../NEWS:5595 msgid "" ":gh:`116738`: Make :mod:`cProfile` thread-safe on the :term:`free threaded " "` build." msgstr "" -#: ../NEWS:5341 +#: ../NEWS:5598 msgid "" ":gh:`138004`: On Solaris/Illumos platforms, thread names are now encoded as " "ASCII to avoid errors on systems (e.g. OpenIndiana) that don't support non-" "ASCII names." msgstr "" -#: ../NEWS:5348 +#: ../NEWS:5605 msgid "" ":gh:`137433`: Fix a potential deadlock in the :term:`free threading` build " "when daemon threads enable or disable profiling or tracing while the main " "thread is shutting down the interpreter." msgstr "" -#: ../NEWS:5352 ../NEWS:5658 +#: ../NEWS:5609 ../NEWS:5915 msgid "" ":gh:`137400`: Fix a crash in the :term:`free threading` build when disabling " "profiling or tracing across all threads " @@ -9060,31 +9479,31 @@ msgid "" "and :func:`threading.setprofile_all_threads`." msgstr "" -#: ../NEWS:5359 +#: ../NEWS:5616 msgid "" ":gh:`58124`: Fix name of the Python encoding in Unicode errors of the code " "page codec: use \"cp65000\" and \"cp65001\" instead of \"CP_UTF7\" and " "\"CP_UTF8\" which are not valid Python code names. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5363 +#: ../NEWS:5620 msgid "" ":gh:`132657`: Improve performance of :class:`frozenset` by removing locks in " "the free-threading build." msgstr "" -#: ../NEWS:5366 +#: ../NEWS:5623 msgid "" ":gh:`133400`: Fixed Ctrl+D (^D) behavior in _pyrepl module to match old " "pre-3.13 REPL behavior." msgstr "" -#: ../NEWS:5369 +#: ../NEWS:5626 msgid "" ":gh:`128640`: Fix a crash when using threads inside of a subinterpreter." msgstr "" -#: ../NEWS:5374 +#: ../NEWS:5631 msgid "" ":gh:`137422`: Fix :term:`free threading` race condition " "in :c:func:`PyImport_AddModuleRef`. It was previously possible for two calls " @@ -9092,13 +9511,13 @@ msgid "" "in :data:`sys.modules`." msgstr "" -#: ../NEWS:5379 +#: ../NEWS:5636 msgid "" ":gh:`140042`: Removed the sqlite3_shutdown call that could cause closing " "connections for sqlite when used with multiple sub interpreters." msgstr "" -#: ../NEWS:5382 +#: ../NEWS:5639 msgid "" ":gh:`141042`: Make qNaN in :c:func:`PyFloat_Pack2` " "and :c:func:`PyFloat_Pack4`, if while conversion to a narrower precision " @@ -9106,20 +9525,20 @@ msgid "" "zero. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:5387 +#: ../NEWS:5644 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:5391 +#: ../NEWS:5648 msgid "" ":gh:`140153`: Fix :c:func:`Py_REFCNT` definition on limited C API 3.11-3.13. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:5394 +#: ../NEWS:5651 msgid "" ":gh:`139653`: Add :c:func:`PyUnstable_ThreadState_SetStackProtection` " "and :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set " @@ -9127,13 +9546,13 @@ msgid "" "thread state. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5402 +#: ../NEWS:5659 msgid "" ":gh:`141808`: Do not generate the jit stencils twice in case of PGO builds " "on Windows." msgstr "" -#: ../NEWS:5405 +#: ../NEWS:5662 msgid "" ":gh:`141784`: Fix ``_remote_debugging_module.c`` compilation on 32-bit " "Linux. Include Python.h before system headers to make sure that " @@ -9141,85 +9560,85 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:5410 +#: ../NEWS:5667 msgid "" ":gh:`140768`: Warn when the WASI SDK version doesn't match what's supported." msgstr "" -#: ../NEWS:5412 +#: ../NEWS:5669 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:5416 +#: ../NEWS:5673 msgid ":gh:`140189`: iOS builds were added to CI." msgstr "" -#: ../NEWS:5418 +#: ../NEWS:5675 msgid "" ":gh:`138489`: When cross-compiling for WASI by ``build_wasm`` or " "``build_emscripten``, the ``build-details.json`` step is now included in the " "build process, just like with native builds." msgstr "" -#: ../NEWS:5422 +#: ../NEWS:5679 msgid "" "This fixes the ``libinstall`` task which requires the ``build-details.json`` " "file during the process." msgstr "" -#: ../NEWS:5425 +#: ../NEWS:5682 msgid "" ":gh:`137618`: ``PYTHON_FOR_REGEN`` now requires Python 3.10 to Python 3.15. " "Patch by Adam Turner." msgstr "" -#: ../NEWS:5428 +#: ../NEWS:5685 msgid "" ":gh:`123681`: Check the ``strftime()`` behavior at runtime instead of at the " "compile time to support cross-compiling. Remove the internal macro " "``_Py_NORMALIZE_CENTURY``." msgstr "" -#: ../NEWS:5434 +#: ../NEWS:5691 msgid "Python 3.14.0 final" msgstr "" -#: ../NEWS:5436 +#: ../NEWS:5693 msgid "*Release date: 2025-10-07*" msgstr "" -#: ../NEWS:5441 +#: ../NEWS:5698 msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 8.6.17." msgstr "" -#: ../NEWS:5443 ../NEWS:5448 +#: ../NEWS:5700 ../NEWS:5705 msgid ":gh:`139573`: Updated bundled version of OpenSSL to 3.0.18." msgstr "" -#: ../NEWS:5453 +#: ../NEWS:5710 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:5457 +#: ../NEWS:5714 msgid "" ":gh:`132006`: XCframeworks now include privacy manifests to satisfy Apple " "App Store submission requirements." msgstr "" -#: ../NEWS:5460 +#: ../NEWS:5717 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:5467 +#: ../NEWS:5724 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 " @@ -9227,31 +9646,31 @@ msgid "" "Patch by Sebastian Pipping." msgstr "" -#: ../NEWS:5476 +#: ../NEWS:5733 msgid ":gh:`139312`: Upgrade bundled libexpat to 2.7.3" msgstr "" -#: ../NEWS:5480 +#: ../NEWS:5737 msgid "Python 3.14.0 release candidate 3" msgstr "" -#: ../NEWS:5482 +#: ../NEWS:5739 msgid "*Release date: 2025-09-18*" msgstr "" -#: ../NEWS:5487 +#: ../NEWS:5744 msgid "" ":gh:`138896`: Fix error installing C runtime on non-updated Windows machines" msgstr "" -#: ../NEWS:5492 +#: ../NEWS:5749 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:5499 +#: ../NEWS:5756 msgid "" ":gh:`135661`: Fix CDATA section parsing in :class:`html.parser.HTMLParser` " "according to the HTML5 standard: ``] ]>`` and ``]] >`` no longer end the " @@ -9260,11 +9679,11 @@ msgid "" "content (SVG or MathML) or as a bogus comment in the HTML namespace." msgstr "" -#: ../NEWS:5509 +#: ../NEWS:5766 msgid ":gh:`138998`: Update bundled libexpat to 2.7.2" msgstr "" -#: ../NEWS:5511 +#: ../NEWS:5768 msgid "" ":gh:`118803`: Add back :class:`collections.abc.ByteString` " "and :class:`typing.ByteString`. Both had been removed in prior alpha, beta " @@ -9272,67 +9691,67 @@ msgid "" "postponed to Python 3.17." msgstr "" -#: ../NEWS:5516 +#: ../NEWS:5773 msgid "" ":gh:`137226`: Fix :func:`typing.get_type_hints` calls on " "generic :class:`typing.TypedDict` classes defined with string annotations." msgstr "" -#: ../NEWS:5519 +#: ../NEWS:5776 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:5523 +#: ../NEWS:5780 msgid "" ":gh:`128636`: Fix crash in PyREPL when os.environ is overwritten with an " "invalid value for mac" msgstr "" -#: ../NEWS:5526 +#: ../NEWS:5783 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:5530 +#: ../NEWS:5787 msgid ":gh:`138515`: :mod:`email` is added to Emscripten build." msgstr "" -#: ../NEWS:5532 +#: ../NEWS:5789 msgid "" ":gh:`99948`: :func:`ctypes.util.find_library` now works in Emscripten build." msgstr "" -#: ../NEWS:5534 +#: ../NEWS:5791 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:5538 +#: ../NEWS:5795 msgid "" ":gh:`138133`: Prevent infinite traceback loop when sending CTRL^C to Python " "through ``strace``." msgstr "" -#: ../NEWS:5541 +#: ../NEWS:5798 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:5544 +#: ../NEWS:5801 msgid "" ":gh:`90548`: Fix ``musl`` detection for :func:`platform.libc_ver` on Alpine " "Linux if compiled with --strip-all." msgstr "" -#: ../NEWS:5547 +#: ../NEWS:5804 msgid "" ":gh:`136134`: :meth:`!SMTP.auth_cram_md5` now raises " "an :exc:`~smtplib.SMTPException` instead of a :exc:`ValueError` if Python " @@ -9341,157 +9760,157 @@ msgid "" "assumed to support it. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5553 +#: ../NEWS:5810 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:5557 +#: ../NEWS:5814 msgid "" ":gh:`134953`: Expand ``_colorize`` theme with ``keyword_constant`` and " "implement in :term:`repl`." msgstr "" -#: ../NEWS:5563 +#: ../NEWS:5820 msgid "" ":gh:`71810`: Raise :exc:`OverflowError` for ``(-1).to_bytes()`` for signed " "conversions when bytes count is zero. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:5566 +#: ../NEWS:5823 msgid "" ":gh:`138192`: Fix :mod:`contextvars` initialization so that all " "subinterpreters are assigned the :attr:`~contextvars.Token.MISSING` value." msgstr "" -#: ../NEWS:5569 +#: ../NEWS:5826 msgid "" ":gh:`138479`: Fix a crash when a generic object's ``__typing_subst__`` " "returns an object that isn't a :class:`tuple`." msgstr "" -#: ../NEWS:5572 +#: ../NEWS:5829 msgid "" ":gh:`138372`: Fix :exc:`SyntaxWarning` emitted for erroneous subscript " "expressions involving :ref:`template string literals `. Patch by " "Brian Schubert." msgstr "" -#: ../NEWS:5576 +#: ../NEWS:5833 msgid "" ":gh:`138318`: The default REPL now avoids highlighting built-in names (for " "instance :class:`set` or :func:`format`) when they are used as attribute " "names (for instance in ``value.set`` or ``text.format``)." msgstr "" -#: ../NEWS:5580 +#: ../NEWS:5837 msgid "" ":gh:`138349`: Fix crash in certain cases where a module contains both a " "module-level annotation and a comprehension." msgstr "" -#: ../NEWS:5583 +#: ../NEWS:5840 msgid "" ":gh:`137384`: Fix a crash when using the :mod:`warnings` module in a " "finalizer at shutdown. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:5586 +#: ../NEWS:5843 msgid "" ":gh:`137883`: Fix runaway recursion when calling a function with keyword " "arguments." msgstr "" -#: ../NEWS:5589 +#: ../NEWS:5846 msgid "" ":gh:`137079`: Fix keyword typo recognition when parsing files. Patch by " "Pablo Galindo." msgstr "" -#: ../NEWS:5592 +#: ../NEWS:5849 msgid "" ":gh:`137728`: Fix the JIT's handling of many local variables. This " "previously caused a segfault." msgstr "" -#: ../NEWS:5595 +#: ../NEWS:5852 msgid "" ":gh:`137576`: Fix for incorrect source code being shown in tracebacks from " "the Basic REPL when :envvar:`PYTHONSTARTUP` is given. Patch by Adam Hartz." msgstr "" -#: ../NEWS:5600 +#: ../NEWS:5857 msgid "Python 3.14.0 release candidate 2" msgstr "" -#: ../NEWS:5602 +#: ../NEWS:5859 msgid "*Release date: 2025-08-14*" msgstr "" -#: ../NEWS:5607 +#: ../NEWS:5864 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:5611 +#: ../NEWS:5868 msgid "" ":gh:`137134`: Update macOS installer to ship with SQLite version 3.50.4." msgstr "" -#: ../NEWS:5616 +#: ../NEWS:5873 msgid ":gh:`137134`: Update Windows installer to ship with SQLite 3.50.4." msgstr "" -#: ../NEWS:5621 +#: ../NEWS:5878 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:5625 +#: ../NEWS:5882 msgid "" ":gh:`137282`: Fix tab completion and :func:`dir` " "on :mod:`concurrent.futures`." msgstr "" -#: ../NEWS:5628 +#: ../NEWS:5885 msgid "" ":gh:`137257`: Bump the version of pip bundled in ensurepip to version 25.2" msgstr "" -#: ../NEWS:5630 +#: ../NEWS:5887 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:5634 +#: ../NEWS:5891 msgid "" ":gh:`130522`: Fix unraisable :exc:`TypeError` raised " "during :term:`interpreter shutdown` in the :mod:`threading` module." msgstr "" -#: ../NEWS:5637 +#: ../NEWS:5894 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:5641 +#: ../NEWS:5898 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:5645 +#: ../NEWS:5902 msgid "" ":gh:`135228`: When :mod:`dataclasses` replaces a class with a slotted " "dataclass, the original class can now be garbage collected again. Earlier " @@ -9499,12 +9918,12 @@ msgid "" "together with the replacement class synthesized by :mod:`dataclasses`." msgstr "" -#: ../NEWS:5653 +#: ../NEWS:5910 msgid "" ":gh:`136155`: We are now checking for fatal errors in EPUB builds in CI." msgstr "" -#: ../NEWS:5665 +#: ../NEWS:5922 msgid "" ":gh:`137314`: Fixed a regression where raw f-strings incorrectly interpreted " "escape sequences in format specifications. Raw f-strings now properly " @@ -9513,74 +9932,74 @@ msgid "" "\\xFF'`` instead of ``'ÿ'``. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:5671 +#: ../NEWS:5928 msgid "" ":gh:`137308`: A standalone docstring in a node body is optimized as " "a :keyword:`pass` statement to ensure that the node's body is never empty. " "There was a :exc:`ValueError` in :func:`compile` otherwise." msgstr "" -#: ../NEWS:5675 +#: ../NEWS:5932 msgid "" ":gh:`137288`: Fix bug where some bytecode instructions of a boolean " "expression are not associated with the correct exception handler." msgstr "" -#: ../NEWS:5678 +#: ../NEWS:5935 msgid "" ":gh:`134291`: Remove some newer macOS API usage from the JIT compiler in " "order to restore compatibility with older OSX 10.15 deployment targets." msgstr "" -#: ../NEWS:5681 +#: ../NEWS:5938 msgid "" ":gh:`131338`: Disable computed stack limit checks on non-glibc linux " "platforms to fix crashes on deep recursion." msgstr "" -#: ../NEWS:5684 +#: ../NEWS:5941 msgid "" ":gh:`136870`: Fix data races while de-instrumenting bytecode of code objects " "running concurrently in threads." msgstr "" -#: ../NEWS:5690 +#: ../NEWS:5947 msgid "" ":gh:`137573`: Mark ``_PyOptimizer_Optimize`` as :c:macro:`Py_NO_INLINE` to " "prevent stack overflow crashes on macOS." msgstr "" -#: ../NEWS:5696 +#: ../NEWS:5953 msgid ":gh:`132339`: Add support for OpenSSL 3.5." msgstr "" -#: ../NEWS:5700 +#: ../NEWS:5957 msgid "Python 3.14.0 release candidate 1" msgstr "" -#: ../NEWS:5702 +#: ../NEWS:5959 msgid "*Release date: 2025-07-22*" msgstr "" -#: ../NEWS:5707 +#: ../NEWS:5964 msgid "" ":gh:`136251`: Fixes and usability improvements for ``Tools/wasm/emscripten/" "web_example``" msgstr "" -#: ../NEWS:5713 +#: ../NEWS:5970 msgid "" ":gh:`135661`: Fix parsing attributes with whitespaces around the ``=`` " "separator in :class:`html.parser.HTMLParser` according to the HTML5 standard." msgstr "" -#: ../NEWS:5717 +#: ../NEWS:5974 msgid "" ":gh:`118350`: Fix support of escapable raw text mode (elements \"textarea\" " "and \"title\") in :class:`html.parser.HTMLParser`." msgstr "" -#: ../NEWS:5723 +#: ../NEWS:5980 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 " @@ -9588,86 +10007,86 @@ msgid "" "expect." msgstr "" -#: ../NEWS:5727 +#: ../NEWS:5984 msgid ":gh:`124621`: pyrepl now works in Emscripten." msgstr "" -#: ../NEWS:5729 +#: ../NEWS:5986 msgid "" ":gh:`136874`: Discard URL query and fragment " "in :func:`urllib.request.url2pathname`." msgstr "" -#: ../NEWS:5732 +#: ../NEWS:5989 msgid ":gh:`130645`: Enable color help by default in :mod:`argparse`." msgstr "" -#: ../NEWS:5734 +#: ../NEWS:5991 msgid ":gh:`136549`: Fix signature of :func:`threading.excepthook`." msgstr "" -#: ../NEWS:5736 +#: ../NEWS:5993 msgid "" ":gh:`136523`: Fix :class:`wave.Wave_write` emitting an unraisable when open " "raises." msgstr "" -#: ../NEWS:5739 +#: ../NEWS:5996 msgid "" ":gh:`52876`: Add missing ``keepends`` (default ``True``) parameter " "to :meth:`!codecs.StreamReaderWriter.readline` and :meth:`!" "codecs.StreamReaderWriter.readlines`." msgstr "" -#: ../NEWS:5743 +#: ../NEWS:6000 msgid "" ":gh:`136470`: Correct :class:`concurrent.futures.InterpreterPoolExecutor`'s " "default thread name." msgstr "" -#: ../NEWS:5746 +#: ../NEWS:6003 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:5749 +#: ../NEWS:6006 msgid "" ":gh:`136434`: Fix docs generation of ``UnboundItem`` " "in :mod:`concurrent.interpreters` when running with :option:`-OO`." msgstr "" -#: ../NEWS:5752 +#: ../NEWS:6009 msgid "" ":gh:`136380`: Raises :exc:`AttributeError` when " "accessing :class:`concurrent.futures.InterpreterPoolExecutor` and " "subinterpreters are not available." msgstr "" -#: ../NEWS:5756 +#: ../NEWS:6013 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:5760 +#: ../NEWS:6017 msgid "" ":gh:`134657`: :mod:`asyncio`: Remove some private names from " "``asyncio.__all__``." msgstr "" -#: ../NEWS:5766 +#: ../NEWS:6023 msgid "" ":gh:`136801`: Fix PyREPL syntax highlighting on match cases after multi-line " "case. Contributed by Olga Matoula." msgstr "" -#: ../NEWS:5772 +#: ../NEWS:6029 msgid ":gh:`136421`: Fix crash when initializing :mod:`datetime` concurrently." msgstr "" -#: ../NEWS:5777 +#: ../NEWS:6034 msgid "" ":gh:`136541`: Fix some issues with the perf trampolines on x86-64 and " "aarch64. The trampolines were not being generated correctly for some cases, " @@ -9675,172 +10094,172 @@ msgid "" "Pablo Galindo." msgstr "" -#: ../NEWS:5782 +#: ../NEWS:6039 msgid "" ":gh:`136517`: Fixed a typo that prevented printing of uncollectable objects " "when the :const:`gc.DEBUG_UNCOLLECTABLE` mode was set." msgstr "" -#: ../NEWS:5785 +#: ../NEWS:6042 msgid "" ":gh:`136525`: Fix issue where per-thread bytecode was not instrumented for " "newly created threads." msgstr "" -#: ../NEWS:5788 +#: ../NEWS:6045 msgid "" ":gh:`132661`: ``Interpolation.expression`` now has a default, the empty " "string." msgstr "" -#: ../NEWS:5791 +#: ../NEWS:6048 msgid ":gh:`132661`: Reflect recent :pep:`750` change." msgstr "" -#: ../NEWS:5793 +#: ../NEWS:6050 msgid "" "Disallow concatenation of ``string.templatelib.Template`` and :class:`str`. " "Also, disallow implicit concatenation of t-string literals with string or f-" "string literals." msgstr "" -#: ../NEWS:5800 +#: ../NEWS:6057 msgid "" ":gh:`116738`: Make functions in :mod:`grp` thread-safe on the :term:`free " "threaded ` build." msgstr "" -#: ../NEWS:5806 +#: ../NEWS:6063 msgid "" ":gh:`135148`: Fixed a bug where f-string debug expressions (using =) would " "incorrectly strip out parts of strings containing escaped quotes and # " "characters. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:5810 +#: ../NEWS:6067 msgid "" ":gh:`133136`: Limit excess memory usage in the :term:`free threading` build " "when a large dictionary or list is resized and accessed by multiple threads." msgstr "" -#: ../NEWS:5814 +#: ../NEWS:6071 msgid "" ":gh:`91153`: Fix a crash when a :class:`bytearray` is concurrently mutated " "during item assignment." msgstr "" -#: ../NEWS:5817 +#: ../NEWS:6074 msgid "" ":gh:`127971`: Fix off-by-one read beyond the end of a string in string " "search." msgstr "" -#: ../NEWS:5823 +#: ../NEWS:6080 msgid "" ":gh:`112068`: Revert support of nullable arguments in :c:func:`PyArg_Parse`." msgstr "" -#: ../NEWS:5825 +#: ../NEWS:6082 msgid "" ":gh:`133296`: New variants for the critical section API that accept one or " "two :c:type:`PyMutex` pointers rather than :c:type:`PyObject` instances are " "now public in the non-limited C API." msgstr "" -#: ../NEWS:5829 +#: ../NEWS:6086 msgid "" ":gh:`134009`: Expose :c:func:`PyMutex_IsLocked` as part of the public C API." msgstr "" -#: ../NEWS:5834 +#: ../NEWS:6091 msgid "" ":gh:`135621`: PyREPL no longer depends on the :mod:`curses` standard " "library. Contributed by Łukasz Langa." msgstr "" -#: ../NEWS:5839 +#: ../NEWS:6096 msgid "Python 3.14.0 beta 4" msgstr "" -#: ../NEWS:5841 +#: ../NEWS:6098 msgid "*Release date: 2025-07-08*" msgstr "" -#: ../NEWS:5846 +#: ../NEWS:6103 msgid "" ":gh:`135968`: Stubs for ``strip`` are now provided as part of an iOS install." msgstr "" -#: ../NEWS:5848 +#: ../NEWS:6105 msgid ":gh:`133600`: Backport file reorganization for Tools/wasm/wasi." msgstr "" -#: ../NEWS:5850 +#: ../NEWS:6107 msgid "" "This should make backporting future code changes easier. It also simplifies " "instructions around how to do WASI builds in the devguide." msgstr "" -#: ../NEWS:5856 +#: ../NEWS:6113 msgid "" ":gh:`135966`: The iOS testbed now handles the ``app_packages`` folder as a " "site directory." msgstr "" -#: ../NEWS:5859 +#: ../NEWS:6116 msgid "" ":gh:`135494`: Fix regrtest to support excluding tests from ``--pgo`` tests. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:5865 +#: ../NEWS:6122 msgid "" ":gh:`136053`: :mod:`marshal`: fix a possible crash when " "deserializing :class:`slice` objects." msgstr "" -#: ../NEWS:5868 +#: ../NEWS:6125 msgid "" ":gh:`135661`: Fix parsing start and end tags " "in :class:`html.parser.HTMLParser` according to the HTML5 standard." msgstr "" -#: ../NEWS:5871 +#: ../NEWS:6128 msgid "" "Whitespaces no longer accepted between ```` does not end the script section." msgstr "" -#: ../NEWS:5874 +#: ../NEWS:6131 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:5877 +#: ../NEWS:6134 msgid "Null character (U+0000) no longer ends the tag name." msgstr "" -#: ../NEWS:5879 +#: ../NEWS:6136 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:5883 +#: ../NEWS:6140 msgid "" "Multiple slashes and whitespaces between the last attribute and closing " "``>`` are now ignored in both start and end tags. E.g. ````." msgstr "" -#: ../NEWS:5886 +#: ../NEWS:6143 msgid "" "Multiple ``=`` between attribute name and value are no longer collapsed. " "E.g. ```` produces attribute \"foo\" with value \"=bar\"." msgstr "" -#: ../NEWS:5889 +#: ../NEWS:6146 msgid "" "[Reverted in :gh:`136927`] Whitespaces between the ``=`` separator and " "attribute name or value are no longer ignored. E.g. ```` " @@ -9849,7 +10268,7 @@ msgid "" "with value None." msgstr "" -#: ../NEWS:5894 +#: ../NEWS:6151 msgid "" ":gh:`102555`: Fix comment parsing in :class:`html.parser.HTMLParser` " "according to the HTML5 standard. ``--!>`` now ends the comment. ``-- >`` no " @@ -9857,46 +10276,46 @@ msgid "" "and ``<--->``." msgstr "" -#: ../NEWS:5902 +#: ../NEWS:6159 msgid "" ":gh:`136286`: Fix pickling failures for protocols 0 and 1 for many objects " "realted to subinterpreters." msgstr "" -#: ../NEWS:5905 +#: ../NEWS:6162 msgid "" ":gh:`136316`: Improve support for evaluating nested forward references " "in :func:`typing.evaluate_forward_ref`." msgstr "" -#: ../NEWS:5908 +#: ../NEWS:6165 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:5912 +#: ../NEWS:6169 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:5916 +#: ../NEWS:6173 msgid "" ":gh:`135995`: In the palmos encoding, make byte ``0x9b`` decode to ``›`` " "(U+203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK)." msgstr "" -#: ../NEWS:5919 +#: ../NEWS:6176 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:5923 +#: ../NEWS:6180 msgid "" ":gh:`91555`: An earlier change, which was introduced in 3.14.0b2, has been " "reverted. It disabled logging for a logger during handling of log messages " @@ -9904,14 +10323,14 @@ msgid "" "before 3.14.0b2." msgstr "" -#: ../NEWS:5928 +#: ../NEWS:6185 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:5932 +#: ../NEWS:6189 msgid "" ":gh:`135836`: Fix :exc:`IndexError` " "in :meth:`asyncio.loop.create_connection` that could occur when non-" @@ -9919,7 +10338,7 @@ msgid "" "``close()`` raises :exc:`!OSError`." msgstr "" -#: ../NEWS:5936 +#: ../NEWS:6193 msgid "" ":gh:`135836`: Fix :exc:`IndexError` " "in :meth:`asyncio.loop.create_connection` that could occur when the Happy " @@ -9927,20 +10346,20 @@ msgid "" "attempts." msgstr "" -#: ../NEWS:5940 +#: ../NEWS:6197 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:5944 +#: ../NEWS:6201 msgid "" ":gh:`135815`: :mod:`netrc`: skip security checks if :func:`os.getuid` is " "missing. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5947 +#: ../NEWS:6204 msgid "" ":gh:`135640`: Address bug where it was possible to " "call :func:`xml.etree.ElementTree.ElementTree.write` on an ElementTree " @@ -9948,84 +10367,84 @@ msgid "" "to ``write`` if it already existed." msgstr "" -#: ../NEWS:5952 +#: ../NEWS:6209 msgid "" ":gh:`135645`: Added ``supports_isolated_interpreters`` field " "to :data:`sys.implementation`." msgstr "" -#: ../NEWS:5955 +#: ../NEWS:6212 msgid "" ":gh:`135646`: Raise consistent :exc:`NameError` exceptions " "in :func:`annotationlib.ForwardRef.evaluate`" msgstr "" -#: ../NEWS:5958 +#: ../NEWS:6215 msgid "" ":gh:`135557`: Fix races on :mod:`heapq` updates and :class:`list` reads on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:5961 +#: ../NEWS:6218 msgid "" ":gh:`119180`: Only fetch globals and locals if necessary " "in :func:`annotationlib.get_annotations`" msgstr "" -#: ../NEWS:5964 +#: ../NEWS:6221 msgid "" ":gh:`135561`: Fix a crash on DEBUG builds when an HACL* HMAC routine fails. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:5967 +#: ../NEWS:6224 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:5971 +#: ../NEWS:6228 msgid "" ":gh:`135335`: :mod:`multiprocessing`: Flush ``stdout`` and ``stderr`` after " "preloading modules in the ``forkserver``." msgstr "" -#: ../NEWS:5974 +#: ../NEWS:6231 msgid "" ":gh:`135069`: Fix the \"Invalid error handling\" exception in :class:`!" "encodings.idna.IncrementalDecoder` to correctly replace the 'errors' " "parameter." msgstr "" -#: ../NEWS:5978 +#: ../NEWS:6235 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:5982 +#: ../NEWS:6239 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:5986 +#: ../NEWS:6243 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:5990 +#: ../NEWS:6247 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:5994 +#: ../NEWS:6251 msgid "" ":gh:`130664`: Handle corner-case for :class:`~fractions.Fraction`'s " "formatting: treat zero-padding (preceding the width field by a zero " @@ -10033,109 +10452,109 @@ msgid "" "alignment type of ``'='``, just as in case of :class:`float`'s." msgstr "" -#: ../NEWS:6002 +#: ../NEWS:6259 msgid "" ":gh:`136155`: EPUB builds are fixed by excluding non-XHTML-compatible tags." msgstr "" -#: ../NEWS:6007 +#: ../NEWS:6264 msgid ":gh:`109700`: Fix memory error handling in :c:func:`PyDict_SetDefault`." msgstr "" -#: ../NEWS:6009 +#: ../NEWS:6266 msgid "" ":gh:`78465`: Fix error message for ``cls.__new__(cls, ...)`` where ``cls`` " "is not instantiable builtin or extension type (with ``tp_new`` set to " "``NULL``)." msgstr "" -#: ../NEWS:6013 +#: ../NEWS:6270 msgid "" ":gh:`129958`: Differentiate between t-strings and f-strings in syntax error " "for newlines in format specifiers of single-quoted interpolated strings." msgstr "" -#: ../NEWS:6016 +#: ../NEWS:6273 msgid "" ":gh:`135871`: Non-blocking mutex lock attempts now return immediately when " "the lock is busy instead of briefly spinning in the :term:`free threading` " "build." msgstr "" -#: ../NEWS:6020 +#: ../NEWS:6277 msgid "" ":gh:`135106`: Restrict the trashcan mechanism to GC'ed objects and untrack " "them while in the trashcan to prevent the GC and trashcan mechanisms " "conflicting." msgstr "" -#: ../NEWS:6024 +#: ../NEWS:6281 msgid "" ":gh:`135607`: Fix potential :mod:`weakref` races in an object's destructor " "on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:6027 +#: ../NEWS:6284 msgid ":gh:`135608`: Fix a crash in the JIT involving attributes of modules." msgstr "" -#: ../NEWS:6029 +#: ../NEWS:6286 msgid "" ":gh:`135543`: Emit ``sys.remote_exec`` audit event " "when :func:`sys.remote_exec` is called and migrate " "``remote_debugger_script`` to ``cpython.remote_debugger_script``." msgstr "" -#: ../NEWS:6033 +#: ../NEWS:6290 msgid "" ":gh:`134280`: Disable constant folding for ``~`` with a boolean argument. " "This moves the deprecation warning from compile time to runtime." msgstr "" -#: ../NEWS:6039 +#: ../NEWS:6296 msgid "" ":gh:`135906`: Fix compilation errors when compiling the internal headers " "with a C++ compiler." msgstr "" -#: ../NEWS:6045 +#: ../NEWS:6302 msgid "" ":gh:`134273`: Add support for configuring compiler flags for the JIT with " "``CFLAGS_JIT``" msgstr "" -#: ../NEWS:6050 +#: ../NEWS:6307 msgid "Python 3.14.0 beta 3" msgstr "" -#: ../NEWS:6052 +#: ../NEWS:6309 msgid "*Release date: 2025-06-17*" msgstr "" -#: ../NEWS:6057 +#: ../NEWS:6314 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:6064 +#: ../NEWS:6321 msgid "" ":gh:`132815`: Fix test__opcode: add ``JUMP_BACKWARD`` to specialization " "stats." msgstr "" -#: ../NEWS:6067 +#: ../NEWS:6324 msgid "" ":gh:`135489`: Show verbose output for failing tests during PGO profiling " "step with --enable-optimizations." msgstr "" -#: ../NEWS:6070 +#: ../NEWS:6327 msgid ":gh:`135120`: Add :func:`!test.support.subTests`." msgstr "" -#: ../NEWS:6075 +#: ../NEWS:6332 msgid "" ":gh:`135462`: Fix quadratic complexity in processing specially crafted input " "in :class:`html.parser.HTMLParser`. End-of-file errors are now handled " @@ -10143,63 +10562,63 @@ msgid "" "closed, tags are ignored." msgstr "" -#: ../NEWS:6080 +#: ../NEWS:6337 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:6084 +#: ../NEWS:6341 msgid "" "Addresses :cve:`2024-12718`, :cve:`2025-4138`, :cve:`2025-4330`, " "and :cve:`2025-4517`." msgstr "" -#: ../NEWS:6090 +#: ../NEWS:6347 msgid "" ":gh:`65697`: :class:`configparser`'s error message when attempting to write " "an invalid key is now more helpful." msgstr "" -#: ../NEWS:6093 +#: ../NEWS:6350 msgid "" ":gh:`135497`: Fix :func:`os.getlogin` failing for longer usernames on BSD-" "based platforms." msgstr "" -#: ../NEWS:6096 +#: ../NEWS:6353 msgid "" ":gh:`135429`: Fix the argument mismatch in ``_lsprof`` for ``PY_THROW`` " "event." msgstr "" -#: ../NEWS:6099 +#: ../NEWS:6356 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:6103 +#: ../NEWS:6360 msgid "" ":gh:`133967`: Do not normalize :mod:`locale` name 'C.UTF-8' to 'en_US.UTF-8'." msgstr "" -#: ../NEWS:6105 +#: ../NEWS:6362 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:6108 +#: ../NEWS:6365 msgid "" ":gh:`135276`: Backported bugfixes in zipfile.Path from zipp 3.23. Fixed " "``.name``, ``.stem`` and other basename-based properties on Windows when " "working with a zipfile on disk." msgstr "" -#: ../NEWS:6112 +#: ../NEWS:6369 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 " @@ -10208,49 +10627,49 @@ msgid "" "and :func:`~uuid.uuid6`." msgstr "" -#: ../NEWS:6118 +#: ../NEWS:6375 msgid "" ":gh:`134970`: Fix the \"unknown action\" exception " "in :meth:`argparse.ArgumentParser.add_argument_group` to correctly replace " "the action class." msgstr "" -#: ../NEWS:6122 +#: ../NEWS:6379 msgid "" ":gh:`134718`: :func:`ast.dump` now only omits ``None`` and ``[]`` values if " "they are default values." msgstr "" -#: ../NEWS:6125 +#: ../NEWS:6382 msgid "" ":gh:`134939`: Add the :mod:`concurrent.interpreters` module. See :pep:`734`." msgstr "" -#: ../NEWS:6127 +#: ../NEWS:6384 msgid "" ":gh:`134885`: Fix possible crash in the :mod:`compression.zstd` module " "related to setting parameter types. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:6130 +#: ../NEWS:6387 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:6134 +#: ../NEWS:6391 msgid "" ":gh:`128840`: Fix parsing long IPv6 addresses with embedded IPv4 address." msgstr "" -#: ../NEWS:6136 +#: ../NEWS:6393 msgid "" ":gh:`134637`: Fix performance regression in calling a :mod:`ctypes` function " "pointer in :term:`free threading`." msgstr "" -#: ../NEWS:6139 +#: ../NEWS:6396 msgid "" ":gh:`134696`: Built-in HACL* and OpenSSL implementations of hash function " "constructors now correctly accept the same *documented* named arguments. For " @@ -10259,39 +10678,39 @@ msgid "" "implementation but these calls were not compatible. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6146 +#: ../NEWS:6403 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:6150 +#: ../NEWS:6407 msgid "" ":gh:`134210`: :func:`curses.window.getch` now correctly handles signals. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:6153 +#: ../NEWS:6410 msgid "" ":gh:`134152`: :mod:`email`: Fix parsing of email message ID with invalid " "domain." msgstr "" -#: ../NEWS:6156 +#: ../NEWS:6413 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:6160 +#: ../NEWS:6417 msgid "" ":gh:`132813`: Improve error messages for incorrect types and values " "of :class:`csv.Dialect` attributes." msgstr "" -#: ../NEWS:6163 +#: ../NEWS:6420 msgid "" ":gh:`132969`: Prevent the :class:`~concurrent.futures.ProcessPoolExecutor` " "executor thread, which remains running when :meth:`shutdown(wait=False) " @@ -10303,43 +10722,43 @@ msgid "" "pool." msgstr "" -#: ../NEWS:6172 +#: ../NEWS:6429 msgid "" ":gh:`127081`: Fix libc thread safety issues with :mod:`os` by replacing " "``getlogin`` with ``getlogin_r`` re-entrant version." msgstr "" -#: ../NEWS:6175 +#: ../NEWS:6432 msgid "" ":gh:`131884`: Fix formatting issues in :func:`json.dump` when both *indent* " "and *skipkeys* are used." msgstr "" -#: ../NEWS:6178 +#: ../NEWS:6435 msgid "" ":gh:`130999`: Avoid exiting the new REPL and offer suggestions even if there " "are non-string candidates when errors occur." msgstr "" -#: ../NEWS:6184 +#: ../NEWS:6441 msgid "" ":gh:`135171`: Document that the :term:`iterator` for the leftmost :keyword:`!" "for` clause in the generator expression is created immediately." msgstr "" -#: ../NEWS:6187 +#: ../NEWS:6444 msgid "" ":issue:`45210`: Document that error indicator may be set in tp_dealloc, and " "how to avoid clobbering it." msgstr "" -#: ../NEWS:6193 +#: ../NEWS:6450 msgid "" ":gh:`135496`: Fix typo in the f-string conversion type error " "(\"exclamanation\" -> \"exclamation\")." msgstr "" -#: ../NEWS:6196 +#: ../NEWS:6453 msgid "" ":gh:`135371`: Fixed :mod:`asyncio` debugging tools to properly display " "internal coroutine call stacks alongside external task dependencies. The " @@ -10347,28 +10766,28 @@ msgid "" "complete execution context. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:6204 +#: ../NEWS:6461 msgid "" ":gh:`127319`: Set the ``allow_reuse_port`` class variable to ``False`` on " "the XMLRPC, logging, and HTTP servers. This matches the behavior in prior " "Python releases, which is to not allow port reuse." msgstr "" -#: ../NEWS:6211 +#: ../NEWS:6468 msgid "" ":gh:`135171`: Reverts the behavior of async generator expressions when " "created with object w/o __aiter__ method to the pre-3.13 behavior of raising " "a TypeError." msgstr "" -#: ../NEWS:6215 +#: ../NEWS:6472 msgid "" ":gh:`130077`: Properly raise custom syntax errors when incorrect syntax " "containing names that are prefixes of soft keywords is encountered. Patch " "by Pablo Galindo." msgstr "" -#: ../NEWS:6219 +#: ../NEWS:6476 msgid "" ":gh:`135171`: Reverts the behavior of generator expressions when created " "with a non-iterable to the pre-3.13 behavior of raising a TypeError. It is " @@ -10378,31 +10797,31 @@ msgid "" "and adding an additional check to ``FOR_ITER``." msgstr "" -#: ../NEWS:6229 +#: ../NEWS:6486 msgid "" ":gh:`116738`: Make methods in :mod:`heapq` thread-safe on the :term:`free " "threaded ` build." msgstr "" -#: ../NEWS:6235 +#: ../NEWS:6492 msgid "" ":gh:`134876`: Add support to :pep:`768` remote debugging for Linux kernels " "which don't have CONFIG_CROSS_MEMORY_ATTACH configured." msgstr "" -#: ../NEWS:6238 +#: ../NEWS:6495 msgid "" ":gh:`134889`: Fix handling of a few opcodes that leave operands on the stack " "when optimizing ``LOAD_FAST``." msgstr "" -#: ../NEWS:6244 +#: ../NEWS:6501 msgid "" ":gh:`134908`: Fix crash when iterating over lines in a text file on " "the :term:`free threaded ` build." msgstr "" -#: ../NEWS:6250 +#: ../NEWS:6507 msgid "" ":gh:`132617`: Fix :meth:`dict.update` modification check that could " "incorrectly raise a \"dict mutated during update\" error when a different " @@ -10410,26 +10829,26 @@ msgid "" "object." msgstr "" -#: ../NEWS:6255 +#: ../NEWS:6512 msgid "" ":gh:`134679`: Fix crash in the :term:`free threading` build's QSBR code that " "could occur when changing an object's ``__dict__`` attribute." msgstr "" -#: ../NEWS:6258 +#: ../NEWS:6515 msgid "" ":gh:`127682`: No longer call ``__iter__`` twice in list comprehensions. This " "brings the behavior of list comprehensions in line with other forms of " "iteration" msgstr "" -#: ../NEWS:6262 +#: ../NEWS:6519 msgid "" ":gh:`133912`: Fix the C API function ``PyObject_GenericSetDict`` to handle " "extension classes with inline values." msgstr "" -#: ../NEWS:6268 +#: ../NEWS:6525 msgid "" ":gh:`134989`: Fix ``Py_RETURN_NONE``, ``Py_RETURN_TRUE`` and " "``Py_RETURN_FALSE`` macros in the limited C API 3.11 and older: don't treat " @@ -10437,14 +10856,14 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:6273 +#: ../NEWS:6530 msgid "" ":gh:`134989`: Implement :c:func:`PyObject_DelAttr` " "and :c:func:`PyObject_DelAttrString` as macros in the limited C API 3.12 and " "older. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6277 +#: ../NEWS:6534 msgid "" ":gh:`133968`: Add :c:func:`PyUnicodeWriter_WriteASCII` function to write an " "ASCII string into a :c:type:`PyUnicodeWriter`. The function is faster " @@ -10452,32 +10871,32 @@ msgid "" "the input string contains non-ASCII characters. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6285 +#: ../NEWS:6542 msgid "" ":gh:`119132`: Remove \"experimental\" tag from the CPython free-threading " "build." msgstr "" -#: ../NEWS:6288 +#: ../NEWS:6545 msgid "" ":gh:`135497`: Fix the detection of ``MAXLOGNAME`` in the ``configure.ac`` " "script." msgstr "" -#: ../NEWS:6291 +#: ../NEWS:6548 msgid "" ":gh:`134923`: Windows builds with profile-guided optimization enabled now " "use ``/GENPROFILE`` and ``/USEPROFILE`` instead of deprecated ``/LTCG:`` " "options." msgstr "" -#: ../NEWS:6295 +#: ../NEWS:6552 msgid "" ":gh:`134774`: Fix :c:macro:`Py_DEBUG` macro redefinition warnings on Windows " "debug builds. Patch by Chris Eibl." msgstr "" -#: ../NEWS:6298 +#: ../NEWS:6555 msgid "" ":gh:`134632`: Fixed ``build-details.json`` generation to use ``INCLUDEPY``, " "in order to reference the ``pythonX.Y`` subdirectory of the include " @@ -10485,27 +10904,27 @@ msgid "" "directory." msgstr "" -#: ../NEWS:6305 +#: ../NEWS:6562 msgid "Python 3.14.0 beta 2" msgstr "" -#: ../NEWS:6307 +#: ../NEWS:6564 msgid "*Release date: 2025-05-26*" msgstr "" -#: ../NEWS:6312 +#: ../NEWS:6569 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:6315 +#: ../NEWS:6572 msgid "" ":gh:`76023`: Make :func:`os.path.realpath` ignore Windows error 1005 when in " "non-strict mode." msgstr "" -#: ../NEWS:6318 +#: ../NEWS:6575 msgid "" ":gh:`133779`: Reverts the change to generate different :file:`pyconfig.h` " "files based on compiler settings, as it was frequently causing extension " @@ -10516,26 +10935,26 @@ msgid "" "with that flag or not." msgstr "" -#: ../NEWS:6326 +#: ../NEWS:6583 msgid "" ":gh:`133626`: Ensures packages are not accidentally bundled into the " "traditional installer." msgstr "" -#: ../NEWS:6332 +#: ../NEWS:6589 msgid "" ":gh:`134215`: :term:`REPL` import autocomplete only suggests private modules " "when explicitly specified." msgstr "" -#: ../NEWS:6338 +#: ../NEWS:6595 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:6342 +#: ../NEWS:6599 msgid "" ":gh:`133682`: Fixed test case " "``test.test_annotationlib.TestStringFormat.test_displays`` which ensures " @@ -10543,81 +10962,81 @@ msgid "" "tuples) in string annotations." msgstr "" -#: ../NEWS:6347 +#: ../NEWS:6604 msgid "" ":gh:`133639`: Fix ``TestPyReplAutoindent.test_auto_indent_default()`` " "doesn't run ``input_code``." msgstr "" -#: ../NEWS:6353 +#: ../NEWS:6610 msgid "" ":gh:`133767`: Fix use-after-free in the \"unicode-escape\" decoder with a " "non-\"strict\" error handler." msgstr "" -#: ../NEWS:6356 +#: ../NEWS:6613 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:6363 +#: ../NEWS:6620 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:6367 +#: ../NEWS:6624 msgid "" ":gh:`80334`: :func:`multiprocessing.freeze_support` now checks for work on " "any \"spawn\" start method platform rather than only on Windows." msgstr "" -#: ../NEWS:6370 +#: ../NEWS:6627 msgid "" ":gh:`134582`: Fix tokenize.untokenize() round-trip errors related to t-" "strings braces escaping" msgstr "" -#: ../NEWS:6373 +#: ../NEWS:6630 msgid "" ":gh:`134546`: Ensure :mod:`pdb` remote debugging script is readable by " "remote Python process." msgstr "" -#: ../NEWS:6376 +#: ../NEWS:6633 msgid "" ":gh:`134451`: Converted ``asyncio.tools.CycleFoundException`` from dataclass " "to a regular exception type." msgstr "" -#: ../NEWS:6379 +#: ../NEWS:6636 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:6382 +#: ../NEWS:6639 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:6386 +#: ../NEWS:6643 msgid ":gh:`134323`: Fix the :meth:`threading.RLock.locked` method." msgstr "" -#: ../NEWS:6388 +#: ../NEWS:6645 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:6392 +#: ../NEWS:6649 msgid "" ":gh:`134209`: :mod:`curses`: The :meth:`curses.window.instr` " "and :meth:`curses.window.getstr` methods now allocate their internal buffer " @@ -10625,65 +11044,65 @@ msgid "" "increased from 1023 to 2047." msgstr "" -#: ../NEWS:6397 +#: ../NEWS:6654 msgid "" ":gh:`134235`: Updated tab completion on REPL to include builtin modules. " "Contributed by Tom Wang, Hunter Young" msgstr "" -#: ../NEWS:6400 +#: ../NEWS:6657 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:6404 +#: ../NEWS:6661 msgid "" ":gh:`134168`: :mod:`http.server`: Fix IPv6 address binding and :option:`--" "directory ` handling when using HTTPS." msgstr "" -#: ../NEWS:6407 +#: ../NEWS:6664 msgid "" ":gh:`62184`: Remove import of C implementation of :class:`io.FileIO` from " "Python implementation which has its own implementation" msgstr "" -#: ../NEWS:6410 +#: ../NEWS:6667 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:6414 +#: ../NEWS:6671 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:6417 +#: ../NEWS:6674 msgid "" ":gh:`134097`: Fix interaction of the new :term:`REPL` and :option:`-X " "showrefcount <-X>` command line option." msgstr "" -#: ../NEWS:6420 +#: ../NEWS:6677 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:6424 +#: ../NEWS:6681 msgid "" ":gh:`134098`: Fix handling paths that end with a percent-encoded slash " "(``%2f`` or ``%2F``) in :class:`http.server.SimpleHTTPRequestHandler`." msgstr "" -#: ../NEWS:6427 +#: ../NEWS:6684 msgid "" ":gh:`132124`: On POSIX-compliant systems, :func:`!" "multiprocessing.util.get_temp_dir` now ignores :envvar:`TMPDIR` (and similar " @@ -10693,27 +11112,27 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:6434 +#: ../NEWS:6691 msgid "" ":gh:`134062`: :mod:`ipaddress`: fix collisions in :meth:`~object.__hash__` " "for :class:`~ipaddress.IPv4Network` and :class:`~ipaddress.IPv6Network` " "objects." msgstr "" -#: ../NEWS:6438 +#: ../NEWS:6695 msgid "" ":gh:`133970`: Make :class:`!string.templatelib.Template` and :class:`!" "string.templatelib.Interpolation` generic." msgstr "" -#: ../NEWS:6441 +#: ../NEWS:6698 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:6445 +#: ../NEWS:6702 msgid "" ":gh:`133960`: Simplify and improve :func:`typing.evaluate_forward_ref`. It " "now no longer raises errors on certain invalid types. In several situations, " @@ -10721,12 +11140,12 @@ msgid "" "unsupported." msgstr "" -#: ../NEWS:6450 +#: ../NEWS:6707 msgid "" ":gh:`133925`: Make the private class ``typing._UnionGenericAlias`` hashable." msgstr "" -#: ../NEWS:6452 +#: ../NEWS:6709 msgid "" ":gh:`133653`: Fix :class:`argparse.ArgumentParser` with the " "*formatter_class* argument. Fix TypeError when *formatter_class* is a custom " @@ -10736,46 +11155,46 @@ msgid "" "of :class:`!HelpFormatter`." msgstr "" -#: ../NEWS:6459 +#: ../NEWS:6716 msgid "" ":gh:`132641`: Fixed a race in :func:`functools.lru_cache` under free-" "threading." msgstr "" -#: ../NEWS:6462 +#: ../NEWS:6719 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:6466 +#: ../NEWS:6723 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:6470 +#: ../NEWS:6727 msgid "" ":gh:`77057`: Fix handling of invalid markup declarations " "in :class:`html.parser.HTMLParser`." msgstr "" -#: ../NEWS:6473 +#: ../NEWS:6730 msgid "" ":gh:`130328`: Speedup pasting in ``PyREPL`` on Windows in a legacy console. " "Patch by Chris Eibl." msgstr "" -#: ../NEWS:6476 +#: ../NEWS:6733 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:6480 +#: ../NEWS:6737 msgid "" ":gh:`133581`: Improve unparsing of t-strings in :func:`ast.unparse` and " "``from __future__ import annotations``. Empty t-strings now round-trip " @@ -10783,25 +11202,25 @@ msgid "" "Zijlstra." msgstr "" -#: ../NEWS:6485 +#: ../NEWS:6742 msgid "" ":gh:`133551`: Support t-strings (:pep:`750`) in :mod:`annotationlib`. Patch " "by Jelle Zijlstra." msgstr "" -#: ../NEWS:6488 +#: ../NEWS:6745 msgid "" ":gh:`133439`: Fix dot commands with trailing spaces are mistaken for multi-" "line SQL statements in the sqlite3 command-line interface." msgstr "" -#: ../NEWS:6491 +#: ../NEWS:6748 msgid "" ":gh:`132493`: Avoid accessing ``__annotations__`` unnecessarily " "in :func:`inspect.signature`." msgstr "" -#: ../NEWS:6494 +#: ../NEWS:6751 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 " @@ -10809,227 +11228,227 @@ msgid "" "on Windows versions before 11." msgstr "" -#: ../NEWS:6499 +#: ../NEWS:6756 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:6503 +#: ../NEWS:6760 msgid "" ":gh:`91555`: Ignore log messages generated during handling of log messages, " "to avoid deadlock or infinite recursion. [NOTE: This change has since been " "reverted.]" msgstr "" -#: ../NEWS:6507 +#: ../NEWS:6764 msgid "" ":gh:`125028`: :data:`functools.Placeholder` cannot be passed " "to :func:`functools.partial` as a keyword argument." msgstr "" -#: ../NEWS:6510 +#: ../NEWS:6767 msgid "" ":gh:`62824`: Fix aliases for ``iso8859_8`` encoding. Patch by Dave Goncalves." msgstr "" -#: ../NEWS:6512 +#: ../NEWS:6769 msgid "" ":gh:`86155`: :meth:`html.parser.HTMLParser.close` no longer loses data when " "the ``